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/OMAP-L138: eHRPWM output 10000 pulses to control a motor

Part Number: OMAP-L138

Tool/software: Linux

Hi,

I want to use eHRPWM to output 10000 pulses.  But there is no API in linux system except the API for setting frequency and duty cycle.

As shown in the figure.

So, how can eHRPWM output 10000 pulses? Do I need to modify the driver of eHRPWM and how?

Best regards,

Boch