DLow Supply-Voltage Range, 1.8 V to 3.6 V
DUltralow-Power Consumption:
Active Mode: 250 μA at 1 MHz, 2.2 V
Standby Mode: 1.1 μA
Off Mode (RAM Retention): 0.1 μA
DFive Power Saving Modes
DWake-Up From Standby Mode in Less
Than 6 μs
D16-Bit RISC Architecture,
125-ns Instruction Cycle Time
D16-Bit Sigma-Delta A/D Converter With
Internal Reference and Five Differential
Analog Inputs
D12-Bit D/A Converter
DTwo Configurable Operational Amplifiers
D16-Bit Timer_A With Three
Capture/Compare Registers
DBrownout Detector
DSerial Onboard Programming,
No External Programming Voltage Needed
Programmable Code Protection by Security
Fuse
DIntegrated LCD Driver With Contrast
Control for up to 56 Segments
DMSP430FG42x0 Family Members Include:
MSP430FG4250: 16KB+256B Flash Memory
256B RAM
MSP430FG4260: 24KB+256B Flash Memory
256B RAM
MSP430FG4270: 32KB+256B Flash Memory
256B RAM
DFor Complete Module Descriptions, See
MSP430x4xx Family User’s Guide,
Literature Number SLAU056
DFor Additional Device Information, See
MSP430FG42x0 Device Erratasheet,
Literature Number SLAZ038
DBootstrap Loader
description
The Texas Instruments MSP430 family of ultralow-power microcontrollers consist of several devices featuring
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 wake-up from low-power modes to active mode in less
than 6 μs.
The MSP430FG42x0 is a microcontroller configuration with a 16-bit timer, a high-performance 16-bit
sigma-delta A/D converter, 12-bit D/A converter, two configurable operational amplifiers, 32 I/O pins, and a liquid
crystal display driver.
Typical applications for this device include analog and digital sensor systems, digital motor control, remote
controls, thermostats, digital timers, hand-held meters, etc.
AVAILABLE OPTIONS
PACKAGED DEVICES
T
A
−40°C to 85°C
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. These devices have limited
built-in ESD protection.
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
TDO/TDI143I/OTest data output. TDO/TDI data output or programming data input terminal
TDI/TCLK244ITest data input / test clock input. The device protection fuse is connected to TDI/TCLK.
TMS345ITest mode select. TMS is used as an input port for device programming and test.
TCK446ITest clock. TCK is the clock input port for device programming and test.
RST/NMI547IGeneral-purpose digital I/O / reset input / nonmaskable interrupt input
DV
CC
DV
SS
XIN82IInput terminal of crystal oscillator XT1
XOUT93OOutput terminal of crystal oscillator XT1
AV
SS
AV
CC
V
REF
P6.0/A0+/OA0O137I/OGeneral-purpose digital I/O / analog input A0+ / OA0 output
P6.1/A0−/OA0FB148I/OGeneral-purpose digital I/O / analog input A0− / OA0 feedback input
P6.2/A1+/OA1O159I/OGeneral-purpose digital I/O / analog input A1+ / OA1 output
P6.3/A1−/OA1FB1610I/OGeneral-purpose digital I/O / analog input A1− / OA1 feedback input
P6.4/OA0I11711I/OGeneral-purpose digital I/O / OA0 input multiplexer on −terminal
P6.5/OA0I21812I/OGeneral-purpose digital I/O / OA0 input multiplexer on −terminal
P6.6/OA1I11913I/OGeneral-purpose digital I/O / OA1 input multiplexer on −terminal
P6.7/OA1I22014I/OGeneral-purpose digital I/O / OA1 input multiplexer on −terminal
P1.7/A2+2115I/OGeneral-purpose digital I/O / analog input A2+
P1.6/A2−/OA0I02216I/OGeneral-purpose digital I/O / analog input A2− / OA0 input multiplexer on +terminal
P1.5/TACLK/ACLK/A3+2317I/O
P1.4/A3−/OA1I0/DAC02418I/O
P1.3/TA2/A4+2519I/O
P1.2/TA1/A4−2620I/O
P1.1/TA0/MCLK2721I/O
P1.0/TA02822I/O
LCDREF/R132923External LCD reference voltage input / input port of third most positive analog LCD level (V4
LCDCAP/R233024Capacitor connection for LCD charge pump /
P5.1/S03125I/OGeneral-purpose digital I/O / LCD segment output 0
P5.0/S13226I/OGeneral-purpose digital I/O / LCD segment output 1
P5.5/S23327I/OGeneral-purpose digital I/O / LCD segment output 2
P5.6/S33428I/OGeneral-purpose digital I/O / LCD segment output 3
P5.7/S43529I/OGeneral-purpose digital I/O / LCD segment output 4
S53630OLCD segment output 5
P2.7/S63731I/OGeneral-purpose digital I/O / LCD segment output 6
P2.6/S73832I/OGeneral-purpose digital I/O / LCD segment output 7
RGZ
NO.
I/O
General-purpose digital I/O / Timer_A, clock signal TACLK input /
ACLK output (divided by 1, 2, 4, or 8) / analog input A3+
General-purpose digital I/O / analog input A3− /
OA1 input multiplexer on +terminal / DAC12 output
General-purpose digital I/O / Timer_A, Capture: CCI2A, compare: Out2 output /
analog input A4+
General-purpose digital I/O / Timer_A, Capture: CCI1A, compare: Out1 output /
analog input A4−
General-purpose digital I/O / Timer_A. Capture: CCI0B / MCLK output. Note: TA0 is only an
input on this pin / BSL Receive
P2.5/S83933I/OGeneral-purpose digital I/O / LCD segment output 8
P2.4/S94034I/OGeneral-purpose digital I/O / LCD segment output 9
P2.3/S104135I/OGeneral-purpose digital I/O / LCD segment output 10
P2.2/S114236I/OGeneral-purpose digital I/O / LCD segment output 11
P2.1/S12/SW1C4337I/OGeneral-purpose digital I/O / LCD segment output 12 / Low resistance switch to V
P2.0/S13/SW0C4438I/OGeneral-purpose digital I/O / LCD segment output 13 / Low resistance switch to V
COM04539OCommon output. COM0−COM3 are used for LCD backplanes.
P5.2/COM14640I/OGeneral-purpose digital I/O / common output. COM0−COM3 are used for LCD backplanes.
P5.3/COM24741I/OGeneral-purpose digital I/O / common output. COM0−COM3 are used for LCD backplanes.
P5.4/COM34842I/OGeneral-purpose digital I/O / common output. COM0−COM3 are used for LCD backplanes.
QFN PadNANoneNAQFN package pad connection to DVSS is recommended.
NO.
RGZ
NO.
I/O
DESCRIPTION
SS
SS
6
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
short-form description
CPU
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
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-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.
Peripherals are connected to the CPU using data,
address, and control buses, and can be handled
with all instructions.
instruction set
The instruction set consists of 51 instructions with
three formats and seven address modes. Each
instruction can operate on word and byte data.
Table 1 shows examples of the three types of
instruction formats. Table 2 lists the address
modes.
Program Counter
Stack Pointer
Status Register
Constant Generator
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
General-Purpose Register
PC/R0
SP/R1
SR/CG1/R2
CG2/R3
R4
R5
R6
R7
R8
R9
R10
R11
R12
R13
R14
R15
Table 1. Instruction Word Formats
Dual operands, source-destinatione.g., ADD R4,R5R4 + R5 −−−> R5
Single operands, destination onlye.g., CALL R8PC −−>(TOS), R8−−> PC
Relative jump, un/conditionale.g., JNEJump-on-equal bit = 0
The MSP430 has one active mode and five software selectable low-power modes of operation. An interrupt
event can wake up the device from any of the five low-power modes, service the request, and restore back to
the low-power mode on return from the interrupt program.
The following six operating modes can be configured by software:
DActive mode (AM)
−All clocks are active
DLow-power mode 0 (LPM0)
−CPU is disabled
ACLK and SMCLK remain active, MCLK is available to modules
FLL+ loop control remains active
DLow-power mode 1 (LPM1)
−CPU is disabled
ACLK and SMCLK remain active, MCLK is available to modules
FLL+ loop control is disabled
DLow-power mode 2 (LPM2)
−CPU is disabled
MCLK, FLL+ loop control, and DCOCLK are disabled
DCO’s dc-generator remains enabled
ACLK remains active
DLow-power mode 3 (LPM3)
−CPU is disabled
MCLK, FLL+ loop control, and DCOCLK are disabled
DCO’s dc-generator is disabled
ACLK remains active
DLow-power mode 4 (LPM4)
−CPU is disabled
ACLK is disabled
MCLK, FLL+ loop control, and DCOCLK are disabled
DCO’s dc-generator is disabled
Crystal oscillator is stopped
8
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
interrupt vector addresses
The interrupt vectors and the power-up starting address are located in the address range 0FFFFh to 0FFE0h.
The vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence.
Table 3. Interrupt Sources, Flags, and Vectors of MSP430FG42x0 Configuration
INTERRUPT SOURCEINTERRUPT FLAGSYSTEM INTERRUPT
Power-Up
External Reset
Watchdog
Flash Memory
PC Out-of-Range (see Note 4)
NMI
Oscillator Fault
Flash Memory Access Violation
SD16_A
Watchdog TimerWDTIFGMaskable0FFF4h10
Timer_A3TACCR0 CCIFG0 (see Note 2)Maskable0FFECh6
Timer_A3
I/O Port P1 (Eight Flags)P1IFG.0 to P1IFG.7 (see Notes 1 and 2)Maskable0FFE8h4
DAC12DAC12_0IFG
I/O Port P2 (Eight Flags)P2IFG.0 to P2IFG.7 (see Notes 1 and 2)Maskable0FFE2h1
Basic Timer1BTIFGMaskable0FFE0h0, lowest
NOTES: 1. Multiple source flags
2. Interrupt flags are located in the module.
3. (Non)maskable: the individual interrupt-enable bit can disable an interrupt event, but the general-interrupt enable cannot disable it.
4. A reset is generated if the CPU tries to fetch instructions from within the module register memory address range (0h−01FFh) or from
within unused address ranges (MSP430FG4270, MSP430FG4260: from 0300h to 0BFFh and from 01100h to 07FFFh,
MSP430FG4250: from 0300h to 0BFFh and from 01100h to 0BFFFh).
NMIIFG (see Notes 1 and 3)
OFIFG (see Notes 1 and 3)
ACCVIFG (see Notes 1 and 3)
SD16CCTLx SD16OVIFG,
TACCR1 CCIFG1 and TACCR2 CCIFG2,
TAIFG (see Notes 1 and 2)
WDTIFG
KEYV
(see Note 1)
SD16CCTLx SD16IFG
(see Notes 1 and 2)
(see Note 2)
Reset0FFFEh15, highest
(Non)maskable
(Non)maskable
(Non)maskable
Maskable0FFF8h12
Maskable0FFEAh5
Maskable0FFE6h3
WORD
ADDRESS
0FFFCh14
0FFFAh13
0FFF6h11
0FFF2h9
0FFF0h8
0FFEEh7
0FFE4h2
PRIORITY
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
9
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
special function registers (SFRs)
The MSP430 SFRs are located in the lowest address space and are organized as byte-mode registers. SFRs
should be accessed with byte instructions.
interrupt enable registers 1 and 2
Address
0hACCVIENMIIE
76540
rw–0
rw–0 rw–0 rw–0
321
WDTIE:Watchdog-timer interrupt enable. Inactive if watchdog mode is selected.
Active if watchdog timer is configured as a general-purpose timer.
OFIE:Oscillator-fault-interrupt enable
NMIIE:Nonmaskable-interrupt enable
ACCVIE:Flash access violation interrupt enable
Address
01h
76540321
BTIE
rw–0
BTIE:Basic timer interrupt enable
interrupt flag registers 1 and 2
Address
02hNMIIFG
76540
rw–0 rw–1 rw–(0)
WDTIFG:Set on watchdog timer overflow (in watchdog mode) or security key violation
Reset on V
power-on or a reset condition at the RST/NMI pin in reset mode
CC
OFIFG:Flag set on oscillator fault
NMIIFG:Set via RST
/NMI pin
321
OFIEWDTIE
OFIFGWDTIFG
Address
03h
76540321
BTIFG
rw–0
BTIFG:Basic timer flag
10
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
module enable registers 1 and 2
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Address
04h
Address
05h
Legend: rw:
rw–0,1:
rw–(0,1):
76540321
76540321
Bit Can Be Read and Written
Bit Can Be Read and Written. It Is Reset or Set by PUC.
Bit Can Be Read and Written. It Is Reset or Set by POR.
SFR Bit Not Present in Device
memory organization
MSP430FG4250MSP430FG4260MSP430FG4270
Memory
Main: interrupt vector
Main: code memory
Information memorySize
Boot memorySize
RAMSize256 Byte
Peripherals16-bit
Size
Flash
Flash
Flash
ROM
8-bit
8-bit SFR
16KB
0FFFFh − 0FFE0h
0FFFFh − 0C000h
256 Byte
010FFh − 01000h
1KB
0FFFh − 0C00h
02FFh − 0200h
01FFh − 0100h
0FFh − 010h
0Fh − 00h
24KB
0FFFFh − 0FFE0h
0FFFFh − 0A000h
256 Byte
010FFh − 01000h
1KB
0FFFh − 0C00h
256 Byte
02FFh − 0200h
01FFh − 0100h
0FFh − 010h
0Fh − 00h
32KB
0FFFFh − 0FFE0h
0FFFFh − 08000h
256 Byte
010FFh − 01000h
1KB
0FFFh − 0C00h
256 Byte
02FFh − 0200h
01FFh − 0100h
0FFh − 010h
0Fh − 00h
bootstrap loader (BSL)
The MSP430 BSL enables users to program the flash memory or RAM using a UART serial interface. Access
to the MSP430 memory via the BSL is protected by user-defined password. For complete description of the
features of the BSL and its implementation, see the application report Features of the MSP430 BootstrapLoader, literature number SLAA089.
BSL FunctionDL Package PinsRGZ Package Pins
Data Transmit28 - P1.022 - P1.0
Data Receive27 - P1.121 - P1.1
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
11
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
flash memory
The flash memory can be programmed via the JTAG port, the bootstrap loader, 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:
DFlash memory has n segments of main memory and two segments of information memory (A and B) of
128 bytes each. Each segment in main memory is 512 bytes in size.
DSegments 0 to n may be erased in one step, or each segment may be individually erased.
DSegments A and B can be erased individually, or as a group with segments 0 to n.
Segments A and B are also called information memory.
DNew devices may have some bytes programmed in the information memory (needed for test during
manufacturing). The user should perform an erase of the information memory prior to the first use.
16KB
24KB
32KB
0FFFFh
0FE00h
0FDFFh
0FC00h
0FBFFh
0FA00h
0F9FFh
0C400h
0C3FFh
0C200h
0C1FFh
0C000h
010FFh
01080h
0107Fh
01000h
0FFFFh
0FE00h
0FDFFh
0FC00h
0FBFFh
0FA00h
0F9FFh
0A400h
0A3FFh
0A200h
0A1FFh
0A000h
010FFh
01080h
0107Fh
01000h
0FFFFh
0FE00h
0FDFFh
0FC00h
0FBFFh
0FA00h
0F9FFh
08400h
083FFh
08200h
081FFh
08000h
010FFh
01080h
0107Fh
01000h
Segment 0
w/ Interrupt Vectors
Segment 1
Segment 2
Main
Memory
Segment n-1
Segment n
Segment A
Information
Memory
Segment B
12
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
peripherals
Peripherals are connected to the CPU through data, address, and control buses and can be handled using all
instructions. For complete module descriptions, refer to the MSP430x4xx Family User’s Guide, literature
number SLAU056.
oscillator and system clock
The clock system in the MSP430FG42x0 family of devices is supported by the FLL+ module, which includes
support for a 32768-Hz watch crystal oscillator, an internal digitally-controlled oscillator (DCO) and a
high-frequency crystal oscillator. The FLL+ clock module is designed to meet the requirements of both low
system cost and low-power consumption. The FLL+ features digital frequency locked loop (FLL) hardware that,
in conjunction with a digital modulator, stabilizes the DCO frequency to a programmable multiple of the watch
crystal frequency. The internal DCO provides a fast turn-on clock source and stabilizes in less than 6 μs. The
FLL+ module provides the following clock signals:
DAuxiliary clock (ACLK), sourced from a 32768-Hz watch crystal or a high-frequency crystal
DMain clock (MCLK), the system clock used by the CPU
DSub-Main clock (SMCLK), the sub-system clock used by the peripheral modules
DACLK/n, the buffered output of ACLK, ACLK/2, ACLK/4, or ACLK/8
brownout
The brownout circuit is implemented to provide the proper internal reset signal to the device during power-on
and power-off. The CPU begins code execution after the brownout circuit releases the device reset. However,
V
may not have ramped to V
CC
changed until V
reaches V
CC
CC(min)
at that time. The user must ensure the default FLL+ settings are not
CC(min)
.
digital I/O
There are four 8-bit I/O ports implemented—ports P1, P2, P5, and P6:
DAll individual I/O bits are independently programmable.
DAny combination of input, output, and interrupt conditions is possible.
DEdge-selectable interrupt input capability for all the eight bits of ports P1 and P2.
DRead/write access to port-control registers is supported by all instructions.
Basic Timer1
Basic Timer1 has two independent 8-bit timers that can be cascaded to form a 16-bit timer/counter. Both timers
can be read and written by software. Basic Timer1 can be used to generate periodic interrupts.
LCD driver with regulated charge pump
The LCD_A driver generates the segment and common signals required to drive an LCD display. The LCD_A
controller has dedicated data memory to hold segment drive information. Common and segment signals are
generated as defined by the mode. Static, 2−MUX, 3−MUX, and 4−MUX LCDs are supported by this peripheral.
The module can provide a LCD voltage independent of the supply voltage via an integrated charge pump.
Furthermore, it is possible to control the level of the LCD voltage and thus contrast in software.
watchdog timer
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 configured as an interval timer and can generate
interrupts at selected time intervals.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
13
MSP430FG42x0
Device Input
Module
Module
Module Output
Si
l
I
Block
Si
l
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Timer_A3
Timer_A3 is a 16-bit timer/counter with three capture/compare registers. Timer_A3 can support multiple
capture/compares, PWM outputs, and interval timing. 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.
The SD16_A module supports 16-bit analog-to-digital conversions. The module implements a 16-bit
sigma-delta core and reference generator. In addition to external analog inputs, an internal V
CC
temperature sensor are also available.
DAC12
The DAC12 module is a 12-bit, R-ladder, voltage output DAC. The DAC12 may be used in 8- or 12-bit mode.
sense and
14
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
Device Input
Module
Module
Module Output
Si
l
I
Block
Si
l
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
operational amplifier (OA)
The MSP430FG42x0 has two configurable low-current general-purpose operational amplifiers. Each OA input
and output terminal is software-selectable and offers a flexible choice of connections for various applications.
The OAs primarily support front-end analog signal conditioning prior to analog-to-digital conversion.
PERIPHERALS WITH WORD ACCESS
WatchdogWatchdog timer controlWDTCTL0120h
Timer_A3
_
Flash
DAC12
SD16_A
(see also
Peripherals With
Byte Access)
OA/GND Switches Switch control registerSWCTL0CFh
OA1Operational amplifier 1 control register 1
OA0Operational amplifier 0 control register 1
SD16_A
(see also:
Peripherals with
Word Access)
LCD_ALCD voltage control 1
Capture/compare register 2TACCR20176h
Capture/compare register 1TACCR10174h
Capture/compare register 0TACCR00172h
Timer_A registerTAR0170h
Capture/compare control 2TACCTL20166h
Capture/compare control 1TACCTL10164h
Capture/compare control 0TACCTL00162h
Timer_A controlTACTL0160h
Timer_A interrupt vectorTAIV012Eh
Flash control 3FCTL3012Ch
Flash control 2FCTL2012Ah
Flash control 1FCTL10128h
DAC12_0 dataDAC12_0DAT01C8h
DAC12_0 controlDAC12_0CTL01C0h
General control
Channel 0 control
Interrupt vector word register
Channel 0 conversion memory
PERIPHERALS WITH BYTE ACCESS
Operational amplifier 1 control register 0
Operational amplifier 0 control register 0
Channel 0 input control
Analog enable
LCD voltage control 0
LCD voltage port control 1
LCD voltage port control 0
LCD memory 20
:
LCD memory 16
LCD memory 15
:
LCD memory 1
LCD control and mode
FLL+ Control 1FLL_CTL1054h
FLL+ Control 0FLL_CTL0053h
System clock frequency controlSCFQCTL052h
System clock frequency integratorSCFI1051h
System clock frequency integratorSCFI0050h
BTCNT2
BT counter 1
BT control
Port P6 selectionP6SEL037h
Port P6 directionP6DIR036h
Port P6 outputP6OUT035h
Port P6 inputP6IN034h
Port P5 selectionP5SEL033h
Port P5 directionP5DIR032h
Port P5 outputP5OUT031h
Port P5 inputP5IN030h
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 selectionP1SEL026h
Port P1 interrupt enableP1IE025h
Port P1 interrupt-edge selectP1IES024h
Port P1 interrupt flagP1IFG023h
Port P1 directionP1DIR022h
Port P1 outputP1OUT021h
Port P1 inputP1IN020h
SFR module enable 2ME2005h
SFR module enable 1ME1004h
SFR interrupt flag 2IFG2003h
SFR interrupt flag 1IFG1002h
SFR interrupt enable 2IE2001h
SFR interrupt enable 1IE1000h
BTCNT1
BTCTL
047h
046h
040h
MSP430FG42x0
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
17
MSP430FG42x0
(seeNote2)
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
absolute maximum ratings over operating free-air temperature (unless otherwise noted)
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.
NOTE 1: All voltages referenced to V
applied to the TDI/TCLK pin when blowing the JTAG fuse.
The JTAG fuse-blow voltage, VFB, is allowed to exceed the absolute maximum rating. The voltage is
SS.
recommended operating conditions
MINNOMMAXUNIT
Supply voltage during program execution (see Note 1),
V
(AVCC = DVCC = VCC)
CC
Supply voltage during flash memory programming (see Note 1),
V
(AVCC = DVCC = VCC)
CC
Supply voltage, V
Operating free-air temperature, T
LFXT1 crystal frequency, f
(see Note 2)
Processor frequency (signal MCLK), f
NOTES: 1. It is recommended to power AVCC and DVCC from the same source. A maximum difference of 0.3 V between AVCC and DVCC can
2. In LF mode, the LFXT1 oscillator requires a watch crystal. In XT1 mode, LFXT1 accepts a ceramic resonator or a crystal.
(AVSS = DVSS = VSS)00V
SS
A
LF selected,
XTS_FLL=0
(LFXT1)
(System)
be tolerated during power up and operation.
XT1 selected,
XTS_FLL=1
XT1 selected,
XTS_FLL=1
Watch crystal32.768
Ceramic resonator4508000
Crystal10008000
VCC = 1.8 VDC4.15
VCC = 3.6 VDC8
1.83.6V
2.53.6V
−4085°C
kHz
MHz
18
f
(MHz)
System
8 MHz
4.15 MHz
Supply voltage range,
MSP430FG42x0, during
program execution
1.83.63
2.5
Supply Voltage − V
Supply voltage range, MSP430FG42x0,
during flash memory programming
Figure 1. Frequency vs Supply Voltage, Typical Characteristic
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
f
(MCLK)
f
(SMCLK)
MHz
Low power mode (LPM0)
f
(MCLK)
f
(SMCLK)
MHz
Low-power mode (LPM3)
f
(MCLK)
f
(SMCLK)
MHz,
,
LCD_A enabled, LCDCPEN = 0
(,
LCD(ACLK)
),
Low-power mode (LPM3)
f
(MCLK)
f
(SMCLK)
MHz,
V
CC
2.2 V
,
LCD_A enabled, LCDCPEN = 0
(,
LCD(ACLK)
),
V
CC
V
L
(LPM4)
f
(MCLK)
MHz, f
(SMCLK)
MHz
(ACLK)
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted)
supply current into AVCC + DVCC excluding external current
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
Active mode (see Note 1),
I
(AM)
f
(ACLK)
= f
=
= 32,768 Hz
= 1 MHz,
= 1
f
XTS=0, SELM=(0,1)
I
(LPM0)
Low-power mode (LPM0)
(see Note 1 and Note 4)
Low-power mode (LPM2),
I
(LPM2)
= f
=
f
= 32,768 Hz, SCG0 = 0
(ACLK)
= 0 MHz,
= 0
f
(see Note 2 and Note 4)
-
f
I
(LPM3)
= f
(MCLK)
f
= 32,768 Hz, SCG0 = 1
(ACLK)
Basic Timer1 enabled, ACLK selected
LCD A enabled
(static mode, f
(SMCLK)
LCDCPEN = 0
LCD
= 0 MHz,
0
= f
(ACLK)
(see Note 2, Note 3, and Note 4)
-
f
I
(LPM3)
= f
(MCLK)
f
= 32,768 Hz, SCG0 = 1
(ACLK)
Basic Timer1 enabled, ACLK selected
LCD A enabled
(4-mux mode, f
(SMCLK)
LCDCPEN = 0
LCD
= 0 MHz,
0
= f
(ACLK)
(see Note 2, Note 3, and Note 4)
ow-power mode
f
= 0 MHz, f
I
(LPM4)
= 0
f
= 0 Hz, SCG0 = 1
(ACLK)
(see Note 2 and Note 4)
NOTES: 1. Timer_A is clocked by f
2. All inputs are tied to 0 V or to V
3. The LPM3 currents are characterized with a Micro Crystal CC4V−T1A (9 pF) crystal and OSCCAPx = 01h.
4. Current for brownout included.
,
,
,
/32),
,
/32),
,
= 0 MHz,
= 0
(DCOCLK)
T
= −40°C to 85°C
A
= −40°C to 85°C
T
A
T
= −40°C to 85°C
A
TA = −40°C1.02.0
TA = 25°C
T
= 60°C
A
TA = 85°C3.56.0
= −40°C1.82.8
T
A
T
= 25°C
A
= 60°C
T
A
TA = 85°C4.27.5
TA = −40°C2.53.5
T
= 25°C
A
TA = 85°C
= −40°C2.94.0
T
A
T
= 25°C
A
= 85°C
T
A
TA = −40°C0.10.5
TA = 25°C
TA = 60°C
T
= 85°C1.73.0
,
A
TA = −40°C0.10.8
T
= 25°C
A
TA = 60°C
TA = 85°C1.93.5
= f
CC
= 1 MHz. All inputs are tied to 0 V or to VCC. Outputs do not source or sink any current.
(DCO)
. Outputs do not source or sink any current.
VCC = 2.2 V250370
VCC = 3 V400520
VCC = 2.2 V5570
VCC = 3 V95110
VCC = 2.2 V1114
VCC = 3 V1722
VCC = 2.2 V
VCC = 3 V
VCC = 2.2 V
1.12.0
2.03.0
1.62.7
2.53.5
2.53.5
3.86.0
VCC = 3 V
3
2.94.0
4.47.5
VCC = 2.2 V
VCC = 3 V
0.10.5
0.71.1
0.10.8
0.81.2
μA
μA
μA
μA
μA
μA
current consumption of active mode versus system frequency
I
current consumption of active mode versus supply voltage
I
(AM)
(AM)
= I
(AM)
= I
(AM) [3 V]
[1 MHz]× f
(System)
+ 175 μA/V × (VCC – 3 V)
[MHz]
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
19
MSP430FG42x0
Port P1, P2: P1.x to P2.x, external trigger signal
y
Timer_A clock frequency
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted) (continued)
NOTES: 1. Parameters calculated from the best-fit curve from 0x0A to 0xFFF. The best-fit curve method is used to deliver coefficients “a” and
“b” of the first order equation: y = a + b*x. V
DAC12_xOUT
= EO + (1 + EG) * (V
REF,DAC12
/4095) * DAC12_xDAT, DAC12IR = 1.
2. The offset calibration works on the output operational amplifier. Offset calibration is triggered setting bit DAC12CALON.
3. The offset calibration can be done if DAC12AMPx = {2, 3, 4, 5, 6, 7}. The output operational amplifier is switched off with
DAC12AMPx = {0, 1}. It is recommended that the DAC12 module be configured prior to initiating calibration. Port activity during
calibration may effect accuracy and is not recommended.
MINTYPMAXUNIT
mV
ppm of
FSR/°C
ms
DAC Output
DAC V
OUT
V
R
Load
=
AV
CC
R+
Ideal transfer
function
2
C
Load
= 100pF
Offset Error
Positive
Negative
Gain Error
DAC Code
Figure 12. Linearity Test Load Conditions and Gain/Offset Definition
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
33
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted) (continued)
12-bit DAC, linearity specifications (continued)
TYPICAL INL ERROR
vs
DIGITAL INPUT DATA
4
VCC = 2.2 V, V
DAC12AMPx = 7
3
DAC12IR = 1
2
1
0
−1
REF
= 1.2V
−2
INL − Integral Nonlinearity Error − LSB
−3
−4
0512102415362048256030723584
DAC12_xDAT − Digital Code
TYPICAL DNL ERROR
vs
DIGITAL INPUT DATA
2.0
1.5
1.0
0.5
0.0
−0.5
−1.0
VCC = 2.2 V, V
DAC12AMPx = 7
DAC12IR = 1
REF
= 1.2V
4095
−1.5
DNL − Differential Nonlinearity Error − LSB
−2.0
0512102415362048256030723584
34
4095
DAC12_xDAT − Digital Code
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
range
Max DAC12
(see Figure 15)
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted) (continued)
Offset temperature drift, I/Psee Note 32.2 V/3 V±10μV/°C
Offset voltage drift
with supply, I/P
V
V
High-level output voltage, O/P
OH
Low-level output voltage, O/P
OL
0.3V ≤ VIN ≤ VCC−0.3 V
ΔV
≤ ± 10%, TA = 25°C
CC
Fast Mode, I
Slow Mode,I
Fast Mode, I
Slow Mode,I
≤ −500 μA2.2 VVCC−0.2V
SOURCE
≤ −150 μA3 VVCC−0.1V
SOURCE
≤ +500 μA2.2 VV
SOURCE
≤ +150 μA3 VV
SOURCE
CMRR Common-mode rejection ratio Non-inverting2.2 V/3 V70dB
NOTES: 1. ESD damage can degrade input current leakage.
2. The input bias current is overridden by the input leakage current.
3. Characterized and calculated using the box method, not production tested.
CC
—
—
2.2 V/3 V±1.5mV/V
MINTYPMAXUNIT
5080
MINTYPMAXUNIT
−20±520nA
80
140
30
nV/√Hz
50
65
CC
V
CC
SS
SS
0.2
0.1
V
38
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
SR
Slew rate
V/μs
Gain-bandwidth product
GBW
(seeFigure19
a
2.2 V/3 V
MHz
and Figure 20)
Input leakage current
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted)
operational amplifier OA, dynamic specifications
PARAMETERTEST CONDITIONSV
SRSlew rate
Open-loop voltage gain—100dB
φ
GBW
t
en(on)
t
en(off)
Phase marginCL = 50 pF—60deg
m
Gain marginCL = 50 pF—20dB
-
(see Figure 19
n
Fir 2
Enable time onton, noninverting, Gain = 12.2 V/3 V1020μs
Enable time off2.2 V/3 V1μs
CC
Fast Mode1.2
Medium Mode
Slow Mode0.3
Noninverting, Fast Mode, RL = 47kΩ, CL = 50pF2.2
Noninverting, Medium Mode, R
Noninverting, Slow Mode, RL =300kΩ, CL = 50pF0.5
=300kΩ, CL = 50pF 2.2 V/3 V1.4MHz
L
—
MINTYPMAXUNIT
0.8
V/μs
TYPICAL OPEN-LOOP GAIN vs FREQUENCY
140
120
100
80
60
40
20
Gain − dB
0
−20
−40
−60
−80
0.001 0.010.11101001000 10000
Fast Mode
Medium Mode
Slow Mode
Input Frequency − kHz
Figure 19
switches to ground
PARAMETERTEST CONDITIONSV
V
I
lkg
I
IN
R
NOTES: 1. ESD damage can degrade input current leakage.
Supply voltage2.53.6V
CC
Input leakage current
(see Note 1)
Input currentInput switched to Ground.0100μA
On resistanceIIN=100 μA, TA=−40°C to 85°C10Ω
ON
TA = −40_C to + 55_C±1±10
T
= 55_C to 85_C±50
A
TYPICAL PHASE vs FREQUENCY
0
−50
Fast Mode
−100
−150
Phase − degrees
−200
−250
0.001 0.010.11101001000 10000
Input Frequency − kHz
Medium Mode
Slow Mode
Figure 20
CC
MINTYPMAXUNIT
nA
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
39
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted)
flash memory
PARAMETER
V
CC(PGM/
ERASE)
f
FTG
I
PGM
I
ERASE
t
CPT
t
CMErase
Program and erase supply voltage2.53.6V
Flash timing generator frequency257476kHz
Supply current from DVCC during program2.5V/3.6V35mA
Supply current from DVCC during erase2.5V/3.6V37mA
Cumulative program timesee Note 12.5V/3.6V10ms
Cumulative mass erase timesee Note 22.5V/3.6V200ms
Program/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 time35
Block program time for 1st byte or word30
Block program time for each additional byte or word
Block program end-sequence wait time
Mass erase time5297
Segment erase time4819
NOTES: 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/byte write and block write modes.
2. The mass erase duration generated by the flash timing generator is at least 11.1ms ( = 5297x1/f
achieve the required cumulative mass erase time the Flash Controller’s mass erase operation can be repeated until this time is met.
(A worst case minimum of 19 cycles are required).
3. These values are hardwired into the Flash Controller’s state machine (t
TEST
CONDITIONS
see Note 3
FTG
= 1/f
FTG
V
CC
MINTYPMAXUNIT
4
5
10
21
6
,max = 5297x1/476kHz). To
FTG
cycles
t
FTG
).
JTAG interface
TEST
CONDITIONS
V
CC
MINTYPMAXUNIT
2.2 V05MHz
3 V010MHz
f
TCK
R
Internal
NOTES: 1. f
2. TMS, TDI/TCLK, and TCK pull-up resistors are implemented in all versions.
PARAMETER
TCK input frequencysee Note 1
Internal pull-up resistance on TMS, TCK, TDI/TCLK see Note 22.2 V/ 3 V256090kΩ
may be restricted to meet the timing requirements of the module selected.
TCK
JTAG fuse (see Note 1)
PARAMETER
V
CC(FB)
V
FB
I
FB
t
FB
Supply voltage during fuse-blow conditionTA = 25°C2.5V
Voltage level on TDI/TCLK for fuse-blow: F versions67V
Supply current into TDI/TCLK during fuse blow100mA
Time to blow fuse1ms
NOTES: 1. Once the fuse is blown, no further access to the MSP430 JTAG/Test and emulation features is possible. The JTAG block is switched
to bypass mode.
TEST
CONDITIONS
V
CC
MINTYPMAXUNIT
40
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
input/output schematics
Port P1 pin schematic: P1.0, P1.1, input/output with Schmitt trigger
Port P1 pin schematic: P1.2, input/output with Schmitt trigger and analog functions
INCH=4
SD16AE.x
P1DIR.x
P1OUT.x
Module X OUT
P1SEL.x
P1IN.x
Module X IN
P1IRQ.x
A4−
Pad Logic
0
AV
SS
1
0
1
0
1
EN
D
P1IE.x
P1IFG.x
Direction
0: Input
1: Output
P1.2/TA1/A4−
Bus
Keeper
EN
EN
Q
Set
P1SEL.x
P1IES.x
Note: x = 2
Interrupt
Edge
Select
Port P1 (P1.2) pin functions
PIN NAME (P1.X)
P1.2/TA1/A4−2
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the SD16AE.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
4. Negative input to SD16_A (A4−) connected to V
XFUNCTION
P1.2† Input/Output0/100
Timer_A3.CCI1A010
Timer_A3.TA1110
A4− (see Notes 3, 4)XX1
P1DIR.xP1SEL.xSD16AE.x
if corresponding SD16AE.x bit is cleared.
SS
CONTROL BITS / SIGNALS
42
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P1 pin schematic: P1.3, P1.5, P1.7, input/output with Schmitt trigger and analog functions
INCH=y
SD16AE.x
P1DIR.x
P1OUT.x
Module X OUT
P1SEL.x
P1IN.x
Module X IN
P1IRQ.x
Ay+
Pad Logic
0
1
0
1
EN
D
P1IE.x
P1IFG.x
Direction
0: Input
1: Output
EN
Q
Set
Bus
Keeper
EN
P1.3/TA2/A4+
P1.5/TACLK/ACLK/A3+
P1.7/A2+
Note: x = 3,5,7
y = 4,3,2
P1SEL.x
P1IES.x
Interrupt
Edge
Select
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
43
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P1 (P1.3, P1.5, P1.7) pin functions
PIN NAME (P1.X)
P1.3/TA2/A4+3
P1.5/TACLK/ACLK/A3+5
P1.7/A2+7
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the SD16AE.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
XFUNCTION
P1.3† Input/Output0/100
Timer_A3.CCI2A010
Timer_A3.TA2110
A4+ (see Note 3)XX1
P1.5† Input/Output0/100
Timer_A3.TACLK/INCLK010
ACLK110
A3+ (see Note 3)XX1
P1.5† Input/Output0/100
N/A010
DVSS110
A2+ (see Note 3)XX1
CONTROL BITS / SIGNALS
P1DIR.xP1SEL.xSD16AE.x
44
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P1 pin schematic: P1.4, input/output with Schmitt trigger and analog functions
INCH=3
SD16AE.x
DAC12OPS
P1DIR.x
P1OUT.x
DV
P1SEL.x
P1IN.x
P1IRQ.x
A3−
SS
Pad Logic
0
AV
SS
1
0
1
0
1
P1IE.x
P1IFG.x
Direction
0: Input
1: Output
EN
Q
Set
P1.4/A3−/OA1I0/DAC0
Bus
Keeper
EN
DAC12OPS
DAC0
P1SEL.x
P1IES.x
Note: x = 4
Interrupt
Edge
Select
Port P1 (P1.4) pin functions
PIN NAME (P1.X)
P1.4/A3−/OA1I0/DAC04
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the SD16AE.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
4. Negative input to SD16_A (A3−) connected to AV
5. Setting the DAC12OPS bit also disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
XFUNCTION
P1.4† Input/Output0/100XX0
N/A010XX0
DVSS110XX0
A3− (see Notes 3, 4)XX1XX0
OA1I0XX1000
DAC0 (see Note 5)XXXXX1
+
OA1
−
CONTROL BITS / SIGNALS
P1DIR.xP1SEL.xSD16AE.xOAPx (OA1)DAC12OPS
if corresponding SD16AE.x bit is cleared.
SS
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
45
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P1 pin schematic: P1.6, input/output with Schmitt trigger and analog functions
INCH=2
SD16AE.x
P1DIR.x
P1OUT.x
DV
P1SEL.x
P1IN.x
P1IRQ.x
A2−
SS
Pad Logic
0
AV
SS
1
0
1
0
1
P1IE.x
P1IFG.x
Direction
0: Input
1: Output
EN
Q
Set
Bus
Keeper
EN
OA0/1
P1.6/A2−/OA0I0
+
−
P1SEL.x
P1IES.x
Note: x = 6
Interrupt
Edge
Select
Port P1 (P1.6) pin functions
PIN NAME (P1.X)
P1.6/A2−/OA0I06
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the SD16AE.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
4. Negative input to SD16_A (A2−) connected to AV
5. OA0I0 connected to pin if for OA0 the OAPx bits are cleared or set to 01, or if for OA1 the OAPx bits are set to 01.
XFUNCTION
P1.6† Input/Output0/100XXXX
N/A010XXXX
DVSS110XXXX
A2− (see Notes 3, 4)XX1XXXX
OA0I0 (see Note 5)
CONTROL BITS / SIGNALS
P1DIR.xP1SEL.xSD16AE.xOAPx (OA0)OAPx (OA1)
XX100 or 01XX
XX1XX01
if corresponding SD16AE.x bit is cleared.
SS
46
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P2 pin schematic: P2.0 to P2.1, input/output with Schmitt trigger, LCD and analog functions
Pad Logic
LCDS12
Segment Sy
P2DIR.x
P2OUT.x
DV
SS
P2SEL.x
P2IN.x
P2IRQ.x
Note: x = 0,1
y = 13,12
0
1
0
1
P2SEL.x
P2IES.x
P2IE.x
P2IFG.x
Direction
0: Input
1: Output
EN
Q
Set
Interrupt
Edge
Select
Bus
Keeper
EN
SWCTL.SWCLT2 (SW0C)
SWCTL.SWCLT6 (SW1C)
AV
P2.0/S13/SW0C
P2.1/S12/SW1C
SS
Port P2 (P2.0, P2.1) pin functions
PIN NAME (P2.X)
P2.0/S13/SW0C0
P2.1/S12/SW1C1
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the P2SEL.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
4. The low impedance switch to ground is closed by setting the corresponding bits in SWCTL register.
XFUNCTION
P2.0† Input/Output0/100
SW0C (see Notes 3, 4)X10
S13XX1
P2.1† Input/Output0/100
SW1C (see Notes 3, 4)X10
S12XX1
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
CONTROL BITS / SIGNALS
P2DIR.xP2SEL.xLCDS12
47
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P2 pin schematic: P2.2 to P2.7, input/output with Schmitt trigger, LCD and analog functions
Port P6 pin schematic: P6.0, P6.2, input/output with Schmitt trigger and analog functions
Ay+
P6DIR.x
P6OUT.x
DV
P6SEL.x
P6IN.x
#
#
SS
INCH=0/1
Note: x = 0,2
y = 0,1
#
Signal from or to SD16
Pad Logic
0
1
0
1
Direction
0: Input
1: Output
Bus
Keeper
EN
+
OA0/1
−
P6.0/A0+/OA0O
P6.2/A1+/OA1O
Port P6 (P6.0, P6.2) pin functions
PIN NAME (P6.X)
P6.0/A0+/OA0O0
P6.2/A1+/OA1O2
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the P6SEL.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
XFUNCTION
P6.0† Input/Output0/10
A0+/OA0O (see Note 3)X1
P6.2† Input/Output0/10
A1+/OA1O (see Note 3)X1
CONTROL BITS / SIGNALS
P6DIR.xP6SEL.x
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
53
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P6 pin schematic: P6.1, P6.3, input/output with Schmitt trigger and analog functions
Ay−
P6DIR.x
DV
P6SEL.x
P6IN.x
#
#
SS
INCH=0/1
P6OUT.x
Note: x = 1,3
y = 0,1
#
Signal from or to SD16
Pad Logic
0
1
0
1
Direction
0: Input
1: Output
Keeper
OA0/1
Bus
EN
+
P6.1/A0−/OA0FB
P6.3/A1−/OA1FB
−
Port P6 (P6.1, P6.3) pin functions
PIN NAME (P6.X)
P6.1/A0−/OA0FB1
P6.3/A1−/OA1FB3
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the P6SEL.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
XFUNCTION
P6.1† Input/Output0/10
A0−/OA0FB (see Note 3)X1
P6.3† Input/Output0/10
A1−/OA1FB (see Note 3)X1
CONTROL BITS / SIGNALS
P6DIR.xP6SEL.x
54
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Port P6 pin schematic: P6.4 to P6.7, input/output with Schmitt trigger and analog functions
P6DIR.x
P6OUT.x
DV
P6SEL.x
P6IN.x
Note: x = 4 to 7
SS
0
1
0
1
Direction
0: Input
1: Output
Port P6 (P6.4 to P6.7) pin functions
PIN NAME (P6.X)
P6.4/OA0I14
P6.5/OA0I25
P6.6/OA1I16
P6.7/OA1I27
†
Default after reset (PUC/POR)
NOTES: 1. N/A: Not available or not applicable.
2. X: Don’t care.
3. Setting the P6SEL.x bit disables the output driver as well as the input Schmitt trigger to prevent parasitic cross currents when
applying analog signals.
XFUNCTION
P6.4† Input/Output0/10
OA0I1 (see Note 3)X1
P6.5† Input/Output0/10
OA0I2 (see Note 3)X1
P6.6† Input/Output0/10
OA1I1 (see Note 3)X1
P6.7† Input/Output0/10
OA1I2 (see Note 3)X1
Keeper
OA0/1
Bus
EN
+
Pad Logic
P6.4/OA0I1
P6.5/OA0I2
P6.6/OA1I1
P6.7/OA1I2
−
CONTROL BITS / SIGNALS
P6DIR.xP6SEL.x
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
55
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
JTAG pins TMS, TCK, TDI/TCLK, TDO/TDI, input/output with Schmitt trigger or output
TDO
Controlled by JTAG
Controlled by JTAG
Fuse
DV
TDO/TDI
TDI/TCLK
CC
TMS
JTAG
Test
and
Emulation
Module
Controlled
by JTAG
TDI
TMS
DV
CC
Burn and Test
TCK
TCK
Tau ~ 50 ns
Brownout
DV
CC
TCK
RST/NMI
D
G
G
U
S
D
U
S
56
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
JTAG fuse check mode
MSP430 devices that have the fuse on the TDI/TCLK terminal have a fuse check mode that tests the continuity
of the fuse the first time the JTAG port is accessed after a power-on reset (POR). When activated, a fuse check
current (I
taken to avoid accidentally activating the fuse check mode and increasing overall system power consumption.
Activation of the fuse check mode occurs with the first negative edge on the TMS pin after power up or if the
TMS is being held low during power up. The second positive edge on the TMS pin deactivates the fuse check
mode. After deactivation, the fuse check mode remains inactive until another POR occurs. After each POR the
fuse check mode has the potential to be activated.
The fuse check current only flows when the fuse check mode is active and the TMS pin is in a low state (see
Figure 21). Therefore, the additional current flow can be prevented by holding the TMS pin high (default
condition). The JTAG pins are terminated internally and therefore do not require external termination.
) of 1 mA at 3 V can flow from the TDI/TCLK pin to ground if the fuse is not burned. Care must be
(TF)
Time TMS Goes Low After POR
TMS
I
(TF)
I
TDI/TCLK
Figure 21. Fuse Check Mode Current
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
57
MSP430FG42x0
MIXED SIGNAL MICROCONTROLLER
SLAS556A − JULY 2007 − REVISED AUGUST 2007
Data Sheet Revision History
Literature
Number
SLAS556Product Preview data sheet release
SLAS556AProduction Data data sheet release
NOTE: Page and figure numbers refer to the respective document revision.
Summary
58
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PACKAGE OPTION ADDENDUM
www.ti.com
25-Sep-2007
PACKAGING INFORMATION
Orderable DeviceStatus
(1)
Package
Type
Package
Drawing
Pins Package
Qty
Eco Plan
MSP430FG4250IDLACTIVESSOPDL4825Green (RoHS &
no Sb/Br)
MSP430FG4250IDLRACTIVESSOPDL481000 Green (RoHS &
no Sb/Br)
MSP430FG4250IRGZRACTIVEQFNRGZ482500 Green (RoHS &
no Sb/Br)
MSP430FG4250IRGZTACTIVEQFNRGZ48250 Green (RoHS &
no Sb/Br)
MSP430FG4260IDLACTIVESSOPDL4825Green (RoHS &
no Sb/Br)
MSP430FG4260IDLRACTIVESSOPDL481000 Green (RoHS &
no Sb/Br)
MSP430FG4260IRGZRACTIVEQFNRGZ482500 Green (RoHS &
no Sb/Br)
MSP430FG4260IRGZTACTIVEQFNRGZ48250 Green (RoHS &
no Sb/Br)
MSP430FG4270IDLACTIVESSOPDL4825Green (RoHS &
no Sb/Br)
MSP430FG4270IDLRACTIVESSOPDL481000 Green (RoHS &
no Sb/Br)
MSP430FG4270IRGZRACTIVEQFNRGZ482500 Green (RoHS &
no Sb/Br)
MSP430FG4270IRGZTACTIVEQFNRGZ48250 Green (RoHS &
no Sb/Br)
(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)
Lead/Ball Finish MSL Peak Temp
CU NIPDAULevel-2-260C-1 YEAR
CU NIPDAULevel-2-260C-1 YEAR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-2-260C-1 YEAR
CU NIPDAULevel-2-260C-1 YEAR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-2-260C-1 YEAR
CU NIPDAULevel-2-260C-1 YEAR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
(3)
(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.
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.
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 1
PACKAGE OPTION ADDENDUM
www.ti.com
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.
25-Sep-2007
Addendum-Page 2
MECHANICAL DATA
MSSO001C – JANUARY 1995 – REVISED DECEMBER 2001
DL (R-PDSO-G**) PLASTIC SMALL-OUTLINE PACKAGE
48 PINS SHOWN
0.025 (0,635)
48
1
0.110 (2,79) MAX
0.0135 (0,343)
0.008 (0,203)
25
0.299 (7,59)
0.291 (7,39)
24
A
0.008 (0,20) MIN
0.005 (0,13)
0.420 (10,67)
0.395 (10,03)
Seating Plane
0.004 (0,10)
M
0.010 (0,25)
0.005 (0,13)
Gage Plane
0.010 (0,25)
0°–ā8°
0.040 (1,02)
0.020 (0,51)
PINS **
DIM
A MAX
A MIN
NOTES: A. All linear dimensions are in inches (millimeters).
B. This drawing is subject to change without notice.
C. Body dimensions do not include mold flash or protrusion not to exceed 0.006 (0,15).
D. Falls within JEDEC MO-118