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.
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