Hi
Has any body worked on using the ECAP API to develop a pulse input count functionality.
I have to used GPIO pin and used rising edge interrupts for counting pulse. But these have limitation. I need to count a *** of 20 to 20kHz .
AM335x PWM driver doesn't support capture input functionality. but found a ecap_api.c here
- brief ECAP APIs.
- *
- * This file contains the device abstraction layer APIs for ECAP
- */
and a good APIS which can work for you to get functionality from ecap module on AM335x theoritically. Btu the issue is how to provide the base address to these API's.
Need help on this.
Thanks & Regards,
Uday Rajeshirke.