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_configure
anduart_line_ctrl_set
but 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_get
reports the same baud rate before and after changing it.Here's the relevant
prj.conf
:And the relevant
.dts
section: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