SFFS624B March 2024 – August 2025 MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1
There are two timer peripherals in these devices (which support the following key features); (1) TIMGx (general-purpose timer) and a TIMAx (advanced timer). The TIMGx is a subset of TIMAx, which means these timers share many common features that are compatible in software. For specific configuration, see Table 5-14:
Specific features for the general-purpose timer (TIMGx) include:
Specific features for the advanced timer (TIMAx) include:
| Timer Name | Power Domain | Resolution | Prescaler | Repeat Counter | Capture / Compare Channels | Phase Load | Shadow Load | Shadow CC | Deadband | Fault | QEI |
|---|---|---|---|---|---|---|---|---|---|---|---|
| TIMG0 | PD0 | 16-bit | 8-bit | – | 2 | – | – | – | – | – | – |
| TIMG6 | PD1 | 16-bit | 8-bit | – | 2 | – | – | – | – | – | – |
| TIMG7 | PD1 | 16-bit | 8-bit | – | 2 | – | Yes | Yes | – | – | – |
| TIMG8 | PD0 | 16-bit | 8-bit | – | 2 | – | – | – | – | – | Yes |
| TIMG12 | PD1 | 32-bit | – | – | 2 | – | – | Yes | – | – | – |
| TIMA0 | PD1 | 16-bit | 8-bit | 8-bit | 4 | Yes | Yes | Yes | Yes | Yes | – |
| TIMA1 | PD1 | 16-bit | 8-bit | 8-bit | 2 | Yes | Yes | Yes | Yes | Yes | – |
| TSEL.ETSEL Selection | TIMA0 | TIMA1 | TIMG6 | TIMG7 | TIMG12 |
|---|---|---|---|---|---|
| 0 | TIMA0.TRIG0 | TIMA0.TRIG0 | TIMA0.TRIG0 | TIMA0.TRIG0 | TIMA0.TRIG0 |
| 1 | TIMA1.TRIG0 | TIMA1.TRIG0 | TIMA1.TRIG0 | TIMA1.TRIG0 | TIMA1.TRIG0 |
| 2 | TIMG6.TRIG0 | TIMG6.TRIG0 | TIMG6.TRIG0 | TIMG6.TRIG0 | TIMG6.TRIG0 |
| 3 | TIMG7.TRIG0 | TIMG7.TRIG0 | TIMG7.TRIG0 | TIMG7.TRIG0 | TIMG7.TRIG0 |
| 4 | TIMG12.TRIG0 | TIMG12.TRIG0 | TIMG12.TRIG0 | TIMG12.TRIG0 | TIMG12.TRIG0 |
| 5 | TIMG8.TRIG0 | TIMG8.TRIG0 | TIMG8.TRIG0 | TIMG8.TRIG0 | TIMG8.TRIG0 |
| 6 to 15 | Reserved | ||||
| 16 | Event Subscriber Port 0 (FSUB0) | ||||
| 17 | Event Subscriber Port 1 (FSUB1) | ||||
| 18-31 | Reserved | ||||
| TSEL.ETSEL SELECTION | TIMG0 | TIMG8 |
|---|---|---|
| 0 | TIMG0.TRIG0 | TIMG0.TRIG0 |
| 1 | TIMG8.TRIG0 | TIMG8.TRIG0 |
| 2 to 15 | Reserved | |
| 16 | Event Subscriber Port 0 (FSUB0) | |
| 17 | Event Subscriber Port 1 (FSUB1) | |
| 18-31 | Reserved | |
For more details, see the TIMx chapter of the MSPM0 G-Series 80MHz Microcontrollers Technical Reference Manual.
The following tests can be applied as functional safety mechanisms for this module (to provide diagnostic coverage on a specific function):
| Safety Mechanism | Description | Faults | Failure Modes |
|---|---|---|
| TIM1 | Test for PWM generation | Targeted toward PWM generation logic, including the counters, compare registers, clocking logic, output generation logic, and so forth. |
| TIM2 | Periodic software read back of IP static configuration registers | Targets the static configuration registers in timer. |
| TIM3 (latent fault coverage) | Test for fault generation | This test is a
test for diagnostic, which checks the functioning of fault detection logic in
timer. Note: This test is applicable
only to TIMAx. |
| TIM4 | Fault detection to take the PWMs to safe state | This safety mechanism
can be used to detect faults which result in system-level failures like overvoltage
and undervoltage and overcurrent and undercurrent. The external faults can be
monitored using the fault pins or the analog comparators. The faults which can be
covered include the faults in the PWM generation logic, faults in external drivers,
and so forth. Note: This test is
applicable only to TIMAx. |
| TIM5 | Input capture on two or more timer instances | This test is used to cover the faults in the capture mode logic. The faults can be in clocking, capture logic, counter logic, and so forth. |
| TIM6 | Timer period monitoring. | This test is a run time check, in which the duration between two interrupts can be measured (using another timer). This check is useful in detecting faults which result in the counter taking more or less time than expected and can also cover the clocking related faults. |
| WDT | Windowed watchdog event | Targeted toward faults which result in missing interrupts (periodic interrupts) affecting the program sequence of the CPU. These faults can be faults in the interrupt logic, the logic which sets the interrupt flags, the logic which generates hardware triggers for other IPs (ADC, for example), and so forth. |