PWM component in PE for KDS?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PWM component in PE for KDS?

842件の閲覧回数
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.

ラベル(1)
0 件の賞賛
1 返信

431件の閲覧回数
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 件の賞賛