Hi,
I've attached simple project that should run PWM2 and PWM4 on RT1064 EVK. Most of the clocks are inactive. Core clock 100MHz. All API cals are generated from Config Tools and .mex file is in the project.
PWM2, submodule 3, signal A is connected to the USER_LED on RT1064 EVK and is set to 4 Hz with 50% duty cycle.
The other PWM4, submodule 0, signal A is connected to pin4 on J22 header on EVK and set to 4 kHz with 50% duty cycle - and it is watched on oscilloscope.
With this configuration (as in the project) I'm not able to run any of these PWMs (the diode doesn't blink and there is no waveform on oscilloscope). The timers are started at initialization.
Can anyone check and tell me what is wrong with this project ? What am I missing from the API ?
Thanks for help
Maciek
This is a duplicated thread, please see my response in this post: How to run PWM on RT1064 EVK ? - NXP Community