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.

Enhanced Capture(ECAP) Module Question

Other Parts Discussed in Thread: TMS320F28335

Hi, every one!

one eCAP channel of TMS320F28335 have 4*32 bit time-stamp capture register, each of them can be set polarity for capture Event.

when eCAP working in continous mode, and only use cap1, cap2 for capture purpose. cap1 capture falling  edge, cap2 capture rising edge.

ECCTL1[CAP1POL] = 1;

ECCTL1[CAP2POL] = 0;

the qustion comes here:

there are a lot of pulses in pulse sequnce. when we allow TSCTR to run, the first edge we meet may be rising edge. this condition don't satisfy cap1 but cap2.

So, i want to know whether the capture event interrupt will happen, and where does the capture time-stamp will be  stored.

 

looking forword your kindly reply as soon as possible.