cancel
Showing results for 
Search instead for 
Did you mean: 

uart baud rate

mtraman
Associate II
Posted on March 04, 2007 at 15:00

uart baud rate

1 REPLY 1
mtraman
Associate II
Posted on May 17, 2011 at 09:39

When i tried to send text data to hyperterminal i got junk characters.

the problem is the baudrate set by

UART_InitStructure.UART_BaudRate = 4800;

but the actual baudrate is only half that.

If bit 9 of SCU_CLKCNTR = 0 the BRCLK looks like it is equal to fMSTR. but the manual says it is fMSTR/2.

Is the str software library and manual wrong or am i wrong?

Refer to ''UM0216 Reference manual'', for STR91x microcontrollers, page - 57

Thanks

:o