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.

Using eCAP to capture the time

Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I just want to use eCAP peripheral to capture the time of an external event. If I am using ePWM to generate a 1 kHz, 50% duty puls train and use it for ADC as well as triggering the eCAP, just to get the time stamp of the instances when the ADC take place, is it possible? I tried to configure eCAP to caputre the time of a ePWM signal continously, but could not get CAPx values updating continuosly.

I am wondering whether I am trying to do something which is not possible?

Or is there other easy method to get the smae thing done?

I highly appreciate, if someone can help me with this. In case you need the code I have developed for above excercise, I can attached.

Thanking you in advance,

Ruwan.