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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

738件の閲覧回数
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 件の賞賛
返信
1 返信

662件の閲覧回数
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 件の賞賛
返信