Closed trabucayre closed 1 year ago
Since we have two Intel board in the setup, we can just execute each time:
sudo /bin/bash
echo 1 > /sys/class/ptp/ptp0/pps_enable
echo 2 0 > /sys/class/ptp/ptp0/pins/SDP0
echo '0 0 0 1 0' > /sys/class/ptp/ptp0/period
echo 1 > /sys/class/ptp/ptp1/pps_enable
echo 2 0 > /sys/class/ptp/ptp1/pins/SDP0
echo '0 0 0 1 0' > /sys/class/ptp/ptp1/period
phc2sys commands:
sudo phc2sys -s CLOCK_REALTIME -c /dev/ptp0 -O 0 -m
sudo phc2sys -s CLOCK_REALTIME -c /dev/ptp1 -O 0 -m
We can now close since documented/integrated in README.
configuration
where:
pinout
Ref