cancel
Showing results for 
Search instead for 
Did you mean: 

UART0 - Baudrate problem

michaelkalusche9
Associate II
Posted on June 27, 2006 at 05:03

UART0 - Baudrate problem

3 REPLIES 3
michaelkalusche9
Associate II
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

swiggers9
Associate II
Posted on June 26, 2006 at 12:25

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

michaelkalusche9
Associate II
Posted on June 27, 2006 at 05:03

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