Hello, everyone.
I am using a MIMXRT1160-EVK with MCUXpresso IDE.
I tried to output PWM1 from pin N21 based on the sample code hello_world_demo_cm7.
I have set up PWM1 in the config tool for this, but it is not working properly.
I know there is a pwm code in the sample, but I want to set it from the config tool.
What is wrong?
Thank you,
Aya
Solved! Go to Solution.
Hi @Aya ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
Do you also config the pinmux for it? And the clock source for the PWM?
I suggest you test this SDK demo at first:
\SDK_2_14_0_MIMXRT1160-EVK\boards\evkmimxrt1160\driver_examples\pwm\cm7
When it works, then compare with your CFG generate code, the API calling in the main, etc.
Please check it at first, if you still have issues about it, please kindly let me know.
Best Regards,
Kerry
Hi @Aya ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
Do you also config the pinmux for it? And the clock source for the PWM?
I suggest you test this SDK demo at first:
\SDK_2_14_0_MIMXRT1160-EVK\boards\evkmimxrt1160\driver_examples\pwm\cm7
When it works, then compare with your CFG generate code, the API calling in the main, etc.
Please check it at first, if you still have issues about it, please kindly let me know.
Best Regards,
Kerry