How to configuge a center aligned PWM(channel n) with complementary channel(n+1) via mcal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to configuge a center aligned PWM(channel n) with complementary channel(n+1) via mcal

338 Views
dingding123
Contributor I
 
Tags (1)
0 Kudos
2 Replies

298 Views
cuongnguyenphu
NXP Employee
NXP Employee

Hi @dingding123 ,
As per reference manual of S32K, chapter FTM Module, Complementary Mode:
The channel (n+1) output is independent from channel (n) output when:
• QUADEN = 0
• DECAPEN = 0
• COMP = 0
• channel (n) is on Output Compare Mode, EPWM or CPWM


If channel (n) is in CPWM (Center-Aligned Mode), channel (n+1) output is independent from channel (n).
Furthermore, currently EB Tresos cannot configure Pair channel if channel (n) is in CPWM mode:

cuongnguyenphu_0-1673507514804.png


Can you describe more detail about your purpose and expectation to configure 2 channels ?



0 Kudos

309 Views
cuongnguyenphu
NXP Employee
NXP Employee

Which MCAL version you're using?

0 Kudos