Nadine Sueur

FRDM-K64F FTM_CH5 output as PWM using KDS_3.2+KSDK_v2

Discussion created by Nadine Sueur on May 9, 2016
Latest reply on May 10, 2016 by Nadine Sueur
Branched from an earlier discussion

Hi,

I wrote a program using the FTM timer to configure a PWM clock and associate it

to a specific GPIO.

As described in the Reference Manual (section K64 Signal Multiplexing an PIn Assignments),

I used the GPIO PTA0  multipexed and set to FMT0_CH5 (ALT3).

 

The program is quite simple and linked to this message (main.c)

In the interrupt function, I made the red led blink. It looks ok, but if I plugged

an oscilloscope to the PTA0 pin, I have no signal output generated.

I probably made something wrong ...

 

Thanks for your support again

Best regards

Nadine

Original Attachment has been moved to: main.c.zip

Outcomes