I need to setup a PWM output on a GPIO pin.
Board: FRDM-KL26Z
I am using the Kinetis SDK 2.0 API.
In the TPM: Timer PWM Module, can a GPIO pin be selected as an output?
Thanks,
Bruce
Hi Bruce,
First please read the Pinouts and Packaging chapter in datasheet to check if PTM is one of the ALT function of that pin.
If the answer is yes, you can use MCUXpresso IDE to assign PWM out on this pin. In the most update version of the IDE 10.2.x, MCUXpresso Config Tool has been integrated into IDE. In Menu bar, select Configtools->Pins, then you can assign all the pins function. You can find the help document in https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-t...
Regards,
jing
Using the MCUXpresso IDE, can a GPIO be setup as a PWM with a timer?