LS1046 PPS GPIO assert

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1046 PPS GPIO assert

1,067 次查看
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,018 次查看
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 项奖励
回复