Configruing the GPIO for PWM output on IMX8QXP

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

Configruing the GPIO for PWM output on IMX8QXP

806 次查看
balaji1
Contributor II

Hi,

I have enabled a GPIO for the buzzer circuit. It is too loud and I want to control the GPIO by PWM.

This is the GPIO -> LSIO_GPIO1_IO07

I have no idea on how to do it, any suggestion would be helpful

0 项奖励
回复
1 回复

787 次查看
nxf63675
NXP TechSupport
NXP TechSupport

Hi @balaji1,

 

Please refer to the reference manual to know how to enable and configure the PWM 15.8 Pulse Width Modulation (PWM), there are all the registers you need to set and how to configure it.

https://www.nxp.com/webapp/Download?colCode=IMX8DQXPRM

 

Hope this helps you.

Regards,

Israel.

0 项奖励
回复