Frequency output change on KL25Z

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

Frequency output change on KL25Z

跳至解决方案
826 次查看
tommyb90
Contributor III

Hi to everyone,

Using an FRDM-KL25Z dev. board I have to give a frequency output and update its period every once in a while.

 

I tried using the TimerOut component on KDS3.0, but it seems that I am not able to change the period of the timer (I wanted to enable the SetPeriodUS method, but it was not possible).

 

I also tried using the PWM component, but again I am not able to set the period of the output signal.

 

Is there another way to generate this kind of output?

 

Thanks in advance,

        Tommaso

标签 (1)
0 项奖励
1 解答
611 次查看
tommyb90
Contributor III

Thanks for your reply,

I ended up fixing the issue by giving the PPG component an interval in which the period could be valid (set interval instead of fixed value inside the period setting window). This enabled the SetPeriodUS Method, but limited my choice in the frequency.

Thanks for everything

        Tommaso

在原帖中查看解决方案

0 项奖励
2 回复数
611 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Tommas,

Does this can help you ?

https://community.nxp.com/message/346460 

BR

Alice

0 项奖励
612 次查看
tommyb90
Contributor III

Thanks for your reply,

I ended up fixing the issue by giving the PPG component an interval in which the period could be valid (set interval instead of fixed value inside the period setting window). This enabled the SetPeriodUS Method, but limited my choice in the frequency.

Thanks for everything

        Tommaso

0 项奖励