PWM LEVEL

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

PWM LEVEL

2,375 次查看
Andrei13
Contributor III

Hi! I am using FRM ke16z and I am generating with FTM PWM. I see on the oscilloscope the amplitude of the signal is 0.5 V . It seems to me pretty low. I need for controlling some ESC a pwm between 0 and 5V. What can I do?

TY!

0 项奖励
回复
4 回复数

2,362 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

I am testing the example frdmke16z_ftm_pwm_twochannel (SDK version 2.13.0) and probing the signal using an oscilloscope on LEDRGB_BLUE, it does output the PWM as expected

nxf86756_0-1683168777725.png

Maybe the reason you don't see the signal on the arduino pinout is that R9 is not populated by default.

nxf86756_1-1683168791205.png

Hope it helps you.

Have a nice day!

0 项奖励
回复

2,355 次查看
Andrei13
Contributor III


I see the signal but it has the amplitude of 0.5 V when is 1 and 0v when is 0. What do you mean with that R9. TY! @_Leo_ 

0 项奖励
回复

2,346 次查看
_Leo_
NXP TechSupport
NXP TechSupport

I mean resistor R9 that can be seen in the image that I attached. I consider that it is recommended that you try the example I mentioned above with another board, because I cannot reproduce your problem.

0 项奖励
回复

2,309 次查看
Andrei13
Contributor III

I dont get it with that R9. I should place a resistor? I give you code, it very simple.

Andrei13_0-1683616804660.png

Andrei13_1-1683616829433.png

And in main i just call the init and after that, in while(1) i call the board_updatePWM1. TY! @_Leo_ 

0 项奖励
回复