How Processor expert software configuration K40 MCU winning the ACIM PWM output. How Processor expert software configuration K40 MCU winning the ACIM PWM output.

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

How Processor expert software configuration K40 MCU winning the ACIM PWM output. How Processor expert software configuration K40 MCU winning the ACIM PWM output.

1,698件の閲覧回数
thoomanwang
Contributor V

K40 MCU features:

All channels can be configured for center-aligned PWM mode

• Each pair of channels can be combined to generate a PWM signal (with independent control of both

edges of the PWM signal)

• FTM channels can operate as pairs with equal outputs, as pairs with complementary outputs, or as

independent channels (with independent outputs)

• Deadtime insertion is available for each complementary pair

but the TU unit in processor expert software,the channel mode only select compare and capture,have not PWM mode.

Can i config to drive Three-phase ACIM in processor expert software?

p.jpg

0 件の賞賛
返信
3 返答(返信)

1,248件の閲覧回数
Petr_H
NXP Employee
NXP Employee

Hi, sorry for the delay.

The macro is FTM_PDD_WriteChanngeValueReg(channel, value);

The FTM needs to be configured to produce to be initialized properly, including channels and their settings to perform output toggling (e.g. clear on overrun and set on compare). You can also see generated sources of TimerUnit_LDD or PPG components.

best regards

Petr Hradsky

0 件の賞賛
返信

1,248件の閲覧回数
Petr_H
NXP Employee
NXP Employee

Hi,

for the PWM there is only a basic PWM_LDD component that can handle simple PWM output, which probably won't be enough in your case.

To use advanced FTM features related to PWM you'd need to use the Init_FTM component that can provide you to setup complete FTM  initialization, including all PWM options like Fault control, complnementary mode etc.

For the runtime control, you can use the PDD macros listed under the Init_FTM componet in the Component view.

best regards

Petr Hradsky

Processor Expert Support Team

0 件の賞賛
返信

1,248件の閲覧回数
daveboyle
Contributor III

Which PDD macro do I use to set the output pulse width?

0 件の賞賛
返信