cancel
Showing results for 
Search instead for 
Did you mean: 

SPC5 UART Oversampling

PNeub.2
Associate II

Hey there,

i'm trying to get a higher Baudrate for UART on the SPC582B. The datasheet says that i have to set the oversampling rate to 6, to get a maximum Baudrate of 13.33.

PNeub2_0-1715777676185.png

to set the Oversampling i should set the bits in the UARTCR register, for CSP, OSR and ROSE. The thing is, by the low level functions, i can just only write in the Bits 16 to 31.

PNeub2_1-1715777850029.png

i have found the true registers for it, it is in the spc582b.h, but as i said the low level functions doesn't use it. therefore should i initialize the UART bus on a different way to use it, that the low level functions are using the normal 32bit registers ?

PNeub2_2-1715778083919.png

PNeub2_3-1715778125547.png

these are the normal ones

PNeub2_4-1715778170480.png

 

 

 

 

2 REPLIES 2
PNeub.2
Associate II

Sorry i want to reach a Baudrate of 12Mbits

Max VIZZINI
ST Employee

Hi,

The low-level driver has not been updated to the latest release of the peripheral therefore some functions are unused.

You are free to customize the low-level drivers for your needs.

Best Regards,

AutoDevKit Team