Slaae 76 B
Slaae 76 B
Application Note
MSPM0 G-Series MCUs Hardware Development Guide
ABSTRACT
The MSPM0 G-series microcontroller (MCU) portfolio offers a wide variety of 32-bit MCUs with ultra-low-
power and integrated analog and digital peripherals for sensing, measurement, and control applications. This
application note covers information needed for hardware development with MSPM0 G series MCUs, including
detailed hardware design information for power supplies, reset circuitry, clocks, debugger connections, key
analog peripherals, communication interfaces, GPIOs, and board layout guidance.
Table of Contents
1 MSPM0G Hardware Design Check List.................................................................................................................................3
2 Power Supplies in MSPM0G Devices....................................................................................................................................4
2.1 Digital Power Supply.......................................................................................................................................................... 4
2.2 Analog Power Supply.........................................................................................................................................................5
2.3 Built-in Power Supply and Voltage Reference................................................................................................................... 6
2.4 Recommended Decoupling Circuit for Power Supply........................................................................................................ 6
3 Reset and Power Supply Supervisor.................................................................................................................................... 6
3.1 Digital Power Supply.......................................................................................................................................................... 6
3.2 Power Supply Supervisor...................................................................................................................................................7
4 Clock System.......................................................................................................................................................................... 8
4.1 Internal Oscillators............................................................................................................................................................. 8
4.2 External Oscillators............................................................................................................................................................ 9
4.3 External Clock Output (CLK_OUT)...................................................................................................................................11
4.4 Frequency Clock Counter (FCC)...................................................................................................................................... 11
5 Debugger............................................................................................................................................................................... 12
5.1 Debug port pins and Pinout..............................................................................................................................................12
5.2 Debug Port Connection With Standard JTAG Connector.................................................................................................12
6 Key Analog Peripherals....................................................................................................................................................... 15
6.1 ADC Design Considerations............................................................................................................................................ 15
6.2 OPA Design Considerations.............................................................................................................................................15
6.3 DAC Design Considerations............................................................................................................................................ 16
6.4 COMP Design Considerations......................................................................................................................................... 17
6.5 GPAMP Design Considerations....................................................................................................................................... 19
7 Key Digital Peripherals.........................................................................................................................................................20
7.1 Timer Resources and Design Considerations..................................................................................................................20
7.2 UART and LIN Resources and Design Considerations....................................................................................................21
7.3 MCAN Design Considerations......................................................................................................................................... 23
7.4 I2C and SPI Design Considerations.................................................................................................................................24
8 GPIOs.....................................................................................................................................................................................26
8.1 GPIO Output Switching Speed and Load Capacitance....................................................................................................26
8.2 GPIO Current Sink and Source........................................................................................................................................26
8.3 High-Speed GPIOs (HSIO).............................................................................................................................................. 27
8.4 High-Drive GPIOs (HDIO)................................................................................................................................................ 27
8.5 Open-Drain GPIOs Enable 5-V Communication Without a Level Shifter.........................................................................27
8.6 Communicate With a 1.8-V Device Without a Level Shifter............................................................................................. 27
8.7 Unused Pins Connection..................................................................................................................................................28
9 Layout Guides.......................................................................................................................................................................29
9.1 Power Supply Layout....................................................................................................................................................... 29
9.2 Considerations for Ground Layout................................................................................................................................... 29
9.3 Traces, Vias, and Other PCB Components......................................................................................................................30
9.4 How to Select Board Layers and Recommended Stack-up............................................................................................. 31
10 Bootloader...........................................................................................................................................................................32
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 1
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Table of Contents [Link]
List of Figures
Figure 1-1. MSPM0G Typical Application Schematic.................................................................................................................. 4
Figure 2-1. VCORE Regulator Circuit............................................................................................................................................ 5
Figure 2-2. VREF Circuit..............................................................................................................................................................6
Figure 2-3. Power Supply Decoupling Circuit.............................................................................................................................. 6
Figure 3-1. NRST Recommended Circuit.................................................................................................................................... 7
Figure 3-2. POR and BOR vs. Supply Voltage (VDD)................................................................................................................. 8
Figure 4-1. MSPM0G Series LFOSC...........................................................................................................................................8
Figure 4-2. MSPM0G Series SYSOSC........................................................................................................................................8
Figure 4-3. MSPM0G SYSPLL Circuit......................................................................................................................................... 9
Figure 4-4. MSPM0G LFXT Circuit............................................................................................................................................10
Figure 4-5. MSPM0G HFXT Circuit........................................................................................................................................... 10
Figure 4-6. MSPM0G External Clock Output............................................................................................................................. 11
Figure 4-7. MSPM0G Frequency Clock Counter Block Diagram............................................................................................... 11
Figure 5-1. Host to Target Device Connection...........................................................................................................................12
Figure 5-2. MSPM0G SWD Internal Pull................................................................................................................................... 12
Figure 5-3. JTAG and MSPM0G Connection.............................................................................................................................13
Figure 5-4. XDS110 Probe High-Level Block Diagram.............................................................................................................. 13
Figure 5-5. XDS110-ET Circuit.................................................................................................................................................. 14
Figure 5-6. Arm Standard 10-Pin Cable.................................................................................................................................... 14
Figure 6-1. ADC Input Network..................................................................................................................................................15
Figure 6-2. Two OPA Differential Amplifier Block Diagram and Equation..................................................................................16
Figure 6-3. Two OPA Noninverting to Noninverting Cascade Amplifier Block Diagram and Equation...................................... 16
Figure 6-4. 8-Bit DAC Block Diagram........................................................................................................................................ 16
Figure 6-5. 8-Bit DAC and OPA Output Block Diagram............................................................................................................. 17
Figure 6-6. 12-bit DAC Output Block Diagram...........................................................................................................................17
Figure 6-7. Comparator Diagram...............................................................................................................................................17
Figure 6-8. Window Comparator Mode......................................................................................................................................18
Figure 6-9. Comparator Short Switch........................................................................................................................................ 18
Figure 6-10. GPAMP Circuit in Amplify Mode............................................................................................................................ 19
Figure 6-11. GPAMP Circuit in Buffer Mode.............................................................................................................................. 19
Figure 7-1. Typical LIN TLIN1021A Transceiver........................................................................................................................22
Figure 7-2. Typical LIN Application (Commander) With MSPM0G............................................................................................ 22
Figure 7-3. Typical LIN Application (Responder) With MSPM0G.............................................................................................. 23
Figure 7-4. MCAN Typical Bus Wiring....................................................................................................................................... 23
Figure 7-5. Typical CAN Bus Application With MSPM0G.......................................................................................................... 24
Figure 7-6. External Connections for Different SPI Configurations............................................................................................24
Figure 7-7. Typical I2C Bus Connection.................................................................................................................................... 25
Figure 8-1. Suggested ODIO Circuit..........................................................................................................................................27
Figure 8-2. Suggested Communication Circuit With 1.8-V Device............................................................................................ 27
Figure 9-1. Suggested Power Supply Layout............................................................................................................................ 29
Figure 9-2. Digital and Analog Grounds and Common Area..................................................................................................... 30
Figure 9-3. Poor and Correct Way of Bending Traces in Right Angle........................................................................................30
Figure 9-4. Poor and Correct Cross Traces for Analog and High-Frequency Signals............................................................... 31
Figure 9-5. Four-Layer PCB Stack-up Example........................................................................................................................ 31
Figure 10-1. BSL Entry Sequence at Configured GPIO Pin...................................................................................................... 32
List of Tables
Table 1-1. MSPM0G Hardware Design Check List......................................................................................................................3
Table 4-1. SYSOSC Accuracy With FCL, by ROSC Tolerance, RSOC TCR, and Ambient Temperature (TA)............................ 9
Table 5-1. MSPM0G Debug Ports............................................................................................................................................. 12
Table 7-1. TIMA Instance Configuration.................................................................................................................................... 20
Table 7-2. TIMG Instance Configuration.................................................................................................................................... 20
Table 7-3. TIMH Instance Configuration.................................................................................................................................... 20
Table 7-4. UART Features......................................................................................................................................................... 21
Table 7-5. MSPM0G UART Specifications.................................................................................................................................21
Table 7-6. MSPM0G I2C Characteristics................................................................................................................................... 25
2 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Trademarks
Trademarks
All trademarks are the property of their respective owners.
1 MSPM0G Hardware Design Check List
Table 1-1 describes the main contents that needs to be checked during the MSPM0G hardware design process.
The following sections provide more details.
Table 1-1. MSPM0G Hardware Design Check List
Pin Description Requirements
VDD Power supply positive pin Place 10-µF and 100-nF capacitors between VDD and VSS and
VSS Power supply negative pin keep those part close to VDD and VSS pins.
Voltage reference power supply - • When using VREF+ and VREF- to bring in an external voltage
VREF+
external reference input reference for analog peripherals such as the ADC, a decoupling
capacitor must be placed on VREF+ to VREF-/GND with a
Voltage reference ground supply - capacitance based on the external reference source.
VREF-
external reference input • Leaving open is OK if the application does not need external
voltage reference.
SWCLK Serial wire clock from debug probe Internal pulldown to VSS, does not need any external part.
SWDIO Bidirectional (shared) serial wire data Internal pullup to VDD, does not need any external part.
PA0, PA1 Open-drain I/O Pullup resistor required for output high
Keep pulled down to avoid entering BSL mode after reset. (BSL
PA18 Default BSL invoke Pin
invoke pin can be remapped.)
Set corresponding pin functions to GPIO ([Link] = 0x1) and
PAx (exclude PA0, PA1) General-purpose I/O configure unused pins to output low or input with internal pullup or
pulldown resistor.
Note
For any unused pin with a function that is shared with general-purpose I/O, follow the "PAx" unused
pin connection guidelines.
TI recommends connecting a combination of a 10-μF and a 0.1-nF low-ESR ceramic decoupling capacitor to the
VDD and VSS pins Higher-value capacitors can be used but can impact supply rail ramp-up time. Decoupling
capacitors must be placed as close as possible to the pins that they decouple (within a few millimeters).
The NRST reset pin is required to connect an external 47-kΩ pullup resistor with a 10-nF pulldown capacitor.
The SYSOSC frequency correction loop (FCL) circuit utilizes an external 100-kΩ resistor, populated between
the ROSC pin and VSS, to stabilize the SYSOSC frequency by providing a precision reference current for the
SYSOSC. This resistor is not required if the SYSOSC FCL is not enabled.
For devices support external crystals, external bypass capacitors for the crystal oscillator pins are required when
using external crystals.
A 0.47-µF tank capacitor is required for the VCORE pin and need to be placed close to the device with minimum
distance to the device ground.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 3
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Power Supplies in MSPM0G Devices [Link]
For 5-V-tolerant open drain (ODIO), a pullup resistor is required to output high, this is required for I2C and UART
functions if the ODIO are used.
1.62–3.6V
100 k (0.1% 25ppm)
VDD ROSC
10 F 0.1 F
VSS
VREF+
1 F
47 k
LFXIN
NRST
1000 pF LFXOUT
VCORE
SWDIO
0.47 Programming
tool connection
SWCLK
4 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Power Supplies in MSPM0G Devices
Note
The VBOOST circuit has a startup time requirement (12 μs typical) to transition from a disabled state
to an enabled state. In the event that the startup time of the COMP, OPA, or GPAMP is less than
the VBOOST startup time, the peripheral startup time is extended to account for the VBOOST startup
time.
Bandgap Reference
The PMU provides a temperature and supply voltage stable bandgap voltage reference, which is used by the
device for internal functions including:
• Driving the brownout reset circuit thresholds.
• Setting the output voltage for the core regulator.
• Driving the on-chip VREF levels for on-chip analog peripherals.
The bandgap reference is enabled in RUN, SLEEP, STOP modes. It operates in a sampled mode in STANDBY
to reduce power consumption. It is disabled in SHUTDOWN mode. SYSCTL manages the bandgap state
automatically so that no user configuration is required.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 5
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Power Supplies in MSPM0G Devices [Link]
6 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Reset and Power Supply Supervisor
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 7
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Clock System [Link]
Supply
Voltage
(VDD) No reset
asserted
BOR0+
BOR0-
BOR BOR BOR BOR
released asserted released released
POR+
POR-
POR POR POR
released asserted released
4 Clock System
The clock system of MSPM0G series contains the internal oscillators, the clock monitors, and the clock selection
and control logic.
This section describes the clock resources on different MSPM0G family devices and their interaction with
external signals or devices.
4.1 Internal Oscillators
8 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Clock System
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 9
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Clock System [Link]
10 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Clock System
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 11
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Debugger [Link]
Application software can use the FCC to measure the frequency of the following oscillators and clocks:
• MCLK
• SYSOSC
• HFCLK
• CLK_OUT
• SYSPLLCLK0
• SYSPLLCLK1
• SYSPLLCLK2X
• The external FCC input (FCC_IN)
Note
While the external FCC input (FCC_IN function) can be used as either the FCC clock source or the
FCC trigger input, it cannot be used for both functions during the same FCC capture. It must be
configured as either the FCC clock source or the FCC trigger.
5 Debugger
The debug subsystem (DEBUGSS) interfaces the serial wire debug (SWD) two-wire physical interface to
multiple debug functions within the device. MSPM0G devices support debugging of processor execution, the
device state, and the power state (using EnergyTrace technology).
12 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Debugger
For MSPM0G device, you can use XDS110 to implement debug/download function. Here list the contents of the
XDS110 and provides instruction on installing the hardware.
Standard XDS110
You can purchase a standard XDS110 on [Link]. Figure 5-4 shows a high-level diagram of the major functional
areas and interfaces of the XDS110 probe.
More standard XDS110 information, refer to the XDS110 Debug Probe User’s Guide.
Lite XDS110 (MSPM0 LaunchPad Development Kit)
The MSPM0 LaunchPad kit include XDS110-ET (Lite) circuit. You can use this debugger to download your
firmware into MSPM0 device. Figure 5-5 shows XDS110-ET circuit.
There are two probes in XDS110-ET:
2.54-mm probe: This port supports the SWD protocol and includes a 5-V or 3.3-V power supply. You can
connect SWDIO SWCLK 3V3 GND to your board and download firmware into an MSPM0G device.
And this probe also supports EnergyTrace technology to measure power consumption precisely in real time.
More information for EnergyTrace technology, visit the EnergyTrace Technology tool page.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 13
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Debugger [Link]
10-pin probe: This port supports the JTAG and SWD protocols and includes a 3.3-V power supply. You can use
a 10-pin cable to connect your board and XDS110-ET and download firmware into an MSPM0G device. Figure
5-6 show the 10-pin cable.
Note
• Standard XDS110 support level shift for debug ports, XDS110-ET just support 3.3v probe level.
• We do not recommend using the XDS110 to power other devices except the MSPM0G MCU
because the XDS110 integrates an LDO with limited current drive capability.
• XDS110-ET 2.54-mm probe does not support JTAG protocol.
• XDS110-ET 10-pin probe does not support EnergyTrace technology.
14 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Key Analog Peripherals
To achieve the desired conversion speed and keep high accuracy, it is necessary to ensure proper sampling
time in hardware design. Sampling (sample-and-hold) time determines how long to sample a signal before digital
conversion. During sample time, an internal switch allows the input capacitor to be charged. The required time
to fully charge the capacitor is dependent on the external analog front-end (AFE) connected to the ADC input
pin. Figure 6-1shows a typical ADC model of an MSPM0G MCU. The Rin and CS/H values can be obtained from
the device-specific data sheet. It is critical to understand the AFE drive capability and calculate the minimum
sampling time required to sample the signal. The resistance of RPar and Rin affects tsample. Equation 1 can be
used to calculate a conservative value of the minimum sample time tsample for an n-bit conversion:
To evaluate continuous high speed (4 Msps) ADC performance, TI recommends adding an external buffer to
ensure sufficient signal source drive capability. As a design reference, see the LP-MSPM0G3507 hardware
design, which includes a recommended external OPA.
6.2 OPA Design Considerations
The MSPM0G OPA is a zero-drift chopper stabilized operational amplifier with a programmable gain stage. The
OPA can used for signal amplification and buffering and can work in general-purpose mode, buffer mode and
PGA mode.
When using the OPA in general-purpose mode, add an external resistor and capacitor to create the amplifier
circuit. But when using buffer mode, it can be configured through software. For PGA mode, software can
configure up to 32x PGA gain.
Note
The PGA gain is only in the negative terminal.
When two or more OPAs are available on a device, the two can be combined to form a differential amplifier. The
output equation for the differential amplifier is given by the Vdiff equation in Figure 6-2.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 15
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Key Analog Peripherals [Link]
V2 +
OPA1
V1 + (V2 V1) × R2
Vdiff =
OPA0 R1
R1 R2
Figure 6-2. Two OPA Differential Amplifier Block Diagram and Equation
Alternately, when two or more OPAs are available on a device, they can be combined to form a multi-stage
or cascaded amplifier. Using the programmable input muxes, all combinations of inverting and non-inverting
multi-stage amplifiers can be implemented. The output equation for the noninverting to noninverting cascaded
amplifier is given by the Vout equation in Figure 6-3.
Vin +
OPA0 +
R1
R3
OPA1 Vout = Vin x 1+ ( )(1+ R4
R2
R1 R3)
R2
R4
Figure 6-3. Two OPA Noninverting to Noninverting Cascade Amplifier Block Diagram and Equation
2,3 1
REFSRC
Reference
Comparator
Output 3 8-bit
0 DACCODE0
1,2 8-bit
DAC 1 DACCODE1
8-bit
REFSEL
DAC8 REFMODE 0
Output 1 DACSW
DACCTL
16 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Key Analog Peripherals
3
COMPx_IN0+ 0
COMPx_IN1+ 1 IPEN
COMPx_IN2+ 2
ENABLE
DAC12 output 5
EXCH
OPA1 output 6
+
0 To Event Fabric
SHORT 1 0
- 1
HYST Analog
IMSEL Filter Comparator output
MODE
2
3
FLTDLY
COMNx_IN0- 0 DACCODE0 DACCODE1
REFSEL OUTPOL
COMNx_IN1- 1 IMEN 8 8
From VREF
COMNx_IN2- 2 Reference Generator
including 8bit DAC From VDD
The MSPM0G Comparator module also combine two COMP to implement a window comparator function. As
shown in Figure 6-8, COMP0 and COMP1 can be configured together to create a window comparator. In this
configuration, the input signal is connected to the positive terminal of the comparators connected together, and
the upper and lower threshold voltages are connected to the negative terminal of the comparators.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 17
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Key Analog Peripherals [Link]
IPSEL
3
0
1
IPEN
2
+ WINCOMPEN
5
6 WINCOMPEN COMP0 0
1
COMPy positive terminal 7 Threshold
-
IPSEL
3 WINCOMPEN
0
1 IPEN
2 WINCOMPEN
+
1
5 0
COMP1
6
Threshold
COMPy positive terminal 7 -
The COMP module also includes a SHORT switch that can be used to build a simple sample-and-hold for the
comparator.
As shown in Figure 6-9, the required sampling time is proportional to the size of the sampling capacitor (CS),
the resistance of the input switches in series with the short switch (R), and the resistance of the external source
(RS). The sampling capacitor CS should be greater than 100 pF. The time constant, Tau, to charge the sampling
capacitor CS can be calculated with the below equation.
Tau = (RI + RS)xCS
Depending on the required accuracy, use 3 to 10 Tau as the sampling time. With 3 Tau the sampling capacitor is
charged to approximately 95% of the input signals voltage level, with 5 Tau it is charged to more than 99%, and
with 10 Tau the sampled voltage is sufficient for 12-bit accuracy.
IPSEL
3
0
1 IPEN
Sampling 2
Capacitor, Cs
5
6
SHORT
IMSEL
3
0
1 IMEN
2
Analog Inputs
5
6
7
18 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Key Analog Peripherals
The GPAMP can also be used as a buffer for the internal ADC. Figure 6-11 shows an example of this
configuration.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 19
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Key Digital Peripherals [Link]
• 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
Power Counter Repeat CCP Phase Shadow Pipelined Fault
Instance Prescaler Dead band QEI
Domain Resolution Counter Channels Load Load CC Handler
TIMH0 PD1 24-bit - - 2 - - Yes - - -
TIMH1 PD1 24-bit - - 2 - - Yes - - -
20 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Key Digital Peripherals
The MSPM0G UART module can support up to 10-MHz baud date in Power Domain1 to support almost all
UART applications.
Table 7-5. MSPM0G UART Specifications
PARAMETERS TEST CONDITIONS MIN TYP MAX UNIT
fUART UART input clock frequency UART in Power Domain1 80 MHz
fUART UART input clock frequency UART in Power Domain0 40 MHz
BITCLK clock frequency(equals
fBITCLK UART in Power Domain1 10 MHz
baud rate in MBaud)
BITCLK clock frequency(equals
fBITCLK 5 MHz
baud rate in MBaud)
AGFSELx = 0 5 5.5 32 ns
Local Interconnect Network (LIN) is a commonly used low-speed network interface that consists of a commander
node communicating with multiple remote responder nodes. Only a single wire is required for communication
and is commonly included in the vehicle wiring harness.
The TLIN1021A-Q1 transmitter supports data rates up to 20 kbps. The transceiver controls the state of the
LIN bus via the TXD pin and reports the state of the bus on its open-drain RXD output pin. The device has a
current-limited wave-shaping driver to reduce electromagnetic emissions (EME).
The TLIN1021A-Q1 is designed to support 12-V applications with a wide input voltage operating range. The
device supports low-power sleep mode and wake-up from low-power mode over LIN, the WAKE pin, or the EN
pin. The device allows for system-level reductions in battery current consumption by selectively enabling the
various power supplies that can be present on a node through the TLIN1021A-Q1 INH output pin. Figure 7-1
shows a typical interface implemented using the TI TLIN1021A LIN transceiver.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 21
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Key Digital Peripherals [Link]
Only a single wire is required for communication and is commonly included in the vehicle wiring harness. Figure
7-2 and Figure 7-3 show typical interfaces implemented using the TI TLIN1021A LIN transceiver, for more details
refer to the TLIN1021 data sheet.
22 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Key Digital Peripherals
CAN Transceiver .
.
.
.
MCAN_TX D CANH .
.
.
.
.
MCAN_RX R CANL .
CAN Node N
120 Ω mcan-002
TCAN1042GV is a CAN transceiver and meets the ISO11898-2 (2016) High Speed CAN (Controller Area
Network) physical layer standard. It can be used in CAN FD networks up to 5 Mbps (megabits per second)
with the secondary power supply input for I/O level shifting the input pin thresholds and RXD output level. This
device has a low-power standby mode with remote wake request feature. Additionally, this device includes many
protection features to enhance device and network robustness. Figure 7-5 includes a reference design circuit.
For more details, refer to the TCAN1042 data sheet.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 23
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Key Digital Peripherals [Link]
Controller Peripheral
Controller Peripheral
SCLK SCLK SCLK SCLK
POCI POCI POCI POCI
PICO PICO PICO PICO
CS0 CS CS0 CS
CS3/CD CD CS1
CS2
CS3 Peripheral
SCLK
POCI
PICO
CS
Peripheral
SCLK
POCI
PICO
CS
Peripheral
SCLK
POCI
PICO
CS
For I2C bus, the MSPM0G device supports Standard, Fast and Fast plus mode, as shown in the Table 7-6.
24 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Key Digital Peripherals
External pullup resistors are required when using I2C bus. The value of these resistors depends on the I2C
speed - TI recommends 2.2k to support Fast mode+. For systems concerned with power consumption, large
resistor values can be used. ODIO (see GPIOs) can be used to implement communication with a 5-V device.
Table 7-6. MSPM0G I2C Characteristics
Standard mode Fast mode Fast mode plus
PARAMETERS TEST CONDITIONS UNIT
MIN MAX MIN MAX MIN MAX
fI2C I2C input clock frequency I2C in Power Domain0 40 40 40 MHz
fSCL SCL clock frequency 100K 400K 1M MHz
tHD,STA Hold time (repeated) START 4 0.6 0.26 us
tLOW LOW period of the SCL clock 4.7 1.3 0.5 us
tHIGH High period of the SCL clock 4 0.6 0.26 us
Setup time for a repeated
tSU,STA 4.7 0.6 0.26 us
START
tHD,DAT Data hold time 0 0 0 us
tSU,DAT Data setup time 250 100 50 us
tSU,STO Setup time for STOP 4 0.6 0.26 us
Bus free time between a STOP
tBUF 4.7 1.3 0.5 us
and START condition
tVD;DAT Data valid time 3.46 0.9 0.45 us
tVD;ACK Data valid acknowledge time 3.46 0.9 0.45 us
I2C I2C
Device A Device B
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 25
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
GPIOs [Link]
8 GPIOs
MSPM0G series MCUs include standard-drive I/O (SDIO), high-drive I/O (HDIO), high-speed I/O (HSIO),
and 5-V-tolerant open-drain I/O (ODIO). Users can flexibly choose the appropriate I/O type based on actual
requirements. The following characteristics need to be considered in hardware design.
8.1 GPIO Output Switching Speed and Load Capacitance
When using the GPIO as I/O, design considerations must be made to ensure correct operation. As load
capacitance becomes larger, the rise/fall time of the I/O pin increases. This capacitance includes pin parasitic
capacitance (Ci = 5pF (Typical)) and the effects of the board traces. I/O characteristics are available in the
device’s data sheet. Table 8-1 list the I/O output frequency characteristics of the MSPM0G device.
Table 8-1. MSPM0G GPIO Switching Characteristics
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
VDD ≥ 1.71 V, CL = 20 pF 16
SDIO
VDD ≥ 2.7 V, CL = 20 pF 32
VDD ≥ 1.71 V, DRV = 0, CL = 20 pF 16
fmax Port output frequency VDD ≥ 1.71 V, DRV = 1, CL = 20 pF 24 MHz
HSIO
VDD ≥ 2.7 V, DRV = 0, CL = 20 pF 32
VDD ≥ 2.7 V, DRV = 1, CL = 20 pF 40
ODIO VDD ≥ 1.71 V, FM+, CL = 20 pF to 100 pF 1
All output ports
tr,tf Output rise or fall time VDD ≥ 1.71 V 0.3*fmax s
except ODIO
tf Output fall time ODIO VDD ≥ 1.71 V, FM+, CL = 20 pF to 100 pF 20*VDD/5.5 120 ns
Note
• The output voltage reaches at least 10% and 90% Vcc at the specified toggle frequency.
• The output rise time of open-drain I/Os is determined by pullup resistance and load capacitance.
26 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] GPIOs
Note
• The total current of I/O must be less than the maximum value of IVDD.
• HDIO, HSIO and ODIO are patched in a fixed pin, see to the device data sheet.
SDIO and HSIO are able to sink or source a maximum current of 6 mA (typical), which is sufficient to drive
a typical LED. For larger current loading, use HDIO (maximum current of 20 mA (typical)). However, the total
combined current must be less than IVDD (80 mA typical).
8.3 High-Speed GPIOs (HSIO)
HSIO can support up to 40MHz frequency, and this speed is related to bus clock, supply voltage, and load
capacitance. Users can also select the output max frequency via the DRV bit in the DIO register.
8.4 High-Drive GPIOs (HDIO)
HDIO are able to output 20mA current to drive a load, and the max source current is related to supply voltage.
8.5 Open-Drain GPIOs Enable 5-V Communication Without a Level Shifter
ODIO are tolerant to 5-V input. Because the ODIO are open drain, an external pullup resistor is required for the
pin to be able to output high. This I/O can used for UART or I2C interfaces with different voltage levels. To limit
the current, place a series resistor between the pin and the pullup resistor, and the RSERIES should be no less
than 250 Ω. As shown in Figure 8-1, TI recommends 270 Ω. The value of the pullup resistor depends on the
output frequency (see Section 7.4).
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 27
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
GPIOs [Link]
Two MOSFET are used in this circuit - check the VGS to ensure this MOSFET can fully turn on with a low
RDS(on): for 1.8-V device, use less than 1.8-V VGS MOSFET. However, too low VGS MOSFET, can cause the
MOSFET to turn on at a very small voltage (MCU logic judges it as 0), resulting in communication logic error.
Note
• To reduce leakage, configure the I/O as an analog input or to push-pull and to set it to 0.
• BSL invoke pin must be pulled down to avoid entering BSL mode after reset.
28 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Layout Guides
9 Layout Guides
Note
• Keep the smallest capacitance, closest to the MCU VDD pin (C1 < C2 < C3).
• Make all the traces direct without any vias.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 29
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Layout Guides [Link]
Figure 9-3. Poor and Correct Way of Bending Traces in Right Angle
To minimize crosstalk, not only between two signals on one layer but also between adjacent layers, route them
90° to each other. More complex boards need to use vias while routing; however, care must be taken when
using vias as they add additional inductance and capacitance, and reflections occur due to the change in the
characteristic impedance. Vias also increase the trace length. When using differential signals, use vias in both
traces or compensate the delay in the other trace as well.
For signal traces, pay more attention to the impact of high-frequency pulse signals, especially on relatively
small analog signals (like sensor signals). Too many crossovers will couple the electromagnetic noise of the
high-frequency signal to the analog signal, which will result in a low signal-to-noise ratio of the signal and
affect the signal quality. Therefore, it is necessary to avoid crossing when designing. But if there is indeed an
unavoidable intersection, it is recommended to intersect vertically to minimize the interference of electromagnetic
noise. Figure 9-4 shows how to reduce this noise.
30 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
[Link] Layout Guides
Figure 9-4. Poor and Correct Cross Traces for Analog and High-Frequency Signals
If the system is not very complicated, there is no high-speed signal or some sensitive analog signal, then the 2
stack-up structure is sufficient.
SLAAE76B – MARCH 2023 – REVISED JUNE 2023 MSPM0 G-Series MCUs Hardware Development Guide 31
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
Bootloader [Link]
10 Bootloader
11 References
1. MSPM0G350x Mixed-Signal Microcontrollers data sheet
2. MSPM0 G-Series 80-MHz Microcontrollers Technical Reference Manual
3. MSPM0 L-Series MCUs Hardware Development Guide
4. TLIN1021A-Q1 Fault-Protected LIN Transceiver with Inhibit and Wake data sheet (Rev. B)
5. TCAN1042-Q1Automotive Fault Protected CAN Transceiver with CAN FD data sheet (Rev. D)
12 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
32 MSPM0 G-Series MCUs Hardware Development Guide SLAAE76B – MARCH 2023 – REVISED JUNE 2023
Submit Document Feedback
Copyright © 2023 Texas Instruments Incorporated
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on [Link] or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated