Hello everyone,
I am using a LS20031 GPS unit from Sparkfun with a PIC18 procesor. So far I’ve been able to lots of data off the GPS unit, but I’m unable to get it to accept my commands.
I am trying to decrease the frequency of the NMEA sentences. I sent the GPS:
$PMTK314,5,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\r\n
(where \r\n = )
but I do not get any kind of ACK packet; all I get is the standard barrage of NMEA sentences. (Since TX and RX are being handled by the same UART module on the PIC, I’m pretty sure the TX baud rate is correct since I can receive uncorrupted data).
After that, I tried to send a frequency query:
$PMTK414*33\r\n
and still I don’t get any kind of ACK packet or anything that looks like a response to my query; just more GPS output.
Also I noticed that the document posted on the sparkfun page ( http://www.sparkfun.com/datasheets/GPS/ … K_Protocol ) says there should be 17 fields in a 314 packet (and the example shows 17 values), but the more detailed document that someone posted in the comments (
http://www.rigacci.org/wiki/lib/exe/fet … system.pdf ) refers to 19 fields in a 314 packet. Does anyone know which is right for the LS20031? Also, the 514 command looks like exactly the same command as the 314 … anyone know what the difference is?
Can anyone see anything that looks blatantly wrong or have any insights? I may try to hook the TX pin up to a DLA to confirm that I’m getting output on that pin, but I’m not sure what else I should check.
Thanks in advance.