SDAA266B March   2026  – May 2026 MSPM0C1104 , MSPM0C1106 , MSPM0G3507 , MSPM0L1306

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Block Diagram
    1. 2.1 Power Supply Module
    2. 2.2 Zero-Crossing Detection (ZCD)
    3. 2.3 Current Detection
    4. 2.4 MSPM0 Microcontroller
    5. 2.5 TRIAC
  6. 3Phase Angle Control
    1. 3.1 Operating Principle
    2. 3.2 Boundary Conditions and Special Cases
    3. 3.3 Implementation with MSPM0
  7. 4Soft-Start Feature
  8. 5Software
    1. 5.1 Software Workflow
    2. 5.2 Zero-Crossing Detection Implementation
    3. 5.3 Pulse Generation
    4. 5.4 Update Targeted Speed
    5. 5.5 Overcurrent Protection
    6. 5.6 User System Define
  9. 6Results
    1. 6.1 Scope Waveforms
    2. 6.2 Speed Change
    3. 6.3 Soft Start
    4. 6.4 Temperature
  10. 7Summary
  11. 8References
  12. 9Revision History

Overcurrent Protection

The ADC12_0_INST_IRQHandler implements a hardware-based overcurrent protection mechanism using the MSPM0’s integrated window comparator. During initialization, the ADC is configured with a high threshold corresponding to the maximum safe current level (AC_CURRENT_LIMITATION = 3.2V from the current sense circuit). When the sensed current exceeds this threshold, the window comparator generates an interrupt.

The ISR responds by immediately disabling all interrupts (__disable_irq()) to halt normal operation, clearing the period measurements to prevent further gate pulses, and triggering a breakpoint (__BKPT(0)) for debugging. In a production system, this breakpoint is replaced with a more sophisticated fault handling routine that can include status indication, automatic retry logic, or permanent shutdown depending on application requirements.