LS1046 PPS GPIO assert

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

LS1046 PPS GPIO assert

1,094件の閲覧回数
deepanrajanbara
Contributor IV

Hi,

Ours is a custom board based on LS1046. We wanted to configure the pps interrupt throught GPS. So we have enabled the drivers and configured the dtsi file

pps {
gpios = <&gpio2 25 0>;
assert-falling-edge;
compatible = "pps-gpio";
status = "okay";
};

We also able to get the interrupt in cat /proc/interrupts

root@localhost:~# cat /proc/interrupts | grep pps
89: 315 0 0 0 mpc8xxx-gpio 25 Edge pps.-1

But when we check the assert it is always zero

root@localhost:~# cat /sys/class/pps/pps0/name
pps.-1
root@localhost:~# cat /sys/class/pps/pps0/assert
0.000000000#0

Please help us were we are doing wrong.

Thank you,

Deepanraj.A

0 件の賞賛
返信
1 返信

1,045件の閲覧回数
Pavel
NXP Employee
NXP Employee

Test PPS signal generation using the Section 8.7.7.1 in LSDK 2012 User Guide:

https://www.nxp.com/docs/en/user-guide/LSDKUG_Rev20.12.pdf

0 件の賞賛
返信