Problem getting uart response of gsm sim a7672s

Hi,
I am using Atmega128 and Arduino ide in my project.
external crystal with 20MHz is used.
4G LTE module of sim a7672s is used with baud rate 115200.
GSM RX and TX connections are at pin 21 and 20 of Atmega128.
After power on I got this type of response on the serial terminal:

*ATREADY: 1

+CPIN: READY
c?
SMS DONE
cë k?þ
+CGEV: EPS PDN ACT 1

+CGEV: ME PDN DEACT 8

PB DONE
c?cë k?þc?cë k?þc?cë k?þc?cë k"þc?cë k?þc?cë k?þcëÖcë

Automatic startup response is ok but after sending command Serial1.println("AT+CSQ\r\n");
delay(1000);
i get that last line response
Please help to resolve this problem

I guess the 20 mHz crystal is not the normal crystal for that Arduino? If not, the baud rates are based on the normal crystal frequency, not some other frequency. So, you have a lot of code to change to make that work.

Sorry, my bad :innocent:
Problem solved.
I have used 16MHz crystal in board and at the time of upload select 20MHz.
That's why the response gets corrupted.
Thanks for the suggestions.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.