setup pwm output

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

setup pwm output

1,403件の閲覧回数
bgraham
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 件の賞賛
返信
2 返答(返信)

1,082件の閲覧回数
jingpan
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 件の賞賛
返信

1,082件の閲覧回数
bgraham
Contributor IV

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

0 件の賞賛
返信