PWM component in PE for KDS?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PWM component in PE for KDS?

828 Views
jasonpionke
Contributor I

I'm using a K64 processor.  In the processor expert that's part of Codewarrior (10.6) there was a PWM LDD that I was using to generate a square wave.  It used FTM3 and output the square wave out of the PTD3/FTM3_CH3 pin.  Is there a comparable component in the processor expert that comes with KDS?  I've looked, but I can't seem to find it.

Labels (1)
0 Kudos
1 Reply

417 Views
DavidS
NXP Employee
NXP Employee

Hi Jason,

Attached is example using KDS_3.0+KSDK_1.3 for FRDM-K64F that is using GPIO, FTM0, and FTM3.

FTM0 PWM duty cycle is going from 0-100 to see the Green LED change when jumper J1-pin 5 connects to J2-pin 2.

FTM0 PWM duty cycle is going from 100-0 and can be seen on J2-pin 10 (optionally connect it to R68 of RED LED) on o-scope.

The GPIO is used to toggle Green LED every 15 seconds.

Regards,

David

0 Kudos