Apex Dual Orin External GPS Timing#

Hardware Connection#

Function Label

Connect to External

说明

M_UART(232)B

GPRMC output serial port of GPS

By default. Can be changed.

S_UART(232)B

GPRMC output serial port of GPS

By default. Can be changed.

M_SYNC_IO

GPS PPS Port

Master Orin & Slave Orin & TC397 Share

Instructions#

  • **Must. **Modify the timing mode in MIIVII SETTINGS and change it to external GPS (both master and slave need to be modified)

  • **Optional. **Modify the node used for timing (Orin needs to use other 232 interfaces, otherwise it does not need to be modified)

cd /opt/miivii/config/sync/
vim gpsd

#Modify the following line in the file content to the device node you want to use 
DEVICE="/dev/ttyTHS4"

#Change Baud rate to 115200
GSPD_OPTIONS="-b -n -s 115200"

Verification method#

#Modify System Time
sudo date -s 12:12

#Wait about 1 min.
#Check whether the system time will automatically change to the current time. If the system time can be changed to the current time, the GPS function is normal. If the system time cannot be changed to the current time, the GPS function is abnormal.