LPC1769 Receiving command from SIM900 GSM Module

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1769 Receiving command from SIM900 GSM Module

794 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by A0112740W on Thu Feb 26 10:27:03 MST 2015
Hi Guys,

I am using LPC1769 UAR3 to communicate with a SIM900 GSM Module. I have successfully configured the GSM using Tera Term (hyper terminal) and I can successfully send and receive SMS while communicating between SIM900 and LPC1769. However, when I key in the command "AT+CCLK?" and Tera Term can return current time back to me. My problem is that how can I get the time information when the GSM Module communicate with LPC1769. My Initialization of UART3 is correct.

char tm[] = "AT+CCLK?\r";

UART_SendString(LPC_UART3, (uint8_t *)tm);
Timer0_Wait(5000);

After I send this command to UART3, How can I get the information which is shown in the picture attached back and printf it in the console?

Thank you guys!
Labels (1)
0 Kudos
1 Reply

556 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xianghuiwang on Fri Feb 27 16:57:35 MST 2015
hi,
Maybe you can consider using the RTC on LPC1769 to help you time keeping your embedded applications.
regards,
0 Kudos