Hi I tried to use PWM interrupt handler to chang the duty cycle values after PWM initialization configuration on imx 6ull . everytime, it could enter into the FIFo empty interrupt and change the duty value in it.
but seems the output is not like the duty cycle Valule as setting. and in Linux ,the PWM driver is using sdma to change the duty ,could we use the PWM FIFO interrupt or roller interrupt to generate wave signals??
thanks.
Hi Alven
for generation wave signals (sound) with pwm one can look on
GitHub - Glowforge/kernel-module-imx-pwm-audio: i.MX6 PWM audio driver
GitHub - sasamy/imx-snd-pwm: A simple sound card based on PWM for i.mx6x processors
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------