Texas Instruments MSP430F42 series Instruction Manual

MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
1
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
D Low Supply-Voltage Range, 1.8 V to 3.6 V D Ultralow-Power Consumption:
− Standby Mode: 1.6 μ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 Frequency-Locked Loop, FLL+ D 16-Bit RISC Architecture, 125-ns
Instruction Cycle Time
D Three Independent 16-bit Sigma-Delta A/D
Converters With Differential PGA Inputs
D 16-Bit Timer_A With Three
Capture/Compare Registers
D Integrated LCD Driver for 128 Segments D Serial Communication Interface (USART),
Asynchronous UART or Synchronous SPI Selectable by Software
D Brownout Detector
D Supply Voltage Supervisor/Monitor With
Programmable Level Detection
D Serial Onboard Programming,
No External Programming Voltage Needed Programmable Code Protection by Security Fuse
D Bootstrap Loader in Flash Devices D Family Members Include:
− MSP430F423: 8KB + 256B Flash Memory, 256B RAM
− MSP430F425: 16KB + 256B Flash Memory, 512B RAM
− MSP430F427: 32KB + 256B Flash Memory, 1KB RAM
D Available in 64-Pin Quad Flat Pack (QFP) D For Complete Module Descriptions, Refer
to the MSP430x4xx Family User’s Guide, Literature Number SLAU056
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 MSP430F42x series are microcontroller configurations with three independent 16-bit sigma-delta A/D converters, each with an integrated differential programmable gain amplifier input stage. Also included is a built-in 16-bit timer, 128 LCD segment drive capability, hardware multiplier, and 14 I/O pins.
Typical applications include high resolution applications such as handheld metering equipment, weigh scales, and energy meters.
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.
Copyright © 2004−2007 Texas Instruments Incorporated
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.
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.
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
2
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
AVAILABLE OPTIONS
PACKAGED DEVICES
T
A
PLASTIC 64-PIN QFP
(PM)
−40°C to 85°C
MSP430F423IPM MSP430F425IPM MSP430F427IPM
pin designation{
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
P1.5/TACLK/ACLK/S28
P2.3/SVSIN
P2.4/UTXD0
P2.5/URXD0
RST/NMI
TCK
TMS
TDI/TCLK
TDO/TDI
P1.0/TA0
P1.1/TA0/MCLK
P1.2/TA1/S31
P1.3/SVSOUT/S3
0
P1.4/S29
S5S6S7S8S9
S10
S11
S12
S13
S14
S15
S16
S17
S18
S19
S20
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
P1.6/SIMO0/S27 P1.7/SOMI0/S26 P2.0/TA2/S25 P2.1/UCLK0/S24
R33
R23 R13 R03 COM3 COM2 COM1 COM0 S23
S21
S22
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
A0.0+ A0.0− A1.0+ A1.0− A2.0+ A2.0−
XIN
XOUT
P2.2/STE0
S0 S1 S2
S4
S3
MSP430F42x
V
REF
AV
CC
DV
CC
AV
SS
DV
SS
Open connection recommended for all unused analog inputs.
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
3
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
functional block diagram
SD16
Three 16-bit Sigma-Delta
A/D
Converters
DV
CC
DV
SS
AV
CC
AV
SS
RST/NMI
P1
Flash
32KB 16KB
8KB
RAM
1KB 512B 256B
Watchdog
WDT+
15/16-Bit
Timer_A3
3 CC Reg
Port 1
8 I/O
Interrupt
Capability
POR/ SVS/
Brownout
Basic
Timer 1
1 Interrupt
Vector
LCD
128
Segments
1,2,3,4 MUX
f
LCD
8
USART0
UART or
SPI
Function
Oscillators
FLL+
MCLK
8 MHz
CPU
incl. 16
Registers
XOUT
JTAG
Interface
XIN
SMCLK
ACLK
MDB
MAB
Emulation
P2
Port 2
6 I/O
Interrupt
Capability
6
Module
Hardware
Multiplier
MPY, MPYS MAC,MACS
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
4
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F42x Terminal Functions
TERMINAL
PN
I/O DESCRIPTION
NAME NO.
I/O
DESCRIPTION
DV
CC
1 Digital supply voltage, positive terminal. A0.0+ 2 I Internal connection to SD16 Channel 0, input 0 +. (see Note 1) A0.0− 3 I Internal connection to SD16 Channel 0, input 0 −. (see Note 1) A1.0+ 4 I Internal connection to SD16 Channel 1, input 0 +. (see Note 1) A1.0− 5 I Internal connection to SD16 Channel 1, input 0 −. (see Note 1) A2.0+ 6 I Internal connection to SD16 Channel 2, input 0 +. (see Note 1) A2.0− 7 I Internal connection to SD16 Channel 2, input 0 −. (see Note 1) XIN 8 I Input port for crystal oscillator XT1. Standard or watch crystals can be connected. XOUT 9 O Output terminal of crystal oscillator XT1 V
REF
10 I/O Input for an external reference voltage / internal reference voltage output (can be used as mid-voltage) P2.2/STE0 11 I/O General-purpose digital I/O / slave transmit enable—USART0/SPI mode S0 12 O LCD segment output 0 S1 13 O LCD segment output 1 S2 14 O LCD segment output 2 S3 15 O LCD segment output 3 S4 16 O LCD segment output 4 S5 17 O LCD segment output 5 S6 18 O LCD segment output 6 S7 19 O LCD segment output 7 S8 20 O LCD segment output 8 S9 21 O LCD segment output 9 S10 22 O LCD segment output 10 S11 23 O LCD segment output 11 S12 24 O LCD segment output 12 S13 25 O LCD segment output 13 S14 26 O LCD segment output 14 S15 27 O LCD segment output 15 S16 28 O LCD segment output 16 S17 29 O LCD segment output 17 S18 30 O LCD segment output 18 S19 31 O LCD segment output 19 S20 32 O LCD segment output 20 S21 33 O LCD segment output 21 S22 34 O LCD segment output 22 S23 35 O LCD segment output 23 COM0 36 O Common output, COM0−3 are used for LCD backplanes. COM1 37 O Common output, COM0−3 are used for LCD backplanes. COM2 38 O Common output, COM0−3 are used for LCD backplanes. COM3 39 O Common output, COM0−3 are used for LCD backplanes. R03 40 I Input port of fourth positive (lowest) analog LCD level (V5)
NOTE 1: Open connection recommended for all unused analog inputs.
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
5
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F42x Terminal Functions (Continued)
TERMINAL
PN
I/O DESCRIPTION
NAME NO.
R13 41 I Input port of third most positive analog LCD level (V4 or V3) R23 42 I Input port of second most positive analog LCD level (V2) R33 43 O Output port of most positive analog LCD level (V1)
P2.1/UCLK0/S24 44 I/O
General-purpose digital I/O / external clock input-USART0/UART or SPI mode, clock output—USART0/SPI mode / LCD segment output 24 (See Note 1)
P2.0/TA2/S25 45 I/O
General-purpose digital I/O / Timer_A Capture: CCI2A input, Compare: Out2 output / LCD segment output 25 (See Note 1)
P1.7/SOMI0/S26 46 I/O
General-purpose digital I/O / slave out/master in of USART0/SPI mode / LCD segment output 26 (See Note 1)
P1.6/SIMO0/S27 47 I/O
General-purpose digital I/O / slave in/master out of USART0/SPI mode / LCD segment output 27 (See Note 1)
P1.5/TACLK/ ACLK/S28
48 I/O
General-purpose digital I/O / Timer_A and SD16 clock signal TACLK input / ACLK output (divided by 1,
2, 4, or 8) / LCD segment output 28 (See Note 1) P1.4/S29 49 I/O General-purpose digital I/O / LCD segment output 29 (See Note 1) P1.3/SVSOUT/
S30
50 I/O General-purpose digital I/O / SVS: output of SVS comparator / LCD segment output 30 (See Note 1)
P1.2/TA1/S31 51 I/O
General-purpose digital I/O / Timer_A, Capture: CCI1A, CCI1B input, Compare: Out1 output / LCD segment
output 31 (See Note 1)
P1.1/TA0/MCLK 52 I/O
General-purpose digital I/O / Timer_A, Capture: CCI0B input / MCLK output.
Note: TA0 is only an input on this pin / BSL receive P1.0/TA0 53 I/O General-purpose digital I/O / Timer_A, Capture: CCI0A input, Compare: Out0 output / BSL transmit TDO/TDI 54 I/O Test data output port. TDO/TDI data output or programming data input terminal. TDI/TCLK 55 I Test data input or test clock input. The device protection fuse is connected to TDI. TMS 56 I Test mode select. TMS is used as an input port for device programming and test. TCK 57 I Test clock. TCK is the clock input port for device programming and test. RST/NMI 58 I Reset input or nonmaskable interrupt input port P2.5/URXD0 59 I/O General-purpose digital I/O / receive data in—USART0/UART mode P2.4/UTXD0 60 I/O General-purpose digital I/O / transmit data out—USART0/UART mode P2.3/SVSIN 61 I/O General-purpose digital I/O / Analog input to brownout, supply voltage supervisor
AV
SS
62
Analog supply voltage, negative terminal. Supplies SD16, SVS, brownout, oscillator, and LCD resistive
divider circuitry. DV
SS
63 Digital supply voltage, negative terminal
AV
CC
64
Analog supply voltage, positive terminal. Supplies SD16, SVS, brownout, oscillator, and LCD resistive
divider circuitry; must not power up prior to DV
CC
.
NOTE 1: LCD function selected automatically when applicable LCD module control bits are set, not with PxSEL bits.
General-Purpose Register
Program Counter
Stack Pointer
Status Register
Constant Generator
General-Purpose Register
General-Purpose Register
General-Purpose Register
PC/R0
SP/R1
SR/CG1/R2
CG2/R3
R4
R5
R12
R13
General-Purpose Register
General-Purpose Register
R6
R7
General-Purpose Register
General-Purpose Register
R8
R9
General-Purpose Register
General-Purpose Register
R10
R11
General-Purpose Register
General-Purpose Register
R14
R15
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
6
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
short-form description
CPU
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.
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 D
D
MOV Rs,Rd MOV R10,R11 R10 −−> R11
Indexed D D MOV X(Rn),Y(Rm) MOV 2(R5),6(R6) M(2+R5)−−> M(6+R6)
Symbolic (PC relative) D D MOV EDE,TONI M(EDE) −−> M(TONI)
Absolute D D MOV &MEM,&TCDAT M(MEM) −−> M(TCDAT)
Indirect D MOV @Rn,Y(Rm) MOV @R10,Tab(R6) M(R10) −−> M(Tab+R6) Indirect
autoincrement
D MOV @Rn+,Rm MOV @R10+,R11
M(R10) −−> R11 R10 + 2−−> R10
Immediate D MOV #X,TONI MOV #45,TONI #45 −−> M(TONI)
NOTE: S = source D = destination
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
7
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
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
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
8
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
interrupt vector addresses
The interrupt vectors and the power-up starting address are located in the address range of 0FFFFh−0FFE0h. The vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence.
INTERRUPT SOURCE INTERRUPT FLAG SYSTEM INTERRUPT WORD ADDRESS PRIORITY
Power-up
External Reset
Watchdog
Flash memory
PC Out-of-Range (see Note 4)
WDTIFG
KEYV
(see Note 1)
Reset 0FFFEh 15, highest
NMI
Oscillator Fault
Flash memory access violation
NMIIFG (see Notes 1 and 3)
OFIFG (see Notes 1 and 3)
ACCVIFG (see Notes 1 and 3)
(Non)maskable (Non)maskable (Non)maskable
0FFFCh 14
0FFFAh 13
SD16
SD16CCTLx SD16OVIFG,
SD16CCTLx SD16IFG
(see Notes 1 and 2)
Maskable 0FFF8h 12
0FFF6h 11
Watchdog Timer WDTIFG Maskable 0FFF4h 10
USART0 Receive URXIFG0 Maskable 0FFF2h 9
USART0 Transmit UTXIFG0 Maskable 0FFF0h 8
0FFEEh 7
Timer_A3 TACCR0 CCIFG (see Note 2) Maskable 0FFECh 6
Timer_A3
TACCR1 and TACCR2
CCIFGs, and TACTL TAIFG
(see Notes 1 and 2)
Maskable 0FFEAh 5
I/O port P1 (eight flags)
P1IFG.0 to P1IFG.7 (see Notes 1 and 2)
Maskable 0FFE8h 4
0FFE6h 3 0FFE4h 2
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.
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 (from 0600h to 0BFFh).
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
9
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
special function registers
Most interrupt and module enable bits are collected into the lowest address space. Special function register bits that are not allocated to a functional purpose are not physically present in the device. Simple software access is provided with this arrangement.
interrupt enable 1 and 2
7654 0
UTXIE0 OFIE WDTIE
321
rw–0 rw–0 rw–0
Address 0h URXIE0 ACCVIE NMIIE
rw–0 rw–0 rw–0
WDTIE: Watchdog-timer interrupt enable. Inactive if watchdog mode is selected. Active if watchdog
timer is configured in interval timer mode. OFIE: Oscillator-fault-interrupt enable NMIIE: Nonmaskable-interrupt enable ACCVIE: Flash access violation interrupt enable URXIE0: USART0: UART and SPI receive-interrupt enable UTXIE0: USART0: UART and SPI transmit-interrupt enable
7654 0321
Address 1h BTIE
rw-0
BTIE: Basic Timer1 interrupt enable
interrupt flag register 1 and 2
7654 0
UTXIFG0 OFIFG WDTIFG
321
rw–0 rw–1 rw–(0)
Address 02h URXIFG0 NMIIFG
rw–1 rw–0
WDTIFG: Set on watchdog timer overflow (in watchdog mode) or security key violation. Reset on V
CC
power up or a reset condition at the RST/NMI pin in reset mode. OFIFG: Flag set on oscillator fault NMIIFG: Set via RST
/NMI pin URXIFG0: USART0: UART and SPI receive flag UTXIFG0: USART0: UART and SPI transmit flag
7654 0321
Address 3h BTIFG
rw-0
BTIFG: Basic Timer1 interrupt flag
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
10
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
module enable registers 1 and 2
7654 0
UTXE0
321
rw–0 rw–0
Address 04h
URXE0 USPIE0
URXE0: USART0: UART mode receive enable UTXE0: USART0: UART mode transmit enable USPIE0: USART0: SPI mode transmit and receive enable
7654 0321
Address 05h
Legend: rw−0,1: Bit Can Be Read and Written. It Is Reset or Set by PUC.
rw−(0,1): Bit Can Be Read and Written. It Is Reset or Set by POR.
SFR Bit Not Present in Device.
memory organization
MSP430F423 MSP430F425 MSP430F427
Memory Interrupt vector Code memory
Size Flash Flash
8KB
0FFFFh − 0FFE0h
0FFFFh − 0E000h
16KB 0FFFFh − 0FFE0h 0FFFFh − 0C000h
32KB
0FFFFh − 0FFE0h
0FFFFh − 08000h
Information memory Size 256 Byte
010FFh − 01000h
256 Byte
010FFh − 01000h
256 Byte
010FFh − 01000h
Boot memory Size 1kB
0FFFh − 0C00h
1kB
0FFFh − 0C00h
1kB
0FFFh − 0C00h
RAM Size 256 Byte
02FFh − 0200h
512 Byte
03FFh − 0200h
1KB
05FFh − 0200h
Peripherals 16-bit
8-bit
8-bit SFR
01FFh − 0100h
0FFh − 010h
0Fh − 00h
01FFh − 0100h
0FFh − 010h
0Fh − 00h
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 PM Package Pins
Data Transmit 53 - P1.0
Data Receive 52 - P1.1
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
11
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
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.
Segment 0
With Interrupt Vectors
Segment 1
Segment 2
Segment n−1
Segment n
32KB
Segment A
Segment B
Main Memory
Information Memory
0FFFFh
0FA00h
0FE00h
0FDFFh
0FC00h
0FBFFh
0F9FFh
08400h
083FFh
08200h
081FFh
01000h
010FFh
08000h
01080h
0107Fh
16KB
0FFFFh
0FA00h
0FE00h
0FDFFh
0FC00h
0FBFFh
0F9FFh
0C400h
0C3FFh
0C200h
0C1FFh
01000h
010FFh
0C000h
01080h
0107Fh
8KB
0FFFFh
0FA00h
0FE00h
0FDFFh
0FC00h
0FBFFh
0F9FFh
0E400h
0E3FFh
0E200h
0E1FFh
01000h
010FFh
0E000h
01080h
0107Fh
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
12
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
peripherals
Peripherals are connected to the CPU through data, address, and control busses and can be handled using all instructions. For complete module descriptions, see the MSP430x4xx Family User’s Guide, TI literature number SLAU056.
oscillator and system clock
The clock system in the MSP430F42x 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 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:
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, supply voltage supervisor
The brownout circuit is implemented to provide the proper internal reset signal to the device during power on and power off. The supply voltage supervisor (SVS) circuitry detects if the supply voltage drops below a user selectable level and supports both supply voltage supervision (the device is automatically reset) and supply voltage monitoring (SVM, the device is not automatically reset).
The CPU begins code execution after the brownout circuit releases the device reset. However, V
CC
may not
have ramped to V
CC(min)
at that time. The user must insure the default FLL+ settings are not changed until V
CC
reaches V
CC(min)
. If desired, the SVS circuit can be used to determine when VCC reaches V
CC(min)
.
digital I/O
There are two 8-bit I/O ports implemented—ports P1 and P2 (only six P2 I/O signals are available on external pins):
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 port P1 and six bits of P2. D Read/write access to port-control registers is supported by all instructions.
NOTE:
Six bits of port P2 (P2.0 to P2.5) are available on external pins, but all control and data bits for port P2 are implemented.
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 and clock for the LCD module.
LCD drive
The LCD driver generates the segment and common signals required to drive an LCD display. The LCD 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.
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
13
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
WDT+ 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.
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 Device Input Signal Module Input Name Module Block Module Output Signal Output Pin Number
48 - P1.5 TACLK TACLK
ACLK ACLK
SMCLK SMCLK
Timer NA
48 - P1.5 TACLK INCLK 53 - P1.0 TA0 CCI0A
53 - P1.0
52 - P1.1 TA0 CCI0B
DV
SS
GND
CCR0 TA 0
DV
CC
V
CC
51 - P1.2 TA1 CCI1A
51 - P1.2
51 - P1.2 TA1 CCI1B
DV
SS
GND
CCR1 TA 1
DV
CC
V
CC
45 - P2.0 TA2 CCI2A
45 - P2.0
ACLK (internal) CCI2B
DV
SS
GND
CCR2 TA 2
DV
CC
V
CC
USART0
The MSP430F42x devices have one hardware universal synchronous/asynchronous receive transmit (USART0) peripheral module that is used for serial data communication. The USART supports synchronous SPI (3 or 4 pin) and asynchronous UART communication protocols, using double-buffered transmit and receive channels.
hardware multiplier
The multiplication operation is supported by a dedicated peripheral module. The module performs 16 16, 16 8, 8 16, and 8 8 bit operations. The module is capable of supporting signed and unsigned multiplication as well as signed and unsigned multiply and accumulate operations. The result of an operation can be accessed immediately after the operands have been loaded into the peripheral registers. No additional clock cycles are required.
SD16
The SD16 module integrates three independent 16-bit sigma-delta A/D converters, internal temperature sensor and built-in voltage reference. Each channel is designed with a fully differential analog input pair and programmable gain amplifier input stage.
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
14
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
peripheral file map
PERIPHERALS WITH WORD ACCESS Watchdog Watchdog Timer control WDTCTL 0120h Timer_A3
Timer_A interrupt vector TAIV 012Eh
_
Timer_A control TACTL 0160h Capture/compare control 0 TACCTL0 0162h Capture/compare control 1 TACCTL1 0164h Capture/compare control 2 TACCTL2 0166h Timer_A register TAR 0170h Capture/compare register 0 TACCR0 0172h Capture/compare register 1 TACCR1 0174h Capture/compare register 2 TACCR2 0176h
Hardware Multiplier
Sum extend SUMEXT 013Eh
p
Result high word RESHI 013Ch Result low word RESLO 013Ah Second operand OP2 0138h Multiply signed + accumulate/operand1 MACS 0136h Multiply + accumulate/operand1 MAC 0134h Multiply signed/operand1 MPYS 0132h Multiply unsigned/operand1 MPY 0130h
Flash
Flash control 3 FCTL3 012Ch Flash control 2 FCTL2 012Ah Flash control 1 FCTL1 0128h
SD16
General Control SD16CTL 0100h
(see also: Peripherals
Channel 0 Control SD16CCTL0 0102h
with Byte Access)
Channel 1 Control SD16CCTL1 0104h Channel 2 Control SD16CCTL2 0106h Reserved 0108h Reserved 010Ah Reserved 010Ch Reserved 010Eh Interrupt vector word register SD16IV 0110h Channel 0 conversion memory SD16MEM0 0112h Channel 1 conversion memory SD16MEM1 0114h Channel 2 conversion memory SD16MEM2 0116h Reserved 0118h Reserved 011Ah Reserved 011Ch Reserved 011Eh
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
15
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS
SD16
Channel 0 Input Control SD16INCTL0 0B0h
(see also: Peripherals
Channel 1 Input Control SD16INCTL1 0B1h
with Word Access)
Channel 2 Input Control SD16INCTL2 0B2h Reserved 0B3h Reserved 0B4h Reserved 0B5h Reserved 0B6h Reserved 0B7h Channel 0 preload SD16PRE0 0B8h Channel 1 preload SD16PRE1 0B9h Channel 2 preload SD16PRE2 0BAh Reserved 0BBh Reserved 0BCh Reserved 0BDh Reserved 0BEh Reserved 0BFh
LCD
LCD memory 20 LCDM20 0A4h : : : LCD memory 16 LCDM16 0A0h LCD memory 15 LCDM15 09Fh : : : LCD memory 1 LCDM1 091h LCD control and mode LCDCTL 090h
USART0
Transmit buffer U0TXBUF 077h Receive buffer U0RXBUF 076h Baud rate U0BR1 075h Baud rate U0BR0 074h Modulation control U0MCTL 073h Receive control U0RCTL 072h Transmit control U0TCTL 071h USART control U0CTL 070h
Brownout, SVS SVS control register SVSCTL 056h FLL+ Clock
FLL+ Control1 FLL_CTL1 054h FLL+ Control0 FLL_CTL0 053h System clock frequency control SCFQCTL 052h System clock frequency integrator SCFI1 051h System clock frequency integrator SCFI0 050h
Basic Timer1
BT counter2 BTCNT2 047h BT counter1 BTCNT1 046h BT control BTCTL 040h
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
16
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS (CONTINUED)
Port P2
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
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
Special Functions
SFR module enable 2 ME2 005h
p
SFR module enable 1 ME1 004h SFR interrupt flag 2 IFG2 003h SFR interrupt flag 1 IFG1 002h SFR interrupt enable2 IE2 001h SFR interrupt enable1 IE1 000h
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
17
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
absolute maximum ratings
Voltage applied at VCC to VSS −0.3 V to + 4.1 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Voltage applied to any pin (see Note 1) −0.3 V to V
CC
+ 0.3 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Diode current at any device terminal . ±2 mA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Storage temperature (unprogrammed device) −55°C to 150°C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Storage temperature (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 1: All voltages referenced to V
SS
. The JTAG fuse-blow voltage, VFB, is allowed to exceed the absolute maximum rating. The voltage is
applied to the TDI/TCLK pin when blowing the JTAG fuse.
recommended operating conditions
PARAMETER MIN NOM MAX UNITS
Supply voltage during program execution; SD16 disabled. V
CC
(AVCC = DVCC = VCC) (see Note 1)
MSP430F42x 1.8 3.6 V
Supply voltage during program execution; SD16 disabled, SVS enabled, and PORON = 1. V
CC
(AVCC = DVCC = VCC) (see Note 1 and Note 2)
MSP430F42x 2.0 3.6 V
Supply voltage during program execution; SD16 enabled or during programming of flash memory. V
CC
(AVCC = DVCC = VCC)
MSP430F42x 2.7 3.6 V
Supply voltage, V
SS
(AVSS = DVSS = VSS) 0 0 V
Operating free-air temperature range, T
A
MSP430F42x −40 85 °C
LF selected, XTS_FLL=0 Watch crystal 32768 Hz
LFXT1 crystal frequency, f
(
LFXT1
)
(see Note 3)
XT1 selected, XTS_FLL=1 Ceramic resonator 450 8000 kHz
LFXT1 crystal frequency, f
(LFXT1)
(see Note 3)
XT1 selected, XTS_FLL=1 Crystal 1000 8000 kHz
VCC = 1.8 V DC 4.15
Processor frequency (signal MCLK), f
(System)
VCC = 3.6 V DC 8
MHz
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
be tolerated during power up and operation.
2. The minimum operating supply voltage is defined according to the trip point where POR is going active by decreasing supply voltage. POR is going inactive when the supply voltage is raised above minimum supply voltage plus the hysteresis of the SVS circuitry.
3. The LFXT1 oscillator in LF-mode requires a watch crystal.
f (MHz)
1.8 V 3.6 V
2.7 V 3 V
4.15 MHz
8 MHz
VCC − Supply Voltage − V
f
System
− Maximum Processor Frequency − MHz
Supply Voltage Range with SD16 Enabled or During Programming
of the Flash Memory
Supply Voltage Range
During Program
Execution
6 MHz
Figure 1. Frequency vs Supply Voltage
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
18
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted)
supply current into AVCC + DVCC excluding external current (see Note 1)
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
I
(AM)
Active mode, f
(MCLK)
= f
(SMCLK)
= f
(DCO)
= 1 MHz,
f
(ACLK)
= 32,768 Hz, XTS_FLL = 0
(program executes in flash)
TA = −40°C to 85°C VCC = 3 V 400 500 μA
I
(LPM0)
Low-power mode, (LPM0/LPM1) f
(MCLK)
= f
(SMCLK)
= f
(DCO)
= 1 MHz,
f
(ACLK)
= 32,768 Hz, XTS_FLL = 0
FN_8=FN_4=FN_3=FN_2=0 (see Note 2)
TA = −40°C to 85°C VCC = 3 V 130 150 μA
I
(LPM2)
Low-power mode, (LPM2) (see Note 2) TA = −40°C to 85°C VCC = 3 V 10 22 μA
TA = −40°C 1.5 2.0 TA = 25°C
1.6 2.1
I
(LPM3)
Low-power mode, (LPM3) (see Note 2)
T
A
= 60°C
VCC = 3 V
1.7 2.2
μA
TA = 85°C 2.0 2.6 TA = −40°C 0.1 0.5
I
(
LPM4
)
Low-power mode, (LPM4) (see Note 2)
T
A
= 25°C
VCC = 3 V
0.1 0.5
μA
I
(LPM4)
Low power mode, (LPM4) (see Note 2)
TA = 85°C
V
CC
3
V
0.8 2.5
μA
NOTES: 1. All inputs are tied to 0 V or VCC. Outputs do not source or sink any current.
The current consumption in LPM2, LPM3, and LPM4 are measured with active Basic Timer1 and LCD (ACLK selected). The current consumption of the SD16 and the SVS module are specified in their respective sections. LPMx currents measured with WDT disabled. The currents are characterized with a KDS Daishinku DT−38 (6 pF) crystal.
2. Current for brownout included.
current consumption of active mode versus system frequency
I
(AM)
= I
(AM) [1 MHz]
× f
(System) [MHz]
current consumption of active mode versus supply voltage
I
(AM)
= I
(AM) [3 V]
+ 170 μA/V × (VCC – 3 V)
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
19
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
Schmitt-trigger inputs − Ports P1 and P2; RST/NMI; JTAG: TCK, TMS, TDI/TCLK, TDO/TDI
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
V
IT+
Positive-going input threshold voltage VCC = 3 V 1.5 1.98 V
V
IT−
Negative-going input threshold voltage VCC = 3 V 0.9 1.3 V
V
hys
Input voltage hysteresis (V
IT+
− V
IT−
) VCC = 3 V 0.45 1 V
inputs Px.x, TAx
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
Port P1, P2: P1.x to P2.x, External trigger signal
3 V 1.5 cycle
t
(int)
External interrupt timing
Port P1, P2: P1.x to P2.x, External trigger signal
for the interrupt flag, (see Note 1)
3 V 50 ns
t
(cap)
Timer_A, capture timing TAx 3 V 50 ns
f
(TAext)
Timer_A clock frequency externally applied to pin
TACLK, INCLK t
(H)
= t
(L)
3 V 10 MHz
f
(TAint)
Timer_A clock frequency SMCLK or ACLK signal selected 3 V 10 MHz
NOTES: 1. The external signal sets the interrupt flag every time the minimum t
(int)
cycle and time parameters are met. It may be set even with
trigger signals shorter than t
(int)
. Both the cycle and timing specifications must be met to ensure the flag is set. t
(int)
is measured in
MCLK cycles.
leakage current (see Note 1)
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
I
lkg(P1.x)
Leakage
Port P1 Port 1: V
(P1.x)
(see Note 2)
±50
I
lkg(P2.x)
Leakage
current
Port P2 Port 2: V
(P2.x)
(see Note 2)
VCC = 3 V
±50
nA
NOTES: 1. The leakage current is measured with VSS or VCC applied to the corresponding pin(s), unless otherwise noted.
2. The port pin must be selected as an input.
outputs − Ports P1 and P2
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
I
OH(max)
= −1.5 mA, V
CC
= 3 V, See Note 1 VCC−0.25 V
CC
V
OH
High-level output voltage
I
OH(max)
= −6 mA, V
CC
= 3 V, See Note 2 VCC−0.6 V
CC
V
I
OL(max)
= 1.5 mA, V
CC
= 3 V, See Note 1 V
SS
VSS+0.25
V
OL
Low-level output voltage
I
OL(max)
= 6 mA, V
CC
= 3 V, See Note 2 V
SS
VSS+0.6
V
NOTES: 1. The maximum total current, I
OH(max)
and I
OL(max),
for all outputs combined, should not exceed ±12 mA to satisfy the
maximum specified voltage drop.
2. The maximum total current, I
OH(max)
and I
OL(max),
for all outputs combined, should not exceed ±48 mA to satisfy the
maximum specified voltage drop.
output frequency
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
f
Px.y
(1 ≤ x ≤ 2, 0 ≤ y ≤ 7)
CL = 20 pF, I
L
= ± 1.5mA
V
CC
= 3 V DC 12 MHz
f
ACLK,
f
MCLK,
f
SMCLK
P1.1/TA0/MCLK P1.5/TACLK/ACLK/S28
CL = 20 pF V
CC
= 3 V 12 MHz
f
ACLK
= f
LFXT1
= f
XT1
40% 60%
P1.5/TACLK/ACLK/
S28, CL = 20 pF
f
ACLK
= f
LFXT1
= f
LF
30% 70%
S28, C
L
20
pF
VCC = 3 V
f
ACLK
= f
LFXT1
50%
t
Xdc
Duty cycle of output frequency
P1.1/TA0/MCLK, C
L
= 20 pF,
V
CC
= 3 V
f
MCLK
= f
DCOCLK
50%−
15 ns
50%
50%+
15 ns
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
20
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
outputs − Ports P1 and P2 (continued)
Figure 2
VOL − Low-Level Output Voltage − V
0
5
10
15
20
25
30
0.0 0.5 1.0 1.5 2.0 2.5
VCC = 2.2 V P2.1
TYPICAL LOW-LEVEL OUTPUT CURRENT
vs
LOW-LEVEL OUTPUT VOLTAGE
TA = 25°C
TA = 85°C
OL
I
− Typical Low-level Output Current − mA
Figure 3
VOL − Low-Level Output Voltage − V
0
10
20
30
40
50
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
VCC = 3 V P2.1
TYPICAL LOW-LEVEL OUTPUT CURRENT
vs
LOW-LEVEL OUTPUT VOLTAGE
TA = 25°C
TA = 85°C
OL
I
− Typical Low-level Output Current − mA
Figure 4
VOH − High-Level Output Voltage − V
−30
−25
−20
−15
−10
−5
0
0.0 0.5 1.0 1.5 2.0 2.5
VCC = 2.2 V P2.1
TYPICAL HIGH-LEVEL OUTPUT CURRENT
vs
HIGH-LEVEL OUTPUT VOLTAGE
TA = 25°C
TA = 85°C
OL
I
− Typical High-level Output Current − mA
Figure 5
VOH − High-Level Output Voltage − V
−50
−40
−30
−20
−10
0
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
VCC = 3 V P2.1
TYPICAL HIGH-LEVEL OUTPUT CURRENT
vs
HIGH-LEVEL OUTPUT VOLTAGE
TA = 25°C
TA = 85°C
OL
I
− Typical High-level Output Current − mA
NOTE: One output loaded at a time
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
21
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
wake-up LPM3
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
f = 1 MHz 6
t
d(LPM3
)
Delay time
f = 2 MHz
V
CC
= 3 V
6
μs
t
d(LPM3)
Delay time
f = 3 MHz
V
CC
3 V
6
μs
RAM (see Note 1)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
VRAMh CPU halted (see Note 1) 1.6 V
NOTE 1: This parameter defines the minimum supply voltage when the data in the program memory RAM remain unchanged. No program
execution should take place during this supply voltage condition.
LCD
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
V
(33)
Voltage at R33 2.5 VCC +0.2
V
(23)
Voltage at R23
(V33−V03) × 2/3 + V
03
V
(13)
Analog voltage
Voltage at R13
VCC = 3 V
(V
(33)−V(03)
) × 1/3 + V
(03)
V
V
(33) −
V
(03)
Voltage at R33/R03 2.5 VCC +0.2
I
(R03)
R03 = V
SS
No load at all
±20
I
(R13)
Input leakage
R13 = VCC/3
segment and
±20
nA
I
(R23)
pg
R23 = 2 × VCC/3
common lines, V
CC
= 3 V
±20
V
(Sxx0)
V
(03)
V
(03)
− 0.1
V
(Sxx1)
Segment line
V
(13)
V
(13)
− 0.1
V
(Sxx2)
Segment line
voltage
I
(Sxx)
= −3 μA, VCC = 3 V
V(
23)
V
(23)
− 0.1
V
V
(Sxx3)
V(
33)
V
(33)
+ 0.1
USART0 (see Note 1)
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
t
(τ)
USART0: deglitch time VCC = 3 V, SYNC = 0, UART mode 150 280 500 ns
NOTE 1: The signal applied to the USART0 receive signal/terminal (URXD0) should meet the timing requirements of t
)
to ensure that the URXS
flip-flop is set. The URXS flip-flop is set with negative pulses meeting the minimum-timing condition of t
)
. The operating conditions to set the flag must be met independently from this timing constraint. The deglitch circuitry is active only on negative transitions on the URXD0 line.
POR brownout, reset (see Notes 1 and 2)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
t
d(BOR)
2000 μs
V
CC(start)
dVCC/dt 3 V/s (see Figure 6) 0.7 × V
(B_IT−)
V
V
(B_IT−)
dVCC/dt 3 V/s (see Figure 6, Figure 7, and Figure 8) 1.71 V
V
hys(B_IT−)
B
rownout
dVCC/dt 3 V/s (see Figure 6) 70 130 180 mV
t
(reset)
Pulse length needed at RST/NMI pin to accepted reset internally, V
CC
= 3 V
2 μs
NOTES: 1. The current consumption of the brownout module is already included in the ICC current consumption data. The voltage level
V
(B_IT−)
+ V
hys(B_IT−)
is 1.8 V.
2. During power up, the CPU begins code execution following a period of t
d(BOR)
after VCC = V
(B_IT−)
+ V
hys(B_IT−)
.
The default FLL+ settings must not be changed until V
CC
V
CC(min)
, where V
CC(min)
is the minimum supply voltage for the desired
operating frequency. See the MSP430x4xx Family User’s Guide (SLAU056) for more information on the brownout/SVS circuit.
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
22
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
0
1
V
V
CC(start)
V
hys(B_IT−)
V
CC
t
d(BOR)
(B_IT−)
Figure 6. POR/Brownout Reset (BOR) vs Supply Voltage
V
CC
(drop) − V
0
0.5
1
1.5
2
0.001 1 1000
V = 3 V
Typical Conditions
1 ns 1 ns
tpw − Pulse Width − μst
pw
− Pulse Width − μs
cc
V
CC
3 V
V
CC(drop)
t
pw
Figure 7. V
CC(drop)
Level With a Square Voltage Drop to Generate a POR/Brownout Signal
V
CC
3 V
V
CC(drop)
t
pw
0
0.5
1
1.5
2
tpw − Pulse Width − μs
0.001 1 1000
t
f
t
r
tpw − Pulse Width − μs
t
f
= t
r
V = 3 V
Typical Conditions
cc
V
CC
(drop) − V
Figure 8. V
CC(drop)
Level With a Triangle Voltage Drop to Generate a POR/Brownout Signal
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
23
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
SVS (supply voltage supervisor/monitor) (see Note 1)
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
dVCC/dt > 30 V/ms (see Figure 9) 5 150
t
(SVSR)4
dVCC/dt 30 V/ms 2000
μs
t
d(SVSon)
SVSon, switch from VLD=0 to VLD 0, VCC = 3 V 20 150 μs
t
settle
VLD 0
12 μs
V
(SVSstart)
VLD 0, VCC/dt 3 V/s (see Figure 9) 1.55 1.7 V
VLD = 1 70 120 155 mV
V
hys(SVS_IT−
)
VCC/dt 3 V/s (see Figure 9)
VLD = 2 .. 14
V
(SVS_IT−)
x 0.004
V
(SVS_IT−)
x 0.008
V
hys(SVS_IT−)
VCC/dt 3 V/s (see Figure 9), external voltage applied on P2.3
VLD = 15 4.4 10.4 mV
VLD = 1 1.8 1.9 2.05 VLD = 2 1.94 2.1 2.25 VLD = 3 2.05 2.2 2.37 VLD = 4 2.14 2.3 2.48 VLD = 5 2.24 2.4 2.6 VLD = 6 2.33 2.5 2.71 VLD = 7 2.46 2.65 2.86
VCC/dt 3 V/s (see Figure 9)
VLD = 8 2.58 2.8 3
V
(SVS_IT−)
VLD = 9 2.69 2.9 3.13
V
VLD = 10 2.83 3.05 3.29 VLD = 11 2.94 3.2 3.42 VLD = 12 3.11 3.35 3.61
VLD = 13 3.24 3.5 3.76
VLD = 14 3.43 3.7
3.99
VCC/dt 3 V/s (see Figure 9), external voltage applied on P2.3
VLD = 15 1.1 1.2 1.3
I
CC(SVS)
(see Note 1)
VLD 0, VCC = 2.2 V/3 V 10 15 μA
The recommended operating voltage range is limited to 3.6 V.
t
settle
is the settling time that the comparator o/p needs to have a stable level after VLD is switched VLD 0 to a different VLD value somewhere
between 2 and 15. The overdrive is assumed to be > 50 mV.
NOTE 1: The current consumption of the SVS module is not included in the I
CC
current consumption data.
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
24
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
V
CC(start)
V
CC
V
(B_IT−)
Brownout
Region
V
(SVSstart)
V
Software Sets VLD>0: SVS is Active
Undefined
0
1
Brownout
0
1
0
1
Set POR
Brownout
Region
SVS Circuit is Active From VLD > to VCC < V
(B_IT−)
SVS out
V
hys(SVS_IT−)
V
hys(B_IT−)
t
d(BOR)
t
d(SVSon)
t
d(SVSR)
t
d(BOR)
(SVS_IT−)
Figure 9. SVS Reset (SVSR) vs Supply Voltage
V
CC(drop)
0
0.5
1
1.5
2
1 ns 1 ns
t
pw
− Pulse Width − μs
1 10 1000
t
f
t
r
t − Pulse Width − μs
100
t
f
= t
r
Rectangular Drop
V
CC(drop)
− V
Triangular Drop
3 V
V
CC
t
pw
3 V
V
CC
t
pw
V
CC(drop)
Figure 10. V
CC(drop)
With a Square Voltage Drop and a Triangle Voltage Drop to Generate an SVS Signal
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
25
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
DCO
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
f
(DCOCLK)
N
(DCO)
=01Eh, FN_8=FN_4=FN_3=FN_2=0, D = 2; DCOPLUS= 0,
f
Crystal
= 32.768 kHz
3 V 1 MHz
f
(DCO=2)
FN_8=FN_4=FN_3=FN_2=0 ; DCOPLUS = 1 3 V 0.3 0.7 1.3 MHz
f
(DCO=27)
FN_8=FN_4=FN_3=FN_2=0; DCOPLUS = 1 3 V 2.7 6.1 11.3 MHz
f
(DCO=2)
FN_8=FN_4=FN_3=0, FN_2=1; DCOPLUS = 1 3 V 0.8 1.5 2.5 MHz
f
(DCO=27)
FN_8=FN_4=FN_3=0, FN_2=1; DCOPLUS = 1 3 V 6.5 12.1 20 MHz
f
(DCO=2)
FN_8=FN_4=0, FN_3= 1, FN_2=x; DCOPLUS = 1 3 V 1.3 2.2 3.5 MHz
f
(DCO=27)
FN_8=FN_4=0, FN_3= 1, FN_2=x; DCOPLUS = 1 3 V 10.3 17.9 28.5 MHz
f
(DCO=2)
FN_8=0, FN_4= 1, FN_3= FN_2=x; DCOPLUS = 1 3 V 2.1 3.4 5.2 MHz
f
(DCO=27)
FN_8=0, FN_4=1, FN_3= FN_2=x; DCOPLUS = 1 3 V 16 26.6 41 MHz
f
(DCO=2)
FN_8=1, FN_4=FN_3=FN_2=x; DCOPLUS = 1 3 V 4.2 6.3 9.2 MHz
f
(DCO=27)
FN_8=1,FN_4=FN_3=FN_2=x; DCOPLUS = 1 3 V 30 46 70 MHz
Step size between adjacent DCO taps:
1 < TAP ≤ 20 1.06 1.11
S
n
Step size between adjacent DCO taps:
Sn = f
DCO(Tap n+1)
/ f
DCO(Tap n)
, (see Figure 12 for taps 21 to 27)
TAP = 27 1.07 1.17
D
t
Temperature drift, N
(DCO)
= 01Eh, FN_8=FN_4=FN_3=FN_2=0
D = 2; DCOPLUS = 0
3 V –0.2 –0.3 –0.4 %/_C
D
V
Drift with VCC variation, N
(DCO)
= 01Eh, FN_8=FN_4=FN_3=FN_2=0
D = 2; DCOPLUS = 0
0 5 15 %/V
TA − °CVCC − V
f
(DCO)
f
(DCO205C)
f
(DCO)
f
(DCO3V)
1.8 3.02.4 3.6
1.0
20 6040 85
1.0
0−20−400
Figure 11. DCO Frequency vs Supply Voltage VCC and vs Ambient Temperature
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
26
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
12720
1.11
1.17
DCO Tap
S
n
- Stepsize Ratio between DCO Taps
Min
Max
1.07
1.06
Figure 12. DCO Tap Step Size
DCO Frequency Adjusted by Bits 2
9
to 25 in SCFI1 {N
{DCO}
}
FN_2=0 FN_3=0 FN_4=0 FN_8=0
FN_2=1 FN_3=0 FN_4=0 FN_8=0
FN_2=x FN_3=1 FN_4=0 FN_8=0
FN_2=x FN_3=x FN_4=1 FN_8=0
FN_2=x FN_3=x FN_4=x FN_8=1
Legend
Tolerance at Tap 27
Tolerance at Tap 2
Overlapping DCO Ranges: Uninterrupted Frequency Range
f
(DCO)
Figure 13. Five Overlapping DCO Ranges Controlled by FN_x Bits
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
27
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
crystal oscillator, LFXT1 oscillator (see Notes 1 and 2)
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
OSCCAPx = 0h 3 V 0
Integrated input capacitance
OSCCAPx = 1h
3 V 10
C
XIN
Integrated input capacitance
(see Note 4)
OSCCAPx = 2h
3 V 14
pF
OSCCAPx = 3h 3 V 18 OSCCAPx = 0h 3 V 0
Integrated output capacitance
OSCCAPx = 1h
3 V 10
C
XOUT
Integrated output capacitance
(see Note 4)
OSCCAPx = 2h
3 V 14
pF
OSCCAPx = 3h 3 V 18
V
IL
V
SS
0.2×V
CC
V
IH
Input levels at XIN see Note 3 3 V
0.8×V
CC
V
CC
V
NOTES: 1. The parasitic capacitance from the package and board may be estimated to be 2pF. The effective load capacitor for the crystal is
(C
XIN
x C
XOUT
) / (C
XIN
+ C
XOUT
). It is independent of XTS_FLL.
2. To improve EMI on the low-power LFXT1 oscillator, particularly in the LF mode (32 kHz), the following guidelines must be observed:
Keep as short a trace as possible between the ’F42x and the crystal.
Design a good ground plane around oscillator pins.
Prevent crosstalk from other clock or data lines into oscillator pins XIN and XOUT.
Avoid running PCB traces underneath or adjacent to XIN an XOUT pins.
Use assembly materials and praxis to avoid any parasitic load on the oscillator XIN and XOUT pins.
If conformal coating is used, ensure that it does not induce capacitive/resistive leakage between the oscillator pins.
Do not route the XOUT line to the JTAG header to support the serial programming adapter as shown in other documentation.
This signal is no longer required for the serial programming adapter.
3. Applies only when using an external logic-level clock source. XTS_FLL must be set. Not applicable when using a crystal or resonator.
4. External capacitance is recommended for precision real-time clock applications; OSCCAPx = 0h.
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
28
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
SD16, power supply and recommended operating conditions
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
AV
CC
Analog supply voltage
AVCC = DV
CC
AVSS = DVSS = 0V
2.7 3.6 V
=
GAIN: 1, 2 3 V 650 950
Analog supply
SD16LP
= 0,
f
SD16
= 1 MHz,
GAIN: 4, 8, 16 3 V 730 1100
current: 1 active
f
SD16
1
MHz,
SD16OSR = 256
GAIN: 32 3 V 1050 1550
I
SD16
SD16 channel
including internal
SD16LP = 1,
GAIN: 1 3 V 620 930
μ
A
reference
f
SD16
= 0.5 MHz,
SD16OSR = 256
GAIN: 32 3 V 700 1060
Analog front-end
SD16LP = 0 (Low power mode disabled) 3 V 1
f
SD16
input clock frequency
SD16LP = 1 (Low power mode enabled) 3 V 0.5
MHz
SD16, analog input range (see Note 1)
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
SD16GAINx = 1, SD16REFON = 1 ±500
Differential input
SD16GAINx = 2, SD16REFON = 1 ±250
Differential input
voltage range for
SD16GAINx = 4, SD16REFON = 1 ±125
V
ID
specified
SD16GAINx = 8, SD16REFON = 1 ±62
mV
performance
(see Note 2)
SD16GAINx = 16, SD16REFON = 1 ±31
(see Note 2)
SD16GAINx = 32, SD16REFON = 1 ±15
Input impedance
f
SD16
= 1MHz, SD16GAINx = 1 3 V 200
Z
I
(one input pin to AV
SS
)
f
SD16
= 1MHz, SD16GAINx = 32 3 V 75
kΩ
Differential
f
SD16
= 1MHz, SD16GAINx = 1 3 V 300 400
Z
ID
input impedance (IN+ to IN−)
f
SD16
= 1MHz, SD16GAINx = 32 3 V 100 150
kΩ
V
I
Absolute input voltage range
AVSS-
1.0V
AV
CC
V
V
IC
Common-mode input voltage range
AVSS-
1.0V
AV
CC
V
NOTES: 1. All parameters pertain to each SD16 channel.
2. The analog input range depends on the reference voltage applied to V
REF
. If V
REF
is sourced externally, the full-scale range
is defined by V
FSR+
= +(V
REF
/2)/GAIN and V
FSR−
= −(V
REF
/2)/GAIN. The analog input range should not exceed 80% of
V
FSR+
or V
FSR−
.
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
29
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
SD16, analog performance (f
SD16
= 1MHz, SD16OSRx = 256, SD16REFON = 1)
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
SD16GAINx = 1,Signal Amplitude = 500mV 3 V 83.5 85 SD16GAINx = 2,Signal Amplitude = 250mV 3 V 81.5 84
Signal-to-noise +
SD16GAINx = 4,Signal Amplitude = 125mV
fIN = 50Hz,
3 V 76 79.5
SINAD
Signal to noise +
distortion ratio
SD16GAINx = 8,Signal Amplitude = 62mV
f
IN
=
50Hz
,
100Hz
3 V 73 76.5
dB
SD16GAINx = 16,Signal Amplitude = 31mV 3 V 69 73 SD16GAINx = 32,Signal Amplitude = 15mV 3 V 62 69 SD16GAINx = 1 3 V 0.97 1.00 1.02 SD16GAINx = 2 3 V 1.90 1.96 2.02 SD16GAINx = 4 3 V 3.76 3.86 3.96
G
Nominal gain
SD16GAINx = 8 3 V 7.36 7.62 7.84 SD16GAINx = 16 3 V 14.56 15.04 15.52 SD16GAINx = 32 3 V 27.20 28.35 29.76 SD16GAINx = 1 3 V ±0.2
E
OS
Offset error
SD16GAINx = 32 3 V ±1.5
%FSR
Offset error
SD16GAINx = 1 3 V ±4 ±20
pp
m
dEOS/dT
temperature coefficient
SD16GAINx = 32 3 V ±20 ±100
ppm
FSR/_C
Common-mode
SD16GAINx = 1, Common-mode input signal: V
ID
= 500 mV, fIN = 50 Hz, 100 Hz
3 V >90
CMRR
Common mode
rejection ratio
SD16GAINx = 32, Common-mode input signal: V
ID
= 16 mV, fIN = 50 Hz, 100 Hz
3 V >75
dB
AC PSRR
AC power supply rejection ratio
SD16GAINx = 1, VCC = 3 V ± 100 mV, f
VCC
= 50 Hz 3 V >80 dB
X
T
Crosstalk 3 V <−100 dB
SD16, built-in temperature sensor
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
TC
Sensor
Sensor temperature coefficient
1.18 1.32 1.46 mV/K
V
Offset,sensor
Sensor offset voltage
−100 100 mV
Temperature sensor voltage at TA = 85°C 3 V 435 475 515
V
Sensor
Sensor output
Temperature sensor voltage at TA = 25°C 3 V 355 395 435
mV
V
Sensor
voltage (see Note
2)
Temperature sensor voltage at TA = 0°C 3 V 320 360 400
mV
NOTES: 1. The following formula can be used to calculate the temperature sensor output voltage:
V
Sensor,typ
= TC
Sensor
( 273 + T [°C] ) + V
Offset,sensor
[mV]
2. Results based on characterization and/or production test, not TC
Sensor
or V
Offset,sensor
.
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
30
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
SD16, built-in voltage reference
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
V
REF
Internal reference voltage
SD16REFON = 1, SD16VMIDON = 0 3 V 1.14 1.20 1.26 V
I
REF
Reference supply current
SD16REFON = 1, SD16VMIDON = 0 3 V 175 260 μA
TC
Temperature coefficient
SD16REFON = 1, SD16VMIDON = 0 3 V 20 50 ppm/K
C
REF
V
REF
load
capacitance
SD16REFON = 1, SD16VMIDON = 0 (see Note 1) 100 nF
I
LOAD
V
REF
maximum load
current
SD16REFON = 0 3 V ±200 nA
t
ON
Turn-on time SD16REFON = 0 1, SD16VMIDON = 0, C
REF
= 100 nF 3 V 5 ms
DC PSR
DC power supply rejection, ΔV
REF
/ΔV
CC
SD16REFON = 1, SD16VMIDON = 0, VCC = 2.5 V to 3.6 V 200 μV/V
NOTES: 1. There is no capacitance required on V
REF
. However, a capacitance of at least 100nF is recommended to reduce any reference
voltage noise.
SD16, built-in reference output buffer
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
V
REF,BUF
Reference buffer output voltage
SD16REFON = 1, SD16VMIDON = 1 3 V 1.2 V
I
REF,BUF
Reference Supply + Reference output buffer quiescent current
SD16REFON = 1, SD16VMIDON = 1 3 V 385 600 μA
C
REF(O)
Required load capacitance on V
REF
SD16REFON = 1, SD16VMIDON = 1 470 nF
I
LOAD,Max
Maximum load current on V
REF
SD16REFON = 1, SD16VMIDON = 1 3 V ±1 mA
Maximum voltage variation vs. load current
|I
LOAD
| = 0 to 1mA 3 V −15 +15 mV
t
ON
Turn-on time SD16REFON = 0 1, SD16VMIDON = 1, C
REF
= 470 nF 3 V 100 μs
SD16, external reference input
PARAMETER TEST CONDITIONS V
CC
MIN TYP MAX UNIT
V
REF(I)
Input voltage range SD16REFON = 0 3 V 1.0 1.25 1.5 V
I
REF(I)
Input current SD16REFON = 0 3 V 50 nA
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
31
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued)
Flash Memory
PARAMETER
TEST
CONDITIONS
V
CC
MIN NOM MAX UNIT
V
CC(PGM/
ERASE)
Program and Erase supply voltage 2.7 3.6 V
f
FTG
Flash Timing Generator frequency 257 476 kHz
I
PGM
Supply current from DVCC during program 2.7 V/ 3.6 V 3 5 mA
I
ERASE
Supply current from DVCC during erase 2.7 V/ 3.6 V 3 7 mA
t
CPT
Cumulative program time see Note 1 2.7 V/ 3.6 V 10 ms
t
CMErase
Cumulative mass erase time see Note 2 2.7 V/ 3.6 V 200 ms Program/Erase endurance 10
4
10
5
cycles
t
Retention
Data retention duration TJ = 25°C 100 years
t
Word
Word or byte program time 35
t
Block, 0
Block program time for 1st byte or word 30
t
Block, 1-63
Block program time for each additional byte or word
21
t
Block, End
Block program end-sequence wait time
see Note 3
6
t
FTG
t
Mass Erase
Mass erase time 5297
t
Seg Erase
Segment erase time 4819
NOTES: 1. The cumulative programming 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
FTG
,max = 5297x1/476kHz). To 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
FTG
= 1/f
FTG
).
JTAG Interface
PARAMETER
TEST
CONDITIONS
V
CC
MIN NOM MAX UNIT
2.2 V 0 5 MHz
f
TCK
TCK input frequency see Note 1
3 V 0 10 MHz
R
Internal
Internal pull-up resistance on TMS, TCK, TDI/TCLK see Note 2 2.2 V/ 3 V 25 60 90 kΩ
NOTES: 1. f
TCK
may be restricted to meet the timing requirements of the module selected.
2. TMS, TDI/TCLK, and TCK pull-up resistors are implemented in all versions.
JTAG Fuse (see Note 1)
PARAMETER
TEST
CONDITIONS
V
CC
MIN NOM MAX UNIT
V
CC(FB)
Supply voltage during fuse-blow condition TA = 25°C 2.5 V
V
FB
Voltage level on TDI/TCLK for fuse-blow 6 7 V
I
FB
Supply current into TDI/TCLK during fuse-blow 100 mA
t
FB
Time to blow fuse 1 ms
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.
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
32
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
APPLICATION INFORMATION
input/output schematic
Port P1, P1.0 to P1.1, input/output with Schmitt-trigger
P1OUT.x
Module X OUT
P1DIR.x
Direction Control
From Module
P1SEL.x
D
EN
Interrupt
Edge
Select
P1IES.x P1SEL.x
P1IE.x
P1IFG.x
P1IRQ.x
EN
Set
Q
0
1
1 0
Pad Logic
0: Input 1: Output
Bus keeper
CAPD.x
PnSEL.x PnDIR.x
Direction
From Module
PnOUT.x
Module X
OUT
PnIN.x
PnIE.x
PnIFG.x
PnIES.x
Module X IN
P1SEL.1 P1DIR.1 P1OUT.1 P1IN.1 P1IE.1 P1IFG.1 P1IES.1
P1SEL.0
P1DIR.0
P1OUT.0
P1IN.0
P1IE.0 P1IFG.0 P1IES.0
P1DIR.1
P1DIR.0
MCLK
Module X IN
P1IN.x
P1.0/TA0 P1.1/TA0/MCLK
Control
NOTE: 0 ≤ x ≤ 1.
Port Function is Active if CAPD.x = 0
Timer_A3
Out0 Sig.
CCI0A
CCI0B
CAPD.x
DVSS
DVSS
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
33
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
APPLICATION INFORMATION
input/output schematic (continued)
Port P1, P1.2 to P1.7, input/output with Schmitt-trigger
DVSS
P1OUT.x
Module X OUT
P1DIR.x
Direction Control
From Module
P1SEL.x
D
EN
Interrupt
Edge
Select
P1IES.x P1SEL.x
P1IE.x
P1IFG.x
P1IRQ.x
EN
Set
Q
0
1
1 0
Pad Logic
0: Input 1: Output
Bus keeper
DVSS
PnSEL.x PnDIR.x
Direction
From Module
PnOUT.x
Module X
OUT
PnIN.x
PnIE.x
PnIFG.x
PnIES.x
Module X IN
P1SEL.7 P1DIR.7 P1OUT.7 P1IN.7 P1IE.7 P1IFG.7 P1IES.7
P1SEL.2 P1DIR.2 P1OUT.2 P1IN.2 P1IE.2 P1IFG.2 P1IES.2
P1SEL.3 P1DIR.3 P1OUT.3 P1IN.3 P1IE.3 P1IFG.3 P1IES.3
P1SEL.4 P1DIR.4
P1OUT.4 P1IN.4 P1IE.4 P1IFG.4 P1IES.4
P1SEL.5 P1DIR.5 P1OUT.5 P1IN.5 P1IE.5 P1IFG.5 P1IES.5
P1SEL.6
P1DIR.6
P1OUT.6
P1IN.6
P1IE.6 P1IFG.6 P1IES.6
SVSOUT
DCM_SOMI
P1DIR.2
P1DIR.3
P1DIR.4
P1DIR.5
DCM_SIMO
ACLK
Module X IN
P1IN.x
P1.5/TACLK/ACLK/S28
P1.2/TA1/S31
P1.4/S29
P1.3/SVSOUT/S30
Control
NOTE: 2 ≤ x ≤ 7.
Port Function is Active if Port/LCD = 0
Timer_A3
USART0
SIMO0(o)
Out1 Sig.
CCI1A
unused
unused
TACLK
P1.7/SOMI0/S26
P1.6/SIMO0/S27
Segment xx
Port/LCD
Port/LCD
Segment
S26
S31
S30
S29
S28
S27
SOMI0(o)
SIMO0(i)
SOMI0(i)
0: LCDM
< 0E0h
1: LCDM
0E0h
0: LCDM
< 0C0h
1: LCDM
0C0h
SYNC
MM
STC STE
SYNC
MM STC STE
DCM_SOMI
DCM_SIMO
Direction Control for SOMI0
Direction Control for SIMO0
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
34
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
APPLICATION INFORMATION
input/output schematic (continued)
port P2, P2.0 to P2.1, input/output with Schmitt-trigger
P2OUT.x
Module X OUT
P2DIR.x
Direction Control
From Module
P2SEL.x
D
EN
Interrupt
Edge
Select
P2IES.x P2SEL.x
P2IE.x
P2IFG.x
P2IRQ.x
EN
Set
Q
0
1
1
0
PnSel.x PnDIR.x
Dir. Control
from module
PnOUT.x
Module X
OUT
PnIN.x PnIE.x PnIFG.x PnIES.xModule X IN
0: Port active 1: Segment xx function active
P2Sel.0 P2DIR.0
P2Sel.1 P2DIR.1
P2DIR.0
DCM_UCLK
P2OUT.0
P2OUT.1
P2IN.0
P2IN.1 UCLK0(i)
Out2sig.
UCLK0(o)
P2IE.0
P2IE.1
P2IFG.0
P2IFG.1
P2IES.0
P2IES.1
Module X IN
P2IN.x
Pad Logic
0: Input 1: Output
Bus Keeper
CCI2A
Port/LCD
Port/LCD
Segment xx
P2.0/TA2/S25
P2.1/UCLK0/S24
Timer_A3
USART0
Segment
S25
S24
0: LCDM
< 0E0h
1: LCDM
0E0h
NOTE: 0 ≤ x ≤ 1.
Port Function is Active if Port/LCD = 0
SYNC
MM
STC
STE
DCM_UCLK
Direction Control for UCLK0
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
35
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
APPLICATION INFORMATION
input/output schematic (continued)
port P2, P2.2 to P2.5, input/output with Schmitt-trigger
DVSS
P2OUT.x
Module X OUT
P2DIR.x
Direction Control
From Module
P2SEL.x
D
EN
Interrupt
Edge
Select
P2IES.x P2SEL.x
P2IE.x
P2IFG.x
P2IRQ.x
EN
Set
Q
0
1
1 0
Pad Logic
0: Input 1: Output
Bus keeper
CAPD.x
PnSEL.x PnDIR.x
Direction
From Module
PnOUT.x
Module X
OUT
PnIN.x
PnIE.x
PnIFG.x
PnIES.x
Module X IN
P2SEL.2 P2DIR.2 P2OUT.2 P2IN.2 P2IE.2 P2IFG.2 P2IES.2
P2SEL.3 P2DIR.3 P2OUT.3 P2IN.3 P2IE.3 P2IFG.3 P2IES.3
P2SEL.4 P2DIR.4
P2OUT.4 P2IN.4 P2IE.4 P2IFG.4 P2IES.4
P2SEL.5 P2DIR.5 P2OUT.5 P2IN.5 P2IE.5 P2IFG.5 P2IES.5
DVSS
DVSS
P2DIR.3
DVCC
DVSS DVSS
Module X IN
P2IN.x
P2.5/URXD0
P2.2/STE0
P2.4/UTXD0
P2.3/SVSIN
Control
NOTE: 2 ≤ x ≤ 5
Port function is active if CAPD.x = 0
USART0
UTXD0
STE0
unused
unused
URXD0
DVSS
DVSS
CAPD.x
To BrownOut/SVS for P2.3/SVSIN
DVSS
SVSCTL VLD
DVSS
DVSS
= 1111 b
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
36
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
APPLICATION INFORMATION
input/output schematic (continued)
Port P2, unbonded GPIOs P2.6 and P2.7
EN
D
0
1
0
1
Interrupt
Edge
Select
EN
Set
Q
P2IE.x
P2IFG.x
P2IRQ.x
Interrupt Flag
P2IES.x
P2SEL.x
Module X IN
P2IN.x
P2OUT.x
Module X OUT
Direction Control
From Module
P2DIR.x
P2SEL.x
Bus Keeper
0
1
0: Input 1: Output
Node Is Reset With PUC
PUC
NOTE: x = Bit/identifier, 6 to 7 for port P2 without external pins
P2Sel.x
P2DIR.x
DIRECTION
CONTROL
FROM MODULE
P2OUT.x MODULE X OUT P2IN.x MODULE X IN P2IE.x P2IFG.x P2IES.x
P2Sel.6 P2DIR.6 P2DIR.6 P2OUT.6 DV
SS
P2IN.6 unused P2IE.6 P2IFG.6 P2IES.6
P2Sel.7 P2DIR.7 P2DIR.7 P2OUT.7 DV
SS
P2IN.7 unused P2IE.7 P2IFG.7 P2IES.7
NOTE: Unbonded GPIOs 6 and 7 of port P2 can be used as interrupt flags. Only software can affect the interrupt flags. They work as software
interrupts.
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
37
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
APPLICATION INFORMATION
JTAG pins TMS, TCK, TDI/TCLK, TDO/TDI, input/output with Schmitt-trigger or output
TDI
TDO
TMS
TDI/TCLK
TDO/TDI
Controlled
by JTAG
TCK
TMS
TCK
DV
CC
Controlled by JTAG
Test
JTAG
and
Emulation
Module
DV
CC
DV
CC
Burn and Test
Fuse
G
D S
U
G
D S
U
TCK
Tau ~ 50 ns
Brownout
Controlled by JTAG
RST/NMI
MSP430F42x MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
38
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
APPLICATION INFORMATION
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
TF
, of 1.8 mA at 3 V can flow from the TDI/TCLK pin to ground if the fuse is not burned. Care must be
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 14). 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.
Time TMS Goes Low After POR
TMS
I
TF
I
TDI/TCLK
Figure 14. Fuse Check Mode Current, MSP430F42x
MSP430F42x
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
39
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Data Sheet Revision History
Literature
Number
Summary
SLAS421 Production datasheet release
SLAS421A
Updated functional block diagram (page 3) Clarified test conditions in recommended operating conditions table (page 17) Changed “Supply voltage during program execution; SD16 disabled, SVS enabled, and PORON = 1” MIN value from 2.2 V to 2.0 V (page 17) Clarified test conditions for I
(LPM0)
in supply current into AVCC + DVCC table (page 18) Clarified test conditions in USART0 table (page 21) Changed PSRR to AC PSRR in SD16 analog performance table (page 29) Added DC PSR in SD16, built-in voltage reference table (page 30) Added t
ON
parameter to SD16, built-in voltage reference and SD16, built-in reference output buffer tables (page 30)
Changed t
CPT
maximum value from 4 ms to 10 ms in Flash memory table (page 31)
NOTE: Page and figure numbers refer to the respective document revision.
PACKAGE OPTION ADDENDUM
www.ti.com
15-Nov-2006
PACKAGING INFORMATION
Orderable Device Status
(1)
Package
Type
Package Drawing
Pins Package
Qty
Eco Plan
MSP430F423IPM ACTIVE LQFP PM 64 160 Green (RoHS &
no Sb/Br)
MSP430F423IPMR ACTIVE LQFP PM 64 1000 Green (RoHS &
no Sb/Br)
MSP430F425IPM ACTIVE LQFP PM 64 160 Green (RoHS &
no Sb/Br)
MSP430F425IPMR ACTIVE LQFP PM 64 1000 Green (RoHS &
no Sb/Br)
MSP430F427IPM ACTIVE LQFP PM 64 160 Green (RoHS &
no Sb/Br)
MSP430F427IPMR ACTIVE LQFP PM 64 1000 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 NIPDAU Level-3-260C-168 HR
CU NIPDAU Level-3-260C-168 HR
CU NIPDAU Level-3-260C-168 HR
CU NIPDAU Level-3-260C-168 HR
CU NIPDAU Level-3-260C-168 HR
CU NIPDAU Level-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.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 1
MECHANICAL DATA
MTQF008A – JANUARY 1995 – REVISED DECEMBER 1996
PM (S-PQFP-G64) PLASTIC QUAD FLATPACK
49
64
0,50
48
0,27 0,17
33
1
7,50 TYP 10,20
SQ
9,80
12,20
SQ
11,80
16
0,08
32
17
M
0,05 MIN
0,13 NOM
Gage Plane
0,25
0°–7°
1,45 1,35
1,60 MAX
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice. C. Falls within JEDEC MS-026 D. May also be thermally enhanced plastic with leads connected to the die pads.
0,75 0,45
Seating Plane
0,08
4040152/C 11/96
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
1
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security RFID www.ti-rfid.com Telephony www.ti.com/telephony Low Power www.ti.com/lpw Video & Imaging www.ti.com/video
Wireless
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Wireless www.ti.com/wireless
Copyright © 2007, Texas Instruments Incorporated
Loading...