Question
Maximum baudrate error on CubeMX on USART2 STM32F030C8
Posted on June 22, 2018 at 22:03
#cubemx-stm32f103c8t6 #baudrate
Good afternoon!
My name is Alef, I'm trying to set up the usart2 baudRate from STM32F030C8 to 2Mbps but I can not succeed.
I'm using 48MHz clock so according to the manual, at 16 samples, I should be able to reach up to 3Mbps, but CubeMx says the limit is 500kbps. But if I go in code and manually put 2000000 it seems to work normally.
My questions are:
- I wonder if this is a Bug from CubeMx?
- If not, why this lower limit?
- Using USART2 with 2Mbps briefly, could it generate any problems in the future?
Thank you all.
#cubemx-stm32f103c8t6 #baudrate