• For Complete Module Descriptions, See the
MSP430x2xx Family User’s Guide (SLAU144)
1.2Applications
•Power Management
•Sensor Interface
1.3Description
The TI MSP family of ultra-low-power microcontrollers consists of several devices that feature different
sets of peripherals targeted for various applications. The architecture, combined with five low-power
modes, is optimized to achieve extended battery life in portable measurement applications. The device
features 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 device to wake up from lowpower modes to active mode in less than 1 µs.
The MSP430G2x03 and MSP430G2x33 devices are ultra-low-power mixed-signal microcontrollers with
built-in 16-bit timers, up to 24 I/O capacitive-touch enabled pins, and built-in communication capability
using the USCI. In addition, the MSP430G2x33 family members have a 10-bit ADC. See Section 3 for
configuration details.
Typical applications include low-cost sensor systems that capture analog signals, convert them to digital
values, and then process the data for display or for transmission to a host system.
1
•Capacitive Touch
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.
For information about other devices in this family of products or related products, see the following links.
Products for MSP 16-Bit and 32-Bit MCUs Low-power mixed-signal processors with smart analog and
digital peripherals for a wide range of industrial and consumer applications.
Products for Ultra-low Power MCUsMSP Ultra-Low-Power microcontrollers (MCUs) from Texas
Instruments (TI) offer the lowest power consumption and the perfect mix of integrated
peripherals for a wide range of low-power and portable applications.
Products for MSP430G2x/i2x Low-Cost Industrial MCUs MSP430G2x microcontrollers (MCUs) from
the MSP ultra-low-power MCU series, offers the low power and performance of 16-bit MSP
microcontrollers with a feature set targeted at cost sensitive applications.
Companion Products for MSP430G2533 Review products that are frequently purchased or used in
conjunction with this product.
Reference Designs for MSP430G2533 TI Designs Reference Design Library is a robust reference
design library that spans analog, embedded processor, and connectivity. Created by TI
experts to help you jump start your system design, all TI Designs include schematic or block
diagrams, BOMs, and design files to speed your time to market. Search and download
designs at ti.com/tidesigns.
P1.0/
TA0CLK/Timer0_A, clock signal TACLK input
ACLK/ACLK signal output
2231I/O
A0ADC10 analog input A0
P1.1/
TA0.0/Timer0_A, capture: CCI0A input, compare: Out0 output / BSL transmit
UCA0RXD/USCI_A0 receive data input in UART mode
331I/O
UCA0SOMI/USCI_A0 slave data out/master in SPI mode
A1ADC10 analog input A1
P1.2/
TA0.1/Timer0_A, capture: CCI1A input, compare: Out1 output
UCA0TXD/USCI_A0 transmit data output in UART mode
442I/O
UCA0SIMO/USCI_A0 slave data in/master out in SPI mode
A2ADC10 analog input A2
P1.3/
ADC10CLK/ADC10, conversion clock output
A3/ADC10 analog input A3
553I/O
VREF-/VEREF-ADC10 negative reference voltage
P1.4/
SMCLK/SMCLK signal output
UCB0STE/USCI_B0 slave transmit enable
UCA0CLK/USCI_A0 clock input/output
664I/O
A4/ADC10 analog input A4
VREF+/VEREF+ADC10 positive reference voltage
TCKJTAG test clock, input terminal for device programming and test
P1.5/
TA0.0/Timer0_A, compare: Out0 output / BSL receive
UCB0CLK/USCI_B0 clock input/output
UCA0STE/USCI_A0 slave transmit enable
775I/O
A5/ADC10 analog input A5
TMSJTAG test mode select, input terminal for device programming and test
P1.6/
TA0.1/Timer0_A, compare: Out1 output
A6/ADC10 analog input A6
UCB0SOMI/USCI_B0 slave out/master in SPI mode,
142221I/O
UCB0SCL/USCI_B0 SCL I2C clock in I2C mode
TDI/TCLKJTAG test data input or test clock input during programming and test
162423I
SBWTDIOSpy-Bi-Wire test data input/output during programming and test
I/ODESCRIPTION
General-purpose digital I/O pin
(1)
JTAG test data output terminal or test data input during programming and
(2)
test
General-purpose digital I/O pin
General-purpose digital I/O pin
General-purpose digital I/O pin
General-purpose digital I/O pin
General-purpose digital I/O pin
General-purpose digital I/O pin
Input terminal of crystal oscillator
Output terminal of crystal oscillator
(3)
General-purpose digital I/O pin
General-purpose digital I/O pin
General-purpose digital I/O pin
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
Reset
(2) TDO or TDI is selected by JTAG instruction.
(3) If XOUT/P2.7 is used as an input, excess current flows until P2SEL.7 is cleared. This is due to the oscillator output driver connection to
TEST/
SBWTCKSpy-Bi-Wire test clock input during programming and test
AVCCNANA29NAAnalog supply voltage
DVCC1130NADigital supply voltage
DVSS202827, 28NAGround reference
NCNANA8, 32NANot connected
QFN PadNANAPadNAQFN package pad connection to VSS recommended.
PW20,
N20
172524I
PW28RHB32
I/ODESCRIPTION
Selects test mode for JTAG pins on Port 1. The device protection fuse is
connected to TEST.
over operating free-air temperature range (unless otherwise noted)
MINMAXUNIT
Voltage applied at VCCto V
Voltage applied to any pin
SS
(2)
–0.34.1V
–0.3VCC+ 0.3V
Diode current at any device pin±2mA
Storage temperature, T
(3)
stg
Unprogrammed device–55150
Programmed device–55150
°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 OperatingConditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
(2) All voltages referenced to VSS. The JTAG fuse-blow voltage, VFB, is allowed to exceed the absolute maximum rating. The voltage is
applied to the TEST pin when blowing the JTAG fuse.
(3) 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.
5.2ESD Ratings
VALUEUNIT
V
Electrostatic discharge
(ESD)
Human-body model (HBM), per ANSI/ESDA/JEDEC JS-001
Charged-device model (CDM), per JEDEC specification JESD22-C101
(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.
(1)
(2)
±1000
±250
V
5.3Recommended Operating Conditions
Typical values are specified at VCC= 3.3 V and TA= 25°C (unless otherwise noted)
Note:Minimum processor frequency is defined by system clock. Flash program or erase operations require a minimum V
of 2.2 V.
CC
Figure 5-1. Safe Operating Area
5.4Active Mode Supply Current Into VCCExcluding External Current
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
I
AM,1MHz
PARAMETERTEST CONDITIONSV
f
= f
Active mode (AM)
current at 1 MHz
MCLK
= 0 Hz,
= f
DCO
f
ACLK
Program executes in flash,
BCSCTL1 = CALBC1_1MHZ,
DCOCTL = CALDCO_1MHZ,
SMCLK
= 1 MHz,
CC
2.2 V230
3 V330420
CPUOFF = 0, SCG0 = 0, SCG1 = 0,
OSCOFF = 0
(1) All inputs are tied to 0 V or to VCC. Outputs do not source or sink any current.
(2) The currents are characterized with a Micro Crystal CC4V-T1A SMD crystal with a load capacitance of 9 pF. The internal and external
load capacitance is chosen to closely match the required 9 pF.
5.6Low-Power Mode Supply Currents (Into VCC) Excluding External Current
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
I
LPM0,1MHz
PARAMETERTEST CONDITIONST
f
= 0 MHz,
MCLK
f
= f
= 1 MHz,
DCO
= 32768 Hz,
Low-power mode 0
(LPM0) current
(3)
SMCLK
f
ACLK
BCSCTL1 = CALBC1_1MHZ,
DCOCTL = CALDCO_1MHZ,
A
25°C2.2 V56µA
CPUOFF = 1, SCG0 = 0, SCG1 = 0,
OSCOFF = 0
f
I
LPM2
Low-power mode 2
(LPM2) current
(4)
= f
MCLK
f
= 1 MHz,
DCO
f
= 32768 Hz,
ACLK
BCSCTL1 = CALBC1_1MHZ,
DCOCTL = CALDCO_1MHZ,
SMCLK
= 0 MHz,
25°C2.2 V22µA
CPUOFF = 1, SCG0 = 0, SCG1 = 1,
OSCOFF = 0
f
= f
I
LPM3,LFXT1
Low-power mode 3
(LPM3) current
(4)
DCO
f
ACLK
CPUOFF = 1, SCG0 = 1, SCG1 = 1,
= f
MCLK
= 32768 Hz,
SMCLK
= 0 MHz,
25°C2.2 V0.71.5µA
OSCOFF = 0
f
= f
I
LPM3,VLO
Low-power mode 3
current, (LPM3)
(4)
DCO
f
ACLK
CPUOFF = 1, SCG0 = 1, SCG1 = 1,
= f
MCLK
from internal LF oscillator (VLO),
SMCLK
= 0 MHz,
25°C2.2 V0.50.7µA
OSCOFF = 0
f
= f
I
LPM4
Low-power mode 4
(LPM4) current
(5)
MCLK
= 0 Hz,
= f
DCO
f
ACLK
CPUOFF = 1, SCG0 = 1, SCG1 = 1,
OSCOFF = 1
SMCLK
= 0 MHz,
25°C
85°C0.81.7
(1) All inputs are tied to 0 V or to VCC. Outputs do not source or sink any current.
(2) The currents are characterized with a Micro Crystal CC4V-T1A SMD crystal with a load capacitance of 9 pF. The internal and external
load capacitance is chosen to closely match the required 9 pF.
(3) Current for brownout and WDT clocked by SMCLK included.
(4) Current for brownout and WDT clocked by ACLK included.
(5) Current for brownout included.
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETERTEST CONDITIONSV
V
Positive-going input threshold voltage
IT+
V
Negative-going input threshold voltage
IT–
V
Input voltage hysteresis (V
hys
R
Pullup or pulldown resistor
Pull
C
Input capacitanceVIN= VSSor V
I
IT+
– V
)3 V0.31V
IT–
For pullup: VIN= V
For pulldown: VIN= V
SS
CC
CC
CC
3 V1.352.25
3 V0.751.65
3 V203550kΩ
MINTYPMAX UNIT
0.45 V
0.25 V
CC
CC
0.75 V
0.55 V
5pF
CC
CC
5.10 Leakage Current, Ports Px
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
I
lkg(Px.y)
PARAMETERTEST CONDITIONSV
High-impedance leakage currentSee
(1) (2)
CC
3 V±50nA
(1) The leakage current is measured with VSSor VCCapplied 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 and the pullup/pulldown resistor is
disabled.
MINMAX UNIT
V
V
5.11 Outputs, Ports Px
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETERTEST CONDITIONSV
V
V
High-level output voltageI
OH
Low-level output voltageI
OL
(1) The maximum total current, I
specified.
(OHmax)
and I
= –6 mA
(OHmax)
= 6 mA
(OLmax)
, for all outputs combined should not exceed ±48 mA to hold the maximum voltage drop
(OLmax)
(1)
(1)
CC
3 VVCC– 0.3V
3 VVSS+ 0.3V
MINTYPMAX UNIT
5.12 Output Frequency, Ports Px
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
f
Px.y
f
Port_CLK
PARAMETERTEST CONDITIONSV
Port output frequency (with load)Px.y, CL= 20 pF, RL= 1 kΩ
Clock output frequencyPx.y, CL= 20 pF
(2)
(1) (2)
CC
3 V12MHz
3 V16MHz
(1) A resistive divider with two 50-kΩ resistors between VCCand VSSis used as load. The output is connected to the center tap of the
divider.
(2) The output voltage reaches at least 10% and 90% VCCat the specified toggle frequency.
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETER
V
CC(start)
V
(B_IT–)
V
hys(B_IT–)
t
d(BOR)
t
(reset)
See Figure 5-12dVCC/dt ≤ 3 V/s0.7 V
See Figure 5-12 through Figure 5-14dVCC/dt ≤ 3 V/s1.35V
See Figure 5-12dVCC/dt ≤ 3 V/s140mV
See Figure 5-122000µs
Pulse duration needed at RST/NMI pin to accepted
reset internally
(1) The current consumption of the brownout module is already included in the ICCcurrent consumption data. The voltage level V
V
hys(B_IT–)
(2) During power up, the CPU begins code execution following a period of t
must not be changed until VCC≥ V
is ≤ 1.8 V.
CC(min)
, where V
is the minimum supply voltage for the desired operating frequency.
CC(min)
TEST
CONDITIONS
d(BOR)
V
CC
MINTYPMAXUNIT
(B_IT--)
2.2 V2µs
after VCC= V
(B_IT–)
+ V
. The default DCO settings
hys(B_IT–)
(B_IT–)
V
+
Figure 5-12. POR and BOR vs Supply Voltage
Figure 5-13. V
CC(drop)
Level With a Square Voltage Drop to Generate a POR or BOR Signal
(1) To improve EMI on the XT1 oscillator, the following guidelines should be observed.
• Keep the trace between the device and the crystal as short as possible.
• Design a good ground plane around the oscillator pins.
• Prevent crosstalk from other clock or data lines into oscillator pins XIN and XOUT.
• Avoid running PCB traces underneath or adjacent to the XIN and XOUT pins.
• Use assembly materials and processes that avoid any parasitic load on the oscillator XIN and XOUT pins.
• If conformal coating is used, make sure that it does not induce capacitive or resistive leakage between the oscillator pins.
• Do not route the XOUT line to the JTAG header to support the serial programming adapter as shown in other documentation. This
signal is no longer required for the serial programming adapter.
(2) Includes parasitic bond and package capacitance (approximately 2 pF per pin).
Because the PCB adds additional capacitance, verify the correct load by measuring the ACLK frequency. For a correct setup, the
effective load capacitance should always match the specification of the used crystal.
(3) Frequencies below the MIN specification set the fault flag. Frequencies above the MAX specification do not set the fault flag.
Frequencies in between might set the flag.
(4) Measured with logic-level input frequency but also applies to operation with crystals.
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETERTEST CONDITIONSV
f
USCI
f
max,BITCLK
t
τ
USCI input clock frequencySMCLK, duty cycle = 50% ±10%f
Maximum BITCLK clock frequency
(equals baud rate in MBaud)
UART receive deglitch time
(1)
(2)
3 V2MHz
3 V50100600ns
(1) The DCO wake-up time must be considered in LPM3 and LPM4 for baud rates above 1 MHz.
(2) Pulses on the UART receive input (UCxRX) shorter than the UART receive deglitch time are suppressed. To ensure that pulses are
correctly recognized, their duration should exceed the maximum specification of the deglitch time.
MINTYPMAX UNIT
CC
SYSTEM
MHz
5.26 USCI (SPI Master Mode)
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted) (see Figure 5-16
and Figure 5-17)
f
USCI
t
SU,MI
t
HD,MI
t
VALID,MO
PARAMETERTEST CONDITIONSV
CC
USCI input clock frequencySMCLK, duty cycle = 50% ±10%f
SOMI input data setup time3 V75ns
SOMI input data hold time3 V0ns
SIMO output data valid timeUCLK edge to SIMO valid, CL= 20 pF3 V20ns
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted) (see Figure 5-18
and Figure 5-19)
t
STE,LEAD
t
STE,LAG
t
STE,ACC
t
STE,DIS
t
SU,SI
t
HD,SI
t
VALID,SO
PARAMETERTEST CONDITIONSV
CC
STE lead time, STE low to clock3 V50ns
STE lag time, Last clock to STE high3 V10ns
STE access time, STE low to SOMI data out3 V50ns
STE disable time, STE high to SOMI high
impedance
3 V50ns
SIMO input data setup time3 V15ns
SIMO input data hold time3 V10ns
(1) The leakage current is defined in the leakage current table with Px.y/Ax parameter.
(2) The analog input voltage range must be within the selected reference voltage range VR+to VR–for valid conversion results.
(3) The internal reference supply current is not included in current consumption parameter I
(4) The internal reference current is supplied through terminal VCC. Consumption is independent of the ADC10ON control bit, unless a
conversion is active. The REFON bit enables the built-in reference to settle before starting an A/D conversion.
SREF1 = 1, SREF0 = 0
0 V ≤ VEREF+ ≤ VCC– 0.15 V ≤ 3 V,
SREF1 = 1, SREF0 = 1
Static input current into VEREF–0 V ≤ VEREF– ≤ V
(3)
CC
3 V±1
3 V0
3 V±1µA
(1) The external reference is used during conversion to charge and discharge the capacitance array. The input capacitance, CI, is also the
dynamic load for an external reference during conversion. The dynamic impedance of the reference supply should follow the
recommendations on analog-source impedance to allow the charge to settle for 10-bit accuracy.
(2) The accuracy limits the minimum positive external reference voltage. Lower reference voltage levels may be applied with reduced
accuracy requirements.
(3) Under this condition, the external reference is internally buffered. The reference buffer is active and requires the reference buffer supply
current I
(4) The accuracy limits the maximum negative external reference voltage. Higher reference voltage levels may be applied with reduced
. The current consumption can be limited to the sample and conversion period with REBURST = 1.
REFB
accuracy requirements.
(5) The accuracy limits the minimum external differential reference voltage. Lower differential reference voltage levels may be applied with
ADC10ON = 1, INCHx = 0Ah,
Error of conversion result ≤ 1 LSB
(2)
ADC10ON = 1, INCHx = 0Bh,
V
≈ 0.5 × V
MID
(5)
ADC10ON = 1, INCHx = 0Bh,
Error of conversion result ≤ 1 LSB
CC
is consumed if (ADC10ON = 1 and REFON = 1) or (ADC10ON = 1 and INCH = 0Ah and sample signal is
SENSOR
is included in I
. When REFON = 0, I
REF+
applies during conversion of the temperature sensor
SENSOR
CC
3 V3.55mV/°C
3 V30µs
3 V1.5V
3 V1220ns
(2) The following formula can be used to calculate the temperature sensor output voltage:
V
Sensor,typ
V
Sensor,typ
(3) The typical equivalent impedance of the sensor is 51 kΩ. The sample time required includes the sensor-on time t
(4) No additional current is needed. The V
(5) The on-time t
= TC
= TC
(273 + T [°C] ) + V
Sensor
T [°C] + V
Sensor
is included in the sampling time t
VMID(on)
Sensor(TA
Offset,sensor
= 0°C) [mV]
MID
[mV] or
is used during sampling.
VMID(sample)
; no additional on time is needed.
MINTYPMAXUNIT
(4)
µA
SENSOR(on)
.
5.35 Flash Memory
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETER
V
CC(PGM/ERASE)
f
FTG
I
PGM
I
ERASE
t
CPT
t
CMErase
Program and erase supply voltage2.23.6V
Flash timing generator frequency257476kHz
Supply current from VCCduring program2.2 V, 3.6 V15mA
Supply current from VCCduring erase2.2 V, 3.6 V17mA
Cumulative program time
(1)
Cumulative mass erase time2.2 V, 3.6 V20ms
Program and erase endurance10
t
Retention
t
Word
t
Block, 0
t
Block, 1-63
t
Block, End
t
Mass Erase
t
Seg Erase
Data retention durationTJ= 25°C100years
Word or byte program timeSee
Block program time for first byte or wordSee
Block program time for each additional byte or
word
Block program end-sequence wait timeSee
Mass erase timeSee
Segment erase timeSee
(1) Do not exceed the cumulative program time when writing to a 64-byte flash block. This parameter applies to all programming methods:
individual word or byte write and block write modes.
(2) These values are hardwired into the state machine of the flash controller (t
)
Spy-Bi-Wire return to normal operation time2.2 V15100µs
TCK input frequency
(2)
Internal pulldown resistance on TEST2.2 V256090kΩ
(1) Tools that access the Spy-Bi-Wire interface must wait for the maximum t
applying the first SBWCLK clock edge.
(2) f
5.38 JTAG Fuse
may be restricted to meet the timing requirements of the module selected.
TCK
(1)
time after pulling the TEST/SBWCLK pin high before
SBW,En
CC
2.2 V1µs
2.2 V05MHz
over recommended ranges of supply voltage and operating free-air temperature (unless otherwise noted)
PARAMETERTEST CONDITIONSMINMAXUNIT
V
CC(FB)
V
FB
I
FB
t
FB
Supply voltage during fuse-blow conditionTA= 25°C2.5V
Voltage level on TEST for fuse blow67V
Supply current into TEST during fuse blow100mA
Time to blow fuse1ms
MINTYPMAXUNIT
(1) After the fuse is blown, no further access to the JTAG/Test, Spy-Bi-Wire, and emulation features is possible, and JTAG is switched to
The MSP430 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-toregister 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 6-1).
Peripherals are connected to the CPU using data, address, and control buses, and can be handled with all
instructions.
The instruction set consists of the original 51 instructions with three formats and seven address modes
and additional instructions for the expanded address range. Each instruction can operate on word and
byte data.
The instruction set consists of 51 instructions with three formats and seven address modes. Each
instruction can operate on word and byte data. Table 6-1 lists examples of the three types of instruction
formats. Table 6-2 lists the address modes.
Table 6-1. Instruction Word Formats
INSTRUCTION FORMATEXAMPLEOPERATION
Dual operands, source-destinationADD R4,R5R4 + R5 → R5
Single operands, destination onlyCALL R8PC → (TOS), R8 → PC
Relative jump, unconditional or conditionalJNEJump-on-equal bit = 0
These microcontrollers have one active mode and five software-selectable low-power modes of operation.
An interrupt event can wake the device from any of the low-power modes, service the request, and restore
back to the low-power mode on return from the interrupt program.
Software can configure the following operating modes:
•Active mode (AM)
– All clocks are active
•Low-power mode 0 (LPM0)
– CPU is disabled
– ACLK and SMCLK remain active, MCLK is disabled
•Low-power mode 1 (LPM1)
– CPU is disabled
– ACLK and SMCLK remain active, MCLK is disabled
– DC generator of the DCO is disabled if DCO not used in active mode
•Low-power mode 2 (LPM2)
– CPU is disabled
– MCLK and SMCLK are disabled
– DC generator of the DCO remains enabled
– ACLK remains active
•Low-power mode 3 (LPM3)
– CPU is disabled
– MCLK and SMCLK are disabled
– DC generator of the DCO is disabled
– ACLK remains active
•Low-power mode 4 (LPM4)
– CPU is disabled
– ACLK is disabled
– MCLK and SMCLK are disabled
– DC generator of the DCO is disabled
– Crystal oscillator is stopped
0FFE8h20
I/O Port P2 (up to eight flags)P2IFG.0 to P2IFG.7
I/O Port P1 (up to eight flags)P1IFG.0 to P1IFG.7
(2)(4)
(2)(4)
maskable0FFE6h19
maskable0FFE4h18
0FFE2h17
0FFE0h16
(7)
See
See
(8)
0FFDEh15
0FFDEh to
0FFC0h
14 to 0, lowest
(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 ranges.
(2) Multiple source flags
(3) (non)-maskable: the individual interrupt-enable bit can disable an interrupt event, but the general interrupt enable cannot.
(4) Interrupt flags are in the module.
(5) In SPI mode: UCB0RXIFG. In I2C mode: UCALIFG, UCNACKIFG, ICSTTIFG, UCSTPIFG.
(6) In UART or SPI mode: UCB0TXIFG. In I2C mode: UCB0RXIFG, UCB0TXIFG.
(7) This location is used as bootloader security key (BSLSKEY). A 0xAA55 at this location disables the BSL completely. A zero (0h)
disables the erasure of the flash if an invalid password is supplied.
(8) The interrupt vectors at addresses 0FFDEh to 0FFC0h are not used in this device and can be used for regular program code if
Most interrupt and module enable bits are collected into the lowest address space. Special function
register bits not allocated to a functional purpose are not physically present in the device. Simple software
access is provided with this arrangement.
Legend
rwBit can be read and written.
rw-0, rw-1Bit can be read and written. It is reset or set by PUC.
rw-(0), rw-(1)Bit can be read and written. It is reset or set by POR.
Figure 6-4. Interrupt Flag Register 1 (Address = 02h)
76543210
NMIIFGRSTIFGPORIFGOFIFGWDTIFG
rw-0rw-(0)rw-(1)rw-1rw-(0)
Table 6-6. Interrupt Flag Register 1 Description
BitFieldTypeResetDescription
4NMIIFGRW0hSet by the RST/NMI pin
3RSTIFGRW0h
2PORIFGRW1hPower-On Reset interrupt flag. Set on VCCpower-up.
1OFIFGRW1hFlag set on oscillator fault.
0WDTIFGRW0h
External reset interrupt flag. Set on a reset condition at RST/NMI pin in reset
mode. Reset on VCCpower-up.
Set on watchdog timer overflow (in watchdog mode) or security key violation.
Reset on VCCpower-on or a reset condition at the RST/NMI pin in reset mode.
Figure 6-5. Interrupt Flag Register 2 (Address = 03h)
76543210
UCB0TXIFGUCB0RXIFGUCA0TXIFGUCA0RXIFG
rw-1rw-0rw-1rw-0
Table 6-7. Interrupt Flag Register 2 Description
BitFieldTypeResetDescription
3UCB0TXIFGRW0hUSCI_B0 transmit interrupt flag
2UCB0RXIFGRW1hUSCI_B0 receive interrupt flag
1UCA0TXIFGRW1hUSCI_A0 transmit interrupt flag
0UCA0RXIFGRW0hUSCI_A0 receive interrupt flag
6.6Memory Organization
Table 6-8 summarizes the memory map.
Table 6-8. Memory Organization
MSP430G2233
MSP430G2203
MemorySize2KB4KB8KB16KB
Main: interrupt vectorFlashFFFFh to FFC0hFFFFh to FFC0hFFFFh to FFC0hFFFFh to FFC0h
Main: code memoryFlashFFFFh to F800hFFFFh to F000hFFFFh to E000hFFFFh to C000h
Information memorySize256 byte256 byte256 byte256 byte
Flash010FFh to 01000h010FFh to 01000h010FFh to 01000h010FFh to 01000h
RAMSize256 byte256 byte512 byte512 byte
02FFh to 0200h02FFh to 0200h03FFh to 0200h03FFh to 0200h
Peripherals16-bit01FFh to 0100h01FFh to 0100h01FFh to 0100h01FFh to 0100h
8-bit0FFh to 010h0FFh to 010h0FFh to 010h0FFh to 010h
8-bit SFR0Fh to 00h0Fh to 00h0Fh to 00h0Fh to 00h
MSP430G2333
MSP430G2303
MSP430G2433
MSP430G2403
MSP430G2533
6.7Bootloader (BSL)
The MSP430 BSL enables users to program the flash memory or RAM using a UART serial interface.
Access to the MSP430 memory through the BSL is protected by user-defined password. For complete
description of the features of the BSL and its implementation, see the MSP430 Programming With theBootloader User's Guide (SLAU319). Table 6-9 lists the BSL function pins.
The flash memory can be programmed through the Spy-Bi-Wire/JTAG port or in-system by the CPU. The
CPU can perform single-byte and single-word writes to the flash memory. Features of the flash memory
include:
•Flash memory has n segments of main memory and four segments of information memory (A to D) of
64 bytes each. Each segment in main memory is 512 bytes in size.
•Segments 0 to n may be erased in one step, or each segment may be individually erased.
•Segments A to D can be erased individually or as a group with segments 0 to n. Segments A to D are
also called information memory.
•Segment A contains calibration data. After reset segment A is protected against programming and
erasing. It can be unlocked but care should be taken not to erase this segment if the device-specific
calibration data is required.
6.9Peripherals
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 MSP430x2xx Family User'sGuide (SLAU144).
6.9.1Oscillator and System Clock
www.ti.com
The clock system is supported by the basic clock module that includes support for a 32768-Hz watch
crystal oscillator, an internal very-low-power low-frequency oscillator and an internal digitally controlled
oscillator (DCO). The basic clock module is designed to meet the requirements of both low system cost
and low power consumption. The internal DCO provides a fast turnon clock source and stabilizes in less
than 1 µs. The basic clock module provides the following clock signals:
•Auxiliary clock (ACLK), sourced either from a 32768-Hz watch crystal or the internal LF oscillator.
•Main clock (MCLK), the system clock used by the CPU.
•Sub-Main clock (SMCLK), the subsystem clock used by the peripheral modules.
The DCO settings to calibrate the DCO output frequency are stored in the information memory segment A.
The primary function of the watchdog timer (WDT+) module is to perform a controlled system restart after
a software problem occurs. If the selected time interval expires, a system reset is generated. If the
watchdog function is not needed in an application, the module can be disabled or configured as an interval
timer and can generate interrupts at selected time intervals.
6.9.6Timer_A3 (TA0, TA1)
Timer0_A3 and Timer1_A3 are 16-bit timers/counters with three capture/compare registers. Timer_A3 can
support multiple capture/compares, PWM outputs, and interval timing (see Table 6-12 and Table 6-13).
Timer_A3 also has extensive interrupt capabilities. Interrupts may be generated from the counter on
overflow conditions and from each of the capture/compare registers.
6.9.7Universal Serial Communications Interface (USCI)
The USCI module is used for serial data communication. The USCI module supports synchronous
communication protocols such as SPI (3-pin or 4-pin) and I2C, and asynchronous communication
protocols such as UART, enhanced UART with automatic baud rate detection (LIN), and IrDA. Not all
packages support the USCI functionality.
USCI_A0 provides support for SPI (3-pin or 4-pin), UART, enhanced UART, and IrDA.
USCI_B0 provides support for SPI (3-pin or 4-pin) and I2C.
6.9.8ADC10 (MSP430G2x33 Only)
The ADC10 module supports fast 10-bit analog-to-digital conversions. The module implements a 10-bit
SAR core, sample select control, reference generator, and data transfer controller (DTC) for automatic
conversion result handling, allowing ADC samples to be converted and stored without any CPU
intervention.
USCI_B0 bit rate control 1UCB0BR106Bh
USCI_B0 bit rate control 0UCB0BR006Ah
USCI_B0 control 1UCB0CTL1069h
USCI_B0 control 0UCB0CTL0068h
USCI_B0 I2C slave addressUCB0SA011Ah
USCI_B0 I2C own addressUCB0OA0118h
Table 6-15. Peripherals With Byte Access
Submit Documentation Feedback
MSP430G2203
www.ti.com
MODULEREGISTER DESCRIPTIONACRONYMOFFSET
USCI_A0
ADC10 (MSP430G2x33 only)
Basic Clock System+
Port P3
(28-pin PW and 32-pin RHB only)
Port P2
Port P1
Special Function
MSP430G2533,MSP430G2433,MSP430G2333,MSP430G2233
MSP430G2403, MSP430G2303, MSP430G2203
SLAS734G –APRIL 2011–REVISED APRIL 2016
Table 6-15. Peripherals With Byte Access (continued)
USCI_A0 transmit bufferUCA0TXBUF067h
USCI_A0 receive bufferUCA0RXBUF066h
USCI_A0 statusUCA0STAT065h
USCI_A0 modulation controlUCA0MCTL064h
USCI_A0 baud rate control 1UCA0BR1063h
USCI_A0 baud rate control 0UCA0BR0062h
USCI_A0 control 1UCA0CTL1061h
USCI_A0 control 0UCA0CTL0060h
USCI_A0 IrDA receive controlUCA0IRRCTL05Fh
USCI_A0 IrDA transmit controlUCA0IRTCTL05Eh
USCI_A0 auto baud rate controlUCA0ABCTL05Dh
ADC analog enable 0ADC10AE004Ah
ADC analog enable 1ADC10AE104Bh
ADC data transfer control register 1ADC10DTC1049h
ADC data transfer control register 0ADC10DTC0048h
Basic clock system control 3BCSCTL3053h
Basic clock system control 2BCSCTL2058h
Basic clock system control 1BCSCTL1057h
DCO clock frequency controlDCOCTL056h
Port P3 selection 2. pinP3SEL2043h
Port P3 resistor enableP3REN010h
Port P3 selectionP3SEL01Bh
Port P3 directionP3DIR01Ah
Port P3 outputP3OUT019h
Port P3 inputP3IN018h
Port P2 selection 2P2SEL2042h
Port P2 resistor enableP2REN02Fh
Port P2 selectionP2SEL02Eh
Port P2 interrupt enableP2IE02Dh
Port P2 interrupt edge selectP2IES02Ch
Port P2 interrupt flagP2IFG02Bh
Port P2 directionP2DIR02Ah
Port P2 outputP2OUT029h
Port P2 inputP2IN028h
Port P1 selection 2P1SEL2041h
Port P1 resistor enableP1REN027h
Port P1 selectionP1SEL026h
Port P1 interrupt enableP1IE025h
Port P1 interrupt edge selectP1IES024h
Port P1 interrupt flagP1IFG023h
Port P1 directionP1DIR022h
Port P1 outputP1OUT021h
Port P1 inputP1IN020h
SFR interrupt flag 2IFG2003h
SFR interrupt flag 1IFG1002h
SFR interrupt enable 2IE2001h
SFR interrupt enable 1IE1000h
(1) X = don't care
(2) MSP430G2x33 devices only
(3) The pin direction is controlled by the USCI module.
(4) UCA0CLK function takes precedence over UCB0STE function. If the pin is required as UCA0CLK input or output, USCI_B0 is forced to
(1) X = don't care
(2) MSP430G2x33 devices only
(3) The pin direction is controlled by the USCI module.
(4) UCB0CLK function takes precedence over UCA0STE function. If the pin is required as UCB0CLK input or output, USCI_A0 is forced to
For more information on the MSP430™ family of devices and the tools and libraries that are available to
help with your development, visit the Getting Started page.
7.2Device Nomenclature
To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all
MSP430 MCU devices and support tools. Each MSP430 MCU commercial family member has one of
three prefixes: MSP, PMS, or XMS (for example, MSP430F5438A). TI recommends two of three possible
prefix designators for its support tools: MSP and MSPX. These prefixes represent evolutionary stages of
product development from engineering prototypes (with XMS for devices and MSPX for tools) through fully
qualified production devices and tools (with MSP for devices and MSP for tools).
Device development evolutionary flow:
XMS – Experimental device that is not necessarily representative of the electrical specifications for the
final device
PMS – Final silicon die that conforms to the electrical specifications for the device but has not completed
quality and reliability verification
www.ti.com
MSP – Fully qualified production device
Support tool development evolutionary flow:
MSPX – Development-support product that has not yet completed TI's internal qualification testing.
MSP – Fully-qualified development-support product
XMS and PMS devices and MSPX development-support tools are shipped against the following
disclaimer:
"Developmental product is intended for internal evaluation purposes."
MSP devices and MSP development-support tools have been characterized fully, and the quality and
reliability of the device have been demonstrated fully. TI's standard warranty applies.
Predictions show that prototype devices (XMS and PMS) have a greater failure rate than the standard
production devices. TI recommends that these devices not be used in any production system because
their expected end-use failure rate still is undefined. Only qualified production devices are to be used.
TI device nomenclature also includes a suffix with the device family name. This suffix indicates the
package type (for example, PZP) and temperature range (for example, T). Figure 7-1 provides a legend
for reading the complete device name for any family member.
C = ROM
F = Flash
FR = FRAM
G = Flash or FRAM (Value Line)
L = No Nonvolatile Memory
Specialized Application
AFE = Analog Front End
BT = Preprogrammed with
BQ = Contactless Power
CG = ROM Medical
FE = Flash Energy Meter
FG = Flash Medical
FW = Flash Electronic Flow Meter
Bluetooth
Series1 Series = Up to 8 MHz
2 Series = Up to 16 MHz
3 Series = Legacy
4 Series = Up to 16 MHz with LCD
5 Series = Up to 25 MHz
6 Series = Up to 25 MHz with LCD
0 = Low-Voltage Series
Feature SetVarious Levels of Integration Within a Series
Optional: A = RevisionN/A
Optional: Temperature Range S = 0°C to 50 C
C to 70 C
I = 40 C to 85 C
T = –40 C to 105 C
°
C = 0°°
– °°
°°
Packaging
http://www.ti.com/packaging
Optional: Tape and ReelT = Small Reel
R = Large Reel
No Markings = Tube or Tray
Optional: Additional Features -EP = Enhanced Product ( 40°C to 105°C)
All MSP microcontrollers are supported by a wide variety of software and hardware development tools.
Tools are available from TI and various third parties. See them all at MSP Tools.
Table 7-1 lists the debug features of these devices. See the Code Composer Studio for MSP430 User's
Guide (SLAU157) for details on the available features.
Table 7-1. Hardware Features
www.ti.com
MSP430
ARCHITECTURE
MSP430YesYes2NoYesNoNoNo
4-WIRE
JTAG
2-WIRE
JTAG
BREAK-
POINTS
(N)
RANGE
BREAK-
POINTS
CLOCK
CONTROL
STATE
SEQUENCER
TRACE
BUFFER
DEBUGGING
Design Kits and Evaluation Modules
28-Pin Target Development Board and MSP-FET USB Programmer Bundle for MSP430F2x and
MSP430G2x MCUs The MSP-FET430U28A kit includes all of the hardware and software
required to quickly begin application development on the MSP430 MCU. This kit includes a
ZIF socket target board (MSP-TS430PW28A) that accepts some MSP430 devices in 20- or
28-pin TSSOP packages (TI Package Code: PW). It is also bundled with a USB flash
emulation tool (MSP-FET) that interfaces the target board to a PC, allowing developers to
program and debug their MSP430 devices through in-system emulation through the JTAG
interface or the pin-saving Spy Bi-Wire (2-wire JTAG) protocol.
MSP430 LaunchPad™ Value Line Development Kit The MSP-EXP430G2 LaunchPad Development Kit
is an easy-to-use microcontroller development board for the low-power and low-cost
MSP430G2x MCUs. It has on-board emulation for programming and debugging and features
a 14- or 20-pin DIP socket, on-board buttons and LEDs and BoosterPack Plug-in Module
pinouts that support a wide range of modules for added functionality such as wireless,
displays, and more.
(430BOOST-SENSE1) is a plug-in module for MCU LaunchPad Development Kits. This
BoosterPack also includes a preprogrammed MSP430G2452IN20 Value Line device for the
MSP-EXP430G2 LaunchPad. Developers can use this BoosterPack as a solution for adding
capacitive touch differentiation in many applications such as consumer electronics, point of
sales machines, and other devices with a physical button.
LPMx.5
SUPPORT
Software
MSP430G2x53, MSP430G2x33, MSP430G2x13, MSP430G2x03 Code Examples C Code examples are
available for every MSP device that configures each of the integrated peripherals for various
application needs.
MSPWare™ Software MSPWare software is a collection of code examples, data sheets, and other
design resources for all MSP devices delivered in a convenient package. In addition to
providing a complete collection of existing MSP design resources, MSPWare software also
includes a high-level API called MSP Driver Library. This library makes it easy to program
MSP hardware. MSPWare software is available as a component of CCS or as a stand-alone
package.
MSP Driver Library Driver Library's abstracted API keeps you above the bits and bytes of the MSP430
hardware by providing easy-to-use function calls. Thorough documentation is delivered
through a helpful API Guide, which includes details on each function call and the recognized
parameters. Developers can use Driver Library functions to write complete projects with
minimal overhead.
Capacitive Touch Software Library Free C libraries for enabling capacitive touch capabilities on
MSP EnergyTrace™ Technology EnergyTrace technology for MSP430 microcontrollers is an energy-
ULP (Ultra-Low Power) Advisor ULP Advisor™ software is a tool for guiding developers to write more
IEC60730 Software Package The IEC60730 MSP430 software package was developed to be useful in
MSP430G2533,MSP430G2433,MSP430G2333,MSP430G2233
MSP430G2403, MSP430G2303, MSP430G2203
SLAS734G –APRIL 2011–REVISED APRIL 2016
MSP430 MCUs and MSP432 MCUs. The MSP430 MCU version of the library features
several capacitive touch implementations including the RO and RC method.
based code analysis tool that measures and displays the application’s energy profile and
helps to optimize it for ultra-low-power consumption.
efficient code to fully utilize the unique ultra-low power features of MSP and MSP432
microcontrollers. Aimed at both experienced and new microcontroller developers, ULP
Advisor checks your code against a thorough ULP checklist to squeeze every last nano amp
out of your application. At build time, ULP Advisor will provide notifications and remarks to
highlight areas of your code that can be further optimized for lower power.
assisting customers in complying with IEC 60730-1:2010 (Automatic Electrical Controls for
Household and Similar Use – Part 1: General Requirements) for up to Class B products,
which includes home appliances, arc detectors, power converters, power tools, e-bikes, and
many others. The IEC60730 MSP430 software package can be embedded in customer
applications running on MSP430s to help simplify the customer’s certification efforts of
functional safety-compliant consumer devices to IEC 60730-1:2010 Class B.
Fixed-Point Math Library for MSP The MSP IQmath and Qmath Libraries are a collection of highly
optimized and high-precision mathematical functions for C programmers to seamlessly port a
floating-point algorithm into fixed-point code on MSP430 and MSP432 devices. These
routines are typically used in computationally intensive real-time applications where optimal
execution speed, high accuracy, and ultra-low energy are critical. By using the IQmath and
Qmath libraries, it is possible to achieve execution speeds considerably faster and energy
consumption considerably lower than equivalent code written using floating-point math.
Development Tools
Code Composer Studio™ Integrated Development Environment for MSP MicrocontrollersCode
Composer Studio is an integrated development environment (IDE) that supports all MSP
microcontroller devices. Code Composer Studio comprises a suite of embedded software
utilities used to develop and debug embedded applications. It includes an optimizing C/C++
compiler, source code editor, project build environment, debugger, profiler, and many other
features. The intuitive IDE provides a single user interface taking you through each step of
the application development flow. Familiar utilities and interfaces allow users to get started
faster than ever before. Code Composer Studio combines the advantages of the Eclipse
software framework with advanced embedded debug capabilities from TI resulting in a
compelling feature-rich development environment for embedded developers. When using
CCS with an MSP MCU, a unique and powerful set of plugins and embedded software
utilities are made available to fully leverage the MSP microcontroller.
serial communication interfaces, and more, by interacting with buttons, drop-down menus,
and text fields. Navigate through the MSP430 MCUs highly integrated peripheral set with
ease.
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) files
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 allows users to quickly begin application development on MSP
low-power microcontrollers (MCU). Creating MCU software usually requires downloading the
resulting binary program to the MSP device for validation and debugging. The MSP-FET
provides a debug communication pathway between a host computer and the target MSP.
Furthermore, the MSP-FET also provides a Backchannel UART connection between the
computer's USB interface and the MSP UART. This affords the MSP programmer a
convenient method for communicating serially between the MSP and a terminal running on
the computer. It also supports loading programs (often called firmware) to the MSP target
using the BSL (bootloader) through the UART and I2C communication protocols.
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 allow
the user to fully customize the process. The MSP Gang Programmer is provided with an
expansion board, called the Gang Splitter, that implements the interconnections between the
MSP Gang Programmer and multiple target devices. Eight cables are provided that connect
the expansion board to eight target devices (through JTAG or Spy-Bi-Wire connectors). The
programming can be done with a PC or as a stand-alone device. A PC-side graphical user
interface is also available and is DLL-based.
www.ti.com
7.4Documentation Support
The following documents describe the MSP430G2x33 and MSP430G2x03 devices. 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, MSP430G2533). 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
MSP430G2533 Device Erratasheet Describes the known exceptions to the functional specifications for
the MSP430G2533 device.
MSP430G2433 Device Erratasheet Describes the known exceptions to the functional specifications for
the MSP430G2433 device.
MSP430G2333 Device Erratasheet Describes the known exceptions to the functional specifications for
the MSP430G2333 device.
MSP430G2233 Device Erratasheet Describes the known exceptions to the functional specifications for
the MSP430G2233 device.
MSP430G2403 Device Erratasheet Describes the known exceptions to the functional specifications for
the MSP430G2403 device.
MSP430G2303 Device Erratasheet Describes the known exceptions to the functional specifications for
the MSP430G2303 device.
MSP430G2203 Device Erratasheet Describes the known exceptions to the functional specifications for
MSP430x2xx Family User's Guide Detailed information on the modules and peripherals available in this
Code Composer Studio v6.1 for MSP430 User's Guide This manual describes the use of TI Code
IAR Embedded Workbench Version 3+ for MSP430 User's Guide This manual describes the use of
MSP430 Programming With the Bootloader (BSL) The MSP430 bootloader (BSL, formerly known as
MSP430 Programming Via the JTAG Interface This document describes the functions that are required
MSP430G2533,MSP430G2433,MSP430G2333,MSP430G2233
MSP430G2403, MSP430G2303, MSP430G2203
SLAS734G –APRIL 2011–REVISED APRIL 2016
device family.
Composer Studio IDE v6.1 (CCS v6.1) with the MSP430 ultra-low-power microcontrollers.
This document applies only for the Windows version of the Code Composer Studio IDE. The
Linux version is similar and, therefore, is not described separately.
IAR Embedded Workbench (EW430) with the MSP430 ultra-low-power microcontrollers.
the bootstrap loader) allows users to 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.
to erase, program, and verify the memory module of the MSP430 flash-based and FRAMbased 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 2wire 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 ultralow-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 right 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 ultralow-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 costeffective and ultra-low-power components. This application report addresses three different
ESD topics to help board designers and OEMs understand and design robust system-level
designs: (1) Component-level ESD testing and system-level ESD testing, their differences
and why component-level ESD rating does not ensure system-level robustness. (2) General
design guidelines for system-level ESD protection at different levels including enclosures,
cables, PCB layout, and on-board ESD protection devices. (3) Introduction to System
Efficient ESD Design (SEED), a co-design methodology of on-board and on-chip ESD
protection to achieve system-level ESD robustness, with example simulations and test
results. A few real-world system-level ESD protection design examples and their results are
also discussed.
General Oversampling of MSP ADCs for Higher ResolutionMultipleMSPultra-low-power
microcontrollers offer analog-to-digital converters (ADCs) to convert physical quantities into
digital numbers, a function that is widely used across numerous applications. There are
times, however, when a customer design demands a higher resolution than the ADC of the
selected MSP can offer. This application report, which is based on the previously-published
Oversampling the ADC12 for Higher Resolution (SLAA323), therefore describes how an
oversampling method can be incorporated to increase ADC resolution past the currently
available number of bits.
Capacitive Touch Hardware Design Guide Capacitive touch detection is sometimes considered more
art than science. This often results in multiple design iterations before the optimum
performance is achieved. There are, however, good design practices for circuit layout and
principles of materials that need to be understood to keep the number of iterations to a
minimum. This design guide describes a process for creating and designing capacitive touch
solutions, starting with the schematic, working through the mechanicals, and finally designing
the electrodes for the application.
Capacitive Touch Sensing, MSP430 Slider and Wheel Tuning Guide This application report provides
guidelines on how to tune capacitive touch sliders and wheels running on the MSP430™
microcontrollers. It identifies the hardware and software parameters as well as explains the
steps used in tuning sliders and wheels. The slider and wheel tuning is based on the APIs
defined in the Capacitive Touch Sense Library (CAPSENSELIBRARY).
www.ti.com
Capacitive Touch Sensing, MSP430 Button Gate Time Optimization and Tuning GuideMSP430™
microcontroller based capacitive touch buttons can offer increased performance when
properly optimized and tuned for their specific application. Performance benefits that result
from button optimization can include, but are not limited to, decreased power consumption,
improved response time, and the ability to grow a design to include more buttons. This
application report provides the reader with a starting point for button design at the system
and software level.
7.5Related Links
Table 7-2 lists quick access links. Categories include technical documents, support and community
resources, tools and software, and quick access to sample or buy.
Table 7-2. Related Links
PARTSPRODUCT FOLDERSAMPLE & BUY
MSP430G2533Click hereClick hereClick hereClick hereClick here
MSP430G2433Click hereClick hereClick hereClick hereClick here
MSP430G2333Click hereClick hereClick hereClick hereClick here
MSP430G2233Click hereClick hereClick hereClick hereClick here
MSP430G2403Click hereClick hereClick hereClick hereClick here
MSP430G2303Click hereClick hereClick hereClick hereClick here
MSP430G2203Click hereClick hereClick hereClick hereClick here
The following links connect to TI community resources. Linked contents are 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.
TI E2E™ Community
TI's Engineer-to-Engineer (E2E) Community. Created to foster collaboration among engineers. At
e2e.ti.com, you can ask questions, share knowledge, explore ideas, and help solve problems with fellow
engineers.
TI Embedded Processors Wiki
Texas Instruments Embedded Processors Wiki. Established to help developers get started with embedded
processors from Texas Instruments and to foster innovation and growth of general knowledge about the
hardware and software surrounding these devices.
7.7Trademarks
MSP430, LaunchPad, BoosterPack, MSPWare, EnergyTrace, ULP Advisor, Code Composer Studio, E2E
are trademarks of Texas Instruments.
All other trademarks are the property of their respective owners.
7.8Electrostatic Discharge Caution
These devices have limited built-in ESD protection. The leads should be shorted together or the device placed in conductive foam
during storage or handling to prevent electrostatic damage to the MOS gates.
MSP430G2533,MSP430G2433,MSP430G2333,MSP430G2233
MSP430G2403, MSP430G2303, MSP430G2203
SLAS734G –APRIL 2011–REVISED APRIL 2016
7.9Glossary
TI Glossary This glossary lists and explains terms, acronyms, and definitions.
The following pages include mechanical, packaging, and orderable information. This information is the
most current data available for the designated devices. This data is subject to change without notice and
revision of this document. For browser-based versions of this data sheet, refer to the left-hand navigation.
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)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability
information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
PACKAGE OPTION ADDENDUM
www.ti.com
30-Apr-2015
Addendum-Page 4
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that
lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between
the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight
in homogeneous material)
(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/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish 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.
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.
OTHER QUALIFIED VERSIONS OF MSP430G2333 :
•
Automotive: MSP430G2333-Q1
NOTE: Qualified Version Definitions:
•
Automotive - Q100 devices qualified for high-reliability automotive applications targeting zero defects
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 thermal and mechanical performance.
33
SYMM
25
0.5
32X
0.3
www.ti.com
24
AA
SYMM
0.3
32X
0.2
0.1C A B
0.05C
4222893/A 04/2016
32X (0.6)
32
EXAMPLE BOARD LAYOUT
VQFN - 0.9 mm max heightRHB0032N
PLASTIC QUAD FLATPACK - NO LEAD
( 3.45)
SYMM
25
32X (0.25)
28X (0.5)
() TYP
0.2
(R)
0.05
TYP
VIA
1
33
8
9
(4.8)
(1.475)
16
24
(1.475)
SYMM
(4.8)
17
LAND PATTERN EXAMPLE
SCALE:18X
0.07 MAX
ALL AROUND
NON SOLDER MASK
DEFINED
(PREFERRED)
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.
METAL
SOLDER MASK
OPENING
SOLDER MASK DETAILS
www.ti.com
0.07 MIN
ALL AROUND
SOLDER MASK
OPENING
METAL UNDER
SOLDER MASK
SOLDER MASK
DEFINED
4222893/A 04/2016
(R) TYP0.05
32X (0.6)
32
EXAMPLE STENCIL DESIGN
VQFN - 0.9 mm max heightRHB0032N
PLASTIC QUAD FLATPACK - NO LEAD
4X ( 1.49)
(0.845)
25
32X (0.25)
28X (0.5)
METAL
TYP
1
33
8
9
SYMM
16
24
(0.845)
SYMM
(4.8)
17
75% PRINTED SOLDER COVERAGE BY AREA UNDER PACKAGE
NOTES: (continued)
6. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate
design recommendations.
(4.8)
SOLDER PASTE EXAMPLE
BASED ON 0.125 mm THICK STENCIL
EXPOSED PAD 33:
SCALE:20X
4222893/A 04/2016
www.ti.com
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
ProductsApplications
Audiowww.ti.com/audioAutomotive and Transportationwww.ti.com/automotive
Amplifiersamplifier.ti.comCommunications and Telecomwww.ti.com/communications
Data Convertersdataconverter.ti.comComputers and Peripheralswww.ti.com/computers
DLP® Productswww.dlp.comConsumer Electronicswww.ti.com/consumer-apps
DSPdsp.ti.comEnergy and Lightingwww.ti.com/energy
Clocks and Timerswww.ti.com/clocksIndustrialwww.ti.com/industrial
Interfaceinterface.ti.comMedicalwww.ti.com/medical
Logiclogic.ti.comSecuritywww.ti.com/security
Power Mgmtpower.ti.comSpace, Avionics and Defensewww.ti.com/space-avionics-defense
Microcontrollersmicrocontroller.ti.comVideo and Imagingwww.ti.com/video
RFIDwww.ti-rfid.com
OMAP Applications Processorswww.ti.com/omapTI E2E Communitye2e.ti.com
Wireless Connectivitywww.ti.com/wirelessconnectivity