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.

J784S4XEVM: Linux DMTimer Example

Part Number: J784S4XEVM

Tool/software:

Are there any examples showing how to configure the linux kernel driver for dm timer (timer-ti-dm.c)?  I'm wanting to set up a timer to monitor a pin that will have a PWM signal on it.  So I will need to measure both the frequency and duty cycle.  I know the basic steps in using a timer for such a purpose (capture mode), but didn't know if there were examples or API descriptions for the dm timer.  I would assume this would need to be a kernel module.  I see the driver for outputing a PWM signal (pwm-omap-dmtimer.c) and could potentially use it as a starting point.  Thanks