SLAAEE7A September 2024 – August 2025 MSPM0C1106 , MSPM0G1106 , MSPM0G1107 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1
The power sequencing example demonstrates turning on multiple rails from one start-up, at different intervals. This precaution helps prevent damaging devices during start-up that causes power spikes, bus contention, latch-up errors, and other issues. The MSPM0 allows for use of only one timer to set different intervals for each rail.
This application requires the one timer, four output pins, and one input pin. The number of output pins can vary depending on application needs.
Subblock Function | Peripheral Use | Notes |
---|---|---|
Interrupt trigger | 1 pin | Signal input for trigger |
Output signals | 4 pins | Output signals for sequencing |
Creating sequence | 1 Timer G | Called
TIME_SEQUENCE in code |
.c
file.gTimerUp[]
and
gTimerDown[]
.pinToggle
function for each GPIO output.pinToggle
function to the desired order in the
if
statement.Figure 6-1 shows the logic graph results from executing the code example. The end is assuming the pins are also turned off in sequence.