imx6ull PWM interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6ull PWM interrupt

1,303件の閲覧回数
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,223件の閲覧回数
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 件の賞賛
返信