- Wed Apr 08, 2009 8:44 am
#70250
I am building a high precision clock with the EM-406A GPS module connected to a PIC18F4520 microcontroller; time, date and other interesting data are also displayed on a LCD.
The PIC18F4520 is correctly detecting the 1PPS signal coming out from the EM-406A and correctly receiving the NMEA sentences on its UART receive pin.
Can anyone tell me what is the time at the exact moment the 1PPS signal is serviced in the interrupt service routine programmed in the PIC18F4520?
From the specs, I read that when the 1PPS arrives, we are on the boudary of an UTC second within 1 microsecond precision. Is that correlated to the last time received from the last GPGGA NMEA sentence or is there no correlation at all (which would mean that the 1PPS is an idependant signal of the EM-406A not synchronized with the serial data coming out of its transmit pin)?
From many timing experiments I made, I have observed that the GPGGA sentence always occurs about 0.6 second before the following 1PPS; am I correct in interpreting that as follows: the time in the GPGGA sentence will be the exact time when the next 1PPS pulse arrives?
Thank you all.
The PIC18F4520 is correctly detecting the 1PPS signal coming out from the EM-406A and correctly receiving the NMEA sentences on its UART receive pin.
Can anyone tell me what is the time at the exact moment the 1PPS signal is serviced in the interrupt service routine programmed in the PIC18F4520?
From the specs, I read that when the 1PPS arrives, we are on the boudary of an UTC second within 1 microsecond precision. Is that correlated to the last time received from the last GPGGA NMEA sentence or is there no correlation at all (which would mean that the 1PPS is an idependant signal of the EM-406A not synchronized with the serial data coming out of its transmit pin)?
From many timing experiments I made, I have observed that the GPGGA sentence always occurs about 0.6 second before the following 1PPS; am I correct in interpreting that as follows: the time in the GPGGA sentence will be the exact time when the next 1PPS pulse arrives?
Thank you all.
Pierre Rosa