Complementary mode in FTM PWM of MBDT in KV5x

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Complementary mode in FTM PWM of MBDT in KV5x

850 次查看
CauTran
Contributor I

Dear @nxp

I would like to use FTM PWM in Complementary mode. 

I see the example in KV3x about this ( scalar control example); 

But, I can not get anything that I want about complementary mode. 2 pwm channels is independent. 

How can I configure to get this one? 

Thank you so much.

0 项奖励
1 回复

825 次查看
nxa11767
NXP Employee
NXP Employee

Hi @CauTran ,

You can use the same approach also on KV5x. The SDK API on KV5x is the same as on KV3x.

The PWM mode selection should be done from the MCUX Configuration Tool (the .mex file of the model). When we released the toolbox, the mcux configuration tool had a limitation - complementary mode and deadtime insertion was not available for selection in the UI. I'm tracking the issue and it looks to be fixed - let me check it on my side and I will let you know on this thread.

Meanwhile, you can try with the custom code block, same approach as on KV3x motor control example.

 

BR,

Alexandra

0 项奖励