Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello.
I want to set the UART baud rate of USART1 to 5 Mbaud. According to table 12-470 in TRM this should be possible by using a clock source of 160MHz, a divider of 1 and the baud multiple set to x16. I am using SysConfig (1.14.0+2667) to configure the processor. With the mentioned parameters I get an error:
I played around a bit and came up with the following setting:
With these parameters I see uart communication (measured with oscilloscope) with 5Mbaud. That's fine, but from the documentation I can not understand why these values result in a baud rate of 5M. Somehow it feels not right. I found these drawings in the TRM:
Can you give me some more insights how calculations are done? Thanks in advance.
BR Michael