PPS Event handler

Moderators: Oren.R, Eran.M

Posts: 16
Joined: Sat Jun 04, 2016 4:01 pm

PPS Event handler

Postby systemz » Sat Nov 12, 2016 6:11 pm


I have finally got the DartMX6 setup with kernel customisation etc. So I get the process and am able to configure the system. I have pps setup with ktimer and ppstest shows this works. I will eventually be triggering PPS from a GPIO, but for now ktimer is fine.

I am stuck on the next step and cannot seem to find the right info. I need to accurately set our system clock from a custom external source. The plan is to send the next second value via 232 and store this. We will also deliver a 1hz pulse to a gpio connected to PPS. So we will therefore get an accurate trigger on the PPS for when that time needs to be loaded into the system clock.

This is where I need some help - how do set an event trigger so that the PPS event effectively activates my event handler where I can run custom code (without polling)?



Return to “Yocto”

Who is online

Users browsing this forum: No registered users and 1 guest