updating time to GPS time on IMXQXP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

updating time to GPS time on IMXQXP

1,288件の閲覧回数
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,240件の閲覧回数
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,232件の閲覧回数
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,249件の閲覧回数
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 件の賞賛
返信