MCPWM DEADBAND
Brief
Demonstrate different Deadband modes like Active High, Active Low, Active High Complementary and Active Low Complementary.
Details
The example sets up the following MCPMWs to showcase the Deadband features, as follows,
MCPWM_NO_DB (MCPWM0) : Deadband disabled (Reference)
MCPWM_AH (MCPWM1) : Deadband Active High
MCPWM_AHC (MCPWM2) : Deadband Active High Complementary
MCPWM_AL (MCPWM3) : Deadband Active Low
MCPWM_ALC (MCPWM4) : Deadband Active Low Complementary
Validation:
Peripherals used
MCPWM
5 instances to show different deadband modes.TBCLK : 250MHz
MODE : UpDownCount
PRD : 4000 cycles
FREQUENCY : 31.25KHz
DUTY of 1A : 75%
Deadband Config for MCPWM_NO_DB:
Deadband : Disabled
Deadband Config for MCPWM_AH:
Deadband : Deadband Active High
RED : 1000 (4μs)
FED : 1000 (4μs)
RED Polarity : Not Inverted
FED Polarity : Not Inverted
DUTY of 3A after deadband : 62.5%
DUTY of 3B after deadband : 87.5%
Deadband Config for MCPWM_AHC:
Deadband : Deadband Active High Complementary
RED : 1000 (4μs)
FED : 1000 (4μs)
RED Polarity : Not Inverted
FED Polarity : Inverted
DUTY of 2A after deadband : 62.5%
DUTY of 2B after deadband : 12.5%
Deadband Config for MCPWM_AL:
Deadband : Deadband Active Low
RED : 1000 (4μs)
FED : 1000 (4μs)
RED Polarity : Inverted
FED Polarity : Inverted
DUTY of 3A after deadband : 37.5%
DUTY of 3B after deadband : 12.5%
Deadband Config for MCPWM_ALC:
Deadband : Deadband Active Low Complementary
RED : 1000 (4μs)
FED : 1000 (4μs)
RED Polarity : Inverted
FED Polarity : Not Inverted
DUTY of 1A after deadband : 37.5%
DUTY of 1B after deadband : 87.5%
Connect: BoosterPack header J4 pin 31 (PA11) (MCPWM0_1A) to Scope/Logic analyzer
Connect: BoosterPack header J4 pin 32 (PA12) (MCPWM0_1B) to Scope/Logic analyzer
Connect: BoosterPack header J4 pin 35 (PA25) (MCPWM1_3A) to Scope/Logic analyzer
Connect: BoosterPack header J2 pin 12 (PB12) (MCPWM1_3B) to Scope/Logic analyzer
Connect: BoosterPack header J1 pin 10 (PA22) (MCPWM2_2A) to Scope/Logic analyzer
Connect: BoosterPack header J1 pin 9 (PA23) (MCPWM2_2B) to Scope/Logic analyzer
Connect: BoosterPack header J4 pin 33 (PB6) (MCPWM3_3A) to Scope/Logic analyzer
Connect: BoosterPack header J4 pin 34 (PB7) (MCPWM3_3B) to Scope/Logic analyzer
Connect: BoosterPack header J4 pin 40 (PB3) (MCPWM4_1A) to Scope/Logic analyzer
Connect: BoosterPack header J4 pin 39 (PA7) (MCPWM4_1B) to Scope/Logic analyzer
Connect: HSEC PIN 80 (PA11) (MCPWM0_1A) to Scope/Logic analyzer
Connect: HSEC PIN 82 (PA12) (MCPWM0_1B) to Scope/Logic analyzer
Connect: HSEC PIN 71 (PA25) (MCPWM1_3A) to Scope/Logic analyzer
Connect: HSEC PIN 23 (PA17) (MCPWM1_3B) to Scope/Logic analyzer
Connect: HSEC PIN 85 (PA22) (MCPWM2_2A) to Scope/Logic analyzer
Connect: HSEC PIN 87 (PA23) (MCPWM2_2B) to Scope/Logic analyzer
Connect: HSEC PIN 34 (PA9) (MCPWM3_3A) to Scope/Logic analyzer
Connect: HSEC PIN 27 (PA3) (MCPWM3_3B) to Scope/Logic analyzer
Connect: HSEC PIN 58 (PB3) (MCPWM4_1A) to Scope/Logic analyzer
Connect: HSEC PIN 12 (PA7) (MCPWM4_1B) to Scope/Logic analyzer