SLAAE76B march   2023  – june 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. MSPM0G Hardware Design Check List
  5. Power Supplies in MSPM0G Devices
    1. 2.1 Digital Power Supply
    2. 2.2 Analog Power Supply
    3. 2.3 Built-in Power Supply and Voltage Reference
    4. 2.4 Recommended Decoupling Circuit for Power Supply
  6. Reset and Power Supply Supervisor
    1. 3.1 Digital Power Supply
    2. 3.2 Power Supply Supervisor
  7. Clock System
    1. 4.1 Internal Oscillators
    2. 4.2 External Oscillators
    3. 4.3 External Clock Output (CLK_OUT)
    4. 4.4 Frequency Clock Counter (FCC)
  8. Debugger
    1. 5.1 Debug port pins and Pinout
    2. 5.2 Debug Port Connection With Standard JTAG Connector
  9. Key Analog Peripherals
    1. 6.1 ADC Design Considerations
    2. 6.2 OPA Design Considerations
    3. 6.3 DAC Design Considerations
    4. 6.4 COMP Design Considerations
    5. 6.5 GPAMP Design Considerations
  10. Key Digital Peripherals
    1. 7.1 Timer Resources and Design Considerations
    2. 7.2 UART and LIN Resources and Design Considerations
    3. 7.3 MCAN Design Considerations
    4. 7.4 I2C and SPI Design Considerations
  11. GPIOs
    1. 8.1 GPIO Output Switching Speed and Load Capacitance
    2. 8.2 GPIO Current Sink and Source
    3. 8.3 High-Speed GPIOs (HSIO)
    4. 8.4 High-Drive GPIOs (HDIO)
    5. 8.5 Open-Drain GPIOs Enable 5-V Communication Without a Level Shifter
    6. 8.6 Communicate With a 1.8-V Device Without a Level Shifter
    7. 8.7 Unused Pins Connection
  12. Layout Guides
    1. 9.1 Power Supply Layout
    2. 9.2 Considerations for Ground Layout
    3. 9.3 Traces, Vias, and Other PCB Components
    4. 9.4 How to Select Board Layers and Recommended Stack-up
  13. 10Bootloader
    1. 10.1 Bootloader Introduction
    2. 10.2 Bootloader Hardware Design Considerations
      1. 10.2.1 Physical Communication interfaces
      2. 10.2.2 Hardware Invocation
  14. 11References
  15. 12Revision History

Timer Resources and Design Considerations

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.

Table 7-1 TIMA Instance Configuration
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 -
Table 7-2 TIMG Instance Configuration
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
  • First look at the device specific data sheet to check which TIMG instances are available on the device
  • Need to check what features are available for each TIMG instance in Technical Reference Manual
Table 7-3 TIMH Instance Configuration
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 - - -