UART: changing configuration on the fly

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

cross mob
AlBo_1871926
Level 1
Level 1

Hello,

For PSoC5LP it was impossible to change UART configuration on the fly (e.g. change datawidth, also parity, stopbits,). However it seems that in PSoC6 Cy_SCB_UART_Init() accepts cy_stc_scb_uart_config_t structure, where you could set all these parameters during init phase. Does it mean that now it is possible to change them at a runtime by calling DeInit()/Init() with new params?

Thanks in advance.

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

PSoC 6 SCB UART allows you to change the parameters on the fly.

The reason you couldn't do it with PSoC 5LP was because the UART implementation was done in UDBs,

View solution in original post

1 Reply
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

PSoC 6 SCB UART allows you to change the parameters on the fly.

The reason you couldn't do it with PSoC 5LP was because the UART implementation was done in UDBs,