2023-12-20 02:03 AM
I have a uart peripheral whose baud rate can only be set to 3.125M. However, the baud rate of another uart peripheral with the same clock configuration in the project can be set to 12.5M. I want to know what the baud rate limit is based on? How to increase the baud rate from 3.125M to 12.5M?
Solved! Go to Solution.
2023-12-20 08:53 PM
CubeMX is using the UART5 clock selection to determine the acceptable UART7 speeds. Clearly a bug. In MCUA it's set to SYSCLK=200MHz but in MCUB it's set to PCLK1=50MHz, hence the difference in behavior.
Easy workaround: enable UART5, set the clock selection to SYSCLK to match that of UART7, then disable UART5.
2023-12-26 07:13 AM
Even though the solution is already found, I let our STM32CubeMX expert @Semer CHERNI investigate the issue deeply.
Question will be moved to STM32CubeMX forum board.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-01-02 07:32 AM
Hello @fkst
I confirm the issue related to STM32CubeMX. It's now tracked internally for analysis and future fix (169726: this is an internal ticket number)
KR,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.