This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM9 UART baudrate 12 times higher

Hi there,

I've used the blinky example program from Keil for my keil MCBSTR9 evaluation board. I've modified it to send and recieve data on UART0. This is working perfectly
I've used the standard ST library for the STR912FW44 MCU for initialization of the UART.

I've tried to make my own program (new project) for sending and recieving UART data, however when I declare my baudrate in the standard UART_init struct (UART_BaudRate) it is 12 times higher when I run the program! so if I define 9600 it becomes 115200 for example. There is somewhere a multiplier wrong but i don't know where.

I've tried to copy the STR91x.s file from the Blinky example to my own program so that the clocks and PLL are set the same. This doesn't get rid of the problem.

Anyone knows what I can possibly be forgetting?
(I've used the same UART initialization in both programs and also the same ST library)

Parents Reply Children
No data