LS1046 PPS GPIO assert

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

LS1046 PPS GPIO assert

977 Views
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 Kudos
Reply
1 Reply

928 Views
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 Kudos
Reply