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

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

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

389 次查看
dingding123
Contributor I
 
标记 (1)
0 项奖励
2 回复数

349 次查看
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 项奖励

360 次查看
cuongnguyenphu
NXP Employee
NXP Employee

Which MCAL version you're using?

0 项奖励