TEXAS INSTRUMENTS MSP430F42x0 Technical data

MSP430F42x0
40 C to 85 C
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
D Low Supply-Voltage Range, 1.8 V to 3.6 V D Ultralow-Power Consumption:
Active Mode: 250 μA at 1 MHz, 2.2 V Standby Mode: 1.1 μA Off Mode (RAM Retention): 0.1 μA
D Five Power Saving Modes D Wake-Up From Standby Mode in Less
Than 6 μs
D 16-Bit RISC Architecture,
125-ns Instruction Cycle Time
D 16-Bit Sigma-Delta A/D Converter With
Internal Reference and Five Differential Analog Inputs
D 12-Bit D/A Converter D 16-Bit Timer_A With Three
Capture/Compare Registers
D Brownout Detector D Bootstrap Loader
D Serial Onboard Programming,
No External Programming Voltage Needed Programmable Code Protection by Security Fuse
D Integrated LCD Driver With Contrast
Control for Up to 56 Segments
D MSP430x42x0 Family Members Include:
MSP430F4250: 16KB+256B Flash Memory
256B RAM
MSP430F4260: 24KB+256B Flash Memory
256B RAM
MSP430F4270: 32KB+256B Flash Memory
256B RAM
D For Complete Module Descriptions, See
The MSP430x4xx Family User’s Guide, Literature Number SLAU056
D For Additional Device Information, See The
MSP430F42x0 Device Erratasheet,
Literature Number SLAZ022

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 MSP430F42x0 is a microcontroller configuration with a 16-bit timer, a high performance 16-bit sigma-delta A/D converter, 12-bit D/A converter, 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.
PLASTIC 48-PIN SSOP
(DL)
MSP430F4250IDL MSP430F4250IRGZ MSP430F4260IDL MSP430F4260IRGZ MSP430F4270IDL MSP430F4270IRGZ
PLASTIC 48-PIN QFN
(RGZ)
Copyright © 2007, Texas Instruments Incorporated
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
1
MSP430F42x0 MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
pin designation, MSP430F42x0
DL PACKAGE
(TOP VIEW)
TDO/TDI
TDI/TCLK
TMS
TCK
RST
/NMI
DV
CC
DV
SS
XIN
XOUT
AV
SS
AV
CC
V
REF
P6.0/A0+ P6.1/A0− P6.2/A1+ P6.3/A1−
P6.4 P6.5 P6.6
P6.7 P1.7/A2+ P1.6/A2−
P1.5/TACLK/ACLK/A3+
P1.4/A3−/DAC0
1 2 3 4 5 6 7 8
MSP430F42x0IDL
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25
P5.4/COM3 P5.3/COM2 P5.2/COM1 COM0 P2.0/S13 P2.1/S12 P2.2/S11 P2.3/S10 P2.4/S9 P2.5/S8 P2.6/S7 P2.7/S6 S5 P5.7/S4 P5.6/S3 P5.5/S2 P5.0/S1 P5.1/S0 LCDCAP/R23 LCDREF/R13 P1.0/TA0 P1.1/TA0/MCLK P1.2/TA1/A4− P1.3/TA2/A4+
2
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
pin designation, MSP430F42x0 (continued)
CC
RST/NMI
DV
SS
XIN
XOUT
AV
SS
AV
CC
V
REF
P6.0/A0+
P6.1/A0− P6.2/A1+
P6.3/A1−
P6.4 P6.5
DV
1 2 3 4 5 6 7 8 9 10 11 12
TCK
TMS
46 45 44 43 42 41 40 39 38
47
MSP430F42x0IRGZ
14
15 16 17 18 19 20 21 22 23
RGZ PACKAGE
(TOP VIEW)
TDI/TCLK
TDO/TDI
P5.4/COM3
MSP430F42x0
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
P5.3/COM2
P5.2/COM1
COM0
P2.0/S13
P2.1/S12
P2.2/S11
36
P2.3/S10
35
P2.4/S9
34
P2.5/S8
33
P2.6/S7
32
P2.7/S6
31
S5
30
P5.7/S4
29
P5.6/S3
28
P5.5/S2
27
P5.0/S1
26
P5.1/S0
25
P6.6
P6.7
P1.6/A2−
P1.7/A2+
P1.2/TA1/A4−
P1.3/TA2/A4+
P1.4/A3−/DAC0
P1.5/TACLK/ACLK/A3+
P1.0/TA0
P1.1/TA0/MCLK
LCDREF/R13
LCDCAP/R23
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
3
MSP430F42x0 MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
MSP430F42x0 functional block diagram
XIN
Oscillator
FLL+
8 MHz
CPU
incl. 16
Registers
Emulation
Module
JTAG
Interface
XOUT
MCLK
DVCCDVSSAVCCAV
ACLK
MAB
MDB
Flash
32KB 24KB 16KB
POR/
Brownout
RST/NMI
SMCLK
RAM
256B
SS
P1
8
Port 1
8 I/O
Interrupt
Capability
Watchdog
Timer+
WDT+
15/16-Bit
P2
8
Port 2
8 I/O
Interrupt
Capability
Timer_A3
3 CC Reg
P3
8
Port 3
8 I/O
Basic
Timer 1
1 Interrupt
Vector
Segments
1,2,3,4 MUX
f
LCD
P4
Port 4
8 I/O
LCD_A
56
8
P6
8
Port 6
8 I/O
DAC12
12 Bit
1 Channel
Voltage Out
8
P5
Port 5
8 I/O
SD16_A
16 Bit
4
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F42x0
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
MSP430F42x0 Terminal Functions
TERMINAL
NAME DL
TDO/TDI 1 43 I/O Test data output port. TDO/TDI data output or programming data input terminal TDI/TCLK 2 44 I Test data input or test clock input. The device protection fuse is connected to TDI/TCLK. TMS 3 45 I Test mode select. TMS is used as an input port for device programming and test. TCK 4 46 I Test clock. TCK is the clock input port for device programming and test. RST/NMI 5 47 I General-purpose digital I/O / reset input or nonmaskable interrupt input port DV
CC
DV
SS
XIN 8 2 I Input terminal of crystal oscillator XT1 XOUT 9 3 O Output terminal of crystal oscillator XT1 AV
SS
AV
CC
V
REF
P6.0/A0+ 13 7 I/O General-purpose digital I/O / analog input A0+ P6.1/A0− 14 8 I/O General-purpose digital I/O / analog input A0− P6.2/A1+ 15 9 I/O General-purpose digital I/O / analog input A1+ P6.3/A1− 16 10 I/O General-purpose digital I/O / analog input A1− P6.4 17 11 I/O General-purpose digital I/O P6.5 18 12 I/O General-purpose digital I/O P6.6 19 13 I/O General-purpose digital I/O P6.7 20 14 I/O General-purpose digital I/O P1.7/A2+ 21 15 I/O General-purpose digital I/O / analog input A2+ P1.6/A2− 22 16 I/O General-purpose digital I/O / analog input A2−
P1.5/TACLK/ACLK/A3+ 23 17 I/O
P1.4/A3−/DAC0 24 18 I/O General-purpose digital I/O / analog input A3− / DAC12 output
P1.3/TA2/A4+ 25 19 I/O
P1.2/TA1/A4− 26 20 I/O
P1.1/TA0/MCLK 27 21 I/O
P1.0/TA0 28 22 I/O
LCDREF/R13 29 23 External LCD reference voltage input / input port of third most positive analog LCD level (V4
LCDCAP/R23 30 24 Capacitor connection for LCD charge pump /
P5.1/S0 31 25 I/O General-purpose digital I/O / LCD segment output 0 P5.0/S1 32 26 I/O General-purpose digital I/O / LCD segment output 1 P5.5/S2 33 27 I/O General-purpose digital I/O / LCD segment output 2 P5.6/S3 34 28 I/O General-purpose digital I/O / LCD segment output 3 P5.7/S4 35 29 I/O General-purpose digital I/O / LCD segment output 4 S5 36 30 O LCD segment output 5 P2.7/S6 37 31 I/O General-purpose digital I/O / LCD segment output 6 P2.6/S7 38 32 I/O General-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 / 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
General-purpose digital I/O / Timer_A. Capture: CCI0A input, compare: Out0 output / BSL Transmit
or V3)
input port of second most positive analog LCD level (V2)
NO.
6 48 Digital supply voltage, positive terminal 7 1 Digital supply voltage, negative terminal
10 4 Analog supply voltage, negative terminal 11 5 Analog supply voltage, positive terminal 12 6 I/O Analog reference voltage
DESCRIPTION
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
5
MSP430F42x0 MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
MSP430F42x0 Terminal Functions (Continued)
TERMINAL
NAME DL
P2.5/S8 39 33 I/O General-purpose digital I/O / LCD segment output 8 P2.4/S9 40 34 I/O General-purpose digital I/O / LCD segment output 9 P2.3/S10 41 35 I/O General-purpose digital I/O / LCD segment output 10 P2.2/S11 42 36 I/O General-purpose digital I/O / LCD segment output 11 P2.1/S12 43 37 I/O General-purpose digital I/O / LCD segment output 12 P2.0/S13 44 38 I/O General-purpose digital I/O / LCD segment output 13 COM0 45 39 O Common output, COM0−3 are used for LCD backplanes. P5.2/COM1 46 40 I/O General-purpose digital I/O / common output, COM0−3 are used for LCD backplanes. P5.3/COM2 47 41 I/O General-purpose digital I/O / common output, COM0−3 are used for LCD backplanes. P5.4/COM3 48 42 I/O General-purpose digital I/O / common output, COM0−3 are used for LCD backplanes. QFN Pad NA None NA QFN package pad connection to DVSS recommended.
NO.
RGZ
NO.
I/O
DESCRIPTION
6
POST OFFICE BOX 655303 DALLAS, TEXAS 75265

short-form description

CPU
MSP430F42x0
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 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; the address modes are listed in Table 2.
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-destination e.g. ADD R4,R5 R4 + R5 −−−> R5 Single operands, destination only e.g. CALL R8 PC −−>(TOS), R8−−> PC Relative jump, un/conditional e.g. JNE Jump-on-equal bit = 0
Table 2. Address Mode Descriptions
ADDRESS MODE S D SYNTAX EXAMPLE OPERATION
Register F
Indexed F F MOV X(Rn),Y(Rm) MOV 2(R5),6(R6) M(2+R5)—> M(6+R6)
Symbolic (PC relative) F F MOV EDE,TONI M(EDE) —> M(TONI)
Absolute F F MOV & MEM, & TCDAT M(MEM) —> M(TCDAT)
Indirect F MOV @Rn,Y(Rm) MOV @R10,Tab(R6) M(R10) —> M(Tab+R6) Indirect
autoincrement
Immediate F MOV #X,TONI MOV #45,TONI #45 —> M(TONI)
NOTE: S = source D = destination
F
F MOV @Rn+,Rm MOV @R10+,R11
MOV Rs,Rd MOV R10,R11 R10 —> R11
M(R10) —> R11 R10 + 2—> R10
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
7
MSP430F42x0 MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007

operating modes

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:
D Active mode (AM)
All clocks are active
D Low-power mode 0 (LPM0)
CPU is disabled ACLK and SMCLK remain active, MCLK is available to modules FLL+ loop control remains active
D Low-power mode 1 (LPM1)
CPU is disabled ACLK and SMCLK remain active, MCLK is available to modules FLL+ loop control is disabled
D Low-power mode 2 (LPM2)
CPU is disabled MCLK, FLL+ loop control, and DCOCLK are disabled DCO’s dc-generator remains enabled ACLK remains active
D Low-power mode 3 (LPM3)
CPU is disabled MCLK, FLL+ loop control, and DCOCLK are disabled DCO’s dc-generator is disabled ACLK remains active
D Low-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
MSP430F42x0
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007

interrupt vector addresses

The interrupt vectors and the power-up starting address are located in the address range 0FFFFh−0FFE0h. The vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence.
Table 3. Interrupt Sources, Flags, and Vectors of MSP430F42x0 Configuration
INTERRUPT SOURCE INTERRUPT FLAG SYSTEM 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 Timer WDTIFG Maskable 0FFF4h 10
Timer_A3 TACCR0 CCIFG0 (see Note 2) Maskable 0FFECh 6
Timer_A3
I/O Port P1 (Eight Flags) P1IFG.0 to P1IFG.7 (see Notes 1 and 2) Maskable 0FFE8h 4
DAC12 DAC12_0IFG
I/O Port P2 (Eight Flags) P2IFG.0 to P2IFG.7 (see Notes 1 and 2) Maskable 0FFE2h 1
Basic Timer1 BTIFG Maskable 0FFE0h 0, 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 (MSP430F4270, MSP430F4260: from 0300h to 0BFFh and from 01100h to 07FFFh, MSP430F4250: 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)
Reset 0FFFEh 15, highest
(Non)maskable (Non)maskable (Non)maskable
Maskable 0FFF8h 12
Maskable 0FFEAh 5
Maskable 0FFE6h 3
WORD
ADDRESS
0FFFCh 14
0FFFAh 13
0FFF6h 11
0FFF2h 9 0FFF0h 8 0FFEEh 7
0FFE4h 2
PRIORITY
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
9
MSP430F42x0 MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007

special function registers

The MSP430 special function registers(SFR) 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 0h ACCVIE NMIIE
7654 0
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
7654 0321
BTIE
rw–0
BTIE: Basic timer interrupt enable

interrupt flag registers 1 and 2

Address 02h NMIIFG
7654 0
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
OFIE WDTIE
OFIFG WDTIFG
Address 03h
7654 0321
BTIFG
rw–0
BTIFG: Basic timer flag
10
POST OFFICE BOX 655303 DALLAS, TEXAS 75265

module enable registers 1 and 2

MSP430F42x0
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
Address 04h
Address 05h
Legend: rw:
rw–0,1: rw–(0,1):
7654 0321
7654 0321
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

MSP430F4250 MSP430F4260 MSP430F4270
Memory Main: interrupt vector Main: code memory
Information memory Size
Boot memory Size
RAM Size 256 Byte
Peripherals 16-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 bootstrap loader (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 Bootstrap Loader, Literature Number SLAA089.
BSL Function DL Package Pins RGZ Package Pins
Data Transmit 28 − P1.0 22 − P1.0
Data Receive 27 − P1.1 21 − P1.1
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
11
MSP430F42x0 MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 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:
D Flash 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.
D Segments 0 to n may be erased in one step, or each segment may be individually erased. D Segments A and B can be erased individually, or as a group with segments 0−n.
Segments A and B are also called information memory.
D New 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
MSP430F42x0
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007

peripherals

Peripherals are connected to the CPU through data, address, and control busses 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 MSP430F42x0 family of devices is supported by the FLL+ module that 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 which 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:
D Auxiliary clock (ACLK), sourced from a 32768 Hz watch crystal or a high frequency crystal. D Main clock (MCLK), the system clock used by the CPU. D Sub-Main clock (SMCLK), the sub-system clock used by the peripheral modules. D ACLK/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)
CC(min)
at that time. The user must insure the default FLL+ settings are not
.

digital I/O

There are four 8-bit I/O ports implemented—ports P1, P2, P5 and P6:
D All individual I/O bits are independently programmable. D Any combination of input, output, and interrupt conditions is possible. D Edge-selectable interrupt input capability for all the eight bits of ports P1 and P2. D Read/write access to port-control registers is supported by all instructions.

Basic Timer1

The Basic Timer1 has two independent 8-bit timers which can be cascaded to form a 16-bit timer/counter. Both timers can be read and written by software. The 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
MSP430F42x0
Device Input
Module
Module
Module Output
Si
l
I
Block
Si
l
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 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.
Timer_A3 Signal Connections
Input Pin Number
DL RGZ
23 - P1.5 17 - P1.5 TACLK TACLK
23 - P1.5 17 - P1.5 TACLK INCLK 28 - P1.0 22 - P1.0 TA0 CCI0A 27 - P1.1 21 - P1.1 TA0 CCI0B
26 - P1.2 20 - P1.2 TA1 CCI1A 26 - P1.2 20 - P1.2 TA1 CCI1B
25 - P1.3 19 - P1.3 TA2 CCI2A
Device Input Module Module Module Output
gna
ACLK ACLK
SMCLK SMCLK
DV
SS
DV
CC
DV
SS
DV
CC
ACLK (internal) CCI2B
DV
SS
DV
CC
nput Name
GND
V
CC
GND
V
CC
GND
V
CC
gna
Timer NA
CCR0 TA0
CCR1 TA1
CCR2 TA2
Output Pin Number
DL RGZ
28 - P1.0 22 - P1.0
26 - P1.2 20 - P1.2
25 - P1.3 19 - P1.3

SD16_A

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

peripheral file map

