How to use PWM function on MIMXRT-1010 to control LEDs?

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

How to use PWM function on MIMXRT-1010 to control LEDs?

300 Views
DiDaYoGa
Contributor I

Hi guys, I've been learning about the MIMXRT-1010 recently, but I've run into a problem. I want to use the PWM function of MIMXRT-1010 to make the LEDs less bright, I first used the PWM example inside the IDE and connected the external LEDs to the J60 at pin 3.5.7.9.11.13 respectively. But the problem is, after debugging the program, the LEDs don't light up, but are off.
I also found another example program on the internet and followed the steps to set the pins and set the eFlexPWM, which also did not work. The LED also stays off after running the program.
What could be the problem please?

0 Kudos
2 Replies

288 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

I would recommend you to download the RT1010-EVK SDK and MCUXpresso IDE.
And please take a look to the PWM SDK examples, I believe they will be helpful for you.

Regards,
Daniel.

0 Kudos

284 Views
DiDaYoGa
Contributor I
OK, thanks, I will have a check again. Have a nice day!
0 Kudos