Hi experts,
I am developing USS IO driver. The USS sensor output a serial pulse. I need to capture the pulses to get the pulse width. The picture show the sensor output timing.The minimum interval between rising and falling is 50us.
At beginning, I try using gpio interrupt to get the every edges's timestamp so I can calculate the width of pulse. With single sensor,it works. But with 4 sensors receive meanwhile, TDA4 will miss some pulse cause receive error.
So is there other ways to capture s serial pulses?
And I found a module called ecap seems can do this, is it? And is there an example to using this module?
Regards.