I have a HC-SR04 Ultrasonic Ranging Module[1] I want to interface to the Bone. It outputs a pulse whose width is proportional to the distance to the object.
The AM335x TRM says the eCAP Module (Enhanced Capture) can measure the time of a pulse. Has anyone written an eCAP kernel driver? Are there other ways to access the eCAP hardware?