change UART settings on the fly

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RaAl_264636
Level 6
Level 6
50 sign-ins 25 sign-ins 10 solutions authored

Hi,

   

 

   

does anyone know if the UART settings can be changed on the fly? I think I found a way to change the baudrate, but I doesn't see a direct way to modify the number of data bits, etc.

   

 

   

Regards,

   

 

   

Ralf

0 Likes
1 Solution
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

You can use UART_WriteControlRegister to control some aspects of the configuration. AFAICS there is no way to control the number of data bits.

View solution in original post

0 Likes
7 Replies