Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 GSM modem UART sync failed #23

Open
Noushadalik opened this issue May 4, 2023 · 0 comments
Open

ESP32 GSM modem UART sync failed #23

Noushadalik opened this issue May 4, 2023 · 0 comments

Comments

@Noushadalik
Copy link

Noushadalik commented May 4, 2023

I am using an ESP32-WROOM-32D microcontroller with a GSM modem(SIM7600) connected to UART0 (pins 1 and 3). When trying to initialize the modem, I am getting the following error message:

E (44288) esp-modem: esp_modem_dte_send_cmd(256): process command timeout
E (44288) dce_service: esp_modem_dce_sync(225): send command failed
E (44288) bg96: bg96_init(167): sync failed

UART configuration :
#define ESP_MODEM_DTE_DEFAULT_CONFIG()
{
.port_num = UART_NUM_0,
.data_bits = UART_DATA_8_BITS,
.stop_bits = UART_STOP_BITS_1,
.parity = UART_PARITY_DISABLE,
.baud_rate = 115200,
.flow_control = MODEM_FLOW_CONTROL_NONE,
.tx_io_num = 01,
.rx_io_num = 03,
.rts_io_num = UART_PIN_NO_CHANGE,
.cts_io_num = UART_PIN_NO_CHANGE,
.rx_buffer_size = 1024,
.tx_buffer_size = 512,
.event_queue_size = 30,
.event_task_stack_size = 2048,
.event_task_priority = 5,
.dte_buffer_size = 512
}
I have checked the wiring and the modem initialization settings, and they seem to be correct. The modem firmware is also up to date. However, I am still getting the error.

I have also tried moving the modem to a different UART(UART 1, PIN 25 AND PIN 26), but the issue does not exist modem sync successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant