SLASFB5A May 2024 – November 2024 MSPM0L1228-Q1 , MSPM0L2228-Q1
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
There are two timer peripherals in these devices support that following key features: TIMGx (general-purpose timer) and TIMAx (advanced timer). TIMGx is a subset of TIMAx, which means these timers share many common features that are compatible in software. For specific configuration, see Table 8-11:
Specific features for the general-purpose timer (TIMGx) include:
Specific features for the advanced timer (TIMAx) include:
Instance | Power Domain | Counter Resolution | Prescaler | Repeat Counter | CCP Channels (External/Internal) | External PWM Channels | Phase Load | Shadow Load | Shadow CCs | Deadband | Fault Handler | QEI / Hall Input Mode |
---|---|---|---|---|---|---|---|---|---|---|---|---|
TIMG0 | PD0 | 16-bit | 8-bit | - | 2 | 2 | - | - | - | - | - | - |
TIMG4 | PD0 | 16-bit | 8-bit | - | 2 | 2 | - | Yes | Yes | - | - | - |
TIMG5 | PD0 | 16-bit | 8-bit | - | 2 | 2 | - | Yes | Yes | - | - | - |
TIMG8 | PD0 | 16-bit | 8-bit | - | 2 | 2 | - | - | - | - | - | Yes |
TIMG12 | PD0 | 32-bit | - | - | 2 | 2 | - | - | Yes | - | - | - |
TIMA0 | PD0 | 16-bit | 8-bit | Yes | 4/2 | 8 | Yes | Yes | Yes | Yes | Yes | - |
TSEL.ETSEL Selection | TIMA0 | TIMG0 | TIMG4 | TIMG5 | TIMG8 | TIMG12 |
---|---|---|---|---|---|---|
0 | TIMA0.TRIGO | TIMA0.TRIGO | TIMA0.TRIGO | TIMA0.TRIGO | TIMA0.TRIGO | TIMA0.TRIGO |
1 | TIMG0.TRIGO | TIMG0.TRIGO | TIMG0.TRIGO | TIMG0.TRIGO | TIMG0.TRIGO | TIMG0.TRIGO |
2 | TIMG4.TRIGO | TIMG4.TRIGO | TIMG4.TRIGO | TIMG4.TRIGO | TIMG4.TRIGO | TIMG4.TRIGO |
3 | TIMG5.TRIGO | TIMG5.TRIGO | TIMG5.TRIGO | TIMG5.TRIGO | TIMG5.TRIGO | TIMG5.TRIGO |
4 | TIMG8.TRIGO | TIMG8.TRIGO | TIMG8.TRIGO | TIMG8.TRIGO | TIMG8.TRIGO | TIMG8.TRIGO |
5 | TIMG12.TRIGO | TIMG12.TRIGO | TIMG12.TRIGO | TIMG12.TRIGO | TIMG12.TRIGO | TIMG12.TRIGO |
6 to 15 | Reserved | |||||
16 | Event Subscriber Port 0 (FSUB0) | |||||
17 | Event Subscriber Port 1 (FSUB1) | |||||
18-31 | Reserved |
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 towards PWM generation logic, including the counters, compare registers, clocking logic, output generation logic etc. |
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 over/under voltages/currents. 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 etc. 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 could be in clocking, capture logic, counter logic etc. |
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 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 towards faults which result in missing interrupts (periodic interrupts) affecting the program sequence of the CPU. These could be faults in the interrupt logic or the logic which sets the interrupt flags or the logic which generated hardware triggers for other IPs (ADC for example) etc. |