MSP430i204x, MSP430i203x, MSP430i202x Mixed-Signal Microcontrollers
MSP430i204x, MSP430i203x, MSP430i202x Mixed-Signal Microcontrollers
MSP430I2031, MSP430I2030
MSP430I2021, MSP430I2020
SLAS887C – SEPTEMBER 2014 – REVISED MARCH 2021
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
MSP430I2041, MSP430I2040
MSP430I2031, MSP430I2030
MSP430I2021, MSP430I2020
SLAS887C – SEPTEMBER 2014 – REVISED MARCH 2021 www.ti.com
3 Description
The Texas Instruments MSP430i204x, MSP430I203x and MSP430I202x microcontrollers (MCUs) are part of
the MSP430™ Metrology and Monitoring portfolio. The architecture and integrated peripherals, combined with
five extensive low-power modes, are optimized to achieve extended battery life in portable and battery-powered
measurement applications. The devices feature a powerful 16-bit RISC CPU, 16-bit registers, and constant
generators that contribute to maximum code efficiency. The digitally controlled oscillator (DCO) allows the
devices to wake up from low-power modes to active mode in less than 5 µs.
The MSP430i204x MCUs include four high-performance 24-bit sigma-delta ADCs, two eUSCIs (one eUSCI_A
module and one eUSCI_B module), two 16-bit timers, a hardware multiplier, and up to 16 I/O pins.
The MSP430I203x MCUs include three high-performance 24-bit sigma-delta ADCs, two eUSCIs (one eUSCI_A
module and one eUSCI_B module), two 16-bit timers, a hardware multiplier, and up to 16 I/O pins.
The MSP430I202x MCUs include two high-performance 24-bit sigma-delta ADCs, two eUSCIs (one eUSCI_A
module and one eUSCI_B module), two 16-bit timers, a hardware multiplier, and up to 16 I/O pins.
Typical applications for these devices include energy measurement, analog and digital sensor systems, LED
lighting, digital power supplies, motor controls, remote controls, thermostats, digital timers, and hand-held
meters.
The MSP430i204x, MSP430I203x and MSP430I202x MCUs are supported by an extensive hardware and
software ecosystem with reference designs and code examples to get your design started quickly. Development
kits include the EVM430-I2040S evaluation module (EVM) for metering and the MSP-TS430RHB32A 100-pin
target development board. The Energy Measurement Design Center for MSP430 MCUs is provided as a rapid
development tool that enables energy measurement on these devices. TI also provides free MSP430Ware™
software, which is available as a component of Code Composer Studio™ IDE desktop and cloud versions within
TI Resource Explorer. The MSP430 MCUs are also supported by extensive online collateral, training, and online
support through the TI E2E™ support forums.
For complete module descriptions, see the MSP430i2xx Family User's Guide.
Device Information
(1)PART NUMBER PACKAGE BODY SIZE(2)
MSP430i2041TPW TSSOP (28) 9.7 mm × 4.4 mm
MSP430i2041TRHB VQFN (32) 5 mm × 5 mm
(1) For the most current part, package, and ordering information for all available devices, see the
Package Option Addendum in Section 12, or see the TI website at www.ti.com.
(2) The sizes shown here are approximations. For the package dimensions with tolerances, see the
Mechanical Data in Section 12.
ACLK
Clock TA0 TA1 Port P1 Port P2
System Flash RAM
SMCLK Timer_A Timer_A 8 I/Os, 8 I/Os,
32KB 2KB
3 CC 3 CC Interrupt Interrupt
16KB 1KB
MCLK Registers Registers capability capability
16.384-MHz MAB
CPU
with 16 MDB
registers
Emulation
2BP
Hardware
Power SD24 Multiplier
JTAG Management Watchdog (16x16) eUSCI_A0
Interface 4 eUSCI_B0
WDT
LDO Sigma-Delta MPY, UART, 2
REF Analog-to- 15 or 16 bit SPI, I C
MPYS, IrDA, SPI
Spy-Bi- VMON Digital MAC,
Wire Brownout Converters MACS
Table of Contents
1 Features............................................................................1 9.2 Functional Block Diagrams....................................... 32
2 Applications..................................................................... 1 9.3 CPU.......................................................................... 38
3 Description.......................................................................2 9.4 Instruction Set........................................................... 39
4 Functional Block Diagram.............................................. 3 9.5 Operating Modes...................................................... 40
5 Revision History.............................................................. 5 9.6 Interrupt Vector Addresses....................................... 41
6 Device Comparison......................................................... 6 9.7 Special Function Registers....................................... 42
6.1 Related Products........................................................ 6 9.8 Flash Memory........................................................... 42
7 Terminal Configuration and Functions..........................7 9.9 JTAG Operation........................................................ 43
7.1 Pin Diagrams.............................................................. 7 9.10 Peripherals..............................................................45
7.2 Signal Descriptions................................................... 10 9.11 Input/Output Diagrams............................................ 49
7.3 Pin Multiplexing.........................................................12 9.12 Device Descriptor....................................................56
7.4 Connection of Unused Pins...................................... 12 9.13 Memory................................................................... 57
8 Specifications................................................................ 13 9.14 Identification............................................................60
8.1 Absolute Maximum Ratings...................................... 13 10 Applications, Implementation, and Layout............... 61
8.2 ESD Ratings............................................................. 13 11 Device and Documentation Support..........................62
8.3 Recommended Operating Conditions.......................13 11.1 Getting Started and Next Steps.............................. 62
8.4 Active Mode Supply Current (Into VCC) 11.2 Device Nomenclature..............................................62
Excluding External Current .........................................14 11.3 Tools and Software..................................................63
8.5 Low-Power Mode Supply Currents (Into VCC) 11.4 Documentation Support.......................................... 64
Excluding External Current .........................................15 11.5 Support Resources................................................. 65
8.6 Thermal Resistance Characteristics......................... 15 11.7 Electrostatic Discharge Caution.............................. 65
8.7 Timing and Switching Characteristics....................... 16 11.8 Glossary.................................................................. 66
9 Detailed Description......................................................32 12 Mechanical, Packaging, and Orderable
9.1 Overview................................................................... 32 Information.................................................................... 67
5 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
Changes from revision B to revision C
Changes from March 4, 2020 to March 16, 2021 Page
• Updated the numbering format for tables, figures, and cross references throughout the document..................1
• Updated "Featured software and reference designs" in Section 1, Features .................................................... 1
6 Device Comparison
Table 6-1 summarizes the available family members.
Table 6-1. Device Comparison
eUSCI_A:
FLASH SRAM SD24 eUSCI_B:
DEVICE(1) MULTIPLIER Timer_A(2) UART, IrDA, I/O PACKAGE
(KB) (KB) CONVERTERS SPI, I2C
SPI
16 32 RHB
MSP430i2041 32 2 4 1 3, 3 1 1
12 28 PW
16 32 RHB
MSP430i2040 16 1 4 1 3, 3 1 1
12 28 PW
16 32 RHB
MSP430i2031 32 2 3 1 3, 3 1 1
12 28 PW
16 32 RHB
MSP430i2030 16 1 3 1 3, 3 1 1
12 28 PW
16 32 RHB
MSP430i2021 32 2 2 1 3, 3 1 1
12 28 PW
16 32 RHB
MSP430i2020 16 1 2 1 3, 3 1 1
12 28 PW
(1) For the most current part, package, and ordering information for all available devices, see the Package Option Addendum in Section
12, or see the TI website at www.ti.com.
(2) Each number in the sequence represents an instantiation of Timer_A with its associated number of capture compare registers and
PWM output generators available. For example, a number sequence of 3, 5 would represent two instantiations of Timer_A, the first
instantiation having 3 and the second instantiation having 5 capture compare registers and PWM output generators, respectively.
P2.0/TA1.0/CLKIN
P2.3/VMONIN
P2.7/TA0.2
P2.6/TA0.1
P2.5/TA0.0
P2.4/TA1.0
P2.2/TA1.2
P2.1/TA1.1
32 31 30 29 28 27 26 25
A0.0+ 1 24 P1.7/UCB0SDA/UCB0SIMO/TA1CLK
A0.0- 2 23 P1.6/UCB0SCL/UCB0SOMI/TA0.2
A1.0+ 3 22 P1.5/UCB0CLK/TA0.1
A1.0- 4 MSP430i2041TRHB 21 P1.4/UCB0STE/TA0.0
MSP430i2040TRHB
A2.0+ 5 20 P1.3/UCA0TXD/UCA0SIMO/TA0CLK/TDO/TDI
A2.0- 6 19 P1.2/UCA0RXD/UCA0SOMI/ACLK/TDI/TCLK
A3.0+ 7 18 P1.1/UCA0CLK/SMCLK/TMS
A3.0- 8 17 P1.0/UCA0STE/MCLK/TCK
9 10 11 12 13 14 15 16
VCORE
AVSS
DVSS
VREF
RST/NMI/SBWTDIO
ROSC
VCC
TEST/SBWTCK
NOTE: TI recommends connecting the thermal pad on the RHB package to DVSS.
Figure 7-2 shows the pin assignments for the MSP430i2041 and MSP430i2040 devices in the PW package.
A0.0+ 1 28 P2.3/VMONIN
A0.0- 2 27 P2.2/TA1.2
A1.0+ 3 26 P2.1/TA1.1
A1.0- 4 25 P2.0/TA1.0/CLKIN
A2.0+ 5 24 P1.7/UCB0SDA/UCB0SIMO/TA1CLK
A2.0- 6 23 P1.6/UCB0SCL/UCB0SOMI/TA0.2
MSP430i2041TPW
A3.0+ 7 22 P1.5/UCB0CLK/TA0.1
MSP430i2040TPW
A3.0- 8 21 P1.4/UCB0STE/TA0.0
VREF 9 20 P1.3/UCA0TXD/UCA0SIMO/TA0CLK/TDO/TDI
AVSS 10 19 P1.2/UCA0RXD/UCA0SOMI/ACLK/TDI/TCLK
ROSC 11 18 P1.1/UCA0CLK/SMCLK/TMS
DVSS 12 17 P1.0/UCA0STE/MCLK/TCK
VCC 13 16 TEST/SBWTCK
VCORE 14 15 RST/NMI/SBWTDIO
Figure 7-3 shows the pin assignments for the MSP430i2031 and MSP430i2030 devices in the RHB package.
P2.0/TA1.0/CLKIN
P2.3/VMONIN
P2.7/TA0.2
P2.6/TA0.1
P2.5/TA0.0
P2.4/TA1.0
P2.2/TA1.2
P2.1/TA1.1
32 31 30 29 28 27 26 25
A0.0+ 1 24 P1.7/UCB0SDA/UCB0SIMO/TA1CLK
A0.0- 2 23 P1.6/UCB0SCL/UCB0SOMI/TA0.2
A1.0+ 3 22 P1.5/UCB0CLK/TA0.1
A1.0- 4 MSP430i2031TRHB 21 P1.4/UCB0STE/TA0.0
MSP430i2030TRHB
A2.0+ 5 20 P1.3/UCA0TXD/UCA0SIMO/TA0CLK/TDO/TDI
A2.0- 6 19 P1.2/UCA0RXD/UCA0SOMI/ACLK/TDI/TCLK
NC 7 18 P1.1/UCA0CLK/SMCLK/TMS
NC 8 17 P1.0/UCA0STE/MCLK/TCK
9 10 11 12 13 14 15 16
VCORE
AVSS
DVSS
VREF
RST/NMI/SBWTDIO
ROSC
VCC
TEST/SBWTCK
NOTE: TI recommends connecting the thermal pad on the RHB package to DVSS.
NOTE: TI recommends connecting NC pins to AVSS.
Figure 7-4 shows the pin assignments for the MSP430i2031 and MSP430i2030 devices in the PW package.
A0.0+ 1 28 P2.3/VMONIN
A0.0- 2 27 P2.2/TA1.2
A1.0+ 3 26 P2.1/TA1.1
A1.0- 4 25 P2.0/TA1.0/CLKIN
A2.0+ 5 24 P1.7/UCB0SDA/UCB0SIMO/TA1CLK
A2.0- 6 23 P1.6/UCB0SCL/UCB0SOMI/TA0.2
MSP430i2031TPW
NC 7 22 P1.5/UCB0CLK/TA0.1
MSP430i2030TPW
NC 8 21 P1.4/UCB0STE/TA0.0
VREF 9 20 P1.3/UCA0TXD/UCA0SIMO/TA0CLK/TDO/TDI
AVSS 10 19 P1.2/UCA0RXD/UCA0SOMI/ACLK/TDI/TCLK
ROSC 11 18 P1.1/UCA0CLK/SMCLK/TMS
DVSS 12 17 P1.0/UCA0STE/MCLK/TCK
VCC 13 16 TEST/SBWTCK
VCORE 14 15 RST/NMI/SBWTDIO
Figure 7-5 shows the pin assignments for the MSP430i2021 and MSP430i2020 devices in the RHB package.
P2.0/TA1.0/CLKIN
P2.3/VMONIN
P2.7/TA0.2
P2.6/TA0.1
P2.5/TA0.0
P2.4/TA1.0
P2.2/TA1.2
P2.1/TA1.1
32 31 30 29 28 27 26 25
A0.0+ 1 24 P1.7/UCB0SDA/UCB0SIMO/TA1CLK
A0.0- 2 23 P1.6/UCB0SCL/UCB0SOMI/TA0.2
A1.0+ 3 22 P1.5/UCB0CLK/TA0.1
A1.0- 4 MSP430i2021TRHB 21 P1.4/UCB0STE/TA0.0
NC 5 MSP430i2020TRHB 20 P1.3/UCA0TXD/UCA0SIMO/TA0CLK/TDO/TDI
NC 6 19 P1.2/UCA0RXD/UCA0SOMI/ACLK/TDI/TCLK
NC 7 18 P1.1/UCA0CLK/SMCLK/TMS
NC 8 17 P1.0/UCA0STE/MCLK/TCK
9 10 11 12 13 14 15 16
VCORE
AVSS
DVSS
VREF
RST/NMI/SBWTDIO
ROSC
VCC
TEST/SBWTCK
NOTE: TI recommends connecting the thermal pad on the RHB package to DVSS.
TI recommends connecting NC pins to AVSS.
Figure 7-6 shows the pin assignments for the MSP430i2021 and MSP430i2020 devices in the PW package.
A0.0+ 1 28 P2.3/VMONIN
A0.0- 2 27 P2.2/TA1.2
A1.0+ 3 26 P2.1/TA1.1
A1.0- 4 25 P2.0/TA1.0/CLKIN
NC 5 24 P1.7/UCB0SDA/UCB0SIMO/TA1CLK
NC 6 23 P1.6/UCB0SCL/UCB0SOMI/TA0.2
NC 7 MSP430i2021TPW 22 P1.5/UCB0CLK/TA0.1
NC 8 MSP430i2020TPW 21 P1.4/UCB0STE/TA0.0
VREF 9 20 P1.3/UCA0TXD/UCA0SIMO/TA0CLK/TDO/TDI
AVSS 10 19 P1.2/UCA0RXD/UCA0SOMI/ACLK/TDI/TCLK
ROSC 11 18 P1.1/UCA0CLK/SMCLK/TMS
DVSS 12 17 P1.0/UCA0STE/MCLK/TCK
VCC 13 16 TEST/SBWTCK
VCORE 14 15 RST/NMI/SBWTDIO
(1) For any unused pin with a secondary function that is shared with general-purpose I/O, follow the guidelines for the Px.0 to Px.7 unused
pin connection.
(2) The pulldown capacitor should not exceed 2.2 nF when using devices with Spy-Bi-Wire interface in Spy-Bi-Wire mode or in 4-wire
JTAG mode with TI tools like FET interfaces or GANG programmers.
8 Specifications
All graphs in this section are for typical conditions, unless otherwise noted.
Typical (TYP) values are specified at VCC = 3.3 V and TA = 25°C, unless otherwise noted.
8.1 Absolute Maximum Ratings
over operating free-air temperature range (unless otherwise noted)(1) (2)
MIN MAX UNIT
Supply voltage applied at VCC –0.3 4.1 V
All pins except VCORE(3), ROSC(4), and SD24 input pins
Voltage applied to pins –0.3 VCC + 0.3 V
(A0.0+, A0.0-, A1.0+, A1.0-, A2.0+, A2.0-, A3.0+, A3.0-)(5)
All pins except SD24 input pins (A0.0+, A0.0-, A1.0+, A1.0-,
±2
Diode current at pins A2.0+, A2.0-, A3.0+, A3.0-) mA
A0.0+, A0.0-, A1.0+, A1.0-, A2.0+, A2.0-, A3.0+, A3.0-(6) 2
Maximum junction temperature, TJ,MAX 115 °C
Storage temperature, Tstg (7) –55 150 °C
(1) Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings
only, and functional operation of the device at these or any other conditions beyond those indicated under Recommended Operating
Conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
(2) All voltages are referenced to VSS.
(3) VCORE is for internal device use only. Do not apply external DC loading or voltage at VCORE.
(4) Do not apply external DC loading or voltage at ROSC. Connect the recommended resistor at ROSC using the DCO in external resistor
mode. Connect ROSC to AVSS when operating the DCO in internal resistor mode.
(5) See Section 8.7.7.1 for SD24 specifications.
(6) A protection diode is connected to VCC for the SD24 input pins. No protection diode is connected to VSS.
(7) Higher temperature may be applied during board soldering according to the current JEDEC J-STD-020 specification with peak reflow
temperatures not higher than classified on the device label on the shipping boxes or reels.
(1) JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process. Pins listed as
±1000 V may actually have higher performance.
(2) JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process. Pins listed as
±250 V may actually have higher performance.
(2) Modules may have a different maximum input clock specification. See the specification of the respective module in this data sheet.
16.384
0
2.2 3.6
Supply Voltage (V)
8.4 Active Mode Supply Current (Into VCC) Excluding External Current
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)(1) (2)
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
fDCO = 16.384 MHz, fMCLK = fSMCLK = 1.024 MHz,
Active mode
fACLK = 32 kHz,
IAM, 1.024MHz current at 3V 1.6 mA
Program executes from flash,
1.024 MHz
CPUOFF = 0, SCG0 = 0, SCG1 = 0, OSCOFF = 0
fDCO = 16.384 MHz, fMCLK = fSMCLK = 8.192 MHz,
Active mode
fACLK = 32 kHz,
IAM, 8.192MHz current at 3V 3.0 mA
Program executes from flash,
8.192 MHz
CPUOFF = 0, SCG0 = 0, SCG1 = 0, OSCOFF = 0
fDCO = fMCLK = fSMCLK = 16.384 MHz,
Active mode
fACLK = 32 kHz,
IAM, 16.384MHz current at 3V 4.5 mA
Program executes from flash,
16.384 MHz
CPUOFF = 0, SCG0 = 0, SCG1 = 0, OSCOFF = 0
(1) All inputs are tied to 0 V or VCC. Outputs do not source or sink any current.
(2) All peripherals are inactive.
4.5 4.5
4
4
IAM - Active Mode Current (mA)
3.5
3.5
3
2.5 3
2
2.5
1.5
2
1 TA = 25°C, VCC = 2.2 V
fMCLK = 1.024 MHz fMCLK = 8.192 MHz TA = 25°C, VCC = 3 V
0.5 fMCLK = 2.048 MHz fMCLK = 16.348 MHz 1.5 TA = 105°C, VCC = 2.2 V
fMCLK = 4.096 MHz TA = 105°C, VCC = 3 V
0 1
2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3 3.1 3.2 3.3 3.4 3.5 3.6 0 2 4 6 8 10 12 14 16 18
VCC - Supply Voltage (V) D007 fMCLK - Frequency (MHz) D008
Figure 8-2. Active Mode Current vs Supply Voltage Figure 8-3. Active Mode Current vs MCLK
Frequency
8.5 Low-Power Mode Supply Currents (Into VCC) Excluding External Current
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)(1)
PARAMETER TEST CONDITIONS TA VCC MIN TYP MAX UNIT
fDCO = 16.384 MHz, fMCLK = fSMCLK = 0 MHz,
Low-power mode 3
ILPM3 fACLK = 32 kHz, 25°C 3V 210 µA
(LPM3) current (2)
CPUOFF = 1, SCG0 = 1, SCG1 = 1, OSCOFF = 0
Low-power mode 4 fDCO = fMCLK = fSMCLK = fACLK = 0 MHz,
ILPM4 25°C 3V 70 µA
(LPM4) current (3) CPUOFF = 1, SCG0 = 1, SCG1 = 1, OSCOFF = 1
fDCO = fMCLK = fSMCLK = fACLK = 0 MHz, 25°C 75 nA
Low-power mode 4.5
ILPM4.5 REGOFF = 1, CPUOFF = 1, SCG0 = 1, SCG1 = 1, 3V
(LPM4.5) current (3) 105°C 325 nA
OSCOFF = 1
(1) All inputs are tied to 0 V or VCC. Outputs do not source or sink any current.
(2) Current for watchdog timer clocked by ACLK included. All other peripherals are inactive.
(3) All peripherals are inactive.
(1) For more information about traditional and new thermal metrics, see Semiconductor and IC package thermal metrics.
(2) These values are based on a JEDEC-defined 2S2P system (with the exception of the Theta JC [RθJC] value, which is based on a
JEDEC-defined 1S0P system) and will change based on environment and application. For more information, see these EIA/JEDEC
standards:
• JESD51-2, Integrated Circuits Thermal Test Method Environmental Conditions - Natural Convection (Still Air)
• JESD51-3, Low Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages
• JESD51-7, High Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages
• JESD51-9, Test Boards for Area Array Surface Mount Package Thermal Measurements
(3) N/A = Not applicable
(1) The maximum parasitic capacitance at ROSC pin should not exceed 5 pF to ensure the specified DCO start-up time.
(1) External digital clock frequency in DCO bypass mode must be 16.384 MHz for the SD24 module to meet the specified performance.
(1) This value represents the time from the wake-up event to the reset vector execution by CPU.
(1) An external signal sets the interrupt flag every time the minimum interrupt pulse duration t(int) is met. It may be set by trigger signals
shorter than t(int).
(1) The leakage current is measured with VSS or VCC applied to the corresponding pins, unless otherwise noted.
(2) The leakage of the digital port pins is measured individually. The port pin is selected for input.
(1) The maximum total current, I(OHmax) and I(OLmax), for all outputs combined, should not exceed ±100 mA to hold the maximum voltage
drop specified.
(1) A resistive divider with two times 1.6 kΩ between VCC and VSS is used as load. The output is connected to the center tap of the divider.
(2) The output voltage reaches at least 10% and 90% of VCC at the specified toggle frequency.
14 22
20
IOL - Low-Level Output Current (mA)
12
18
Figure 8-4. Typical Low-Level Output Current vs Figure 8-5. Typical Low-Level Output Current vs
Low-Level Output Voltage Low-Level Output Voltage
0 0
TA = 25°C TA = 25°C
-2
IOH - High-Level Output Current (mA)
TA = 105°C TA = 105°C
-2 -4
-6
-4
-8
-10
-6
-12
-14
-8
-16
-10 -18
-20
-12 -22
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2 0 0.3 0.6 0.9 1.2 1.5 1.8 2.1 2.4 2.7 3
VOH - High-Level Output Voltage (V) D006
VOH - High-Level Output Voltage (V) D005
Figure 8-6. Typical High-Level Output Current vs Figure 8-7. Typical High-Level Output Current vs
High-Level Output Voltage High-Level Output Voltage
(1) This is the time duration between application of VCC and execution of reset vector by CPU.
8.7.7 SD24
8.7.7.1 SD24 Power Supply and Recommended Operating Conditions
over operating free-air temperature range (unless otherwise noted)
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
VCC Supply voltage range AVSS = DVSS = 0 V 2.2 3.6 V
(1) When SD24 operates with internal reference (SD24REFS = 1), the VREF pin must not be loaded externally. Only the recommended
capacitor value, CVREF must be connected at the VREF pin to AVSS.
SINAD (dB)
SINAD (dB)
75
75
72 70
69
66 65
63
60
60
57 55
25 50 75 100 125 150 175 200 225 250 275 0 0.2 0.4 0.6 0.8 1 1.2
OSR VPP (V) D002
D001
8.7.8 eUSCI
8.7.8.1 eUSCI (UART Mode) Clock Frequency
PARAMETER TEST CONDITIONS MIN MAX UNIT
Internal: SMCLK or ACLK,
feUSCI eUSCI input clock frequency External: UCLK fSYSTEM MHz
Duty cycle = 50% ±10%
BITCLK clock frequency
fBITCLK 4 MHz
(equals baud rate in MBaud)
(1) Pulses on the UART receive input (UCxRX) shorter than the UART receive deglitch time are suppressed. To ensure that pulses are
correctly recognized their width should exceed the maximum specification of the deglitch time.
UCMODEx = 01
STE tSTE,LEAD tSTE,LAG
UCMODEx = 10
1/fUCxCLK
CKPL = 0
UCLK
CKPL = 1
tLOW/HIGH tLOW/HIGH
tSU,MI
tHD,MI
SOMI
tHD,MO
tSTE,ACC tVALID,MO tSTE,DIS
SIMO
UCMODEx = 01
UCMODEx = 10
1/fUCxCLK
CKPL = 0
UCLK
CKPL = 1
tLOW/HIGH tLOW/HIGH
tHD,MI
tSU,MI
SOMI
tHD,MO
tSTE,ACC tVALID,MO tSTE,DIS
SIMO
UCMODEx = 01
STE tSTE,LEAD tSTE,LAG
UCMODEx = 10
1/fUCxCLK
CKPL = 0
UCLK
CKPL = 1
SIMO
tHD,SO
tSTE,ACC tVALID,SO tSTE,DIS
SOMI
UCMODEx = 01
STE tSTE,LEAD tSTE,LAG
UCMODEx = 10
1/fUCxCLK
CKPL = 0
UCLK
CKPL = 1
tLOW/HIGH tLOW/HIGH
tHD,SI
tSU,SI
SIMO
tHD,SO
tSTE,ACC tVALID,SO tSTE,DIS
SOMI
SDA
tSU,DAT tSU,STO
tHD,DAT
8.7.9 Timer_A
8.7.9.1 Timer_A
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
Internal: SMCLK
fTA Timer_A input clock frequency 3.0 V 16.384 MHz
External: TACLK
All capture inputs, Minimum pulse
tTA,cap Timer_A capture timing 3.0 V 20 ns
duration required for capture
8.7.10 Flash
8.7.10.1 Flash Memory
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETER TEST
VCC MIN TYP MAX UNIT
CONDITIONS
VCC(PGM/ERASE) Program and erase supply voltage 2.2 3.6 V
fFTG Flash timing generator frequency 257 476 kHz
IPGM Supply current from VCC during program 2.2 V, 3.6 V 8 mA
IERASE Supply current from VCC during erase 2.2 V, 3.6 V 13 mA
tCPT Cumulative program time(1) 2.2 V, 3.6 V 8 ms
Program and erase endurance 20000 cycles
tRetention Data retention duration TJ = 25°C 100 years
tWord Word or byte program time (2) 25
tBlock, 0 Block program time for first byte or word (2) 20
Block program time for each additional byte or (2)
tBlock, 1-63 11
word tFTG
tBlock, End Block program end-sequence wait time (2) 6
tMass Erase Mass erase time (2) 10593
tSeg Erase Segment erase time (2) 9628
(1) The cumulative program time must not be exceeded when writing to a 64-byte flash block. This parameter applies to all programming
methods: individual word-write mode, individual byte-write mode, and block-write mode.
(2) These values are hardwired into the state machine of the flash controller (tFTG = 1/fFTG).
(1) Tools that access the Spy-Bi-Wire interface must wait for the minimum tSBW,En time after pulling the TEST/SBWTCK pin high before
applying the first SBWTCK clock edge.
(2) fTCK may be restricted to meet the timing requirements of the module selected.
9 Detailed Description
9.1 Overview
The MSP430i204x, MSP430i203x, MSP430i202x devices consist of a powerful 16-bit RISC CPU, a DCO-based
clock system that generates system clocks, a power-management module (PMM) with built-in voltage reference
and voltage monitor, two to four 24-bit sigma-delta analog-to-digital converters (ADCs), a temperature sensor, a
16-bit hardware multiplier, two 16-bit timers, one eUSCI-A module and one eUSCI-B module, a watchdog timer
(WDT), and up to 16 I/O pins.
9.2 Functional Block Diagrams
Figure 9-1 shows the functional block diagram for the MSP430i2041 and MSP430i2040 in the RHB package.
ROSC VCC DVSS AVSS VCORE RST/NMI P1.x P2.x
8 8
ACLK
Clock TA0 TA1 Port P1 Port P2
System Flash RAM
SMCLK Timer_A Timer_A 8 I/Os, 8 I/Os,
32KB 2KB
3 CC 3 CC Interrupt Interrupt
16KB 1KB
MCLK Registers Registers capability capability
16.384-MHz MAB
CPU
with 16 MDB
registers
Emulation
2BP
Hardware
Power SD24 Multiplier
JTAG Management Watchdog (16x16) eUSCI_A0
Interface 4 eUSCI_B0
WDT
LDO Sigma-Delta MPY, UART, 2
REF Analog-to- 15 or 16 bit SPI, I C
MPYS, IrDA, SPI
Spy-Bi- VMON Digital MAC,
Wire Brownout Converters MACS
Figure 9-2 shows the functional block diagram for the MSP430i2041 and MSP430i2040 in the PW package.
ROSC VCC DVSS AVSS VCORE RST/NMI P1.x P2.x
8 4
ACLK
Clock
TA0 TA1 Port P1 Port P2
System Flash RAM
Timer_A Timer_A 8 I/Os, 4 I/Os,
SMCLK 32KB 2KB 3 CC 3 CC Interrupt Interrupt
16KB 1KB Registers Registers capability capability
MCLK
16.384-MHz MAB
CPU
with 16 MDB
registers
Emulation
2BP
Hardware
Power SD24
Multiplier
JTAG Management eUSCI_A0
Watchdog (16x16) eUSCI_B0
Interface 4
Sigma-Delta WDT
LDO UART,
MPY, 2
SPI, I C
REF Analog-to- IrDA, SPI
15 or 16 bit MPYS,
VMON Digital
Spy-Bi- MAC,
Brownout Converters
Wire MACS
Figure 9-3 shows the functional block diagram for the MSP430i2031 and MSP430i2030 in the RHB package.
ROSC VCC DVSS AVSS VCORE RST/NMI P1.x P2.x
8 8
ACLK
Clock
TA0 TA1 Port P1 Port P2
System Flash RAM
Timer_A Timer_A 8 I/Os, 8 I/Os,
SMCLK 32KB 2KB 3 CC 3 CC Interrupt Interrupt
16KB 1KB Registers Registers capability capability
MCLK
16.384-MHz MAB
CPU
with 16 MDB
registers
Emulation
2BP
Hardware
Power SD24
Multiplier
JTAG Management eUSCI_A0
Watchdog (16x16) eUSCI_B0
Interface 3
Sigma-Delta WDT
LDO UART,
MPY, 2
SPI, I C
REF Analog-to- IrDA, SPI
15 or 16 bit MPYS,
VMON Digital
Spy-Bi- MAC,
Brownout Converters
Wire MACS
Figure 9-4 shows the functional block diagram for the MSP430i2031 and MSP430i2030 in the PW package.
ROSC VCC DVSS AVSS VCORE RST/NMI P1.x P2.x
8 4
ACLK
Clock
TA0 TA1 Port P1 Port P2
System Flash RAM
Timer_A Timer_A 8 I/Os, 4 I/Os,
SMCLK 32KB 2KB 3 CC 3 CC Interrupt Interrupt
16KB 1KB Registers Registers capability capability
MCLK
16.384-MHz MAB
CPU
with 16 MDB
registers
Emulation
2BP
Hardware
Power SD24
Multiplier
JTAG Management eUSCI_A0
Watchdog (16x16) eUSCI_B0
Interface 3
Sigma-Delta WDT
LDO UART,
MPY, 2
SPI, I C
REF Analog-to- IrDA, SPI
15 or 16 bit MPYS,
VMON Digital
Spy-Bi- MAC,
Brownout Converters
Wire MACS
Figure 9-5 shows the functional block diagram for the MSP430i2021 and MSP430i2020 in the RHB package.
ROSC VCC DVSS AVSS VCORE RST/NMI P1.x P2.x
8 8
ACLK
Clock
TA0 TA1 Port P1 Port P2
System Flash RAM
Timer_A Timer_A 8 I/Os, 8 I/Os,
SMCLK 32KB 2KB 3 CC 3 CC Interrupt Interrupt
16KB 1KB Registers Registers capability capability
MCLK
16.384-MHz MAB
CPU
with 16 MDB
registers
Emulation
2BP
Hardware
Power SD24
Multiplier
JTAG Management eUSCI_A0
Watchdog (16x16) eUSCI_B0
Interface 2
Sigma-Delta WDT
LDO UART,
MPY, 2
SPI, I C
REF Analog-to- IrDA, SPI
15 or 16 bit MPYS,
VMON Digital
Spy-Bi- MAC,
Brownout Converters
Wire MACS
Figure 9-6 shows the functional block diagram for the MSP430i2021 and MSP430i2020 in the PW package.
ROSC VCC DVSS AVSS VCORE RST/NMI P1.x P2.x
8 4
ACLK
Clock
TA0 TA1 Port P1 Port P2
System Flash RAM
Timer_A Timer_A 8 I/Os, 4 I/Os,
SMCLK 32KB 2KB 3 CC 3 CC Interrupt Interrupt
16KB 1KB Registers Registers capability capability
MCLK
16.384-MHz MAB
CPU
with 16 MDB
registers
Emulation
2BP
Hardware
Power SD24
Multiplier
JTAG Management eUSCI_A0
Watchdog (16x16) eUSCI_B0
Interface 2
Sigma-Delta WDT
LDO UART,
MPY, 2
SPI, I C
REF Analog-to- IrDA, SPI
15 or 16 bit MPYS,
VMON Digital
Spy-Bi- MAC,
Brownout Converters
Wire MACS
9.3 CPU
The MSP430i CPU has a 16-bit RISC architecture that is highly transparent to the application. All operations,
other than program-flow instructions, are performed as register operations in conjunction with seven addressing
modes for source operand and four addressing modes for destination operand.
The CPU is integrated with 16 registers that provide reduced instruction execution time. The register-to-register
operation execution time is one cycle of the CPU clock.
Four of the registers, R0 to R3, are dedicated as program counter, stack pointer, status register, and constant
generator respectively. The remaining registers are general-purpose registers (see Figure 9-7).
Peripherals are connected to the CPU using data, address, and control buses and can be handled with all
instructions.
General-Purpose Register R4
General-Purpose Register R5
General-Purpose Register R6
General-Purpose Register R7
General-Purpose Register R8
General-Purpose Register R9
CAUTION
The CPU will lock up if the device enters a low-power mode (CPU off) within 64 cycles after reset.
(1) S = source
(2) D = destination
(1) A reset is generated if the CPU tries to fetch instructions from within the module register memory address range (0h to 01FFh) or from
within unused address range.
(2) Multiple source flags
(3) Interrupt flags are in the module.
(4) (Non)maskable: the individual interrupt-enable bit can disable an interrupt event, but the general interrupt enable cannot.
WDTIE Watchdog timer interrupt enable. Inactive if watchdog mode is selected. Active if watchdog timer is configured in interval timer
mode.
OFIE Oscillator fault interrupt enable
NMIIE (Non)maskable interrupt enable
ACCVIE Flash access violation interrupt enable
WDTIFG Set on watchdog timer overflow (in watchdog mode) or security key violation.
Reset on VCC power-up or a reset condition at RST/NMI pin in reset mode.
OFIFG Flag set on oscillator fault. This flag can be cleared by software when the oscillator runs free of fault.
BORIFG Brown out reset flag. This bit is set after VCC power up and can be cleared by software.
RSTIFG External reset interrupt flag. Set on a reset condition at RST/NMI pin in reset mode. Reset on VCC power up.
NMIIFG Set by the RST/NMI pin in NMI configuration.
Note
Application programming the device to any of the low power modes within first 64 MCLK clock cycles
after a BOR or POR reset will lock the device for any JTAG/SBW access.
7 6 5 4 3 2 1 0
JTAGKEY
rw-[1] rw-[0] rw-[1] rw-[0] rw-[0] rw-[1] rw-[0] rw-[1]
JTAGKEY 0xA5A5 indicates JTAG is disabled and 0x9696 indicates JTAG is enabled.
9.10 Peripherals
Peripherals are connected to the CPU through data, address, and control buses. The peripherals can be
managed using all instructions. For complete module descriptions, see the MSP430i2xx Family User's Guide.
9.10.1 Clock System
The clock system consists of a fixed 16.384-MHz frequency internal DCO. The DCO can operate in internal
resistor mode or external resistor mode. The DCO clock accuracy is higher when operating in external resistor
mode especially upon variation in operating temperature. This feature can be useful in applications like utility
metering in which accurate clock is necessary under varying operating temperature. When external resistor
mode is selected by application, the resistor of recommended value must be connected to ROSC pin of the
device. Refer to Section 8.7.2.1 for the recommended value of the resistor at the ROSC pin. TI recommends
connecting the ROSC pin to AVSS when operating the DCO in internal resistor mode. When a resistor fault
is detected in the external resistor mode, the DCO automatically switches to the internal resistor mode as a
fail-safe mechanism to keep the system clocks active.
The DCO can be completely bypassed and the system clocks can be sourced by an external digital clock. The
clock system generates MCLK, SMCLK, and ACLK. MCLK is used by the CPU, while SMCLK and ACLK are
used by the peripheral modules. There are programmable clock dividers for MCLK and SMCLK. ACLK runs at a
fixed 32-kHz frequency. The clock system supports active mode and four low-power modes.
9.10.2 Power-Management Module (PMM)
The PMM consists of voltage regulator that generates 1.8-V regulated core voltage. There is a brownout reset
(BOR) circuit on the high-voltage domain, and a supply voltage supervisor (SVS) module on the low-voltage
domain. The BOR and SVS provide the proper internal reset signal to the device during power on and power off.
A built-in voltage reference is used by submodules of the PMM and by the analog modules on the device. A
temperature sensor is also available in the built-in voltage reference.
The voltage monitor (VMON) on the high-voltage domain can monitor external voltage on the VMONIN pin
against the internal reference voltage or by comparing the on-chip VCC to one of three programmable threshold
voltages. During the LPM4.5 mode, the reference, voltage regulator, temperature sensor, and voltage monitor
are turned off, and only the high-side brownout circuit is active.
9.10.9 SD24
There are up to four independent 24-bit sigma-delta ADCs. Each converter is designed with a fully differential
analog input pair and programmable gain amplifier input stage. Also the converters are based on second-order
oversampling sigma-delta modulators and digital decimation filters. The decimation filters are comb-type filters
with selectable oversampling ratios of up to 256.
The SD24 converters can operate with internal reference (SD24REFS = 1) or with external reference
(SD24REFS = 0). When SD24 operates with internal reference the VREF pin must not be loaded externally.
Connect only the recommended capacitor value (CVREF) at VREF pin to AVSS (see Section 8.7.7.2).
PyOUT.x 00
From module 1 01 1
From module 2 10 0
DVSS 11 Py.x/Mod1/Mod2/JTAG
PySEL1.x
PySEL0.x
PyIN.x
EN
To modules D
and JTAG
Pad Logic
Direction
PyDIR.x 00 0: Input
1: Output
From module 1 01
10
11
PyOUT.x 00
From module 1 01
From module 2 10
DVSS 11 Py.x/Mod1/Mod2
PySEL1.x
PySEL0.x
PyIN.x
EN
To module D
9.11.3 Port P2, P2.0 to P2.2 and P2.4 to P2.7, Input/Output With Schmitt Trigger
Figure 9-10 shows the pin diagram. Table 9-13 summarizes the selection of the pin function.
Pad Logic
Direction
PyDIR.x 00 0: Input
1: Output
01
10
11
PyOUT.x 00
From module 01
DVSS 10
DVSS 11 Py.x/Mod1/Mod2
PySEL1.x
PySEL0.x
PyIN.x
EN
To module D
Table 9-13. Port P2 (P2.0 to P2.2 and P2.4 to P2.7) Pin Functions
CONTROL BITS OR SIGNALS
PIN NAME (P2.x) x FUNCTION
P2DIR.x P2SEL1.x P2SEL0.x
P2.0/TA1.0/CLKIN 0 P2.0 (I/O) I: 0; O: 1 0 0
TA1.CCI0A 0
0 1
TA1.0 1
CLKIN (DCO bypass clock) 0
1 0
DVSS 1
N/A 0
1 1
DVSS 1
P2.1/TA1.1 1 P2.1 (I/O) I: 0; O: 1 0 0
TA1.CCI1A 0
0 1
TA1.1 1
N/A 0
1 0
DVSS 1
N/A 0
1 1
DVSS 1
Table 9-13. Port P2 (P2.0 to P2.2 and P2.4 to P2.7) Pin Functions (continued)
CONTROL BITS OR SIGNALS
PIN NAME (P2.x) x FUNCTION
P2DIR.x P2SEL1.x P2SEL0.x
P2.2/TA1.2 2 P2.2 (I/O) I: 0; O: 1 0 0
TA1.CCI2A 0
0 1
TA1.2 1
N/A 0
1 0
DVSS 1
N/A 0
1 1
DVSS 1
P2.4/TA1.0(1) 4 P2.4 (I/O) I: 0; O: 1 0 0
TA1.CCI0B 0
0 1
TA1.0 1
N/A 0
1 0
DVSS 1
N/A 0
1 1
DVSS 1
P2.5/TA0.0(1) 5 P2.5 (I/O) I: 0; O: 1 0 0
TA0.CCI0B 0
0 1
TA0.0 1
N/A 0
1 0
DVSS 1
N/A 0
1 1
DVSS 1
P2.6/TA0.1(1) 6 P2.6 (I/O) I: 0; O: 1 0 0
N/A 0
0 1
TA0.1 1
N/A 0
1 0
DVSS 1
N/A 0
1 1
DVSS 1
P2.7/TA0.2(1) 7 P2.7 (I/O) I: 0; O: 1 0 0
N/A 0
0 1
TA0.2 1
N/A 0
1 0
DVSS 1
N/A 0
1 1
DVSS 1
Pad Logic
To VMON
From VMON
Direction
PyDIR.x 00 0: Input
01 1: Output
10
11
PyOUT.x 00
DVSS 01
DVSS 10
DVSS 11 Py.x/VMONIN
PySEL1.x
PySEL0.x
PyIN.x
EN Bus
Keeper
No connect D
9.13 Memory
Table 9-16 lists the memory organization for the specified devices.
Table 9-16. Memory Organization
MSP430i2040 MSP430i2041
MSP430i2030 MSP430i2031
MSP430i2020 MSP430i2021
Memory Size 16KB 32KB
Main: interrupt vector Flash 0xFFFF to 0xFFE0 0xFFFF to 0xFFE0
Main: code memory Flash 0xFFFF to 0xC000 0xFFFF to 0x8000
Size 1KB 1KB
Information memory
Flash 0x13FFh to 0x1000 0x13FFh to 0x1000
Size 1KB 2KB
RAM
Address 0x05FF to 0x0200 0x09FF to 0x0200
16-bit 0x01FF to 0x0100 0x01FF to 0x0100
Peripherals 8-bit 0x00FF to 0x0010 0x00FF to 0x0010
8-bit SFR 0x000F to 0x0000 0x000F to 0x0000
9.14 Identification
9.14.1 Device Identification
The device type can be identified from the top-side marking on the device package. See the packaging
information page or the device errata sheets listed in Section 11.4 for help.
9.14.2 JTAG Identification
Programming through the JTAG interface, including reading and identifying the JTAG ID, is described in detail in
the MSP430 Programming With the JTAG Interface.
The following resources provide application guidelines and best practices when designing with the MSP430i20xx
devices.
Implementation of a One- or Two-Phase Electronic Watt-Hour Meter Using MSP430i20xx application
report
This application report describes the implementation of a low-cost 1- or 2-phase electronic electricity meter that
uses the TI MSP430i20xx metering processor. This application report includes information on metrology software
and hardware procedures for this single-chip implementation.
Single-Phase and DC Embedded Metering Power Using MSP430i2040 application report
This application report describes an EVM that uses the MSP430i2040 microcontroller for embedded metering
(submetering). In this application, the electricity measuring device is embedded in the end application and gives
the user information about the voltage, current, and power consumption of the device. In addition, the EVM can
compensate for line resistance and EMI filter capacitance.
Single Phase and DC Embedded Metering (Server Power Monitor) reference design
This reference design implements a high-accuracy single-phase embedded meter using an MSP430 MCU.
This EVM has built-in support to measure AC voltage, current, active power, reactive power, apparent power,
frequency, power factor, voltage THD, current THD, fundamental voltage, fundamental current, fundamental
power and DC voltage, DC current, DC active power. It can detect the input voltage to work in DC or AC mode.
It can also compensate for the effects of the wire resistance and the EMI filter capacitance so that the reading of
voltage and power matches the reading of an external meter when EMI filter is connected to the input.
Three Output Smart Power Strip reference design
This reference design implements a high-accuracy single-phase embedded metering smart power strip using
an MSP430 MCU. This design supports measurement of AC voltage, current, active power, reactive power,
apparent power, frequency, and power factor with 3 sockets measured individually. Additional hardware is added
to provide futher development like relay control and wired or wireless communication.
Development Tools
Code Composer Studio™ Integrated Development Environment for MSP Microcontrollers
Code Composer Studio (CCS) integrated development environment (IDE) supports all MSP microcontroller
devices. CCS comprises a suite of embedded software utilities used to develop and debug embedded
applications. CCS includes an optimizing C/C++ compiler, source code editor, project build environment,
debugger, profiler, and many other features.
MSP Flasher - Command Line Programmer
MSP Flasher is an open-source shell-based interface for programming MSP microcontrollers through a FET
programmer or eZ430 using JTAG or Spy-Bi-Wire (SBW) communication. MSP Flasher can download binary
files (.txt or .hex) directly to the MSP microcontroller without an IDE.
MSP MCU Programmer and Debugger
The MSP-FET is a powerful emulation development tool – often called a debug probe – which lets users quickly
begin application development on MSP low-power MCUs. Creating MCU software usually requires downloading
the resulting binary program to the MSP device for validation and debugging.
MSP-GANG Production Programmer
The MSP Gang Programmer is an MSP430 or MSP432 device programmer that can program up to eight
identical MSP430 or MSP432 flash or FRAM devices at the same time. The MSP Gang Programmer connects
to a host PC using a standard RS-232 or USB connection and provides flexible programming options that let the
user fully customize the process.
11.4 Documentation Support
The following documents describe the MSP430i20xx MCUs. Copies of these documents are available on the
Internet at www.ti.com.
Receiving Notification of Document Updates
To receive notification of documentation updates—including silicon errata—go to the product folder for your
device on ti.com (for example, MSP430i2041). In the upper right corner, click the "Alert me" button. This
registers you to receive a weekly digest of product information that has changed (if any). For change details,
check the revision history of any revised document.
Errata
MSP430i2041 Device Erratasheet
Describes the known exceptions to the functional specifications.
MSP430i2040 Device Erratasheet
Describes the known exceptions to the functional specifications.
MSP430i2031 Device Erratasheet
Describes the known exceptions to the functional specifications.
MSP430i2031 Device Erratasheet
Describes the known exceptions to the functional specifications.
MSP430i2021 Device Erratasheet
Describes the known exceptions to the functional specifications.
MSP430i2021 Device Erratasheet
Describes the known exceptions to the functional specifications.
User's Guides
MSP430i2xx Family User's Guide
Detailed description of all modules and peripherals available in this device family.
MSP430™ Flash Device Bootloader (BSL) User's Guide
The MSP430 bootloader (BSL) lets users communicate with embedded memory in the MSP430 microcontroller
during the prototyping phase, final production, and in service. Both the programmable memory (flash memory)
and the data memory (RAM) can be modified as required. Do not confuse the bootloader with the bootstrap
loader programs found in some digital signal processors (DSPs) that automatically load program code (and data)
from external memory to the internal memory of the DSP.
MSP430 Programming With the JTAG Interface
This document describes the functions that are required to erase, program, and verify the memory module
of the MSP430 flash-based and FRAM-based microcontroller families using the JTAG communication port. In
addition, it describes how to program the JTAG access security fuse that is available on all MSP430 devices.
This document describes device access using both the standard 4-wire JTAG interface and the 2-wire JTAG
interface, which is also referred to as Spy-Bi-Wire (SBW).
MSP430 Hardware Tools User's Guide
This manual describes the hardware of the TI MSP-FET430 Flash Emulation Tool (FET). The FET is the
program development tool for the MSP430 ultra-low-power microcontroller. Both available interface types, the
parallel port interface and the USB interface, are described.
Application Reports
MSP430 32-kHz Crystal Oscillators
Selection of the correct crystal, correct load circuit, and proper board layout are important for a stable crystal
oscillator. This application report summarizes crystal oscillator function and explains the parameters to select the
correct crystal for MSP430 ultra-low-power operation. In addition, hints and examples for correct board layout
are given. The document also contains detailed information on the possible oscillator tests to ensure stable
oscillator operation in mass production.
MSP430 System-Level ESD Considerations
System-level ESD has become increasingly demanding with silicon technology scaling towards lower voltages
and the need for designing cost-effective and ultra-low-power components. This application report addresses
different ESD topics to help board designers and OEMs understand and design robust system-level designs.
11.5 Support Resources
TI E2E™ support forums are an engineer's go-to source for fast, verified answers and design help — straight
from the experts. Search existing answers or ask your own question to get the quick design help you need.
Linked content is provided "AS IS" by the respective contributors. They do not constitute TI specifications and do
not necessarily reflect TI's views; see TI's Terms of Use.
11.6 Trademarks
MSP430Ware™, MSP430™, Code Composer Studio™, TI E2E™, LaunchPad™, are trademarks of Texas
Instruments.
All trademarks are the property of their respective owners.
11.7 Electrostatic Discharge Caution
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled
with appropriate precautions. Failure to observe proper handling and installation procedures can cause damage.
ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may
be more susceptible to damage because very small parametric changes could cause the device not to meet its published
specifications.
11.8 Glossary
TI Glossary This glossary lists and explains terms, acronyms, and definitions.
www.ti.com 8-Mar-2021
PACKAGING INFORMATION
Orderable Device Status Package Type Package Pins Package Eco Plan Lead finish/ MSL Peak Temp Op Temp (°C) Device Marking Samples
(1) Drawing Qty (2) Ball material (3) (4/5)
(6)
MSP430I2020TPW ACTIVE TSSOP PW 28 50 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2020T
MSP430I2020TPWR ACTIVE TSSOP PW 28 2000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2020T
MSP430I2020TRHBR ACTIVE VQFN RHB 32 3000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2020T
MSP430I2020TRHBT ACTIVE VQFN RHB 32 250 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2020T
MSP430I2021TPW ACTIVE TSSOP PW 28 50 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2021T
MSP430I2021TPWR ACTIVE TSSOP PW 28 2000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2021T
MSP430I2021TRHBR ACTIVE VQFN RHB 32 3000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2021T
MSP430I2021TRHBT ACTIVE VQFN RHB 32 250 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2021T
MSP430I2030TPW ACTIVE TSSOP PW 28 50 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2030T
MSP430I2030TPWR ACTIVE TSSOP PW 28 2000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2030T
MSP430I2030TRHBR ACTIVE VQFN RHB 32 3000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2030T
MSP430I2030TRHBT ACTIVE VQFN RHB 32 250 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2030T
MSP430I2031TPW ACTIVE TSSOP PW 28 50 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2031T
MSP430I2031TPWR ACTIVE TSSOP PW 28 2000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2031T
MSP430I2031TRHBR ACTIVE VQFN RHB 32 3000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2031T
MSP430I2031TRHBT ACTIVE VQFN RHB 32 250 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2031T
MSP430I2040TPW ACTIVE TSSOP PW 28 50 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2040T
MSP430I2040TPWR ACTIVE TSSOP PW 28 2000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2040T
MSP430I2040TRHBR ACTIVE VQFN RHB 32 3000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2040T
MSP430I2040TRHBT ACTIVE VQFN RHB 32 250 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2040T
Addendum-Page 1
PACKAGE OPTION ADDENDUM
www.ti.com 8-Mar-2021
Orderable Device Status Package Type Package Pins Package Eco Plan Lead finish/ MSL Peak Temp Op Temp (°C) Device Marking Samples
(1) Drawing Qty (2) Ball material (3) (4/5)
(6)
MSP430I2041TPW ACTIVE TSSOP PW 28 50 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2041T
MSP430I2041TPWR ACTIVE TSSOP PW 28 2000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2041T
MSP430I2041TRHBR ACTIVE VQFN RHB 32 3000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2041T
MSP430I2041TRHBT ACTIVE VQFN RHB 32 250 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 105 I2041T
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(3)
MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
Lead finish/Ball material - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material values may wrap to two
lines if the finish value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
Addendum-Page 2
PACKAGE OPTION ADDENDUM
www.ti.com 8-Mar-2021
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 3
PACKAGE MATERIALS INFORMATION
www.ti.com 8-Mar-2021
Pack Materials-Page 1
PACKAGE MATERIALS INFORMATION
www.ti.com 8-Mar-2021
Pack Materials-Page 2
GENERIC PACKAGE VIEW
RHB 32 VQFN - 1 mm max height
5 x 5, 0.5 mm pitch PLASTIC QUAD FLATPACK - NO LEAD
Images above are just a representation of the package family, actual package may vary.
Refer to the product data sheet for package details.
4224745/A
www.ti.com
PACKAGE OUTLINE
RHB0032M VQFN - 1 mm max height
PLASTIC QUAD FLATPACK-NO LEAD
5.1 A
B 4.9
5.1
4.9
PIN 1 INDEX AREA
C
1 MAX
SEATING PLANE
0.08 C
0.05
0.00
2X 3.5
(0.2) TYP
9 16
28X 0.5
8
17
33 SYMM
2X
3.5
1 24
32X 0.3
0.2
PIN 1 ID 32 25
SYMM 0.1 C A B
(OPTIONAL)
32X 0.5
0.3 0.05 C
4223725/A 08/2017
NOTES:
1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing
per ASME Y14.5M.
2. This drawing is subject to change without notice.
3. The package thermal pad must be soldered to the printed circuit board for optimal thermal and mechanical performance.
www.ti.com
EXAMPLE BOARD LAYOUT
RHB0032M VQFN - 1 mm max height
PLASTIC QUAD FLATPACK-NO LEAD
(4.8)
( 2.1)
32 25
32X (0.6)
32X (0.25)
1
24
28X (0.5)
SYMM 33
(4.8)
2X
(0.8)
VIA TYP
8 17
(R0.05) TYP
9 16
2X (0.8)
SYMM
NOTES: (continued)
4. This package is designed to be soldered to a thermal pad on the board. For more information, see Texas Instruments literature
number SLUA271 (www.ti.com/lit/slua271).
5. Vias are optional depending on application, refer to device data sheet. If any vias are implemented, refer to their locations shown
on this view. It is recommended that vias under paste be filled, plugged or tented.
www.ti.com
EXAMPLE STENCIL DESIGN
RHB0032M VQFN - 1 mm max height
PLASTIC QUAD FLATPACK-NO LEAD
(4.8)
4X ( 0.94)
32 25
32X (0.6)
32X (0.25)
1
24
28X (0.5) 33
SYMM
(4.8)
2X
(0.57)
METAL
TYP
8 17
(R0.05) TYP
9 16
2X (0.57)
SYMM
EXPOSED PAD
80% PRINTED COVERAGE BY AREA
SCALE: 15X
4223725/A 08/2017
NOTES: (continued)
6. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate
design recommendations.
www.ti.com
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), 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, 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 (https:www.ti.com/legal/termsofsale.html) or other applicable terms available either
on ti.com 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.IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2021, Texas Instruments Incorporated