MPC5643L Complementary Mode PWMB control

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

MPC5643L Complementary Mode PWMB control

604 次查看
yaort_amoureux
Contributor II

Hello there, 

The FlexPWM module seems to be working fine in complementary mode, controlled by PWMA (23), but it seems to be not working when I configure to control by PWMB(45)

The only config that I'm trying to change are VALx registers and IPOL selection. 

Is there anything that I'm missing ? 

0 项奖励
3 回复数

580 次查看
yaort_amoureux
Contributor II

For my situation, I'm not changing the IPOL bits run time, fixed configuration before compiling. It works fine for PWMA case, but not for PWMB

0 项奖励

575 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

then do SW force out during initialization.
- have CTRL2[FRCEN]=1 and CTRL2[FORCE_SEL]=0
- set IPOL bit
- write 1 to CTRL2[FORCE]

BR, Petr

0 项奖励

592 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

The IPOL are buffered bits and do not take effect until a FORCE_OUT event takes place in the appropriate submodule. FORCE_OUT can be generated immediately upon SW FORCE, or based on several other HW signals (local reload/sysnc, master reload/sync, etc).

BR, Petr

0 项奖励