Tool/software:
Hi champs,
I am asking this for our customer.
The user wants to use a HW-based method to detect if the time between rising and falling edges is over a value? If yes, then generate an ISR.
Questions.
1. ECAP has an overflow ISR. Is this overflow condition configurable? Or is this overflow always triggered when the counter is from 0xFFFFFFFF to 0x00000000?
2. If 1 is not, is there any method to use ECAP to do this by only HW event to generate an ISR rather than by if-else codes in an ISR for this?
3. If 2 is not, is there any other HW module except CLB that can be used for this purpose?