I am able to run PWM example in sdk and get output in mentioned gpio. I need to enable different pwm module (for eg. pwm2) for a different gpio. Unfortunately I couldn't find a proper document which mention the clock configuration and XBAR configuration which has to be done to enable a particular pwm module and submodule which will output through a desired gpio pin.
Please share any details for reference regarding the same.
Hi @Ananth96 ,
You want to enable another PWM module for PWM2,right?
If yes, you totally can refer to the PWM1 to configure another PWM, just change the PWM number, interrupt number.
For the XBARA, it is the similar configuration.
About the document, the best document is the RT1060 reference manual, XBARA and PWM chapter.
This is one Application note, you also can refer to it:
https://www.nxp.com/docs/en/application-note/AN12169.pdf
Wish it helps you!
If you still have question about it, please kindly let me know.
Best Regards,
kerry