updating time to GPS time on IMXQXP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

updating time to GPS time on IMXQXP

1,291 次查看
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. 

标记 (1)
0 项奖励
回复
3 回复数

1,243 次查看
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 项奖励
回复

1,235 次查看
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 项奖励
回复

1,252 次查看
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 项奖励
回复