SDAA182A January 2026 – April 2026 MSPM0C1103 , MSPM0C1104
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.
Figure 2-3 Main Function (SWD Activated)
Flow Chart
Figure 2-4 GPIO Interrupt ISR Flow
Chart
Figure 2-5 Timer Interrupt ISR Flow
Chart
Figure 2-6 WDT Interrupt ISR Flow
Chart