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,695 次查看
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,245 次查看
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,245 次查看
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,245 次查看
daveboyle
Contributor III

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

0 项奖励
回复