at+uart_cur=X,8,1,0,0 Not working
Posted: Wed Aug 30, 2023 8:20 pm
Greetings,
We'd like to increase the baudrate of our communication between the host and the esp32c3 (v2.4.2.0) after the system boots. The default speed is 115200 and this works OK. We can verify that the host is able to change baudrate correctly by inspecting the signals on an oscilloscope.
When we set the baudrate to 115200 (the same as it already is) everything is OK.
When we change the baudrate to 57600 or 230400, the ESP32 does not respond to commands such as ATE1.
We tried changing the baudrate of the ESP32 to 57600 and /not/ changing the baudrate of the host. This also doesn't work. So we believe the ESP32 is doing something.
The code that supports this feature is in the source files for the AT commands:
static uint8_t at_setupCmdUart(uint8_t para_num)
We're not sure what else to do to determine why this command doesn't work.
The command we're sending is this:
at+uart_cur=230400,8,1,0,0
and we are getting back an OK response from the ESP32.
Do you have an idea what may be wrong?
We'd like to increase the baudrate of our communication between the host and the esp32c3 (v2.4.2.0) after the system boots. The default speed is 115200 and this works OK. We can verify that the host is able to change baudrate correctly by inspecting the signals on an oscilloscope.
When we set the baudrate to 115200 (the same as it already is) everything is OK.
When we change the baudrate to 57600 or 230400, the ESP32 does not respond to commands such as ATE1.
We tried changing the baudrate of the ESP32 to 57600 and /not/ changing the baudrate of the host. This also doesn't work. So we believe the ESP32 is doing something.
The code that supports this feature is in the source files for the AT commands:
static uint8_t at_setupCmdUart(uint8_t para_num)
We're not sure what else to do to determine why this command doesn't work.
The command we're sending is this:
at+uart_cur=230400,8,1,0,0
and we are getting back an OK response from the ESP32.
Do you have an idea what may be wrong?