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.

TMS320F28069F: ECAP Module without ISR for speed measurement

Part Number: TMS320F28069F
Other Parts Discussed in Thread: MOTORWARE, C2000WARE

Hi,

I'm not quite sure about this: I want to measure the speed of a motor, so it means to measure the time between pulses. I want to do this continuous. And my question is: Is it possible / recommended to do this without Interrupts ? So, just setup the ECAP Module. And then readout the registerValues between the last pulses.

Or do I always need an interrupt event for this ? I'm using as a Base the motorware labs and therefore the CAP_Obj. Do you have an example code how to setup the CAP with the object oriented approach ?

Thanks in advance.