Reading GPS Values through Serial Interface.


I'm currently trying to get a GPS to output values with an f28069m board. The GPS is this model: https://cdn.sparkfun.com/datasheets/GPS/EM506_um.pdf. I'm currently getting values from the GPS Module through a serial connection, but it seems I need to decode it into an NMEA (http://aprs.gids.nl/nmea/) sequence, as the current values make no sense to me, however I know they are values from the GPS, because they change when the module is on VS off. Attached are the values I've been able to receive as well as the code I've been using to get those value. The only values I really need are Longitude, Latitude, and height.
Thank you,
Jake
Answers
-
Jake, the diagram you have attached only has a target interface block. My understanding is that you have correctly used this block to read the save the data from the microcontroller to a text file. Can you please also share the diagram which you used to create the .out file?
0 -
The diagram I used was just a basic serial read block. I don't know how to modify it to get real values though.
0 -
My understanding is that you want to read the values from the Serial port of you microcontroller (MCU) and then save them to a local text file. Practically the data goes from the GPS to your MCU and then to your PC. In order to do this you need to take advantage the Hardware in the Loop capabilities of Embed so that through the JTAG you can communicate data to and from your PC. Please take a look at the video here on how to create a basic HIL diagram. You can also check the video on encoders to get a better idea of how to read data using HIL.
0