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

Block diagram Block diagram (pins applicable for LaunchPad)

Validation:

Output waveform

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