AnsweredAssumed Answered

PWM on i.MX RT 1050 EVKB

Question asked by Takis Zourntos on Mar 14, 2019
Latest reply on Mar 1, 2020 by 陈 文龙



I am trying to get some PWM outputs working on the i.MX RT1050 EVKB, using the Arduino-compatible pins.

Specifically, I am trying to route PWM1_A (sub-module 3) to pin GPIO_AD_B0_10 (D5 on the Arduino header) and PWM2_A (sub-module 3) to pin GPIO_AD_B0_09 (D4 on the Arduino Header). The signals are a 5-MHz 50% duty cycle signal and a 1-MHz 50% duty cycle signal, respectively. Simple clocks.


The project (which uses fsl_pwm.c) builds without errors, and I am able to flash the board. Project code (used in MCUXpresso IDE) is attached. I have tried to glean what I can from the reference manual and the SDK examples.


I am using an oscilloscope to measure the signal on the corresponding Arduino pins, but I am getting no signal from D4 or D5. Does anyone have any advice? I have attached my main() code and some config files.