updating time to GPS time on IMXQXP

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

updating time to GPS time on IMXQXP

1,286 Views
sistlajr6
Contributor II

Hi ,

 

I am running demo linux images from NXP on the iMX8QXP. I am able to connect a GPS receiver and get the nmea data by accessing /dev/ttyACM3 ( since its a usb based GPS reciever) . Now i am trying to get the date and time updated to the GPS time. How can I achieve this on the imx demo image.

 

Regards,
Sistla. 

Tags (1)
0 Kudos
Reply
3 Replies

1,238 Views
sistlajr6
Contributor II

Hi Sanket,

 

I am trying to use a USB based GPS module, on Ubuntu i am able to the opensource libraries to read the time and data , lat and long and all the data. 

On iMX i am able to use /dev/ttyACM* to read the NMEA data. But i am looking at the yacto build if there is any publicly available libraries that i can use to nmea data from this port  just like gpsmon or some 

0 Kudos
Reply

1,230 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport
 
I hope you are doing well
 
To read NMEA data one can use 'gpsd' related packages in meta-openembedded layer.
One can add the below packages in conf/local.conf and check the recipe build using bitbake.
 
" gpsd gps-utils libgps gpsd-gpsctl"
bitbake gpsd
Thanks & Regards
Sanket Parekh

0 Kudos
Reply

1,247 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @sistlajr6 

I hope you are doing well.
 
Kindly mention the part number of the GPS device you are using.
 
Thanks & Regards
Sanket Parekh
0 Kudos
Reply