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)