at+uart_cur=X,8,1,0,0 Not working

banjoluck
Posts: 25
Joined: Fri Jul 29, 2022 5:11 pm

at+uart_cur=X,8,1,0,0 Not working

Postby banjoluck » 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?

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: at+uart_cur=X,8,1,0,0 Not working

Postby esp-at » Fri Sep 01, 2023 8:59 am

Here are some possible ideas for debugging.
1. Have you try to use another module for test? what kind of module you used.
2. Have you measure if the voltage of chip is about 3.3V?
3. How you send the AT command? by MCU or PC, is it possible that hardware connection issue?
4. What if uses the v3.2.0.0 AT firmware (https://docs.espressif.com/projects/esp ... aries.html) with ESP32-C3-MINI-1 module, and test with PC.

I would like to use logic analyzer for capture the signal if the issue still exists.

btw, each AT releases firmwares, similar cases are tested, such as setting the baud rate of uart to 115200, 460800, 2000000, etc.

~

Who is online

Users browsing this forum: No registered users and 24 guests