This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: How do I capture a serial pulses(USS IO sensor) ?

Part Number: TDA4VM

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.