Configruing the GPIO for PWM output on IMX8QXP

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

Configruing the GPIO for PWM output on IMX8QXP

805 Views
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 Kudos
Reply
1 Reply

786 Views
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 Kudos
Reply