0% found this document useful (0 votes)
62 views

MSPM0 Timer Module Introduction

The document provides an introduction to the MSPM0 timer module, detailing its features across different series, including the MSPM0Lxx and MSPM0Gxx. It outlines the capabilities of general-purpose and advanced control timer modules, such as counter types, compare/capture functionalities, and applications in motor control and position sensing. Additionally, it includes quick start resources and links for further training on the MSPM0 series.

Uploaded by

akbfourty8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

MSPM0 Timer Module Introduction

The document provides an introduction to the MSPM0 timer module, detailing its features across different series, including the MSPM0Lxx and MSPM0Gxx. It outlines the capabilities of general-purpose and advanced control timer modules, such as counter types, compare/capture functionalities, and applications in motor control and position sensing. Additionally, it includes quick start resources and links for further training on the MSPM0 series.

Uploaded by

akbfourty8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

MSPM0 timer module introduction

—— MSPM0 peripheral training series

Presented by Johnson He

1
MCU level overview
——MSPM0Lxx series Up to 8 CH
PWM

Timer Module
General purpose 16-bit 2CC (4)

MSPM0L Series MCU


Up to 4*TIMG

TIMG0 TIMG2
I2C
TIMG1 TIMG4

32 MHz MCU with up to 64kB flash, 32 pins, 12-bit ADC,


dual zero-drift OPA/PGA, COMP 2
MCU level overview Up to 22 CH
——MSPM0Gxx series PWM

Timer Module
Advanced control 16-bit 4CC (1)
Advanced control 16-bit 2CC (1)
General purpose 16-bit 2CC (2)
Low power 16-bit 2CC(2)
General purpose 32-bit 2CC (1)

MSPM0G Series MCU


Up to 2*TIMA, 5*TIMG

TIMA0 TIMG0
TIMA1 TIMG6
I2C TIMG8
TIMG7

TIMG12

80 MHz MCU with up to 128kB flash, 64 pins, 3


advanced analog, AES/TRNG, CAN-FD
MSPM0 timer module introduction
Flexible power domain Larger period Complementary PWM output Fault Handler

Instance Power Domain Counter Resolution Prescaler Repeat Counter CCP Channels External PWM Phase Load Shadow Load Shadow CC Dead band Fault Handler QEI
TIMA0 PD1 16-bit 8-bit 8-bit 4 8 Yes Yes Yes Yes Yes -
TIMA1 PD1 16-bit 8-bit - 2 4 Yes Yes Yes Yes Yes -
TIMG0 PD0 16-bit 8-bit - 2 2 - - - - - -
TIMG1 PD0 16-bit 8-bit - 2 2 - - - - - -
TIMG2 PD0 16-bit 8-bit - 2 2 - - - - - -
TIMG3 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 - - -
TIMG6 PD1 16-bit 8-bit - 2 2 - Yes Yes - - -
TIMG7 PD1 16-bit 8-bit - 2 2 - Yes Yes - - -
TIMG8 PD0 16-bit 8-bit - 2 2 - - - - - Yes
TIMG9 PD0 16-bit 8-bit - 2 2 - - - - - Yes
TIMG10 PD1 16-bit 8-bit - 2 2 - - - - - Yes
TIMG11 PD1 16-bit 8-bit - 2 2 - - - - - Yes
TIMG12 PD1 32-bit - - 2 2 - - Yes - - -
TIMG13 PD0 32-bit - - 2 2 - - Yes - - -

High resolution Event to trigger load QEI


Hall/Encoder
General purpose timer module introduction
Key Features
Counter: QEI Interface
Load Interrupt
• 16/32-bit up, down or up-down counter, with repeat-reload mode Clock Trigger
• Shadow register mode for load register Cross Trigger
• Synchronization and cross trigger among different TIM instances IDX 16/32-bit counter with
• Interrupt trigger generation and cross peripherals trigger capability PHA 16/32-bit Counter shadow load
PHB

Compare/Capture:
• Up to two independent channels for
• Output compare
TIM_CH0
• Input capture TIM_CH0 Compare/Capture
0
• PWM output
• One-shot mode
Signal Signal
• Pipelined compare mode for CC register Input Output
Control Control
Others: Compare/Capture TIM_CH1
TIM_CH1
• Quadrature encoder/Hall interface (TIMG8 – TIMG11) 1
• 32bit Counter(TIMG12-TIMG13)

MCU Pin MCU Pin


Application Input signal Capture
Compare output(PWM)
• General Purpose
• Motor Control
• Encoder, Position Sensing Implemented in MSPM0G & MSPM0L Series MCU
Advanced control timer module introduction
Key Features
Counter: Fault Mechanism
Load Interrupt
• 16-bit up, down or up-down counter, with repeat-reload mode Clock Trigger
• Shadow register mode for load register Cross Trigger
• Synchronization and cross trigger among different TIM instances Fault 16-bit counter with
• Interrupt trigger generation and cross peripherals trigger capability 16-bit Counter phase load & shadow load

Compare/Capture:
TIM_CH0
• Up to four independent channels for TIM_CH0 Compare/Capture
0 TIM_CH0N
• Output compare
• Input capture
TIM_CH1
• PWM output TIM_CH1 Compare/Capture
TIM_CH1N
• One-shot mode Signal
1
Signal
• Pipelined compare mode for CC register Input Output
Control Control TIM_CH2
• Complementary PWM output with dead-band TIM_CH2 Compare/Capture
2 TIM_CH2N

Others:
• Fault handling mechanism TIM_CH3 Compare/Capture
TIM_CH3
3 TIM_CH3N

Application MCU Pin MCU Pin


• General Purpose
4 CC Channel with Dead-band Output support 4 pair PWM
• Motor Control
• Power Inverter, PFC Implemented in MSPM0G Series MCU 6
Timer module quick start
Academy Launchpad
Timer introduction lab
LP-MSPM0G3507 LP-MSPM0L1306
Driverlib Examples
MSPM0G350x:

MSPM0L130x: Related Links


MSPM0 online resource
MSPM0 Quick start guide
MSPM0 Sysconfig user‘s guide

MSPM0G350x datasheet
MSPM0L13xx datasheet
MSPM0Gxx technical reference manual
MSPM0Lxx technical reference manual
7
Timer module quick start
Sysconfig Entrance for Timer Setting – MSPM0L Series Sysconfig Entrance for Timer Setting – MSPM0G Series

Step 2:
Step 2:

Step 1:

Step 1:

8
To find more MSPM0 training series, please visit:

• TI.com.cn
• WeChat (德州仪器公众号)
• Bilibili
• 21IC

You might also like