Changing UART1 baud rate on runtime for ESP32C3 doesn't seem to work #57029
Unanswered
abdulhayub
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm working on changing UART1 baud rate on runtime, on ESP32C3. I have tried using
uart_configureanduart_line_ctrl_setbut both of them don't seem to work i.e. they execute without actually changing the baud rate and don't return a negative error code. The communication simply stops. Moreover, theuart_config_getreports the same baud rate before and after changing it.Here's the relevant
prj.conf:And the relevant
.dtssection:And here's the relevant code:
Environment:
Are there any insights to what may be the problem here?
Beta Was this translation helpful? Give feedback.
All reactions