SLAAE76B march 2023 – june 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507
Timers are one of the most basic and important modules in any MCU, and this resource is used in all applications. It can be used to process tasks regularly, delay, output PWM waveforms to drive o devices, detect the width and frequency of external pulses, simulate waveform outputs, and more.
The MSPM0G series MCU includes three types of Timer module: TIMA, TIMG and TIMH. The advanced timer (TIMA), general-purpose timer (TIMG) and high-resolution timer (TIMH) are all timer counting modules that can be used for a variety of functions, including measuring the input signal edge and period (capture mode) or generating output waveforms (compare mode output) like PWM signals. However, TIMA adds additional features such as complementary PWM with dead band insertion, and TIMH has a 24-bit resolution counter. A summary of the different features and configurations of each timer is shown in the following tables.
Instance | Power Domain | Counter Resolution | Prescaler | Repeat Counter | CCP Channels | Phase Load | Shadow Load | Pipelined CC | Dead band | Fault Handler | QEI |
---|---|---|---|---|---|---|---|---|---|---|---|
TIMA0 | PD1 | 16-bit | 8-bit | 8-bit | 4 | Yes | Yes | Yes | Yes | Yes | - |
TIMA1 | PD1 | 16-bit | 8-bit | - | 2 | Yes | Yes | Yes | Yes | Yes | - |
TIMA2 | PD1 | 16-bit | 8-bit | - | 2 | Yes | Yes | Yes | Yes | Yes | - |
Instance | Power Domain | Counter Resolution | Prescaler | Repeat Counter | CCP Channels | Phase Load | Shadow Load | Pipelined CC | Dead band | Fault Handler | QEI |
---|---|---|---|---|---|---|---|---|---|---|---|
TIMG0 | PD0 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | - |
TIMG1 | PD0 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | - |
TIMG2 | PD0 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | - |
TIMG3 | PD0 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | - |
TIMG4 | PD0 | 16-bit | 8-bit | - | 2 | - | Yes | Yes | - | - | - |
TIMG5 | PD0 | 16-bit | 8-bit | - | 2 | - | Yes | Yes | - | - | - |
TIMG6 | PD1 | 16-bit | 8-bit | - | 2 | - | Yes | Yes | - | - | - |
TIMG7 | PD1 | 16-bit | 8-bit | - | 2 | - | Yes | Yes | - | - | - |
TIMG8 | PD0 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | Yes |
TIMG9 | PD0 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | Yes |
TIMG10 | PD1 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | Yes |
TIMG11 | PD1 | 16-bit | 8-bit | - | 2 | - | - | - | - | - | Yes |
Instance | Power Domain | Counter Resolution | Prescaler | Repeat Counter | CCP Channels | Phase Load | Shadow Load | Pipelined CC | Dead band | Fault Handler | QEI |
---|---|---|---|---|---|---|---|---|---|---|---|
TIMH0 | PD1 | 24-bit | - | - | 2 | - | - | Yes | - | - | - |
TIMH1 | PD1 | 24-bit | - | - | 2 | - | - | Yes | - | - | - |