cancel
Showing results for 
Search instead for 
Did you mean: 

Bug Report: STM32CubeMX v4.16 USART configuration baud rate capped at 500000

stefanoroggerini9175
Associate II
Posted on October 06, 2016 at 17:48

I am trying to configure STM32F030RCTx USART1 and USART3-5 to all have 921600 as the baud rate.  USART3 refuses to take a baud rate that high.  The highest it takes is 500000, any higher than that and it reverts back to the last entered value (even 500001 is too high).

All the other USART I am configuring do not have this problem (the highest baud rate they can take is 1500000).

I am having to configure USART3 to have a baud rate of 921600 using the HAL driver after USART3 has been automatically initialised using MX_USART3_UART_Init().

#stm32cubemx
5 REPLIES 5
Walid FTITI_O
Senior II
Posted on October 07, 2016 at 10:36

Hi goodman.stephen.001, 

Is that using the last version of CubeMX (4.16.1) ? I submit your feedback tou our CubeMx team.

-Hannibal-

stefanoroggerini9175
Associate II
Posted on October 07, 2016 at 12:00

Hi Hannibal,

I have just updated to 4.16.1 and it still has the same issue.

stm32cube-t
Senior III
Posted on October 07, 2016 at 18:38

Dear user,

to reach higher baud rates you need to adjust the HCLK / bus frequency to a higher value. Go to the clock configuration tab to do so.

Best regards.

stefanoroggerini9175
Associate II
Posted on October 10, 2016 at 15:26

This is not a problem with bus frequency.  As I said in my original post:

''

All the other USART I am configuring [UASRT1, USART4, USART5] do not have this problem (the highest baud rate they can take is 1500000).

I am having to configure USART3 to have a baud rate of 921600 using the HAL driver after USART3 has been automatically initialised using MX_USART3_UART_Init().

''

USART3 can be configured to 921600, just not within Cube.

stefanoroggerini9175
Associate II
Posted on October 20, 2016 at 12:39

This has been fixed in v4.17.0.