[LinuxPPS] Problem: only clear edge is detected
Rodolfo Giometti
giometti at enneenne.com
Tue Mar 28 15:43:31 CEST 2023
On 28/03/23 15:16, Charbonneau, André wrote:
> Hi,
Hello.
[snip]
> But as you can see from the output above, **only the clear edge is captured**,
> not the assert edge. I looked at the pulse with a scope and the pulse is a
> positive pulse (leading edge is rising edge), 5.55Vpp. I don’t understand why
> it would detect the clear edge, but not the assert edge.
Which is the duty cycle?
> $ cat /etc/udev/rules.d/09-pps.rules
>
> KERNEL=="pps0", OWNER="root", GROUP="root", MODE="0644"
>
> KERNEL=="ttyS0", RUN+="/bin/setserial -v /dev/%k low_latency irq 4"
Take a look at irq 4 and check how many interrupts the system receives in a
second. They should be 2 for both assert and clear events.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
More information about the discussions
mailing list