Can't get 1PPS ouput when we follow the LSDK user guide to use IEEE 1588 on LS1046A-FRWY

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't get 1PPS ouput when we follow the LSDK user guide to use IEEE 1588 on LS1046A-FRWY

691 Views
hhh_ccc
Contributor I
we want use IEEE 1588 protocol for 1588 timer. we follow the LSDK user guide and know that we need to config DPAA SDK for LS1046A-FRWY. we set the rcw EC2=2, do kernel config to enable CONFIG_FSL_SDK_DPAA_ETH, CONFIG_FSL_DPAA_TS, CONFIG_PTP_1588_CLOCK_QORIQ(=y), and dts is use it internal clock source. ptp_timer0: ptp-timer@1afe000 { compatible = "fsl,fman-ptp-timer", "fsl,fman-rtc"; reg = <0x0 0x1afe000 0x0 0x1000>; interrupts = clocks = <&clockgen 3 0>; }; we also do PPS verify follow the user guide: root@TinyLinux:/# echo 1 > sys/class/ptp/ptp0/pps_enable root@TinyLinux:/# cat /sys/class/pps/pps0/name ptp0 root@TinyLinux:/# cat sys/class/pps/pps0/assert 1586407788.643607600#84 root@TinyLinux:/# cat sys/class/pps/pps0/assert 1586407796.643607400#92 root@TinyLinux:/# cat sys/class/pps/pps0/assert 1586407803.643607800#99 it seems it works, but we can't get the 1pps ouput from the FULPE OUT pin. Can you help me? Thanks very much!
0 Kudos
Reply
1 Reply

615 Views
yipingwang
NXP TechSupport
NXP TechSupport

The dts should be as the following:

ptp_timer0: ptp-timer@1afe000 {
compatible = "fsl,fman-ptp-timer", "fsl,fman-rtc";
reg = <0x0 0x1afe000 0x0 0x1000>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clockgen 3 0>;
fsl,extts-fifo;
};

0 Kudos
Reply