imx6ull PWM interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6ull PWM interrupt

634 Views
alvenwu
Contributor I

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.

Labels (1)
Tags (1)
0 Kudos
1 Reply

554 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos