MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
D Low Supply Voltage Range 1.8 V 3.6 V D Serial Onboard Programming
D Ultralow-Power Consumption: D Programmable Code Protection by Security
Active Mode: 200 µA at 1 MHz, 2.2 V Fuse
Standby Mode: 0.7 µA
D Supply Voltage Brownout Protection
Off Mode (RAM Retention): 0.1 µA
D MSP430x11x2 Family Members Include:
D Five Power Saving Modes
MSP430F1122: 4KB + 256B Flash Memory
D Wake-Up From Standby Mode in 6 µs (MTP ), 256B RAM
MSP430F1132: 8KB + 256B Flash Memory
D 16-Bit RISC Architecture, 125 ns
(MTP ), 256B RAM
Instruction Cycle Time
Available in 20-Pin Plastic SOWB and
D Basic Clock Module Configurations:
20-Pin Plastic TSSOP Packages
Various Internal Resistors
D MSP430x12x2 Family Members Include:
Single External Resistor
MSP430F1222: 4KB + 256B Flash Memory
32-kHz Crystal
(MTP ), 256B RAM
High Frequency Crystal
MSP430F1232: 8KB + 256B Flash Memory
Resonator
(MTP ), 256B RAM
External Clock Source
Available in 28-Pin Plastic SOWB and
D 16-Bit Timer With Three Capture/Compare
28-Pin Plastic TSSOP Packages
Registers
D For Complete Module Descriptions, See the
D 10-Bit, 200-ksps A/D Converter With
MSP430x1xx Family User s Guide,
Internal Reference, Sample-and-Hold,
Literature Number SLAU049
Autoscan, and Data Transfer Controller
D Serial Communication Interface (USART)
With Software-Selectable Asynchronous
UART or Synchronous SPI (MSP430x12x2
Only)
description
The Texas Instruments MSP430 series is an ultralow-power microcontroller family consisting of several devices
featuring different sets of modules targeted to various applications. The microcontroller is designed to be battery
operated for an extended-application lifetime. With 16-bit RISC architecture, 16-bit integrated registers on the
CPU, and a constant generator, the MSP430 achieves maximum code efficiency. The digitally-controlled
oscillator provides fast wake-up from all low-power modes to active mode in less than 6 ms.
The 10-bit A/D converter, together with its integrated reference voltage, provides up to 200 kilo-
samples-per-second. The peripheral data transfer controller minimizes interrupt overhead and frees up CPU
resources. Digital signal processing with the 16-bit RISC performance enables effective system solutions such
as glass breakage detection with signal analysis (including wave digital filter algorithm). Another area of
application is in stand-alone RF sensors. The MSP430x11x2 and MSP430x12x2 series are ultralow-power
mixed signal microcontrollers with a built-in 16-bit timer and fourteen or twenty-two I/O pins.
The flash memory provides added flexibility of in-system programming and data storage without significantly
increasing the current consumption of the device. The programming voltage is generated on-chip, thereby
alleviating the need for an additional supply, and even allowing for reprogramming of battery-operated systems.
The MSP430x12x2 series microcontrollers have built-in communication capability using asynchronous (UART)
and synchronous (SPI) protocols.
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.
MTP = Multiple Time Programmable
Copyright © 2002, 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.
1
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
AVAILABLE OPTIONS
PACKAGED DEVICES
TA PLASTIC 20-PIN SOWB PLASTIC 20-PIN TSSOP PLASTIC 28-PIN SOWB PLASTIC 28-PIN TSSOP
(DW) (PW) (DW) (PW)
MSP430F1122IDW MSP430F1122IPW MSP430F1222IDW MSP430F1222IPW
MSP430F1122IDW MSP430F1122IPW MSP430F1222IDW MSP430F1222IPW
40°C to 85°C
40°Cto85°C
MSP430F1132IDW MSP430F1132IPW MSP430F1232IDW MSP430F1232IPW
DW or PW PACKAGE
(TOP VIEW)
TEST 1 20
P1.7/TA2/TDO/TDI
VCC 2 19
P1.6/TA1/TDI
P2.5/ROSC 3 18
P1.5/TA0/TMS
VSS 4 17
P1.4/SMCLK/TCK
XOUT 5 16
P1.3/TA2
XIN 6 15
P1.2/TA1
RST/NMI
7 14
P1.1/TA0
P2.0/ACLK/A0
8 13
P1.0/TACLK/ADC10CLK
P2.1/INCLK/A1
9 12
P2.4/TA2/A4/VREF+
P2.2/TA0/A2
10 11 P2.3/TA1/A3/VREF
MSP430x11x2
DW or PW PACKAGE
(TOP VIEW)
1 28
TEST P1.7/TA2/TDO/TDI
27
VCC 2 P1.6/TA1/TDI
26
P2.5/ROSC 3 P1.5/TA0/TMS
4 25
VSS P1.4/SMCLK/TCK
5 24
XOUT P1.3/TA2
6 23
XIN P1.2/TA1
7 22
RST/NMI P1.1/TA0
8 21
P2.0/ACLK/A0 P1.0/TACLK/ADC10CLK
9 20
P2.1/INCLK/A1 P2.4/TA2/A4/VREF+
P2.2/TA0/A2 10 19
P2.3/TA1/A3/VREF
P3.0/STE0/A5 11 18
P3.7/A7
P3.1/SIMO0 12 17
P3.6/A6
P3.2/SOMI0 13 16 P3.5/URXD0
P3.3/UCLK0 14 15 P3.4/UTXD0
MSP430x12x2
2
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
functional block diagram
VCC VSS
XOUT
XIN RST/NMI P2 P1
6
8
ACLK }
Port P1
Port P2
4 kB Flash Power-on-
Oscillator
8 I/O s, All SMCLK
ACLK 8 I/O s, All
256B
R SMCLK
OSC
8 kB Flash
System Reset/
With
With
RAM
Clock
Interrupt
Interrupt
+256B Flash Brown-Out
Capability
Capability
a0 ... a4
MCLK
VREF+
VREF
MAB, 4 Bit
MAB, 16 Bit
MCB
CPU
Test
JTAG
Incl. 16 Reg.
Bus
MDB, 16 Bit MDB, 8 Bit
Conv
Test
ADC1O
Timer_A3
Watchdog With
{
Port P3
{
Autoscan 3 CC-
Timer USART0
ACLK 8 I/O s
and
Register
15 / 16 Bit
SMCLK DTC
Objects in the dashed box
are only available on the
MSP430x12x2 devices
8
VREF TACLK
TA0-2
a5, a6, a7
VREF+
URXD0 UTXD0
a0 ... a7
NOTE: { Port P3 and USART0 present only on MSP430x12x2 devices.
P3
NOTE: } Only six I/Os on MSP430x11x2 devices.
3
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
Terminal Functions
TERMINAL
TERMINAL
NAME 11x2 12x2 I/O DESCRIPTION
NO. NO.
P1.0/TACLK/ 13 21 I/O General-purpose digital I/O pin/Timer_A, clock signal TACLK input/conversion clock 10-bit
ADC10CLK ADC
P1.1/TA0 14 22 I/O General-purpose digital I/O pin/Timer_A, capture: CCI0A input, compare: Out0 output
P1.2/TA1 15 23 I/O General-purpose digital I/O pin/Timer_A, capture: CCI1A input, compare: Out1 output
P1.3/TA2 16 24 I/O General-purpose digital I/O pin/Timer_A, capture: CCI2A input, compare: Out2 output
P1.4/SMCLK/TCK 17 25 I/O General-purpose digital I/O pin/SMCLK signal output/test clock, input terminal for device
programming and test
P1.5/TA0/TMS 18 26 I/O General-purpose digital I/O pin/Timer_A, compare: Out0 output/test mode select, input terminal
for device programming and test
P1.6/TA1/TDI 19 27 I/O General-purpose digital I/O pin/Timer_A, compare: Out1 output/test data input terminal
P1.7/TA2/TDO/TDI 20 28 I/O General-purpose digital I/O pin/Timer_A, compare: Out2 output/test data output terminal or
data input during programming
P2.0/ACLK/A0 8 8 I/O General-purpose digital I/O pin/ACLK output, analog input to 10-bit ADC input A0
P2.1/INCLK/A1 9 9 I/O General-purpose digital I/O pin/Timer_A, clock signal at INCLK, analog input to 10-bit ADC input
A1
P2.2/TA0/A2 10 10 I/O General-purpose digital I/O pin/Timer_A, capture: CCI0B input, compare: Out0 output/analog
input to 10-bit ADC input A2
P2.3/TA1/A3/VREF 11 19 I/O General-purpose digital I/O pin/Timer_A, capture: CCI1B input, compare: Out1 output/analog
input to 10-bit ADC input A3, negative reference voltage terminal.
P2.4/TA2/A4/VREF+ 12 20 I/O General-purpose digital I/O pin/Timer_A, compare: Out2 output/analog input to 10-bit ADC
input A4, I/O of positive reference voltage terminal.
P2.5/Rosc 3 3 I/O General-purpose digital I/O pin/Input for external resistor that defines the DCO nominal
frequency
P3.0/STE0/A5 NA 11 I/O General-purpose digital I/O pin, slave transmit enable USART0/SPI mode, analog input to
10-bit ADC input A5
P3.1/SIMO0 NA 12 I/O General-purpose digital I/O pin, slave in/master out of USART0/SPI mode
P3.2/SOMI0 NA 13 I/O General-purpose digital I/O pin, slave out/master in of USART0/SPI mode
P3.3/UCLK0 NA 14 I/O General-purpose digital I/O pin, external clock input USART0/UART or SPI mode,
clock output USART0/SPI mode clock input
P3.4/UTXD0 NA 15 I/O General-purpose digital I/O pin, transmit data out USART0/UART mode
P3.5/URXD0 NA 16 I/O General-purpose digital I/O pin, receive data in USART0/UART mode
P3.6/A6 NA 17 I/O General-purpose digital I/O pin, analog input to 10-bit ADC input A6
P3.7/A7 NA 18 I/O General-purpose digital I/O pin, analog input to 10-bit ADC input A7
RST/NMI 7 7 I Reset or nonmaskable interrupt input
TEST 1 1 I Select of test mode for JTAG pins on Port1
VCC 2 2 Supply voltage
VSS 4 4 Ground reference
XIN 6 6 I Input terminal of crystal oscillator
XOUT 5 5 I/O Output terminal of crystal oscillator
TDO or TDI is selected via JTAG instruction.
4
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
short-form description
processing unit
The processing unit is based on a consistent and orthogonally-designed CPU and instruction set. This design
structure results in a RISC-like architecture, highly transparent to the application development, and noted for
its programming simplicity. All operations other than program-flow instructions are consequently performed as
register operations in conjunction with seven addressing modes for source and four modes for destination
operands.
PC/R0
Program Counter
CPU
All 16 registers are located inside the CPU,
SP/R1
Stack Pointer
providing reduced instruction execution time. This
reduces a register-register operation execution
SR/CG1/R2
Status Register
time to one cycle of the processor.
CG2/R3
Constant Generator
Four registers are reserved for special use as a
program counter, a stack pointer, a status register,
General-Purpose Register R4
and a constant generator. The remaining twelve
registers are available as general-purpose
General-Purpose Register R5
registers.
Peripherals are connected to the CPU using a
data address and control buses. They can be General-Purpose Register R14
easily handled with all instructions for memory
manipulation.
General-Purpose Register R15
instruction set
The instruction set for this register-register architecture provides a powerful and easy-to-use assembly
language. The instruction set consists of 51 instructions with three formats and seven addressing modes.
Table 1 provides a summation and example of the three types of instruction formats; the addressing 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
Most instructions can operate on both word and byte data. Byte operations are identified by the suffix B.
Examples: Instructions for word operation Instructions for byte operation
MOV EDE,TONI MOV.B EDE,TONI
ADD #235h,&MEM ADD.B #35h,&MEM
PUSH R5 PUSH.B R5
SWPB R5
5
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
instruction set (continued)
Table 2. Address Mode Descriptions
ADDRESS MODE s d SYNTAX EXAMPLE OPERATION
Register " " MOV Rs, Rd MOV R10, R11 R10 R11
Indexed " " MOV X(Rn), Y(Rm) MOV 2(R5), 6(R6) M(2 + R5) M(6 + R6)
Symbolic (PC relative) " " MOV EDE, TONI M(EDE) M(TONI)
Absolute " " MOV &MEM, &TCDAT M(MEM) M(TCDAT)
Indirect " MOV @Rn, Y(Rm) MOV @R10, Tab(R6) M(R10) M(Tab + R6)
Indirect autoincrement " MOV @Rn+, RM MOV @R10+, R11 M(R10) R11, R10 + 2 R10
Immediate " MOV #X, TONI MOV #45, TONI #45 M(TONI)
NOTE: s = source d = destination Rs/Rd = source register/destination register Rn = register number
Computed branches (BR) and subroutine call (CALL) instructions use the same addressing modes as the other
instructions. These addressing modes provide indirect addressing, ideally suited for computed branches and
calls. The full use of this programming capability permits a program structure different from conventional 8- and
16-bit controllers. For example, numerous routines can easily be designed to deal with pointers and stacks
instead of using flag type programs for flow control.
operation modes and interrupts
The MSP430 operating modes support various advanced requirements for ultralow-power and ultralow-energy
consumption. This is achieved by the intelligent management of the operations during the different module
operation modes and CPU states. The advanced requirements are fully supported during interrupt event
handling. An interrupt event awakens the system from each of the various operating modes and returns with
the RETI instruction to the mode that was selected before the interrupt event. The different requirements of the
CPU and modules, which are driven by system cost and current consumption objectives, necessitate the use
of different clock signals:
D Auxiliary clock ACLK (from LFXT1CLK/crystal s frequency), used by the peripheral modules
D Main system clock MCLK, used by the CPU and system
D Subsystem clock SMCLK, used by the peripheral modules
low-power consumption capabilities
The various operating modes are controlled by the software through controlling the operation of the internal
clock system. This clock system provides many combinations of hardware and software capabilities to run the
application with the lowest power consumption and with optimized system costs:
D Use the internal clock (DCO) generator without any external components.
D Select an external crystal or ceramic resonator for lowest frequency or cost.
D Select and activate the proper clock signals (LFXT1CLK and/or DCOCLK) and clock predivider function.
D Apply an external clock source.
Four of the control bits that influence the operation of the clock system and support fast turnon from low power
operating modes are located in the status register SR. The four bits that control the CPU and the system clock
generator are SCG1, SCG0, OscOff, and CPUOff.
6
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
status register R2
15 9 8 7 6543 210
Reserved For Future
V SCG1 SCG0 OscOff CPUOff GIE N Z C
Enhancements
rw-0 rw-0 rw-0 rw-0 rw-0 rw-0 rw-0 rw-0 rw-0 rw-0
The bits CPUOff, SCG1, SCG0, and OscOff are the most important low-power control bits when the basic
function of the system clock generator is established. They are pushed onto the stack whenever an interrupt
is accepted and thereby saved so that the previous mode of operation can be retrieved after the interrupt
request. During execution of an interrupt handler routine, the bits can be manipulated via indirect access of the
data on the stack. This allows the program to resume execution in another power operating mode after the return
from interrupt (RETI).
SCG1: The clock signal SMCLK, used for peripherals, is enabled when bit SCG1 is reset or disabled if
the bit is set.
SCG0: The dc-generator is active when SCG0 is reset. The dc-generator can be deactivated only if the
SCG0 bit is set and the DCOCLK signal is not used for MCLK or SMCLK. The current consumed
by the dc-generator defines the basic frequency of the DCOCLK. It is a dc current.
The clock signal DCOCLK is deactivated if it is not used for MCLK. There are two situations when
the SCG0 bit cannot switch off the dc-generator signal:
1. DCOCLK frequency is used for MCLK (CPUOff=0 and SELM.1=0).
2. DCOCLK frequency is used for SMCLK (SCG1=0 and SELS=0).
NOTE:
When the current is switched off (SCG0=1) the start of the DCOCLK is delayed slightly. The delay
is in the µs-range (see device parameters for details).
OscOff: The LFXT1 crystal oscillator is active when the OscOff bit is reset. The LFXT1 oscillator can only
be deactivated if the OscOff bit is set and it is not used for MCLK or SMCLK. The setup time to
start a crystal oscillation needs consideration when oscillator off option is used. Mask
programmable (ROM) devices can disable this feature so that the oscillator can never be switched
off by software.
CPUOff: The clock signal MCLK, used for the CPU, is active when the CPUOff bit is reset or stopped if it
is set.
7
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
interrupt vector addresses
The interrupt vectors and the power-up starting address are located in the memory with an 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
WDTIFG (see Note1)
Power-up, external reset, watchdog Reset 0FFFEh 15, highest
KEYV (see Note 1)
(Non)-maskable,
NMIIFG (see Notes 1 and 4)
NMI, oscillator fault, flash memory
(Non)-maskable, 0FFFCh 14
OFIFG (see Notes 1 and 4)
access violation
(Non)-maskable
ACCVIFG (see Notes 1 and 4)
0FFFAh 13
0FFF8h 12
0FFF6h 11
Watchdog timer WDTIFG Maskable 0FFF4h 10
Timer_A CCIFG0 (see Note 2) Maskable 0FFF2h 9
CCIFG1, CCIFG2, TAIFG
Timer_A Maskable 0FFF0h 8
(see Notes 1 and 2)
USART0 receive (see Note 5) URXIFG.0 Maskable 0FFEEh 7
USART0 transmit (see Note 5) UTXIFG.0 Maskable 0FFECh 6
ADC10 ADC10IFG Maskable 0FFEAh 5
0FFE8h 4
P2IFG.0 to P2IFG.7
I/O Port P2 (eight flags see Note 3) Maskable 0FFE6h 3
(see Notes 1 and 2)
P1IFG.0 to P1IFG.7
I/O Port P1 (eight flags) Maskable 0FFE4h 2
(see Notes 1 and 2)
0FFE2h 1
0FFE0h 0, lowest
NOTES: 1. Multiple source flags
2. Interrupt flags are located in the module
3. There are eight Port P2 interrupt flags, but only six Port P2 I/O pins (P2.0 5) are implemented on the 11x2 and 12x2 devices.
4. (Non)-maskable: the individual interrupt enable bit can disable an interrupt event, but the general interrupt enable cannot.
5. USART0 is implemented in MSP430x12x2 only.
8
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
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
765432 1 0
Address
0h OFIE WDTIE
ACCVIE NMIIE
rw-0 rw-0 rw-0 rw-0
WDTIE: Watchdog Timer interrupt enable. Inactive if watchdog mode is selected. Active if Watchdog Timer
is configured as general-purpose timer
OFIE: Oscillator fault enable
NMIIE: (Non)maskable interrupt enable
ACCVIE: Flash access violation interrupt enable
765432 1 0
Address
01h
UTXIE0 URXIE0
rw-0 rw-0
URXIE0: USART0, UART, and SPI receive-interrupt enable (MSP430x12x2 devices only)
UTXIE0: USART0, UART, and SPI transmit-interrupt enable (MSP430x12x2 devices only)
interrupt flag register 1 and 2
765432 1 0
Address
02h NMIIFG OFIFG WDTIFG
rw-0 rw-1 rw-0
WDTIFG: Set on Watchdog Timer overflow (in watchdog mode) or security key violation.
Reset on VCC power-up or a reset condition at RST/NMI pin in reset mode
OFIFG: Flag set on oscillator fault
NMIIFG: Set via RST/NMI-pin
765432 1 0
Address
03h
UTXIFG0 URXIFG0
rw-1 rw-0
URXIFG0: USART0, UART, and SPI receive flag (MSP430x12x2 devices only)
UTXIFG0: USART0, UART, and SPI transmit flag (MSP430x12x2 devices only)
9
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
module enable registers 1 and 2
765432 1 0
Address
04h
765432 1 0
Address
URXE0
05h
UTXE0
USPIE0
rw-0 rw-0
URXE0: USART0, UART mode receive enable (MSP430x12x2 devices only)
UTXE0: USART0, UART mode transmit enable (MSP430x12x2 devices only)
USPIIE0: USART0, SPI mode transmit and receive enable (MSP430x12x2 devices only)
Legend rw: Bit can be read and written.
rw-0: Bit can be read and written. It is reset by PUC
SFR bit is not present in device.
memory organization
MSP430F1122 MSP430F1132
MSP430F1222 MSP430F1232
FFFFh FFFFh
Int. Vector Int. Vector
FFE0h FFE0h
FFDFh FFDFh
4 KB Flash
8 KB
Segment0 7 Main
Flash
F000h
Segment0 15 Memory
E000h
10FFh 10FFh
2 × 128B 2 × 128B
Information
Flash
Flash
Memory
SegmentA,B
1000h SegmentA,B 1000h
0FFFh
0FFFh
1 KB 1 KB
Boot ROM Boot ROM
0C00h
0C00h
02FFh
02FFh
256B RAM
256B RAM
0200h
0200h
01FFh
01FFh
16b Per. 16b Per.
0100h 0100h
00FFh 00FFh
8b Per. 8b Per.
0010h 0010h
000Fh 000Fh
SFR SFR
0000h 0000h
10
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
boot ROM containing bootstrap loader
The bootstrap loader downloads data into the flash memory module. Various write, read, and erase operations
are needed for a proper download environment. The bootstrap loader is only available on F devices.
functions of the bootstrap loader:
Definition of read: apply and transmit data of peripheral registers or memory to pin P1.1 (BSLTX)
write: read data from pin P2.2 (BSLRX) and write them into flash memory
unprotected functions
Mass erase: Erase of the main memory (segment 0 to segment n) and information memory (segment A and
segment B).
Access to the MSP430 via the bootstrap loader is protected. It must be enabled before any protected function
can be performed. The 256 bits in 0FFE0h to 0FFFFh provide the access key.
protected functions
All protected functions can be executed only if the access is enabled.
D Write/program byte into flash memory; Parameters passed are start address and number of bytes (the
block-write feature of the flash memory is not supported and not useful with the UART protocol).
D Segment erase of Segment0 to Segment7/15 in the main memory and segment erase of SegmentA and
SegmentB in the information memory.
D Read all data in main memory and information memory.
D Read and write to all byte peripheral modules and RAM.
D Modify PC and start program execution immediately.
NOTE:
Unauthorized readout of code and data is prevented by the user s definition of the data in the
interrupt memory locations. Also, blowing the security fuse prevents read out of the flash data via
JTAG.
features of the bootstrap loader are:
D UART communication protocol, fixed to 9600 baud
D Port pin P1.1 for transmit, P2.2 for receive
D TI standard serial protocol definition
D Implemented in flash memory version only
D Program execution starts with the user vector at 0FFFEh or with the bootstrap loader (start vector is at
address 0C00h)
hardware resources used for serial input/output:
D Pins P1.1 and P2.2 for serial data transmission
D Test and RST/NMI to start program execution at the reset or bootstrap loader vector
D Basic clock module: Rsel=5, DCO=4, MOD=0, DCOCLK for MCLK and SMCLK, clock divider for MCLK
and SMCLK at default: dividing by 1
D Timer_A: Timer_A operates in continuous mode with MCLK source selected, input divider set to 1, using
CCR0, and polling of CCIFG0.
D WDT: Watchdog timer is halted
D Interrupt: GIE=0, NMIIE=0, OFIE=0, ACCVIE=0
D Memory allocation and stack pointer:
If the stack pointer points to RAM addresses above 0220h, 6 bytes of the stack are allocated
plus RAM addresses 0200h to 0219h. Otherwise the stack pointer is set to 0220h and allocates
RAM from 0200h to 021Fh.
11
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
boot ROM containing bootstrap loader (continued)
NOTE:
When writing RAM data via bootstrap loader, take care that the stack is outside the range
of the data being written.
Program execution begins with the user s reset vector at FFFEh (standard method) if TEST is held low while
RST/NMI goes from low to high:
VCC
RST/NMI PIN
TEST PIN
User Program Starts
Reset Condition
Program execution begins with the bootstrap vector at 0C00h (boot ROM) if a minimum of two positive edges
have been applied to TEST while RST/NMI is low, and TEST is high when RST/NMI goes from low to high. The
TEST signal is normally used internally to switch pins P1.4, P1.5, P1.6, and P1.7 between their application
function and the JTAG function. If the second rising edge at TEST is applied while RST/NMI is held low, the
internal TEST signal is held low and the pins remain in the application mode:
VCC
RST/NMI PIN
TEST PIN
Bootstrap loader Starts
TEST
(Internal)
Test mode can be entered again after TEST is taken low and then back high.
The bootstrap loader will not be started (via the vector in address 0C00h), if:
D There were less than two positive edges at TEST while RST/NMI is low
D TEST is low if RST/NMI goes from low to high
D JTAG has control over the MSP430 resources
D Supply voltage VCC drops and a POR is executed
D RST/NMI is operating as (non)maskable NMI function but NMI bit in watchdog control register remains
unchanged. The bootstrap loader may not be disturbed when the RST/NMI pin is pulled low.
12
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
flash memory
The MSP430 flash microcontrollers offer great flexibility since they can be reprogrammed. The flash memory
can be programmed through the JTAG port, the bootstrap loader, or by the the CPU itself. In addition, the CPU
can perform single-byte and single-word writes to the flash memory. Other 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 A security fuse burning is irreversible; no further access to JTAG is possible afterwards.
D Internal generation of the programming/erase voltage: no external VPP has to be applied, but VCC increases
the supply current requirements.
D Program and erase timing is controlled by hardware in the flash memory no software intervention is
needed.
D The control hardware is called the flash-timing generator. The input frequency of the flash-timing generator
should be in the proper range and should be maintained until the write/program or erase operation is
completed.
D During program or erase, no code can be executed from flash memory and all interrupts must be disabled
by setting the GIE, NMIIE, ACCVIE, and OFIE bits to zero. If a user program requires execution concurrent
with a flash program or erase operation, the program must be executed from memory other than the flash
memory (e.g., boot ROM, RAM). In the event a flash program or erase operation is initiated while the
program counter is pointing to the flash memory, the CPU executes JMP $ instructions until the flash
program or erase operation is completed. Normal execution of the previously running software then
resumes.
D Unprogrammed, 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.
13
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
flash memory (continued)
0FFFFh Segment0 w/
0FE00h Interrupt Vectors
0FDFFh
Segment1
0FC00h
0FBFFh
Segment2
0FA00h
0F9FFh
Segment3
0F800h
0F7FFh
Segment4
0F600h
0E3FFh
Segment14
0E200h
0E1FFh
Segment15
0E000h
010FFh
SegmentA
01080h
0107Fh
SegmentB
01000h
NOTE: All segments not implemented on all devices.
peripherals
Peripherals are connected to the CPU through data, address, and control buses and can be handled easily with
memory manipulation instructions.
oscillator and system clock
Three clocks are used in the system the system (master) clock MCLK, the subsystem (master) clock SMCLK,
and the auxiliary clock ACLK:
Main system clock MCLK, used by the CPU and the system
Subsystem clock SMCLK, used by the peripheral modules
Auxiliary clock ACLK, originated by LFXT1CLK (crystal frequency) and used by the peripheral modules
After a POR, the DCOCLK is used by default, the DCOR bit is reset, and the DCO is set to the nominal initial
frequency. Additionally, if LFXT1CLK (in XT1 mode) fails as the source for MCLK, the DCOCLK is automatically
selected to ensure fail-safe operation.
SMCLK can be generated from LFXT1CLK or DCOCLK. ACLK is always generated from LFXT1CLK.
The crystal oscillator can be defined to operate with watch crystals (32768 Hz) or with higher-frequency ceramic
resonators or crystals. The crystal or ceramic resonator is connected across two terminals. No external
components are required for watch-crystal operation. If the high frequency XT1 mode is selected, external
capacitors from XIN to VSS and XOUT to VSS are required as specified by the crystal manufacturer.
14
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
Flash Main Memory
Memory
Information
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
oscillator and system clock (continued)
The LFXT1 oscillator starts after applying VCC. If the OscOff bit is set to 1, the oscillator stops when it is not
used for MCLK. The clock signals ACLK and SMCLK may be used externally via port pins.
Different application requirements and system conditions dictate different system clock requirements, including:
High frequency for quick reaction to system hardware requests or events
Low frequency to minimize current consumption, EMI, etc.
Stable peripheral clock for timer applications, such as real-time clock (RTC)
Start-stop operation to be enabled with minimum delay
DIVA
2
LFXT1CLK
ACLK
/1, /2, /4, /8
Auxiliary Clock
OSCOff XTS
1 0
XIN
ACLKGEN
OFIFG
SELM DIVM CPUOff
LFXT1 OSCILLATOR
2 2
3
0,1 /1, /2, /4, /8, Off
MCLK
XOUT
Main System Clock
2
MCLKGEN
DCOCLK
VCC VCC
Rsel SCG0 DCO MOD
SELS DIVS SCG1
3 5
2
0
Digital Controlled Oscillator (DCO)
0
DC
+ /1, /2, /4, /8, Off
SMCLK
Generator
Modulator (MOD)
Subsystem Clock
1
1
P2.5/Rosc
DCGEN DCOMOD SMCLKGEN
DCOR
The DCO generator is connected to pin P2.5/Rosc if DCOR control bit is set.
Port pin P2.5/Rosc is selected if DCOR control bit is reset (initial state).
P2.5
Figure 1. Clock Signals
Two clock sources, LFXT1CLK and DCOCLK, can be used to drive the MSP430 system. The LFXT1CLK is
generated from the LFXT1 crystal oscillator. The LFXT1 crystal oscillator can operate in three modes low
frequency (LF), moderate frequency (XT1), and external input mode. The LFXT1 crystal oscillator may be
switched off when it is not in use.
DCOCLK is generated from the DCO. The nominal DCO frequency is defined by the dc generator and can be
set by one external resistor, or can be set to one of eight values with integrated resistors. Additional adjustments
and modulations of DCOCLK are possible by software manipulation of registers in the DCO module. DCOCLK
is stopped automatically when it is not used by the CPU or peripheral modules. The dc generator can be shut
down with the SCG0 bit to realize additional power savings when DCOCLK is not in use.
NOTE:
The system clock generator always starts with the DCOCLK selected for MCLK (CPU clock) to
ensure proper start of program execution. The software defines the final system clock generation
through control bit manipulation.
15
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
brownout circuit
The brownout detects if a supply voltage is applied to or removed from the VCC terminal. The CPU begins code
execution after the brownout circuit releases the device reset. However, VCC may not have ramped to VCC(min)
at that time. The user must ensure the default DCO settings are not changed until VCC reaches VCC(min).
digital I/O
There are three eight-bit I/O ports, port P1, P2, and P3, implemented (11x2 devices only have six port P2 I/O
signals available on external pins and have no port P3). Ports P1 and P2 have seven control registers and port
P3 has four control registers to give maximum flexibility of digital input/output to the application:
" All individual I/O bits are programmable independently.
" Any combination of input, output, and interrupt conditions is possible.
" Interrupt processing of external events is fully implemented for all eight bits of port P1 and for six bits of
port P2.
" Read/write access to all registers with all instructions
The seven registers are:
" Input register 8 bits at port P1, P2, P3 Contains information at the pins
" Output register 8 bits at port P1, P2, P3 Contains output information
" Direction register 8 bits at port P1, P2, P3 Controls direction
" Interrupt edge select 8 bits at port P1/P2 Input signal change necessary for interrupt
" Interrupt flags 8 bits at port P1/P2 Indicates if interrupt(s) are pending
" Interrupt enable 8 bits at port P1/P2 Contains interrupt enable bits
" Selection (Port or Mod.) 8 bits at ports P1, P2, P3 Determines if pin(s) have port or module function
All these registers contain eight bits. Two interrupt vectors are implemented: one commonly used for any
interrupt event on ports P1.0 to P1.7, and one commonly used for any interrupt event on ports P2.0 to P2.7.
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. Port P3 has no interrupt capability. Port P3 is implemented in MSP430x12x2
only.
watchdog timer
The primary function of the watchdog timer (WDT) module is to perform a controlled system restart after a
software problem has occurred. If the selected time interval expires, a system reset is generated. If this
watchdog function is not needed in an application, the module can work as an interval timer, which generates
an interrupt after the selected time interval.
The watchdog timer counter (WDTCNT) is a 16-bit up-counter which is not directly accessible by software. The
WDTCNT is controlled through the watchdog timer control register (WDTCTL), which is a 16-bit read/write
register. Writing to WDTCTL is, in both operating modes (watchdog or timer), only possible by using the correct
password in the high-byte. The low-byte stores data written to the WDTCTL. The high-byte must be the
password 05Ah. If any value other than 05Ah is written to the high-byte of the WDTCTL, a system reset PUC
is generated. When the password is read, its value is 069h. This minimizes accidental write operations to the
WDTCTL register. In addition to the watchdog timer control bits, there are two bits included in the WDTCTL
register that configure the NMI pin.
16
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
Timer_A (Three capture/compare registers)
The Timer_A module offers one sixteen-bit counter and three capture/compare registers. The timer clock
source can be selected to come from two external sources TACLK (SSEL=0) or INCLK (SSEL=3), or from two
internal sources, the ACLK (SSEL=1) or SMCLK (SSEL=2). The clock source can be divided by one, two, four,
or eight. The timer can be fully controlled (in word mode) since it can be halted, read, and written. It can be
stopped, run continuously, counted up or up/down, using one compare block to determine the period. The three
capture/compare blocks are configured by the application to run in capture or compare mode.
The capture mode is primarily used to measure external or internal events using any combination of positive,
negative, or both edges of the signal. Capture mode can be started and stopped by software. Three different
external events TA0, TA1, and TA2 can be selected. At capture/compare register CCR2 the ACLK is the capture
signal if CCI2B is selected. Software capture is chosen if CCISx=2 or CCISx=3 (see Figure 4).
The compare mode is primarily used to generate timings for the software or application hardware, or to generate
pulse-width modulated output signals for various purposes like D/A conversion functions or motor control. An
individual output module is assigned to each of the three capture/compare registers. The output modules can
run independently of the compare function, or can be triggered in several ways.
Data
16-Bit Timer
SSEL1 SSEL0
0 0
15
TACLK
P1.0/
1
16-Bit Timer
Input Mode
ACLK
TACLK
CLK
2
Divider Control
Equ0
SMCLK
RC
3
INCLK
P2.1/
Set_TAIFG
Carry/Zero
INCLK ID1 ID0
MC1 MC0
POR/CLR
Timer Bus Capture/Compare Register CCR0
0
15
CCIS01 CCIS00
OM02 OM01 OM00
Capture
Capture/Compare
0 Out 0
CCI0A
Register CCR0 P1.1/TA0
P1.1/TA0
1
CCI0B Capture
0
15
P2.2/
2
Output Unit 0
Mode
GND
TA0/A2
P1.5/
3
Comparator 0
VCC
TA0/TMS
EQU0
P2.2/TA0/
CCI0 CCM01 CCM00
A2
ADC10I2
Capture/Compare Register CCR1
0
15
CCIS11 CCIS10
OM12 OM11 OM10
Capture
Capture/Compare
Out 1
0
CCI1A
Register CCR1
P1.2/TA1 P1.2/TA1
1
CCI1B Capture
0
15
P2.3/ 2
Output Unit 1
Mode P1.6/TA1
GND
TA1/A3/
3
Comparator 1
/TDI
VREF VCC
EQU1 P2.3/TA1/
CCI1 CCM11 CCM10
A3/VREF-
ADC10I1
Capture/Compare Register CCR2
0
15
CCIS21 CCIS20 OM22 OM21 OM20
Capture
Capture/Compare
Out 2
0
CCI2A
Register CCR2
P1.3/TA2
P1.3/TA2
1
CCI2B Capture
0
15
ACLK
2
Output Unit 2
Mode
P1.7/TA2
GND
3
Comparator 2
/TDO/TDI
VCC
EQU2
P2.4/TA2/
CCI2 CCM21 CCM20
A4/VREF+
ADC10I3
Figure 2. Timer_A, MSP430x11x2 and MSP430x12x2 Configuration
17
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
Timer_A (Three capture/compare registers) (continued)
The Timer_A module uses two interrupt vectors. One individual vector is assigned to capture/compare block
CCR0, and one common interrupt vector is implemented for the timer and the other two capture/compare
blocks. The three interrupt events using the same vector are identified by an individual interrupt vector word.
The interrupt vector word is used to add an offset to the program counter to continue the interrupt handler
software at the corresponding program location. This simplifies the interrupt handler and gives each interrupt
event the same overhead of five cycles in the interrupt handler.
UART With Timer_A3
Serial communication is implemented by using software and one capture/compare block. The hardware
supports the output of the serial-data stream, bit by bit, with the timing determined by the comparator/timer. The
data input uses the capture feature. The capture flag finds the start of a character, while the compare feature
latches the input-data stream, bit by bit. The software/hardware interface connects the mixed-signal controller
to external devices, systems, or networks.
USART0 (MSP430x12x2 only)
The universal synchronous/asynchronous interface is a dedicated peripheral module used in serial
communications.
The USART supports synchronous SPI (3- or 4-pin), and asynchronous UART communication protocols, using
double-buffered transmit and receive channels. Data streams of 7 or 8 bits in length can be transferred at a rate
determined by the program or by an external clock. Low-power applications are optimized by UART mode
options which allow for the reception of only the first byte of a complete frame. The application software should
then decide if the succeeding data is to be processed. This option reduces power consumption. Two dedicated
interrupt vectors are assigned to the USART0 module one for the receive and one for the transmit channels.
The USART function is available at the respective pins if bits P3SEL.0 to P3SEL.5 are defined correctly. The
P3SEL.x bits determine whether the port function (initial state) or the USART function is connected to the pins.
UART mode on pins P3.4/UTXD0, P3.5/URXD0:
Select bits P3SEL.4 and P3SEL.5 must be set for receive and transmit function. Bit P3SEL.3 is set only if the
clock source for the UART is applied on P3.3/UCLK0.
Bits UTXE0 (transmitter enable) and URXE0 (receive enable) must be set.
SPI mode on pins P3.0/STE0 (only in 4-pin mode), P3.1/SIMO0, P3.2/SOMI0, P3.3/UCLK0:
Select bits P3SEL.1, P3SEL.2, and P3SEL.3 must be set.
Select bit P3SEL.0 is set only if 4-pin SPI mode is used.
Bit USPIE0 (SPI enable) must be set.
Note that the SWRST bit in the USART control register is initially set by PUC to reset the USART function. The
transmit interrupt flag UTXIFG0 is set (initial state) if the transmitter can accept data for transmission.
18
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
USART0 (MSP430x12x2 only) (continued)
Receive Status Receive Buffer URXBUF
SYNC RXE
Listen MM SYNC
0 1
Receive Shift Register
P3.2/SOMI0
0
1 SYNC
SSEL1 SSEL0
SYNC
SYNC
P3.5/URXD0
Baud Rate Generator
0
0
UCLKI
1
ACLK
P3.0/STE0
2
Baud Rate Register UBR
SMCLK
3
SMCLK
SYNC
P3.4/UTXD0
Baud Rate Generator
UCLKS
1
WUT Transmit Shift Register
P3.1/SIMO0
CKPH SYNC CKPL
Transmit Buffer UTXBUF
TXWake
P3.3/UCLK0
UCLKI
Clock Phase and Polarity
UCLKS
Figure 3. Block Diagram of USART0
A/D converter ADC10
The ADC10 analog-to-digital converter (ADC) uses a 10-bit weighted capacitor array. The CMOS threshold
detector in the successive approximation conversion technique determines each bit by examining the charge
on a series of binary-weighted capacitors.
The ADC has the following features:
D 10-bit converter with Ä…1 LSB linearity
D Built-in sample-and-hold with four sample times: 4x, 8x, 16x, or 64xADC10CLK
D Five (MSP430x11x2) or eight (MSP430x12x2) external analog channels and four internal analog channels.
The external ADC input terminals are shared with digital port I/O pins.
D Internal reference voltage V(EF+) of 1.5 V or 2.5 V, software-selectable by control bit 2_5V
D Internal-temperature sensor for temperature measurement,
T = (V_SENSOR(T) V_SENSOR(0°C)) / TC_SENSOR in °C
D Battery voltage measurement: N = 0.5 × (VCC VSS ) × 1024/1.5 V; V REF+ is selected for 1.5 V.
D Source of positive reference voltage level VR+ can be selected as internal (1.5 V or 2.5 V), external, or VCC.
D Four conversion clock sources: ACLK, MCLK, SMCLK, or the internal ADC10CLK oscillator
D Channel conversion: individual channels, a group of channels, or repeated conversion of a group of
channels.
D The conversion can be triggered by software (bit ADC10SC) or by Timer_A3.
D The conversion result is buffered in ADC10MEM.
19
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
A/D converter ADC10 (continued)
REFBurst
REF+Out
REFON
INCH= 0Ah
VeREF 2_5V
+
VREF+
on on
VCC
VREF / VeREF 1.5V or 2.5V Reference
VSS VCC Ref_X
INCH
VSS Internal
Oscillator
a0 ADC10SSEL
Sref
ADC10ON
ADC10DIV
a1
a2
ADC10OSC
ADC10CLK
a3 Divide by
VR VR+ ACLK
Analog 1,2,3,4,5,6,7,8
a4
MCLK
Sample
Multiplexer
a5 SMCLK
and
10-bit A/D Converter Core
12 : 1
a6 Hold
a7
Convert
S/H MSC ISSH
ADC10SC
a8
TIMER_A.OUT1
a9
SAMPCON SYNC
Sampling and Conversion
TIMER_A.OUT0
a10
Control
SHI
TIMER_A.OUT2
a11
ADC10MEM
ENC
ADC10BUSY
ADC10SHT
VCC
SHS
ADC10DF
Ref_X
T
VSS
MSP430x12x2 devices only
Figure 4. Block Diagram of ADC10
20
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
A/D Converter ADC10 data transfer control
The ADC10 includes data transfer control (DTC) logic. The DTC is used to automatically transfer ADC10
conversion results to other memory locations (typically RAM). Often, in microcontroller applications, an
end-of-conversion flag or an interrupt flag is polled or an interrupt service request is used to handle the result
of A/D conversions. With the DTC hardware of the ADC10, the conversion results can be automatically
transferred to a selected destination. No software intervention is required until the predefined number of
conversion data has been transferred.
The DTC of ADC10 is especially useful in digital signal processing applications that require high conversion
throughput, such as glass breakage sensors, motion detectors, signals prediction (e.g., electronic fuses), high
quality voice processing, etc. The DTC concept is shown in the following diagram:
RAM, Flash, ...
TB = 0 TB = 1
n th transferred data
Address
SA+n 2
SA+2n 2
(n 1)th transferred data
Address
SA+n 4
SA+2n 4
ADC10 Peripheral
DTC
transfers
data to any
address
Conversion Result
ADC10MEM
without SW
resource
2nd transferred data Address
SA+2
SA+2n+2
1st transferred data Address
SA SA+2n
Figure 5. ADC10 Data Transfer Control
21
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
peripheral file map
PERIPHERALS WITH WORD ACCESS
ADC10 ADC data transfer start address ADC10SA 1BCh
ADC memory ADC10MEM 1B4h
ADC control register 1 ADC10CTL1 1B2h
ADC control register 0 ADC10CTL0 1B0h
ADC control register 0 ADC10CTL0 1B0h
ADC analog enable ADC10AE 04Ah
ADC data transfer control register 1 ADC10DTC1 049h
ADC data transfer control register 0 ADC10DTC0 048h
Timer_A Reserved 017Eh
Reserved 017Ch
Reserved 017Ah
Reserved 0178h
Capture/compare register CCR2 0176h
Capture/compare register CCR1 0174h
Capture/compare register CCR0 0172h
Timer_A register TAR 0170h
Reserved 016Eh
Reserved 016Ch
Reserved 016Ah
Reserved 0168h
Capture/compare control CCTL2 0166h
Capture/compare control CCTL1 0164h
Capture/compare control CCTL0 0162h
Timer_A control TACTL 0160h
Timer_A interrupt vector TAIV 012Eh
Flash Memory Flash control 3 FCTL3 012Ch
Flash control 2 FCTL2 012Ah
Flash control 1 FCTL1 0128h
Watchdog Watchdog/timer control WDTCTL 0120h
PERIPHERALS WITH BYTE ACCESS
USART0 Transmit buffer UTXBUF.0 077h
(in MSP430x12x2 only) Receive buffer URXBUF.0 076h
Baud rate UBR1.0 075h
Baud rate UBR0.0 074h
Modulation control UMCTL.0 073h
Receive control URCTL.0 072h
Transmit control UTCTL.0 071h
UART control UCTL.0 070h
System Clock Basic clock sys. control2 BCSCTL2 058h
Basic clock sys. control1 BCSCTL1 057h
DCO clock freq. control DCOCTL 056h
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
22
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS (CONTINUED)
Port P3 Port P3 selection P2SEL 01Bh
(in MSP430x12x2 only) Port P3 direction P3DIR 01Ah
Port P3 output P3OUT 019h
Port P3 input P3IN 018h
Special Function Module enable2 ME2 005h
Module enable1 ME1 004h
SFR interrupt flag2 IFG2 003h
SFR interrupt flag1 IFG1 002h
SFR interrupt enable2 IE2 001h
SFR interrupt enable1 IE1 000h
absolute maximum ratings
Voltage applied at VCC to VSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.3 V to 4.1 V
Voltage applied to any pin (referenced to VSS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.3 V to VCC + 0.3 V
Diode current at any device terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ä…2 mA
Storage temperature, Tstg (unprogrammed device) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55°C to 150°C
Storage temperature, Tstg (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 VSS.
recommended operating conditions
MIN NOM MAX UNITS
Supply voltage during program execution VCC (see Note 6) 18 36 V
Supply voltage during program execution, VCC (see Note 6) 1.8 3.6 V
MSP430F11x2
MSP430F11x2
MSP430F11x2
MSP430F12x2
Supply voltage during program/erase flash memory, VCC 2.7 3.6 V
Supply voltage, VSS 0 V
MSP430F11x2
Operating free-air temperature range, TA 40 85 °C
MSP430F12x2
LF mode selected, XTS=0 Watch crystal 32768 Hz
LFXT1 crystal frequency f
LFXT1 crystal frequency, f(LFXT1)
Ceramic resonator 450 8000
(see Note 7)
(see Note 7)
XT1 selected mode XTS=1 kHz
XT1 selected mode, XTS=1 kHz
Crystal 1000 8000
VCC = 1.8 V,
MSP430F11x2 dc 4.15
MSP430F12x2
Processor frequency f( t ) (MCLK signal) MHz
Processor frequency f(system) (MCLK signal) MHz
VCC = 3.6 V,
MSP430F11x2 dc 8
MSP430F12x2
MSP430F11x2
Flash timing generator frequency, f(FTG) 257 476 kHz
MSP430F12x2
VCC = 2.7 V/3.6 V
Cumulative program time, block write, t(CPT) (see Note 8) MSP430F11x2 3 ms
MSP430F12x2
Low-level input voltage (TEST, RST/NMI), VIL (excluding XIN, XOUT) VCC = 2.2 V/3 V VSS VSS+0.6 V
High-level input voltage (TEST, RST/NMI), VIH (excluding XIN, XOUT) VCC = 2.2 V/3 V 0.8VCC VCC V
VIL(XIN, XOUT) VSS 0.2×VCC
Input levels at XIN XOUT VCC = 2.2 V/3 V V
Input levels at XIN, XOUT V 2 2 V/3 V V
VIH(XIN, XOUT) 0.8×VCC VCC
NOTES: 6. The LFXT1 oscillator in LF-mode requires a resistor of 5.1 M&! from XOUT to VSS when VCC <2.5 V.
The LFXT1 oscillator in XT1-mode accepts a ceramic resonator or a crystal frequency of 4 MHz at VCC e" 2.2 V.
The LFXT1 oscillator in XT1-mode accepts a ceramic resonator or a crystal frequency of 8 MHz at VCC e" 2.8 V.
7. The LFXT1 oscillator in LF-mode requires a watch crystal.
The LFXT1 oscillator in XT1-mode accepts a ceramic resonator or a crystal.
8. The cumulative program time must not be exceeded during a block-write operation.
23
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
MSP430F11x2 and MSP430F12x2 Devices
9
8 MHz at 3.6 V
8
7
6
4.15 MHz
at 1.8 V
5
4
3
2
1
0
01 23 4
VCC Supply Voltage V
NOTE: Minimum processor frequency is defined by system clock. Flash
program or erase operations require a minimum VCC of 2.7 V.
Figure 6. Frequency vs Supply Voltage
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted)
supply current (into VCC) excluding external current (f(system) = 1 MHz)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
TA = 40°C +85°C,
VCC = 2.2 V 200 250
fMCLK = f(SMCLK) = 1 MHz,
fMCLK = f(SMCLK) = 1 MHz,
µA
µA
f(ACLK) = 32,768 Hz,
VCC = 3 V 300 350
Program executes in Flash
I(AM) Active mode
I(AM) Active mode
TA = 40°C +85°C,
VCC = 2.2 V 3 5
f(MCLK) f(SMCLK) f(ACLK) 4096 Hz µA
f(MCLK) = f(SMCLK) = f(ACLK) = 4096 Hz, µA
VCC = 3 V 11 18
Program executes in Flash
TA = 40°C +85°C,
VCC = 2.2 V 32 45
I(CPUOff) Low power mode (LPM0) f(MCLK) 0 f(SMCLK) 1 MHz µA
I(CPUOff) Low-power mode, (LPM0) f(MCLK) = 0, f(SMCLK) = 1 MHz, µA
VCC = 3 V 55 70
f(ACLK) = 32,768 Hz
TA = 40°C +85°C,
VCC = 2.2 V 11 14
I(LPM2) Low power mode (LPM2) f(MCLK) f(SMCLK) 0 MHz µA
I(LPM2) Low-power mode, (LPM2) f(MCLK) = f(SMCLK) = 0 MHz, µA
VCC = 3 V 17 22
f(ACLK) = 32,768 Hz, SCG0 = 0
TA = 40°C 0.8 1.2
TA = 25°C VCC = 2.2 V 0.7 1 µ
µA
CC
TA = 85°C 1.6 2.3
I(LPM3) Low power mode (LPM3)
I(LPM3) Low-power mode, (LPM3)
TA = 40°C 1.8 2.2
TA = 25°C VCC = 3 V 1.6 1.9 µ
µA
CC
TA = 85°C 2.3 3.4
TA = 40°C 0.1 0.5
I(LPM4) Low-power mode, (LPM4) TA = 25°C VCC = 2.2 V/3 V 0.1 0.5 µ
, ( ) µA
(LPM4) CC
TA = 85°C 0.8 1.9
NOTE: All inputs are tied to 0 V or VCC. Outputs do not source or sink any current.
24
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
(system)
f
Maximum Processor Frequency MHz
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
current consumption of active mode versus system frequency
IAM = IAM[1 MHz] × fsystem [MHz]
current consumption of active mode versus supply voltage
IAM = IAM[3 V] + 120 µA/V × (VCC 3 V)
Schmitt-trigger inputs Port P1 to Port P3; P1.0 to P1.7, P2.0 to P2.5, P3.0 to P3.7
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
VCC = 2.2 V 1.1 1.5
VIT+ Positive going input threshold voltage V
V Positive-going input threshold voltage V
VCC = 3 V 1.5 1.9
VCC = 2.2 V 0.4 0.9
V Negative going input threshold voltage V
VIT Negative-going input threshold voltage V
VCC = 3 V 0.9 1.3
VCC = 2.2 V 0.3 1.1
Vh Input voltage hysteresis (VIT VIT ) V
Vhys Input voltage hysteresis, (VIT+ VIT ) V
VCC = 3 V 0.5 1
outputs Port 1 to P3; P1.0 to P1.7, P2.0 to P2.5, P3.0 to P3.7
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
I(OHmax) = 1.5 mA See Note 9 VCC 0.25 VCC
VCC = 2.2 V
V 2 2 V
I(OHmax) = 6 mA See Note 10 VCC 0.6 VCC
V High level output voltage V
VOH High-level output voltage V
I(OHmax) = 1.5 mA See Note 9 VCC 0.25 VCC
V 3 V
VCC = 3 V
I(OHmax) = 6 mA See Note 10 VCC 0.6 VCC
I(OLmax) = 1.5 mA See Note 9 VSS VSS+0.25
V 2 2 V
VCC = 2.2 V
I(OLmax) = 6 mA See Note 10 VSS VSS+0.6
VOL Low level output voltage V
V Low-level output voltage V
I(OLmax) = 1.5 mA See Note 9 VSS VSS+0.25
VCC =3V
VCC = 3 V
I(OLmax) = 6 mA See Note 10 VSS VSS+0.6
NOTES: 9. The maximum total current, IOHmax and IOLmax, for all outputs combined, should not exceed Ä…12 mA to hold the maximum voltage
drop specified.
10. The maximum total current, IOHmax and IOLmax, for all outputs combined, should not exceed Ä…48 mA to hold the maximum voltage
drop specified.
25
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
outputs Ports P1, P2, and P3 (see Note 11)
TYPICAL LOW-LEVEL OUTPUT CURRENT
TYPICAL LOW-LEVEL OUTPUT CURRENT
vs
vs
LOW-LEVEL OUTPUT VOLTAGE
LOW-LEVEL OUTPUT VOLTAGE
50
32
VCC = 3 V
VCC = 2.2 V
TA = 25°C
P1.0
P1.0
28 TA = 25°C
40
TA = 85°C
24
TA = 85°C
20
30
16
20
12
8
10
4
0
0
0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
0.0 0.5 1.0 1.5 2.0 2.5
VOL Low-Level Output Voltage V
VOL Low-Level Output Voltage V
Figure 7 Figure 8
TYPICAL HIGH-LEVEL OUTPUT CURRENT TYPICAL HIGH-LEVEL OUTPUT CURRENT
vs vs
HIGH-LEVEL OUTPUT VOLTAGE HIGH-LEVEL OUTPUT VOLTAGE
0 0
VCC = 2.2 V VCC = 3 V
P1.0 P1.0
4
10
8
20
12
30
16
40
TA = 85°C
20
TA = 85°C
50
24
TA = 25°C
TA = 25°C
28 60
0.0 0.5 1.0 1.5 2.0 2.5 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5
VOH High-Level Output Voltage V VOH High-Level Output Voltage V
Figure 9 Figure 10
NOTE 11: Only one output is loaded at a time.
26
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
OL
OL
I
Typical Low-Level Output Current mA
I
Typical Low-Level Output Current mA
OH
OH
I
Typical High-Level Output Current mA
I
Typical High-Level Output Current mA
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
leakage current
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
Port P1: P1.x, 0 d" ×d" 7
2.2 V/3 V Ä…50
(see Notes 12 and 13)
I High impedance leakage current nA
Ilkg(Px.x) High-impedance leakage current nA
Port P2: P2.x, 0 d" ×d" 5
2.2 V/3 V Ä…50
(see Notes 12 and 13)
NOTES: 12. The leakage current is measured with VSS or VCC applied to the corresponding pin(s), unless otherwise noted.
13. The leakage of the digital port pins is measured individually. The port pin must be selected for input and there must be no optional
pullup or pulldown resistor.
inputs Px.x, TAx
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
2.2 V/3 V 1.5 cycle
P t P1 P2 P1 t P2 E t l t i i l
Port P1, P2: P1.x to P2.x, External trigger signal
2.2 V 62
t(int) External interrupt timing
g
(int)
for the interrupt flag, (see Note 14)
for the interrupt flag, (see Note 14)
ns
ns
3 V 50
2.2 V/3 V 1.5 cycle
2.2 V 62
t(ca ) Timer_A, capture timing TA0, TA1, TA2 (see Note 15)
_ ,g, , ( )
(cap)
ns
ns
3 V 50
2.2 V 8
Timer_A clock frequency
Timer_A clock frequency
f(TA t) TACLK INCLK T(H) =T(L) MHz
f(TAext) TACLK, INCLK T(H) = T(L) MHz
externally applied to pin
3 V 10
2.2 V 8
f(TAi t) Timer A clock frequency SMCLK or ACLK signal selected MHz
f(TAint) Timer_A clock frequency SMCLK or ACLK signal selected MHz
3 V 10
NOTES: 14. 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.
15. The external capture signal triggers the capture event every time the mimimum t(cap) cycle and time parameters are met. A capture
may be triggered with capture signals even shorter than t(cap). Both the cycle and timing specifications must be met to ensure a
correct capture of the 16-bit timer value and to ensure the flag is set.
USART (see Note 16)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
VCC = 2.2 V 200 430 800
t( ) USART: deglitch time ns
t(Ä) USART: deglitch time ns
VCC = 3 V 150 280 500
NOTE 16: The signal applied to the USART receive signal/terminal (URXD) 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
URXD line.
27
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
outputs P1.x, P2.x, P3.x, TAx
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
f(P20) P2.0/ACLK, CL = 20 pF 2.2 V/3 V fSystem
Output frequency MHz
TA0, TA1, TA2, CL = 20 pF,
f(TAx) 2.2 V/3 V dc fSystem
Internal clock source, SMCLK signal applied (see Note 17)
fSMCLK = fLFXT1 = fXT1 40% 60%
fSMCLK = fLFXT1 = fLF 35% 65%
2 2 V/3 V
2.2 V/3 V
P1 4/SMCLK
P1.4/SMCLK,
50% 50%+
CL = 20 pF
fSMCLK = fLFXT1/n 50%
15 ns 15 ns
t(Xdc) Duty cycle of O/P 50% 50%+
fSMCLK = fDCOCLK 2.2 V/3 V 50%
15 ns 15 ns
frequency
frequency
fP20 = fLFXT1 = fXT1 40% 60%
P2 0/ACLK
P2.0/ACLK,
fP20 = fLFXT1 = fLF 2.2 V/3 V 30% 70%
CL = 20 pF
CL = 20 pF
fP20 = fLFXT1/n 50%
t(TAdc) TA0, TA1, TA2, CL = 20 pF, Duty cycle = 50% 2.2 V/3 V 0 Ä…50 ns
NOTE 17: The limits of the system clock MCLK has to be met. MCLK and SMCLK can have different frequencies.
RAM
PARAMETER MIN NOM MAX UNIT
V(RAMh) CPU halted (see Note 18) 1.6 V
NOTE 18: This parameter defines the minimum supply voltage VCC when the data in the program memory RAM remains unchanged. No program
execution should happen during this supply voltage condition.
POR brownout, reset (see Note 19, 20)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
tBOR(delay) 2000 µs
VCC(BOR) dVCC/dt d" 3 V/s 0.7 × VB_IT V
V(B,IT ) dVCC/dt d" 3 V/s 1.71 V
Brownout
Brownout
Vhys(B,IT ) dVCC/dt d" 3 V/s 70 130 180 mV
Pulse length needed at RST/NMI pin to accepted reset internally,
t(reset) 2 µs
VCC = 2.2 V/3 V
NOTES: 19. The current consumption of the brown-out module is already included in the ICC current consumption data.
20. During power up, the CPU begins code execution following a period of tBOR(delay) after VCC = V(B,IT ) + Vhys(B,IT ).
The default DCO settings must not be changed until VCC e" VCC(min). See the MSP430x1xx Family User s Guide for more
information on the brownout circuit.
28
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
VCC
Vhys(B,IT )
V(B,IT )
VCC(BOR)
1
0
t(BOR)
Figure 11. POR/Brownout Reset (BOR) vs Supply Voltage
VCC
tpw
2
3 V
Vcc = 3.0 V
Typical Conditions
1.50
1
VCC(min)
0.50
0
0.001 1 1000
1ns 1ns
tpw Pulse Width µs tpw Pulse Width µs
Figure 12. VCCmin Level With a Square Voltage Drop to Generate a POR/Brownout Signal
VCC
tpw
2
3 V
Vcc = 3.0 V
Typical Conditions
1.50
1
VCC(min)
0.50
tfall = trise
0
0.001 1 1000
tfall trise
tpw Pulse Width µs
tpw Pulse Width µs
Figure 13. VCC(min) Level With a Triangle Voltage Drop to Generate a POR/Brownout Signal
29
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
CC(min)
V
V
CC(min)
V
V
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
crystal oscillator, LFXT1
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
XTS=0; LF mode selected 12
2.2 V / 3 V
C Input capacitance pF
C(XIN) Input capacitance pF
XTS=1; XT1 mode selected (see Note 21) 2
2.2 V / 3 V
XTS=0; LF mode selected 2.2 V / 3 V 12
C(XOUT) Output capacitance pF
C(XOUT) Output capacitance pF
XTS=1; XT1 mode selected (see Note 21) 2.2 V / 3 V 2
NOTE 21: Requires external capacitors at both terminals. Values are specified by crystal manufacturers.
DCO (see Note 23)
PARAMETER TEST CONDITIONS VCC MIN TYP MAX UNIT
2.2 V 0.08 0.12 0.15
f R 0 DCO 3 MOD 0 DCOR 0 T 25°C MHz
f(DCO03) Rsel = 0, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
3 V 0.08 0.13 0.16
2.2 V 0.14 0.19 0.23
f R 1 DCO 3 MOD 0 DCOR 0 T 25°C MHz
f(DCO13) Rsel = 1, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
3 V 0.14 0.18 0.22
2.2 V 0.22 0.3 0.36
f(DCO23) R =2 DCO=3 MOD=0 DCOR=0 TA =25°C MHz
f(DCO23) Rsel = 2, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
l
3 V 0.22 0.28 0.34
2.2 V 0.37 0.49 0.59
f(DCO33) R =3 DCO=3 MOD=0 DCOR=0 TA =25°C MHz
f(DCO33) Rsel = 3, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
l
3 V 0.37 0.47 0.56
2.2 V 0.61 0.77 0.93
f(DCO43) Rsel = 4, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
f(DCO43) R =4 DCO=3 MOD=0 DCOR=0 TA =25°C MHz
l
3 V 0.61 0.75 0.9
2.2 V 1 1.2 1.5
f(DCO53) R =5 DCO=3 MOD=0 DCOR=0 TA =25°C MHz
f(DCO53) Rsel = 5, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
l
3 V 1 1.3 1.5
2.2 V 1.6 1.9 2.2
f(DCO63) R =6 DCO=3 MOD=0 DCOR=0 TA =25°C MHz
f(DCO63) Rsel = 6, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
l
3 V 1.69 2 2.29
2.2 V 2.4 2.9 3.4
f(DCO73) Rsel = 7, DCO = 3, MOD = 0, DCOR = 0, TA = 25°C MHz
f(DCO73) R =7 DCO=3 MOD=0 DCOR=0 TA =25°C MHz
l
3 V 2.7 3.2 3.65
2.2 V 4 4.5 4.9
f(DCO77) R =7 DCO=7 MOD=0 DCOR=0 TA =25°C MHz
f(DCO77) Rsel = 7, DCO = 7, MOD = 0, DCOR = 0, TA = 25°C MHz
l
3 V 4.4 4.9 5.4
FDCO40 FDCO40 FDCO40 MHz
FDCO40 FDCO40 FDCO40 MHz
f(DCO47) R =4 DCO=7 MOD=0 DCOR=0 TA =25°C 2 2 V/3 V
f(DCO47) Rsel = 4, DCO = 7, MOD = 0, DCOR = 0, TA = 25°C 2.2 V/3 V
l
x1.7 x2.1 x2.5
S(Rsel) SR = fRsel+1/fRsel 2.2 V/3 V 1.35 1.65 2
ratio
ratio
S(DCO) SDCO = fDCO+1/fDCO 2.2 V/3 V 1.07 1.12 1.16
2.2 V 0.31 0.36 0.4
Dt Temperature drift R = 4 DCO = 3 MOD = 0 (see Note 22) %/°C
Dt Temperature drift, Rsel = 4, DCO = 3, MOD = 0 (see Note 22) %/°C
l
3 V 0.33 0.38 0.43
Drift with VCC variation, Rsel = 4, DCO = 3, MOD = 0
DV 2.2 V/3 V Ä…5 %/V
(see Note 23)
NOTES: 22. These parameters are not production tested.
23. Do not exceed maximum system frequency.
30
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
Max
ÎÎÎÎÎ
f(DCOx7)
Min
ÎÎÎÎÎ
Max
ÎÎÎÎÎ
f(DCOx0)
Min
ÎÎÎÎÎ
0 1 2 3 4 5 6 7
2.2 V 3 V
VCC DCO Steps
Figure 14. DCO Characteristics
principle characteristics of the DCO
D Individual devices have a minimum and maximum operation frequency. The specified parameters for
fDCOx0 to fDCOx7 are valid for all devices.
D The DCO control bits DCO0, DCO1 and DCO2 have a step size as defined in parameter SDCO.
D The modulation control bits MOD0 to MOD4 select how often fDCO+1 is used within the period of 32 DCOCLK
cycles. fDCO is used for the remaining cycles. The frequency is an average = fDCO × (2MOD/32).
D All ranges selected by Rsel(n) overlap with Rsel(n+1): Rsel0 overlaps with Rsel1, ... Rsel6 overlaps with Rsel7.
wake-up from lower power modes (LPMx)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
t(LPM0) VCC = 2.2 V/3 V 100
ns
ns
t(LPM2) VCC = 2.2 V/3 V 100
f(MCLK) = 1 MHz, VCC = 2.2 V/3 V 6
t(LPM3) f(MCLK) = 2 MHz, VCC = 2.2 V/3 V 6 µ
µs
(LPM3)
Delay time (see Note 24)
Delay time (see Note 24)
f(MCLK) = 3 MHz, VCC = 2.2 V/3 V 6
f(MCLK) = 1 MHz, VCC = 2.2 V/3 V 6
t(LPM4) f(MCLK) = 2 MHz, VCC = 2.2 V/3 V 6 µ
µs
(LPM4)
f(MCLK) = 3 MHz, VCC = 2.2 V/3 V 6
NOTE 24: Parameter applicable only if DCOCLK is used for MCLK.
31
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
1
DCOCLK
f
Frequency Variance
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature (unless otherwise noted) (continued)
10-bit ADC, power supply, and input range conditions (see Note 25)
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
VCC Analog supply voltage VSS = 0 V 2.2 3.6 V
2_5 V = 1 for 2.5 V built-in reference
3 V 2.35 2.5 2.65
Positive built-in reference
Positive built in reference
2 5 V 0 for 1 5 V built in reference
2_5 V = 0 for 1.5 V built-in reference
V V
VREF+ V
voltage output
2.2 V/3 V 1.41 1.5 1.59
IVREF+ d" I(VREF+)max
2.2 V Ä…0.5
Load current out of VREF+
Load current out of VREF+
I mA
IVREF+ mA
terminal
3 V Ä…1
IVREF+ = 500 µA Ä…100 µA
2.2 V Ä…2 LSB
Analog input voltage 0 75 V;
Analog input voltage ~0.75 V;
3 V Ä…2
2_5 V = 0
Load-current regulation
Load current regulation
I
IL(VREF)+ VREF+ terminal
( )
IVREF+ = 500 µA Ä…100 µA
Analog input voltage ~1.25 V; 3 V Ä…2 LSB
2_5 V = 1
IVREF+ =100 µA 900 µA,
ADC10SR = 0 400 ns
Load current regulation
Load current regulation
t( ) ! VCC 3 V ax 0 5 x VREF
t(VREF) +! VREF+ terminal VCC=3 V, ax ~0.5 x VREF+
ADC10SR = 1 2 µs
Error of conversion result d" 1 LSB
Positive external
VeREF+ VeREF+ > VeREF /VeREF (see Note 26) 1.4 VCC V
reference voltage input
Negative external
VREF /VeREF reference voltage input VeREF+ > VeREF /VeREF (see Note 27) 0 1.2 V
(VeREF+ Differential external
VeREF+ > VeREF /VeREF (see Note 28) 1.4 VCC V
VREF /VeREF ) reference voltage input
All P6.0/A0 to P6.7/A7 terminals. Analog inputs
Analog input voltage
V(Px.x/Ax) range (see Note 29) selected in ADC10MCTLx register and P6Sel.x=1 0 VCC V
0 d" x d" 7; VSS d" VPx.x/Ax d" VCC
fADC10CLK = 5 MHz
2.2 V 0.52 1.05
Operating supply current
ADC10ON = 1, REFON = 0
ADC10ON = 1, REFON = 0
into VCC terminal
into VCC terminal
IADC10 mA
I mA
t(sample) = 8xADC10CLK,
(see Note 30)
3 V 0.6 1.2
ADC10DIV=0
Supply current for
fADC10CLK = 5 MHz
reference without
IREF ADC10ON = 0, 2.2 V/3 V 0.25 0.4 mA
reference buffer
REFON = 1, 2_5V = x
(see Note 31)
Supply current for fADC10CLK = 5 MHz
ADC10SR = 0 1.1 1.4
reference buffer ADC10ON 0
reference buffer ADC10ON = 0,
I mA
IREFB mA
ADC10SR = 1 0.46 0.55
(see Note 31) REFON = 1, 2_5V = 0
Not production tested, limits characterized
!
Not production tested, limits verified by design
NOTES: 25. The leakage current is defined in the leakage current table with Px.x/Ax parameter.
26. The accuracy limits the minimum positive external reference voltage. Lower reference voltage levels may be applied with reduced
accuracy requirements.
27. The accuracy limits the maximum negative external reference voltage. Higher reference voltage levels may be applied with reduced
accuracy requirements.
28. The accuracy limits minimum external differential reference voltage. Lower differential reference voltage levels may be applied with
reduced accuracy requirements.
29. The analog input voltage range must be within the selected reference voltage range VR+ to VR for valid conversion results.
30. The internal reference supply current is not included in current consumption parameter IADC10.
31. The internal reference current is supplied via terminal VCC. Consumption is independent of the ADC10ON control bit, unless a
conversion is active. The REFON bit enables to settle the built-in reference before starting an A/D conversion.
32
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted) (continued)
10-bit ADC, reference parameters
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
Static input current
IVeREF+ 0 V d"VeREF+ d" VCC 2.2 V/3 V Ä…1 µA
(see Note 32)
Static input current
IVREF /VeREF (see Note 32) 0 V d" VeREF d" VCC 2.2 V/3 V Ä…1 µA
Capacitance at pin
CVREF+ REF+OUT = 1, IVREF+ d" Ä…1 mA 2.2 V/3 V 100 pF
VREF+ (see Note 33)
Input capacitance
Ci ! Only one terminal can be selected at one time 2.2 V 27 pF
(see Note 34)
Input MUX ON
Zi! 0 V d" VAx d" VCC 3 V 2000 &!
resistance(see Note 34)
Temperature coefficient IVREF+ is a constant in the range of
TREF+ 2.2 V/3 V Ä…100 ppm/°C
of built-in reference 0 mA d" IVREF+ d" 1 mA
Not production tested, limits characterized
!
Not production tested, limits verified by design
NOTES: 32. The external reference is used during conversion to charge and discharge the capacitance array. The dynamic impedance should
follow the recommendations on analog-source impedance to allow the charge to settle for 10-bit accuracy.
33. The capacitance applied to the internal buffer operational amplifier, if switched to terminal P2.4/TA2/A4/VREF+ (REF+OUT=1), must
be limited; the reference buffer may become unstable otherwise.
34. The input capacitance is also the dynamic load for an external reference during conversion. The dynamic impedance of the reference
supply should follow the recommendations on analog-source impedance to allow the charge to settle for 10-bit accuracy. All INL
and DNL tests use capacitors between pins VCC and VSS: 10-µF tantalum and 100-nF ceramic.
33
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted) (continued)
10-bit ADC, timing parameters
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
IVREF+ = 0.5 mA,
Settle time of internal
VREF+ = 1.5 V, VCC = 3.6 V, 30 µs
reference voltage and
REFON 0 > 1, Signal RBon 0 > 1
V(REF+)
t
tREF(ON) V(REF+)
IVREF+ = 0.5 mA,
ADC10SR = 0 0.8
(see Figure 15 and
( g
VREF 15V VCC 22V
VREF+ = 1.5 V, VCC = 2.2 V,
µs
s
Note 35)
ADC10SR = 1 2.5
REFON = 1, Signal RBon 0 > 1
ADC10SR = 0 450 6.3
Error of conversion result
Error of conversion result
MHz
MHz
f(ADC10CLK)
( C C )
d"1 LSB
ADC10SR = 1 450 1.5
ADC10DIV=0 [f(ADC10CLK) 2.2 V/
ADC10DIV=0 [f(ADC10CLK) 2.2 V/
f 37 63 MHz
f(ADC10OSC) 3.7 6.3 MHz
=f(ADC10OSC)] 3 V
Internal oscillator, 2.2 V/
Conversion time 2.06 3.51 µs
fOSC = 3.7 MHz to 6.3 MHz 3 V
tCONVERT
VCC(min) d" VCC d" VCC(max),
13×ADC10DIV×
Conversion time External fADC10(CLK) from ACLK or MCLK or µs
1/fADC10(CLK)
SMCLK: ADC10SSEL `" 0
tADC10ON! Settle time of the ADC VCC(min) d" VCC d" VCC(max) (see Note 36) 100 ns
VCC(min) d"VCC d" VCC(max)
3 V 1400
( ) ( )
tS l ! Sampling time Ri( ) 400 &! Zi 2000 &! ns
tSample! Sampling time Ri(source) = 400 &!, Zi = 2000 &!, ns
2.2 V 1400
Ci = 20 pF, (see Note 37)
Not production tested, limits characterized
!
Not production tested, limits verified by design
NOTES: 35. The condition is that the error in a conversion started after tREF(ON) is less than Ä…0.5 LSB.
36. The condition is that the error in a conversion started after tADC10ON is less than Ä…0.5 LSB. The reference and input signal are already
settled.
37. Eight Tau (Ä) are needed to get an error of less than Ä…0.5 LSB.
tSample = 8 x (Ri + Zi) x Ci+ 800 ns @ ADC10SR = 0
tSample = 8 x (Ri + Zi) x Ci+ 2.5 µs @ ADC10SR = 1
REFBurst REF+Out
REFON
S&C
SREF (1,5)
S&C
a10 Selected
2_5V
tREF(ON) d"30 µs or 0.8/2.5 µs
VCC
VeREF+
On
RBon
BGon
P2.4/TA2/A4/VREF+
VREF+
I
REF
Bandgap
VREF /VeREF
AVSS
To Temp.
VCC VSS
P2.3/TA1/A3/VREF
Sensor Ref.
Buffer
SREF Bits
ADC10CTL0.13..15
V
V+
Figure 15. Block Diagram of the Internal Reference Voltage
34
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted) (continued)
10-bit ADC, linearity parameters
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
1.4 V d" (VeREF+ VREF /VeREF ) min d" 1.6 V Ä…1
E Integral linearity error 2 2 V/3 V LSB
E(I) Integral linearity error 2.2 V/3 V LSB
1.6 V < [VeREF+ VREF /VeREF ] min d" [VCC] Ä…1
Differential linearity
ED error (VeREF+ VREF /VeREF )min d" (VeREF+ VREF /VeREF ) 2.2 V/3 V Ä…1 LSB
(VeREF+ VREF /VeREF )min d" (VeREF+ VREF /VeREF ),
EO Offset error 2.2 V/3 V Ä…2 Ä…4 LSB
Internal impedance of source Ri < 100 &!,
EG Gain error (VeREF+ VREF /VeREF )min d" (VeREF+ VREF /VeREF ) 2.2 V/3 V Ä…1.1 Ä…2 LSB
ET Total unadjusted (VeREF+ VREF /VeREF )min d" (VeREF+ VREF /VeREF ) 2.2 V/3 V Ä…2 Ä…5 LSB
error
10-bit ADC, temperature sensor and built-in Vmid
PARAMETER TEST CONDITIONS MIN NOM MAX UNIT
2.2 V 40 120
Operating supply current into VREFON = 0, INCH = 0Ah,
O erating su ly current into VREFON = 0, INCH = 0Ah,
I A
ISENSOR µA
VCC terminal (see Note 38) ADC10ON=NA, TA = 25_C
3 V 60 160
2.2 V 986 986Ä…5%
ADC10ON = 1, INCH = 0Ah,
ADC10ON = 1, INCH = 0Ah,
VS SO mV
VSENSOR mV
TA = 0°C
3 V 986 986Ä…5%
2.2 V 3.55 3.55Ä…3%
TCS SO ADC10ON 1 INCH 0Ah mV/°C
TCSENSOR ADC10ON = 1, INCH = 0Ah mV/°C
3 V 3.55 3.55Ä…3%
2.2 V 30
Sample time required if channel ADC10ON = 1, INCH = 0Ah,
Sam le time required if channel ADC10ON = 1, INCH = 0Ah,
tS SO ( ) s
tSENSOR(sample) 10 is selected (see Note 39) Error of conversion result d" 1 LSB µs
3 V 30
2.2 V NA
ADC10ON = 1, INCH = 0Bh,
ADC10ON = 1, INCH = 0Bh,
I Current into divider at channel 11 A
IVMID Current into divider at channel 11 µA
(see Note 40)
3 V NA
2.2 V 1.1 1.1Ä…0.04
ADC10ON = 1, INCH = 0Bh,
ADC10ON = 1, INCH = 0Bh,
V V divider at channel 11 V
VMID VCC divider at channel 11 V
VMID is ~0.5 x VCC
3 V 1.5 1.5Ä…0.04
2.2 V NA
On-time if channel 11 is selected ADC10ON = 1, INCH = 0Bh,
On time if channel 11 is selected ADC10ON = 1, INCH = 0Bh,
tON(VMID) ns
tON(VMID) ns
(see Note 41) Error of conversion result d" 1 LSB
3 V NA
Not production tested, limits characterized
!
Not production tested, limits verified by design
NOTES: 38. The sensor current ISENSOR is consumed if (ADC10ON = 1 and VREFON=1), or (ADC10ON=1 and INCH=0Ah and sample signal
is high). Therefore it includes the constant current through the sensor and the reference.
39. The typical equivalent impedance of the sensor is 51 k&!. The sample time needed is the sensor-on time tSENSOR(ON)
40. No additional current is needed. The VMID is used during sampling.
41. The on-time tON(VMID) is identical to sampling time tSample; no additional on time is needed.
35
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted) (continued)
JTAG/programming
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
VCC = 2.2 V dc 5
f TCK frequency JTAG/test (see Note 44) MHz
f(TCK) TCK frequency, JTAG/test (see Note 44) MHz
VCC = 3 V dc 10
VCC(FB) Supply voltage during fuse blow condition TA = 25°C 2.5 V
V(FB) Fuse blow voltage (see Notes 42 and 43) 6 7 V
I(FB) Supply current on TEST during fuse blow (see Note 43) 100 mA
t(FB) Time to blow the fuse (see Note 43) 1 ms
I(DD-PGM) Current during program cycle (see Note 45) VCC = 2.7 V/3.6 V 3 5 mA
I(DD-ERASE) Current during erase cycle (see Note 45) VCC = 2.7 V/3.6 V 3 7 mA
Write/erase cycles 104 105
t( t ti )
t(retention)
Data retention TJ = 25°C 100 Year
NOTES: 42. The power source to blow the fuse is applied to TEST pin.
43. Once the JTAG fuse is blown, no further access to the MSP430 JTAG/test feature is possible. The JTAG block is switched to bypass
mode.
44. f(TCK) may be restricted to meet the timing requirements of the module selected.
45. Duration of the program/erase cycle is determined by f(FTG) applied to the flash timing controller. It can be calculated as follows:
t(word write) = 35 x 1/f(FTG)
t(block write, byte 0) = 30 × 1/f(FTG)
t(block write
byte 1 63) = 20 × 1/f(FTG)
t(block write end sequence) = 6 x 1/f(FTG)
t(mass erase) = 5297 x 1/f(FTG)
t(segment erase) = 4819 x 1/f(FTG)
36
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
input/output schematic
Port P1, P1.0 to P1.3, input/output with Schmitt-trigger
P1SEL.x
0
P1DIR.x
1
Direction Control
From Module
0
Pad Logic
P1OUT.x
1
Module X OUT
P1.0/TACLK/ADC10CLK
P1.1/TA0
P1.2/TA1
P1.3/TA2
P1IN.x
EN
Module X IN D
P1IRQ.x P1IE.x
Interrupt
EN
Edge
Q
P1IFG.x
Set
Select
Interrupt
Flag
P1IES.x
P1SEL.x
NOTE: x = Bit/identifier, 0 to 3 for port P1
DIRECTION
PnSel.x PnDIR.x CONTROL FROM PnOUT.x MODULE X OUT PnIN.x MODULE X IN PnIE.x PnIFG.x PnIES.x
MODULE
P1Sel.0 P1DIR.0 P1DIR.0 P1OUT.0 ADC10CLK P1IN.0 TACLK P1IE.0 P1IFG.0 P1IES.0
P1Sel.1 P1DIR.1 P1DIR.1 P1OUT.1 Out0 signal P1IN.1 CCI0A P1IE.1 P1IFG.1 P1IES.1
P1Sel.2 P1DIR.2 P1DIR.2 P1OUT.2 Out1 signal P1IN.2 CCI1A P1IE.2 P1IFG.2 P1IES.2
P1Sel.3 P1DIR.3 P1DIR.3 P1OUT.3 Out2 signal P1IN.3 CCI2A P1IE.3 P1IFG.3 P1IES.3
Signal from or to Timer_A
37
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
Port P1, P1.4 to P1.7, input/output with Schmitt-trigger and in-system access features
P1SEL.x
0
P1DIR.x
1
Direction Control
From Module
0
0
Pad Logic
P1OUT.x
P1.4 P1.7
1
1
Module X OUT
TST
Bus Keeper
P1IN.x
EN
DVCC
Module X IN D
TEST
P1IRQ.x P1IE.x 60 k&!
Interrupt
EN
Typical
Q Edge
P1IFG.x
Set Select
Bum
Interrupt Control by
P1IES.x and
Flag JTAG
Test Fuse
P1SEL.x
P1.x
TDO
Controlled By JTAG
P1.7/TA2/TDO/TDI
Controlled by JTAG
P1.x
TDI
TST
P1.6/TA1/TD1
NOTE: The test pin should be protected from potential EMI
P1.x
TST
and ESD voltage spikes. This may require a smaller
TMS
external pulldown resistor in some applications.
P1.5/TA0/TMS
x = Bit identifier, 4 to 7 for port P1
P1.x
TST
During programming activity and during blowing
TCK
the fuse, the pin TDO/TDI is used to apply the test
input for JTAG circuitry. P1.4/SMCLK/TCK
DIRECTION
PnSel.x PnDIR.x CONTROL PnOUT.x MODULE X OUT PnIN.x MODULE X IN PnIE.x PnIFG.x PnIES.x
FROM MODULE
P1Sel.4 P1DIR.4 P1DIR.4 P1OUT.4 SMCLK P1IN.4 unused P1IE.4 P1IFG.4 P1IES.4
P1Sel.5 P1DIR.5 P1DIR.5 P1OUT.5 Out0 signal P1IN.5 unused P1IE.5 P1IFG.5 P1IES.5
P1Sel.6 P1DIR.6 P1DIR.6 P1OUT.6 Out1 signal P1IN.6 unused P1IE.6 P1IFG.6 P1IES.6
P1Sel.7 P1DIR.7 P1DIR.7 P1OUT.7 Out2 signal P1IN.7 unused P1IE.7 P1IFG.7 P1IES.7
Signal from or to Timer_A
38
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
Port P2, P2.0 to P2.2, input/output with Schmitt-trigger
a0, or a1, or a2
selected in
ADC10
a0, or a1, or a2
to ADC10,
ADC10AE.x
Pad Logic
P2SEL.x
0: input
0
P2DIR.x
1: output
1
Direction Control
From Module
0
P2OUT.x
1
Module X Out Bus
Keeper
P2.0/ACLK/A0
P2.1/INCLK/A1
P2IN.x
P2.2/TA0/A2
EN
Module X In
D
P2IE.x
P2IRQ.x EN
Interrupt
Q
P2IFG.x
Edge
Select
Set
P2IES.x P2SEL.x
NOTE: 0d" x d" 2
DIRECTION
PnSel.x PnDIR.x CONTROL PnOUT.x MODULE X OUT PnIN.x MODULE X IN PnIE.x PnIFG.x PnIES.x
FROM MODULE
P2Sel.0 P2DIR.0 P2DIR.0 P2OUT.0 ACLK P2IN.0 unused P2IE.0 P2IFG.0 P1IES.0
P2Sel.1 P2DIR.1 P2DIR.1 P2OUT.1 VSS P2IN.1 INCLK P2IE.1 P2IFG.1 P1IES.1
P2Sel.2 P2DIR.2 P2DIR.2 P2OUT.2 OUT0 signal P2IN.2 CCI0B P2IE.2 P2IFG.2 P1IES.2
Timer_A
39
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
Port P2, P2.3 to P2.4, input/output with Schmitt-trigger
Pad Logic
a3 Selected
to ADC10, a3
ADC10AE.3
P2SEL.3
0: input
0
P2DIR.3
1: output
1
P2DIR.3
0
P2OUT.3
1
DVSS Bus
P2.3/
Keeper
P2IN.4
TA1/
A3/
EN
VREF
Unused D
P2IE.4
Interrupt
P2IRQ.07 EN
Edge
Q
P2IFG.4
Select
Set
AVCC AVCC AVSS
Reference Circuit
in ADC10 Module
REF+OUT
P2IES.x P2SEL.x a10 on REFON
REF_x
ON ON
0
+
Typ. 0,4 0 1
_
1.25 V
1,5
SREF SREF.2
2_5 V
ADC10 ADC10
CTL0.12..14) CTL0.14)
V + V R
R
Pad Logic
a4 Selected
to ADC10, a4
ADC10AE.4
P2SEL.4
0: input
0
P2DIR.4
1: output
1
P2DIR.4
0
P2OUT.4
1
DVSS Bus
P2.4/
Keeper
P2IN.4
TA2/
A4/
EN
VREF+
D
Unused
P2IE.4
Interrupt
P2IRQ.07 EN
Edge
Q
P2IFG.4
Select
Set
P2IES.4 P2SEL.4
40
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
Port P2, P2.3 to P2.4, input/output with Schmitt-trigger (continued)
DIRECTION
PnSel.x PnDIR.x CONTROL PnOUT.x MODULE X OUT PnIN.x MODULE X IN PnIE.x PnIFG.x PnIES.x
FROM MODULE
P2Sel.3 P2DIR.3 P2DIR.3 P2OUT.3 Out1 signal P2IN.3 CCI1B P2IE.3 P2IFG.3 P1IES.3
P2Sel.4 P2DIR.4 P2DIR.4 P2OUT.4 Out2 signal P2IN.4 Unused P2IE.4 P2IFG.4 P1IES.4
Timer_A
Port P2, P2.5, input/output with Schmitt-trigger and ROSC function for the Basic Clock Module
P2SEL.5
0: Input
Pad Logic
0
P2DIR.5 1: Output
1
Direction Control
From Module
0
0
P2.5/ROSC
P2OUT.5
1
1
Module X OUT
Bus Keeper
P2IN.5
EN
Module X IN
D
Internal to
Basic Clock
Module
P2IRQ.5 P2IE.5
Interrupt
0 1
VCC
EN
Edge
Q
P2IFG.5
Select
Set
Interrupt
P2IES.5
DC
Flag
DCOR
Generator
P2SEL.5
NOTE: DCOR: Control bit from Basic Clock Module if it is set, P2.5 Is disconnected from P2.5 pad
DIRECTION
PnSel.x PnDIR.x CONTROL PnOUT.x MODULE X OUT PnIN.x MODULE X IN PnIE.x PnIFG.x PnIES.x
FROM MODULE
P2Sel.5 P2DIR.5 P2DIR.5 P2OUT.5 VSS P2IN.5 unused P2IE.5 P2IFG.5 P2IES.5
41
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
Port P2, unbonded bits P2.6 and P2.7
P2SEL.x
0: Input
0
P2DIR.x
1: Output
1
Direction Control
From Module
0
0
P2OUT.x
1
1
Module X OUT
P2IN.x
Node Is Reset With PUC
EN
Bus Keeper
Module X IN
D
P2IRQ.x P2IE.x
PUC
Interrupt
EN
Edge
Q
P2IFG.x
Select
Set
Interrupt
P2IES.x
Flag
P2SEL.x
NOTE: x = Bit/identifier, 6 to 7 for port P2 without external pins
DIRECTION
P2Sel.x P2DIR.x CONTROL P2OUT.x MODULE X OUT P2IN.x MODULE X IN P2IE.x P2IFG.x P2IES.x
FROM MODULE
P2Sel.6 P2DIR.6 P2DIR.6 P2OUT.6 VSS P2IN.6 unused P2IE.6 P2IFG.6 P2IES.6
P2Sel.7 P2DIR.7 P2DIR.7 P2OUT.7 VSS P2IN.7 unused P2IE.7 P2IFG.7 P2IES.7
NOTE: Unbonded bits 6 and 7 of port P2 can be used as interrupt flags. Only software can affect the interrupt flags. They work as software
interrupts.
42
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
port P3, P3.0, P3.6 and P3.7 input/output with Schmitt-trigger
a5, or a6, or a7
selected in
ADC10
To ADC10
a5, or a6, or a7
ADC10AE.x
Pad Logic
P3SEL.x
0: input
0
P3DIR.x
1: output
1
Direction Control
From Module
0
P3OUT.x
1
Module X Out Bus
Keeper
P3.0/STE0/A5
P3.6/A6
P3IN.x
P3.7/A7
EN
Module X In
D
P3IE.x
P3IRQ.x EN
Interrupt
Q
P3IFG.x
Edge
Select
Set
P3IES.x P3SEL.x
NOTE: x (0,6,7)
Direction Control
PnSel.x PnDIR.x PnOUT.x Module X OUT PnIN.x Module X IN
From Module
P3Sel.0 P3DIR.0 VSS P3OUT.0 VSS P3IN.0 STE0
P3Sel.6 P3DIR.1 P3DIR.6 P3OUT.6 VSS P3IN.6 Unused
P3Sel.7 P3DIR.2 P3DIR.7 P3OUT.7 VSS P3IN.7 Unused
USART0
43
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
port P3, P3.1 input/output with Schmitt-trigger
P3SEL.1 0: Input
0
1: Output
SYNC
P3DIR.1
MM
1
DCM_SIMO
STC Pad Logic
P3.1/SIMO0
STE 0
P3OUT1
(SI)MO0
1
From USART0
P3IN.1
EN
SI(MO)0 D
To USART0
port P3, P3.2, input/output with Schmitt-trigger
P3SEL.2
0: Input
0
1: Output
P3DIR.2
SYNC
MM
1
DCM_SOMI
Pad Logic
STC
P3.2/SOMI0
STE 0
P3OUT.2
SO(MI)0
1
From USART0
P3IN.2
EN
(SO)MI0
D
To USART0
44
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
port P3, P3.3, input/output with Schmitt-trigger
P3SEL.3 0: Input
1: Output
0
SYNC P3DIR.3
MM
1
DCM_UCLK
STC Pad Logic
P3.3/UCLK0
STE
0
P3OUT.3
UCLK.0
1
From USART0
P3IN.3
EN
UCLK0 D
To USART0
NOTE: UART mode: The UART clock can only be an input. If UART mode and UART function are selected, the P3.3/UCLK0 is always
an input.
SPI, slave mode: The clock applied to UCLK0 is used to shift data in and out.
SPI, master mode: The clock to shift data in and out is supplied to connected devices on pin P3.3/UCLK0 (in slave mode).
port P3, P3.4, and P3.5 input/output with Schmitt-trigger
P3SEL.x
0: Input
0
1: Output
P3DIR.x
Direction Control
1
From Module
Pad Logic
0
P3OUT.x
Module X OUT
1
P3.4/UTXD0
P3.5/URXD0
P3IN.x
EN
Module X IN D
x {4,5}
DIRECTION
PnSel.x PnDIR.x CONTROL PnOUT.x MODULE X OUT PnIN.x MODULE X IN
FROM MODULE
P3Sel.4 P3DIR.4 DVCC P3OUT.4 UTXD0 P3IN.4 Unused
P3Sel.5 P3DIR.5 DVSS P3OUT.5 DVSS P3IN.5 URXD0!
Output from USART0 module
!
Input to USART0 module
45
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
APPLICATION INFORMATION
JTAG fuse check mode
MSP430 devices that have the fuse on the TEST 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 flows from the TEST 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.
When the TEST pin is taken back low after a test or programming session, the fuse check mode and sense
currents are terminated.
The JTAG pins are terminated internally, and therefore do not require external termination.
NOTE:
The CODE and RAM data protection is ensured if the JTAG fuse is blown and the 256-bit bootloader
access key is used. Also, see the bootstrap loader section for more information.
46
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
MECHANICAL DATA
DW (R-PDSO-G**) PLASTIC SMALL-OUTLINE PACKAGE
16 PINS SHOWN
0.050 (1,27) 0.020 (0,51)
0.010 (0,25) M
0.014 (0,35)
16 9
0.419 (10,65)
0.400 (10,15)
0.299 (7,59) 0.010 (0,25) NOM
0.291 (7,39)
Gage Plane
0.010 (0,25)
1 8
0° 8° 0.050 (1,27)
A
0.016 (0,40)
Seating Plane
0.012 (0,30)
0.004 (0,10)
0.104 (2,65) MAX
0.004 (0,10)
PINS **
16 20 24 28
DIM
0.410 0.510 0.610 0.710
A MAX
(10,41) (12,95) (15,49) (18,03)
0.400 0.500 0.600 0.700
A MIN
(10,16) (12,70) (15,24) (17,78)
4040000/ D 01/00
NOTES: A. All linear dimensions are in inches (millimeters).
B. This drawing is subject to change without notice.
C. Body dimensions do not include mold flash or protrusion not to exceed 0.006 (0,15).
D. Falls within JEDEC MS-013
47
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
MSP430x11x2, MSP430x12x2
MIXED SIGNAL MICROCONTROLLER
SLAS361A JANUARY 2002 REVISED OCTOBER 2002
PW (R-PDSO-G**) PLASTIC SMALL-OUTLINE PACKAGE
14 PINS SHOWN
0,30
M
0,10
0,65
0,19
14 8
0,15 NOM
4,50 6,60
4,30 6,20
Gage Plane
0,25
1 7
0° 8°
A
0,75
0,50
Seating Plane
0,15
0,10
1,20 MAX
0,05
PINS **
8 14 16 20 24 28
DIM
A MAX 3,10 5,10 5,10 6,60 7,90 9,80
A MIN 2,90 4,90 4,90 6,40 7,70 9,60
4040064/F 01/97
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Body dimensions do not include mold flash or protrusion not to exceed 0,15.
D. Falls within JEDEC MO-153
48
POST OFFICE BOX 655303 " DALLAS, TEXAS 75265
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.
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
Copyright © 2002, Texas Instruments Incorporated
Wyszukiwarka
Podobne podstrony:
MSP430 DirectivesMSP430 OpcodesMSP430 2dMacrosMSP430 2dDependentMSP430x13x, MSP430F14x, MSP430F15x, MSP430F16x Code Examples TI COM ?T140?molist CMSP430 2dCharsmsp430f110msp430f1101aMSP430 Syntaxmsp430g2553msp430f123MSP430 2dExtLCD MSP430MSP430 Profiling CapabilityMSP430msp430f133MSP430 2dRegsMSP430 wprzykładach cz3MSP430 Floating Pointwięcej podobnych podstron