UART send AT command and rcx response from MODEM

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
gamac_2277161
Level 1
Level 1

Good day all,

   

I am working on project using the UART component for serial communication with the NEOWAY M590E modem. In my project i wait till the ISR receives +PBREADY before it sends any AT command. 

   

The issue am have is upon sending my AT command using PutString, the command is written into my array which i use to receive response from the modem. Based on my perspective the PutString function is using my isr which was connected to Rx_Int of the UART component. 

   

Please how do i fix this bug?

   

attached is a copy of my project. 

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can it be the case that the modem is configured for echoing the received characters?

   

Check your variable rxd_cnt, it might overflow / underflow.

   

 

   

 

   

Bob

0 Likes

thats very true. would check it out now.

   

Thanks alot

0 Likes

the echo was actually the fault. thanks alot. is it possible to ready only the message section of a CMGR or CMGL AT command????

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

I needed to connect the battery to the contact VBTA  for SIM900 
Otherwise - after the first activation of the transmitter modem stops responding.
Maybe you will be interested in the project for SIM900
M590E has a lot in common with it
PSoC4: GSM Modem

0 Likes
        Thanks a lot. was really helpful...   
0 Likes