how can i enable PPS on ENET2_EVENT0_OUT

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

how can i enable PPS on ENET2_EVENT0_OUT

1,324件の閲覧回数
wangrui
Contributor I

Hi

    There is a function fec_ptp_enable_pps in fec_ptp.c . This function has been called after function ptp_clock_register in fec_ptp_init, which modified by me. 

    But pps signal can not be detected. please help me...   thanks...  imx6sx

タグ(4)
0 件の賞賛
返信
2 返答(返信)

1,197件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

  What NXP Linux BSP release is used?
Was ENET2_EVENT0_OUT pin properly configured (in dts file)?    

Do You run ptp4l?

How the PPS was enabled?

Regards,

Yuri.

1,197件の閲覧回数
wangrui
Contributor I

Hi

  thx for your reply. The PPS signal has been found.

  yes, i use ptp4l. after setting "phc2sys -w -s /dev/ptp0 -d /dev/pps0 -m" and echo 1 > /sys/class/ptp/ptp0/pps_enable, the PPS has been found.

  thanks a lot.

I have another question, if one imx6 act as GMC which can output PPS, another imx6 act as slave(OC) which also can PPS.

both of them run  "ptp4l -i eth0 -2 -H -m" , after "locked", as the master offset is about [-100, 100] nS. if PPS of two board has the same phase position? or, Is the phase shift should less than microsecond?

0 件の賞賛
返信