SDAA182A January   2026  – April 2026 MSPM0C1103 , MSPM0C1104

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Detailed Description
    1. 2.1 Block Diagram
    2. 2.2 Typical Application Schematic
    3. 2.3 Flow Chart
      1. 2.3.1 Flow Chart - SWD is Activated
      2. 2.3.2 Flow Chart - SWD Pins are Remapped to GPIO
    4. 2.4 Test Result
  6. 3Summary
  7. 4References
  8. 5Revision History

Flow Chart - SWD is Activated

If the user does not require complex functionality, it is not necessary to remap the SWD pins as GPIO, SPI, or Timer pins.

The following flowcharts illustrate the operation when SWD is activated.

The system consists of four parts: the main function, GPIO ISR, Timer(capture) ISR, and WDT ISR.

Button input recognition is based on a GPIO interrupt. To further enhance system stability, a fallback mechanism is also implemented. MSPM0C1103’s WDT module is modified to operate like a general timer, allowing the system to check the pin status every 7.81 ms (polling).

The fallback system is optional, so the user may remove this feature if not required.

 Main Function (SWD Activated)
                    Flow Chart Figure 2-3 Main Function (SWD Activated) Flow Chart
 GPIO Interrupt ISR Flow
                    Chart Figure 2-4 GPIO Interrupt ISR Flow Chart
 Timer Interrupt ISR Flow
                    Chart Figure 2-5 Timer Interrupt ISR Flow Chart
 WDT Interrupt ISR Flow
                    Chart Figure 2-6 WDT Interrupt ISR Flow Chart