SDK settings using Config Tools to run PWM on RT1064 EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SDK settings using Config Tools to run PWM on RT1064 EVK

568 次查看
Maciek
Contributor V

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

0 项奖励
1 回复

554 次查看
FelipeGarcia
NXP Employee
NXP Employee

This is a duplicated thread, please see my response in this post: How to run PWM on RT1064 EVK ? - NXP Community

0 项奖励