Frequency output change on KL25Z

cancel
Showing results for 
Search instead for 
Did you mean: 

Frequency output change on KL25Z

Jump to solution
359 Views
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

Labels (1)
0 Kudos
1 Solution
144 Views
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

View solution in original post

0 Kudos
2 Replies
144 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Tommas,

Does this can help you ?

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

BR

Alice

0 Kudos
145 Views
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

View solution in original post

0 Kudos