cancel
Showing results for 
Search instead for 
Did you mean: 

maximum USART baud rate on STM32U0

max_hai
Associate

Hi,

I would like to determine the maximum baud rate for a USART peripheral in asynchronous mode. In the datasheet (Figure 1) the maximum baud rate is given as 8 MBit/s. But even if I set the clock for the USART peripheral (in this case USART1) to the maximum of 56 MHz (Figure 2), I'm not able to set 8 MBit/s for the baud rate. I'm able to set 7 MBit/s when I set the over-sampling to 8 samples (image3).

I'm using the Nucleo-U083 board together with the STM32CubeIDE 1.16.1.

If someone could show me how to configure the USART peripheral for 8MBit/s I would be very happy.

Kind regards Max.

image1:

max_hai_1-1734004858117.png

 

 

 

 

image2:

max_hai_2-1734004931638.png

Image3:

max_hai_0-1734004542810.png

 

 

3 REPLIES 3
Guenael Cadier
ST Employee

Hello @max_hai 

As per my understanding, as STM32U0 max operating frequency is 56Mhz, the maximum baudrate achievable on an USART peripheral in asynchronous mode, is 56/8, so 7Mbit/s when selecting Oversampling 8 method (3.5 in Oversampling 16). So my feeling is that the information in Datasheet is not exact.

Regards

Hello,

Could you please verify this information?

Because I just noticed that I can increase the USART1 clock without getting an error for that clock. But in this case I get an error for other clock domains that can only handle 56MHz, as you can see in the screenshot below. So I'm probably doing something wrong here, and a higher USART clock can be achieved with an external oscillator? But even this I cannot configure.

Regards

max_hai_0-1734010321249.png

 


@Guenael Cadier wrote:

 the maximum baudrate achievable on an USART peripheral in asynchronous mode, is 56/8, so 7Mbit/s  


So is the 8Mbps achievable in synchronous mode ?