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.

TMS570LC4357: TMS570LC47x - eCAP unit, dynamical prescaler changing

Part Number: TMS570LC4357

Hello,

i've got some problems with speed measuring via eQEP and eCAP units.

The is no problem with typical use of the peripherals, but i'm using dynamical prescale changing.

Everytime I change the prescaler, the is a peak that results to incorrect measurement.

I've tried to study this event at eCAP unit and I think there is a problem which cause to generate EVT1 interrupt in incorrect time,

so the counter value is wrong.

Can you please give me some advice how to use dynamical prescaler changing at eCAP unit or tell me if there are some problems which should be treated?

BR

Jan