SLAAEL2 August   2025 MSPM0G1106 , MSPM0G1107 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0L1306

 

  1.   1
  2. 1Description
  3. 2Required Peripherals
  4. 3Design Steps
  5. 4Design Considerations
  6. 5Software Flow Chart
  7. 6Application Code
  8. 7Results
  9. 8Additional Resources
  10. 9E2E

Design Steps

  1. Determine multiple configurations for the output PWM signal including frequency and duty cycle based on design requirements.
  2. Generate timer configuration code utilizing SysConfig.
  3. Configure the required switches (GPIOs) in SysConfig.
  4. Create cases for each timer configuration from steps 1–2.
  5. Write application code that loops through the timer configurations based on interrupts triggered by pressing the switches. See Figure 5-1 and Figure 5-2 for an overview of the software.