Skip to main content
Visitor II
June 27, 2006
Question

UART0 - Baudrate problem

  • June 27, 2006
  • 3 replies
  • 775 views
Posted on June 27, 2006 at 05:03

UART0 - Baudrate problem

    This topic has been closed for replies.

    3 replies

    Visitor II
    June 26, 2006
    Posted on June 26, 2006 at 10:40

    Hi!

    I have the following problem:

    Running on the ST evaluation board i have a STR710FZ2 to communicate with a PC via RS232. It works, but the baudrate is not the one i configured for the STR7.

    UART_Config (UART0, 9600, UART_NO_PARITY, UART_1_StopBits, UARTM_8D);

    Instead of 9600 bps i receive my messages with 38400 bps. Changing to 2400 bps in the STR7 i receive with 9600 bps.

    Where does this factor 4 come from? And what can i do to solve this problem?

    Thanks a lot for help!

    Michael

    Visitor II
    June 26, 2006
    Posted on June 26, 2006 at 12:25

    Does the clock frequence of your board match the define in 71x_conf.h??

    Visitor II
    June 27, 2006
    Posted on June 27, 2006 at 05:03

    Now it is working! What a simple solution :-?