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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

481 Views
Contributor IV

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 Kudos
3 Replies

31 Views
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 Kudos

31 Views
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 Kudos

31 Views
Contributor III

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

0 Kudos