setup pwm output

cancel
Showing results for 
Search instead for 
Did you mean: 

setup pwm output

334 Views
Contributor IV

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

0 Kudos
2 Replies

13 Views
NXP TechSupport
NXP TechSupport

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

0 Kudos

13 Views
Contributor IV

Using the MCUXpresso IDE, can a GPIO be setup as a PWM with a timer?

0 Kudos