imx6ull PWM interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6ull PWM interrupt

1,304 次查看
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.

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,224 次查看
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 项奖励
回复