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.

Linux/TDA2E: how to use ecap module in capture mode?

Expert 1615 points
Part Number: TDA2E

Tool/software: Linux

Hi,

I have a requirement which must use ecap module to calculate the duty of 1.6 kHz pwm ,


I read the website http://processors.wiki.ti.com/index.php/Linux_Core_PWM_User%27s_Guide#eHRPWM ,

but the above mentioned does not seem to be capture mode, but APWM mode,


Is it my misunderstanding?

or is there another way, ex: use devmem2 to directly change the register value to achieve it?

In my vision_SDK3.04 did not see the ecap file of this path" ti / csl / src / ip / ecap / V0 / priv / ecap.c", is it correct?