Skip to content

The device tree overlay for GPIO PPS_IN

Notifications You must be signed in to change notification settings

Adlink-ROS/pps-in-dts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pps-in-dts

The device tree overlay which maps the RQX-59G PPS_IN (DB50 Pin#21) to pps-gpio driver.

SOP

Download device tree overlay source files:

git clone https://github.com/Adlink-ROS/pps-in-dts.git

Compile the device tree overlay. The Makefile will automatically merge the DTBO into the current using DTB:

cd pps-in-dts
make

Please restart the system to make new device tree take effect:

sync
sudo reboot

After bootup, please enter below commands to check if pps1 can be found.

Verification

Install pps-tools for PPS signal verification:

sudo apt install pps-tools

Enter below command to test pps:

sudo ppstest /dev/pps1

If PPS input exists, you should see the result simlar to below picture:

Now, the PPS input is ready to use.

Note: If a timeout occurs, please check the PPS wiring between DB50 Pin #21 of the RQX-59G and your PPS generator.

Remove and Restore

If PPS_IN is no logger needed, you can enter below command to restore the original device tree:

cd pps-in-dts
make restore

About

The device tree overlay for GPIO PPS_IN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published