y
)
Byte Access)
(see also:
Watchdog Watchdog timer control WDTCTL 0120h Timer_A3
Flash
DAC12
SD16_A (see also: Peripherals with B
te Access
SD16_A (see also: Peripherals with Word Access)
LCD_A LCD Voltage Control 1
FLL+ Clock
Basic Timer1 BT counter 2
MSP430F42x0
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
PERIPHERALS WITH WORD ACCESS
_
_
Capture/compare register 2 TACCR2 0176h Capture/compare register 1 TACCR1 0174h Capture/compare register 0 TACCR0 0172h Timer_A register TAR 0170h Capture/compare control 2 TACCTL2 0166h Capture/compare control 1 TACCTL1 0164h Capture/compare control 0 TACCTL0 0162h Timer_A control TACTL 0160h Timer_A interrupt vector TAIV 012Eh Flash control 3 FCTL3 012Ch Flash control 2 FCTL2 012Ah Flash control 1 FCTL1 0128h DAC12_0 data DAC12_0DAT 01C8h DAC12_0 control DAC12_0CTL 01C0h General Control SD16CTL 0100h Channel 0 Control SD16CCTL0 0102h Interrupt vector word register SD16IV 0110h Channel 0 conversion memory SD16MEM0 0112h
PERIPHERALS WITH BYTE ACCESS
Channel 0 Input Control SD16INCTL0 0B0h
Analog Enable SD16AE 0B7h
LCDAVCTL1 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 1 FLL_CTL1 054h FLL+ Control 0 FLL_CTL0 053h System clock frequency control SCFQCTL 052h System clock frequency integrator SCFI1 051h System clock frequency integrator SCFI0 050h
BT counter 1 BT control
LCDAVCTL0
LCDAPCTL1
LCDAPCTL0
LCDM20
:
LCDM16
LCDM15
:
LCDM1
LCDACTL
BTCNT2
BTCNT1
BTCTL
0AFh 0AEh 0ADh 0ACh 0A4h : 0A0h 09Fh : 091h 090h
047h 046h 040h
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
15
MSP430F42x0
p
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS (CONTINUED)
Port P6
Port P5
Port P2
Port P1
Special functions
Port P6 selection P6SEL 037h Port P6 direction P6DIR 036h Port P6 output P6OUT 035h Port P6 input P6IN 034h Port P5 selection P5SEL 033h Port P5 direction P5DIR 032h Port P5 output P5OUT 031h Port P5 input P5IN 030h Port P2 selection P2SEL 02Eh Port P2 interrupt enable P2IE 02Dh Port P2 interrupt-edge select P2IES 02Ch Port P2 interrupt flag P2IFG 02Bh Port P2 direction P2DIR 02Ah Port P2 output P2OUT 029h Port P2 input P2IN 028h Port P1 selection P1SEL 026h Port P1 interrupt enable P1IE 025h Port P1 interrupt-edge select P1IES 024h Port P1 interrupt flag P1IFG 023h Port P1 direction P1DIR 022h Port P1 output P1OUT 021h Port P1 input P1IN 020h SFR module enable 2 ME2 005h SFR module enable 1 ME1 004h SFR interrupt flag 2 IFG2 003h SFR interrupt flag 1 IFG1 002h SFR interrupt enable 2 IE2 001h SFR interrupt enable 1 IE1 000h
16
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F42x0
(see Note 2)
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
absolute maximum ratings over operating free-air temperature (unless otherwise noted)
Voltage applied at VCC to VSS −0.3 V to 4.1 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Voltage applied to any pin (see Note) −0.3 V to V
CC
+ 0.3 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diode current at any device terminal . ±2 mA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Storage temperature, T
: (unprogrammed device) −55°C to 150°C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
stg
(programmed device) −40°C to 85°C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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: All voltages referenced to V
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 applied
SS.

recommended operating conditions

MIN NOM MAX UNITS
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 range, 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 betweeen 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) 0 0 V
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 crystal 32.768 kHz
Ceramic resonator 450 8000 kHz
Crystal 1000 8000 kHz
VCC = 1.8 V DC 4.15 VCC = 3.6 V DC 8
1.8 3.6 V
2.5 3.6 V
−40 85 °C
MHz
f
(MHz)
System
8 MHz
4.15 MHz
Supply voltage range, MSP430F42x0, during program execution
1.8 3.63
2.5
Supply Voltage − V
Supply voltage range, MSP430F42x0, during flash memory programming
Figure 1. Frequency vs Supply Voltage, typical characteristic
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
17
MSP430F42x0
f
(MCLK)
f
(SMCLK)
MHz
Low power mode, (LPM0)
(
f(MCLK) = f (SMCLK) = 0 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
SCG0
(see Note
)
f
SCG0
(see Note 2 and Note 4)
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise noted)
supply current into AVCC + DVCC excluding external current
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
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), f
I
(LPM2)
MCLK) = f (SMCLK) = 0 MHz, f(ACLK) = 32,768 Hz, SCG0 = 0 (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)
Low-power mode, (LPM4) f
I
(LPM4)
(MCLK)
f
(ACLK)
= 0 MHz, f
= 0 Hz,
= 0 Hz,
(SMCLK)
= 1
= 1
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 (9pF) crystal and OSCCAPx=01h.
4. Current for brownout included.
,
,
/32)
/32)
= 0 MHz,
(DCOCLK)
T
= −40°C to 85°C
A
= −40°C to 85°C
T
A
T
= −40°C to 85°C
A
TA = −40°C 1.0 2.0 TA = 25°C
= 60°C
T
A
TA = 85°C 3.5 6.0
= −40°C 1.8 2.8
T
A
= 25°C
T
A
T
= 60°C
A
TA = 85°C 4.2 7.5 TA = −40°C 2.5 3.5
= 25°C
T
A
TA = 85°C
= −40°C 2.9 4.0
T
A
= 25°C
T
A
T
= 85°C
A
TA = −40°C 0.1 0.5 TA = 25°C TA = 60°C TA = 85°C 1.7 3.0
2 and Note 4
TA = −40°C 0.1 0.8 TA = 25°C TA = 60°C TA = 85°C 1.9 3.5
= f
= 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.
CC
VCC = 2.2 V 250 370
VCC = 3 V 400 520
VCC = 2.2 V 55 70 VCC = 3 V 95 110
VCC = 2.2 V 11 14
VCC = 3 V 17 22
VCC = 2.2 V
VCC = 3 V
VCC = 2.2 V
1.1 2.0
2.0 3.0
1.6 2.7
2.5 3.5
2.5 3.5
3.8 6.0
VCC = 3 V
3
2.9 4.0
4.4 7.5
VCC = 2.2 V
VCC = 3 V
0.1 0.5
0.7 1.1
0.1 0.8
0.8 1.2
μA
μA
μA
μA
μA
μA
Current consumption of active mode versus system frequency
= I
I
(AM)
Current consumption of active mode versus supply voltage
= I
I
(AM)
18
(AM)
(AM) [3 V]
[1 MHz] × f
+ 175 μA/V × (V
(System)
[MHz]
– 3 V)
CC
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F42x0
Port P1, P2: P1.x to P2.x, external trigger signal
y
Timer_A clock frequency
MIXED SIGNAL MICROCONTROLLER
SLAS455D − MARCH 2005 − REVISED APRIL 2007
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
SCHMITT-trigger inputs − Ports P1, P2, P5, and P6; RST/NMI; JTAG: TCK, TMS, TDI/TCLK, TDO/TDI
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
V
IT+
V
IT−
V
hys
Positive-going input threshold voltage
Negative-going input threshold voltage
Input voltage hysteresis (V
IT+
− V
IT−
)

