[ARM] Nmea String extract date and time

Status
Not open for further replies.

amsbhole07@gmail.com

Newbie level 4
Joined
Oct 26, 2010
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,324
Hi ,

I am beginner in ARM 32 bit LPC1768

I am working on Nmea string .I am receiving string from GPS receiver format is GPZDA,hhmmss.ss,xx,xx,xxxx,xx,xx

I have extracted the data like and date and time and i have stored in separate buffer .

Now i want to synchronize with the RTC .I dont know how to synchronize it .

Please guide me
 

u want to set RTC time as GPS. Then just feed the data to RTC which data received from GPS. that again re initilize the rtc .
 

u want to set RTC time as GPS. Then just feed the data to RTC which data received from GPS. that again re initilize the rtc .

Thanks for the reply,
I.e I have used following steps
Initialize rtc
Feed the rtc with the value which is extracted from nmea string
Rtc set time
Nvic rtc

- - - Updated - - -

u want to set RTC time as GPS. Then just feed the data to RTC which data received from GPS. that again re initilize the rtc .
Also I want to check incoming string .if incoming string is not received for 5 sec then I have to show the blank data how do I check the strimg as it is recriving very fast
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…