SLAAEQ8 February   2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0C1105 , MSPM0C1106 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 Laser Speckle Reduction
    2. 1.2 MSPM0 Requirements
  5. 2PWM
    1. 2.1 PWM Implementation
    2. 2.2 PWM Test Result
  6. 3PWM and GPIO
    1. 3.1 PWM and GPIO Implementation
    2. 3.2 Interrupt Time Calibration
    3. 3.3 PWM and GPIO Test Result
  7. 4Timer and GPIO
    1. 4.1 Timer and GPIO Implementation
  8. 5Summary
  9. 6References

PWM Implementation

The PWM method is a fully hardware implementation, using a timer to output PWM and an event to support a hardware trigger between the timer controller and timer target.

In the MSPM0 G-series, the PWM method requires four timers, including one timer with four CCs, and three timers with two CCs. Use MSPM0G3507 for example. Figure 2-1 shows the internal hardware control chain of timers and events of this method.

 PWM Method Control Chain - G
          series Figure 2-1 PWM Method Control Chain - G series

And, in MSPM0 L-series, because there is no timer with four CCs, four timers with two CCs can be used to output PWM waveform and four timers are triggered by event serially. Use MSPM0L1306 for example. Figure 2-2 shows the internal hardware control chain of timers and events of this method.

 PWM Method Control Chain - L
          series Figure 2-2 PWM Method Control Chain - L series