inputs Px.x, TAx

PARAMETER TEST CONDITIONS V
t
(int)
t
(cap)
f
(TAext)
f
(TAint)
External interrupt timing
Timer_A capture timing TA0, TA1, TA2
Timer_A clock frequenc externally applied to pin
Timer_A, clock frequency SMCLK or ACLK signal selected
Port P1, P2: P1.x to P2.x, external trigger signal for the interrupt flag, (see Note 1)
TACLK, INCLK:
t
= t
(H)
(L)
NOTES: 1. The external signal sets the interrupt flag every time the minimum t
shorter than t
(int)
.
leakage current − Ports P1, P2, P5, and P6 (see Note 1)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
I
lkg(Px.y)
NOTES: 1. The leakage current is measured with VSS or VCC applied to the corresponding pin(s), unless otherwise noted.

Leakage current

Port Px V
(see Note 2) VCC = 2.2 V/3 V ±50 nA
(Px.y)
2. The port pin must be selected as input.
VCC = 2.2 V 1.1 1.55
= 3 V 1.5 1.98
V
CC
VCC = 2.2 V 0.4 0.9
= 3 V 0.9 1.3
V
CC
VCC = 2.2 V 0.3 1.1 VCC = 3 V 0.5 1
CC
MIN TYP MAX UNIT
2.2 V 62 3 V 50
2.2 V 62 3 V 50
2.2 V 8 3 V 10
2.2 V 8 3 V 10
parameters are met. It may be set even with trigger signals
(int)
V
V
V
ns
ns
MHz
MHz
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
19
Loading...
+ 42 hidden pages