•12-Bit Analog-to-Digital (A/D) Converter With
Internal Shared Reference, Sample-and-Hold,
•Dual 12-Bit Digital-to-Analog (D/A) Converters
•Comparator
•Integrated LCD Driver With Contrast Control
for up to 160 Segments
•Hardware Multiplier Supporting 32-Bit
•Flash Memory
– Serial Onboard Programming, No External
Programming Voltage Needed
– Enhanced Data Integrity
•Six-Channel Internal DMA
•Real-Time Clock Module With Supply Voltage
Backup Switch
•Family Members are Summarized in Table 1
•For Complete Module Descriptions, See the
MSP430x5xx/MSP430x6xx Family User's Guide
(SLAU208)
SLAS566 –OCTOBER 2009
1
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.
PRODUCT PREVIEW information concerns products in the
formative or design phase of development. Characteristic data and
other specifications are design goals. Texas Instruments reserves
the right to change or discontinue these products without notice.
The Texas Instruments MSP430 family of ultralow-power microcontrollers consists 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 5 μs.
The MSP430F663x series are microcontroller configurations with four 16-bit timers, a high performance 12-bit
analog-to-digital (A/D) converter, two universal serial communication interfaces (USCI), hardware multiplier,
DMA, real-time clock module with alarm capabilities, comparator, USB 2.0, and up to 74 I/O pins.
Typical applications for this device include analog and digital sensor systems, digital motor control, remote
controls, thermostats, digital timers, hand-held meters, etc.
Family members available are summarized in Table 1.
DeviceI/O
MSP430F663825616 + 25, 3, 372221274
MSP430F6637
MSP430F6636
MSP430F6635
MSP430F6634
MSP430F6633
MSP430F6632
MSP430F6631
MSP430F6630
(1) The additional 2 KB USB SRAM that is listed can be used as general purpose SRAM when USB is not in use.
(2) Each number in the sequence represents an instantiation of Timer_A with its associated number of capture compare registers and PWM
output generators available. For example, a number sequence of 3, 5 would represent two instantiations of Timer_A, the first
instantiation having 3 and the second instantiation having 5 capture compare registers and PWM output generators, respectively.
(3) Each number in the sequence represents an instantiation of Timer_B with its associated number of capture compare registers and PWM
output generators available. For example, a number sequence of 3, 5 would represent two instantiations of Timer_B, the first
instantiation having 3 and the second instantiation having 5 capture compare registers and PWM output generators, respectively.
P5.0/VREF+/VeREF+9D4I/OOutput of reference voltage to the ADC
P5.1/VREF-/VeREF-10E4I/ONegative terminal for the ADC's reference voltage for both sources, the internal
AVCC111Analog power supply
AVSS112F2Analog ground supply
XIN13F1IInput terminal for crystal oscillator XT1
XOUT14G1OOutput terminal of crystal oscillator XT1
AVSS215G2Analog ground supply
P5.6/ADC12CLK/DMAE016H1I/OConversion clock output ADC (not available on '6632, '6631, '6630 devices)
P2.0/P2MAP017G4I/O
P2.1/P2MAP118H2I/O
P2.2/P2MAP219J1I/O
P2.3/P2MAP320H4I/O
P2.4/P2MAP421J2I/O
P2.5/P2MAP522K1I/O
Terminal Functions
E1,
E2
I/O
(1)
General-purpose digital I/O
Analog input A4 – ADC (not available on '6632, '6631, '6630 devices)
General-purpose digital I/O
Analog input A5 – ADC (not available on '6632, '6631, '6630 devices)
General-purpose digital I/O
Comparator_B input CB6
Analog input A6 – ADC (not available on '6632, '6631, '6630 devices)
DAC12.0 output (not available on '6635, '6634, '6633, '6632, '6631, '6630 devices)
General-purpose digital I/O
Comparator_B input CB7
Analog input A7 – ADC (not available on '6632, '6631, '6630 devices)
DAC12.1 output (not available on '6635, '6634, '6633, '6632, '6631, '6630 devices)
General-purpose digital I/O
Analog input A12 –ADC (not available on '6632, '6631, '6630 devices)
General-purpose digital I/O
Analog input A13 – ADC (not available on '6632, '6631, '6630 devices)
General-purpose digital I/O
Comparator_B input CB10
Analog input A14 – ADC (not available on '6632, '6631, '6630 devices)
DAC12.0 output (not available on '6635, '6634, '6633, '6632, '6631, '6630 devices)
General-purpose digital I/O
Comparator_B input CB11
Analog input A15 – ADC (not available on '6632, '6631, '6630 devices)
DAC12.1 output (not available on '6635, '6634, '6633, '6632, '6631, '6630 devices)
General-purpose digital I/O
Input for an external reference voltage to the ADC
General-purpose digital I/O
reference voltage, or an external applied reference voltage
General-purpose digital I/O
DMA external trigger input
General-purpose digital I/O with port interrupt and map-able secondary function
Default mapping: USCI_B0 SPI slave transmit enable; USCI_A0 clock input/output
General-purpose digital I/O with port interrupt and map-able secondary function
Default mapping: USCI_B0 SPI slave in/master out; USCI_B0 I2C data
General-purpose digital I/O with port interrupt and map-able secondary function
Default mapping: USCI_B0 SPI slave out/master in; USCI_B0 I2C clock
General-purpose digital I/O with port interrupt and map-able secondary function
Default mapping: USCI_B0 clock input/output; USCI_A0 SPI slave transmit enable
General-purpose digital I/O with port interrupt and map-able secondary function
Default mapping: USCI_A0 UART transmit data; USCI_A0 SPI slave in/master out
General-purpose digital I/O with port interrupt and map-able secondary function
Default mapping: USCI_A0 UART receive data; USCI_A0 slave out/master in
27M2Regulated core power supply (internal usage only, no external current loading)
I/O
(1)
General-purpose digital I/O with port interrupt and map-able secondary function
Input/output port of lowest analog LCD voltage (V5)
General-purpose digital I/O with port interrupt and map-able secondary function
Default mapping: no secondary function
External reference voltage input for regulated LCD voltage
Input/output port of third most positive analog LCD voltage (V3 or V4)
General-purpose digital I/O
Input/output port of second most positive analog LCD voltage (V2)
General-purpose digital I/O
LCD segment output S42
General-purpose digital I/O
LCD segment output S41
General-purpose digital I/O
LCD segment output S40
General-purpose digital I/O with port interrupt
Timer TA0 clock signal TACLK input
ACLK output (divided by 1, 2, 4, or 8)
LCD segment output S39
General-purpose digital I/O with port interrupt
Timer TA0 CCR0 capture: CCI0A input, compare: Out0 output
BSL transmit output
LCD segment output S38
General-purpose digital I/O with port interrupt
Timer TA0 CCR1 capture: CCI1A input, compare: Out1 output
BSL receive input
LCD segment output S37
General-purpose digital I/O with port interrupt
LCD segment output S36
General-purpose digital I/O with port interrupt
LCD segment output S35
General-purpose digital I/O with port interrupt
LCD segment output S34
General-purpose digital I/O with port interrupt
LCD segment output S33
General-purpose digital I/O with port interrupt
LCD segment output S32
General-purpose digital I/O with port interrupt
Timer TA1 clock input
Comparator_B output
LCD segment output S31
(2) VCORE is for internal usage only. No external current loading is possible. VCORE should only be connected to the recommended
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
reducedinstructionexecutiontime.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. Theremaining
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 the original 51
instructions with three formats and seven address
modes and additional instructions for the expanded
address range. Each instruction can operate on word
and byte data. Table 2 shows examples of the three
types of instruction formats; the address modes are
listed in Table 3.
SLAS566 –OCTOBER 2009
Dual operands, source-destinatione.g., ADD R4,R5R4 + R5 → R5
Single operands, destination onlye.g., CALL R8PC → (TOS), R8 → PC
Relative jump, un/conditionale.g., JNEJump-on-equal bit = 0
The MSP430 has one active mode and six 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 seven operating modes can be configured by software:
•Active mode (AM)
– All clocks are active
•Low-power mode 0 (LPM0)
– CPU is disabled
– ACLK and SMCLK remain active, MCLK is disabled
– FLL loop control remains active
•Low-power mode 1 (LPM1)
– CPU is disabled
– FLL loop control is disabled
– ACLK and SMCLK remain active, MCLK is disabled
•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
•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
•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
– Complete data retention
•Low-power mode 5 (LPM5)
– Internal regulator disabled
– No data retention
– optional RTC clocked by low-frequency oscillator
– Wakeup from RST/NMI, RTC_B, P1, P2, P3, and P4
The interrupt vectors and the power-up start address are located in the address range 0FFFFh to 0FF80h. The
vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence.
Table 4. Interrupt Sources, Flags, and Vectors of MSP430F663x Configurations
(1) Multiple source flags
(2) A reset is generated if the CPU tries to fetch instructions from within peripheral space or vacant memory space.
(Non)maskable: the individual interrupt-enable bit can disable an interrupt event, but the general-interrupt enable cannot disable it.
(3) Interrupt flags are located in the module.
(4) Only on devices with peripheral module ADC12_A, otherwise reserved.
(5) Only on devices with peripheral module DAC12_A, otherwise reserved.
The BSL enables users to program the flash memory or RAM using a UART serial interface. Access to the
device memory via the BSL is protected by user-defined password. For complete description of the features of
the BSL and its implementation, see the MSP430 Memory Programming User's Guide, TI literature number
SLAU265.
Table 6. BSL Functions
BSL FUNCTIONDEVICE OUTPUT SIGNAL
Data transmitP1.1
Data receiveP1.2
Flash Memory
The flash memory can be programmed via the JTAG port, Spy-Bi-Wire (SBW), the BSL, or in-system by the
CPU. The CPU can perform single-byte, single-word, and long-word writes to the flash memory. Features of the
flash memory include:
•Flash memory has n segments of main memory and four segments of information memory (A to D) of
128 bytes each. Each segment in main memory is 512 bytes in size.
•Segments 0 to n may be erased in one step, or each segment may be individually erased.
•Segments A to D can be erased individually, or as a group with segments 0 to n. Segments A to D are also
called information memory.
•Segment A can be locked separately.
SLAS566 –OCTOBER 2009
Enhanced Data Integrity (EDI)
The EDI feature provides additional functionality over the regular MSP430 flash memory controller. The main
purpose of the EDI function is gaining higher reliability of flash content and overall system integrity in harsh
environments and application areas requiring this feature. The additional level of security is reached by
caluclating more dimensional checksums.
The on-chip EDI support software allows easily to use the different EDI features. The implementation cover the
following functionality:
•Level #0
– User-defined or auto configuration of memory
– Error patching of up to four addresses (4 Error Cache entries)
– Handling of detected errors in an error list stored in RAM or flash
– Restart on error
•Level #1:
– All functionality of level #0 implemenation
– Recover on error
– User-defined error handling
For Complete EDI Description, See the MSP430 On-Chip EDI Support Software User's Guide (SLAUxxx)
RAM Memory
The RAM memory is made up of n sectors. Each sector can be completely powered down to save leakage,
however all data is lost. Features of the RAM memory include:
•RAM memory has n sectors. The size of a sector can be found in the Memory Organization section.
•Each sector 0 to n can be complete disabled, however data retention is lost.
•Each sector 0 to n automatically enters low power retention mode when possible.
•For Devices that contain USB memory, the USB memory can be used as normal RAM if USB is not required.
The Backup RAM provides a limited number of bytes of RAM that are retained during LPM5 and during operation
from a backup supply in case the Battery Backup System module is implemented.
There are 8 bytes of Backup RAM available on MSP430F663x. It can be wordwise accessed via the control
registers BAKMEM0, BAKMEM1, BAKMEM2, and BAKMEM3.
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 MSP430x5xx/MSP430x6xx Family User's Guide,
literature number SLAU 208.
Digital I/O
There are up to nine 8-bit I/O ports implemented: P1 through P9 are complete and port PJ contains four
individual I/O ports.
•All individual I/O bits are independently programmable.
•Any combination of input, output, and interrupt conditions is possible.
•Programmable pullup or pulldown on all ports.
•Programmable drive strength on all ports.
•Edge-selectable interrupt input capability for all the eight bits of ports P1, P2, P3, and P4.
•Read/write access to port-control registers is supported by all instructions.
•Ports can be accessed byte-wise (P1 through P9) or word-wise in pairs (PA through PD).
Port Mapping Controller
The port mapping controller allows the flexible and reconfigurable mapping of digital functions to port P2.
VALUEPxMAPy MNEMONICINPUT PIN FUNCTIONOUTPUT PIN FUNCTION
Table 7. Port Mapping, Mnemonics and Functions (continued)
VALUEPxMAPy MNEMONICINPUT PIN FUNCTIONOUTPUT PIN FUNCTION
15
16
17PM_MCLK-MCLK
18PM_E0EDI test pin (open drain and direction controlled by EDI)
19PM_E1EDI test pin (open drain and direction controlled by EDI)
20 - 30ReservedNoneDV
31 (0FFh)
(1) The value of the PMPAP_ANALOG mnemonic is set to 0FFh. The port mapping registers are only 5 bits wide and the upper bits are
P2.7/P2MAP7/LCDREF/R1
(1)
ignored resulting in a read out value of 31.
PINPxMAPy MNEMONICINPUT PIN FUNCTIONOUTPUT PIN FUNCTION
P2.0/P2MAP0
P2.1/P2MAP1
P2.2/P2MAP2
P2.3/P2MAP3
P2.4/P2MAP4
P2.5/P2MAP5
P2.6/P2MAP6/R03PM_NONE-DV
3
PM_UCB0SIMOUSCI_B0 SPI slave in master out (direction controlled by USCI)
PM_UCB0SDAUSCI_B0 I2C data (open drain and direction controlled by USCI)
PM_UCB0CLKUSCI_B0 clock input/output (direction controlled by USCI)
PM_UCA0STEUSCI_A0 SPI slave transmit enable (direction controlled by USCI - input)
Disables the output driver as well as the input Schmitt-trigger to prevent parasitic cross
currents when applying analog signals.
Table 8. Default Mapping
CLKUSCI_A0 clock input/output (direction controlled by USCI)
STEtransmit enable (direction controlled by USCI - input)
SLAS566 –OCTOBER 2009
SS
SS
SS
Oscillator and System Clock
The clock system in the MSP430F663x family of devices is supported by the Unified Clock System (UCS)
module that includes support for a 32 kHz watch crystal oscillator (XT1 LF mode - XT1 HF mode not supported),
an internal very-low-power low-frequency oscillator (VLO), an internal trimmed low-frequency oscillator (REFO),
an integrated internal digitally-controlled oscillator (DCO), and a high-frequency crystal oscillator XT2. The UCS
module is designed to meet the requirements of both low system cost and low-power consumption. The UCS
module 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 5 μs. The UCS module provides the following
clock signals:
•Auxiliary clock (ACLK), sourced from a 32 kHz watch crystal (XT1), a high-frequency crystal (XT2), the
internal low-frequency oscillator (VLO), the trimmed low-frequency oscillator (REFO), or the internal
digitally-controlled oscillator DCO.
•Main clock (MCLK), the system clock used by the CPU. MCLK can be sourced by same sources made
available to ACLK.
•Sub-Main clock (SMCLK), the subsystem clock used by the peripheral modules. SMCLK can be sourced by
same sources made available to ACLK.
•ACLK/n, the buffered output of ACLK, ACLK/2, ACLK/4, ACLK/8, ACLK/16, ACLK/32.
Power Management Module (PMM)
The PMM includes an integrated voltage regulator that supplies the core voltage to the device and contains
programmable output levels to provide for power optimization. The PMM also includes supply voltage supervisor
(SVS) and supply voltage monitoring (SVM) circuitry, as well as brownout protection. The brownout circuit is
implemented to provide the proper internal reset signal to the device during power-on and power-off. The
SVS/SVM 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). SVS and SVM circuitry is available on the primary supply and core supply.
Hardware Multiplier
The multiplication operation is supported by a dedicated peripheral module. The module performs operations with
32-bit, 24-bit, 16-bit, and 8-bit operands. The module is capable of supporting signed and unsigned multiplication
as well as signed and unsigned multiply and accumulate operations.
Real-Time Clock (RTC_B)
The RTC_B module can be configured for real-time clock (RTC) and calendar mode providing seconds, minutes,
hours, day of week, day of month, month, and year. Calendar mode integrates an internal calendar which
compensates for months with less than 31 days and includes leap year correction. The RTC_B also supports
flexible alarm functions and offset-calibration hardware. The implementation on this device supports operation in
LPM5 mode and operation from a backup supply.
Watchdog Timer (WDT_A)
The primary function of the watchdog timer (WDT_A) 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.
www.ti.com
System Module (SYS)
The SYS module handles many of the system functions within the device. These include power on reset and
power up clear handling, NMI source selection and management, reset interrupt vector generators, boot strap
loader entry mechanisms, as well as, configuration management (device descriptors). It also includes a data
exchange mechanism via JTAG called a JTAG mailbox that can be used in the application.
The DMA controller allows movement of data from one memory address to another without CPU intervention. For
example, the DMA controller can be used to move data from the ADC12_A conversion memory to RAM. Using
the DMA controller can increase the throughput of peripheral modules. The DMA controller reduces system
power consumption by allowing the CPU to remain in sleep mode, without having to awaken to move data to or
from a peripheral.
The USB timestamp generator also utilizes the channel 0, 1, and 2 DMA trigger assignments described in
(1) Only on devices with peripheral module ADC12_A. Reserved on devices without ADC.
(2) Only on devices with peripheral module DAC12_A. Reserved on devices without DAC.
The USCI modules are used for serial data communication. The USCI module supports synchronous
communication protocols such as SPI (3 or 4 pin) and I2C, and asynchronous communication protocols such as
UART, enhanced UART with automatic baudrate detection, and IrDA. Each USCI module contains two portions,
A and B.
The USCI_An module provides support for SPI (3 or 4 pin), UART, enhanced UART, or IrDA.
The USCI_Bn module provides support for SPI (3 or 4 pin) or I2C.
The MSP430F663x series includes two complete USCI modules (n = 0 to 1).
Timer TA0
Timer TA0 is a 16-bit timer/counter (Timer_A type) with five capture/compare registers. It can support multiple
capture/compares, PWM outputs, and interval timing. It also has extensive interrupt capabilities. Interrupts may
be generated from the counter on overflow conditions and from each of the capture/compare registers.
INPUT PIN NUMBERDEVICEMODULEMODULEDEVICEOUTPUT PIN NUMBER
Timer TA1 is a 16-bit timer/counter (Timer_A type) with three capture/compare registers. It can support multiple
capture/compares, PWM outputs, and interval timing. It also has extensive interrupt capabilities. Interrupts may
be generated from the counter on overflow conditions and from each of the capture/compare registers.
INPUT PIN NUMBERDEVICEMODULEMODULEDEVICEOUTPUT PIN NUMBER
Timer TA2 is a 16-bit timer/counter (Timer_A type) with three capture/compare registers. It can support multiple
capture/compares, PWM outputs, and interval timing. It also has extensive interrupt capabilities. Interrupts may
be generated from the counter on overflow conditions and from each of the capture/compare registers.
Table 13. Timer TA2 Signal Connections
INPUT PIN NUMBERDEVICEMODULEMODULEDEVICEOUTPUT PIN NUMBER
Timer TB0 is a 16-bit timer/counter (Timer_B type) with seven capture/compare registers. It can support multiple
capture/compares, PWM outputs, and interval timing. It also has extensive interrupt capabilities. Interrupts may
be generated from the counter on overflow conditions and from each of the capture/compare registers.
INPUT PIN NUMBERDEVICEMODULEMODULEDEVICEOUTPUT PIN NUMBER
PZZQWPZZQW
58-P8.0J11-P8.0
P2MAPx
P2MAPx
P2MAPx
P2MAPx
P2MAPx
P2MAPx
P2MAPx
P2MAPx
P2MAPx
(1) Timer functions selectable via the port mapping controller.
(2) Only on devices with peripheral module ADC12_A.
(3) Only on devices with peripheral module DAC12_A.
The primary function of the Comparator_B module is to support precision slope analog-to-digital conversions,
battery voltage supervision, and monitoring of external analog signals.
ADC12_A
The ADC12_A module supports fast, 12-bit analog-to-digital conversions. The module implements a 12-bit SAR
core, sample select control, reference generator and a 16 word conversion-and-control buffer. The
conversion-and-control buffer allows up to 16 independent ADC samples to be converted and stored without any
CPU intervention.
CRC16
The CRC16 module produces a signature based on a sequence of entered data values and can be used for data
checking purposes. The CRC16 module signature is based on the CRC-CCITT standard.
REF Voltage Reference
The reference module (REF) is responsible for generation of all critical reference voltages that can be used by
the various analog peripherals in the device.
LCD_B
The LCD_B driver generates the segment and common signals required to drive a Liquid Crystal Display (LCD).
The LCD_B controller has dedicated data memories 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. The
module can provide a LCD voltage independent of the supply voltage with its integrated charge pump. It is
possible to control the level of the LCD voltage and thus contrast by software. The module also provides an
automatic blinking capability for individual segments.
SLAS566 –OCTOBER 2009
USB Universal Serial Bus
The USB module is a fully integrated USB interface that is compliant with the USB 2.0 specification. The module
supports full-speed operation of control, interrupt, and bulk transfers. The module includes an integrated LDO,
PHY, and PLL. The PLL is highly-flexible and can support a wide range of input clock frequencies. USB RAM,
when not used for USB communication, can be used by the system.
Embedded Emulation Module (EEM)
The Embedded Emulation Module (EEM) supports real-time in-system debugging. The L version of the EEM
implemented on all devices has the following features:
•Eight hardware triggers/breakpoints on memory access
•Two hardware triggers/breakpoints on CPU register write access
•Up to ten hardware triggers can be combined to form complex triggers/breakpoints
Special Functions (refer to Table 16)0100h000h - 01Fh
PMM (refer to Table 17)0120h000h - 00Fh
Flash Control (refer to Table 18)0140h000h - 00Fh
CRC16 (refer to Table 19)0150h000h - 007h
RAM Control (refer to Table 20)0158h000h - 001h
Watchdog (refer to Table 21)015Ch000h - 001h
UCS (refer to Table 22)0160h000h - 01Fh
SYS (refer to Table 23)0180h000h - 01Fh
Shared Reference (refer to Table 24)01B0h000h - 001h
Port Mapping Control (refer to Table 25)01C0h000h - 003h
Port Mapping Port P2 (refer to Table 25)01D0h000h - 007h
Port P1/P2 (refer to Table 26)0200h000h - 01Fh
Port P3/P4 (refer to Table 27)0220h000h - 01Fh
Port P5/P6 (refer to Table 28)0240h000h - 00Bh
Port P7/P8 (refer to Table 29)0260h000h - 00Bh
Port P9 (refer to Table 30)0280h000h - 00Bh
Port PJ (refer to Table 31)0320h000h - 01Fh
Timer TA0 (refer to Table 32)0340h000h - 02Eh
Timer TA1 (refer to Table 33)0380h000h - 02Eh
(1) For a detailed description of the individual control register offset addresses, see the MSP430F5xx and MSP430F6xx Family User's
Guide (SLAU208).
Timer TB0 (refer to Table 34)03C0h000h - 02Eh
Timer TA2 (refer to Table 35)0400h000h - 02Eh
Battery Backup (refer to Table 36)0480h000h - 01Fh
RTC_B (refer to Table 37)04A0h000h - 01Fh
32-bit Hardware Multiplier (refer to Table 38)04C0h000h - 02Fh
DMA General Control (refer to Table 39)0500h000h - 00Fh
DMA Channel 0 (refer to Table 39)0510h000h - 00Ah
DMA Channel 1 (refer to Table 39)0520h000h - 00Ah
DMA Channel 2 (refer to Table 39)0530h000h - 00Ah
DMA Channel 3 (refer to Table 39)0540h000h - 00Ah
DMA Channel 4 (refer to Table 39)0550h000h - 00Ah
DMA Channel 5 (refer to Table 39)0560h000h - 00Ah
USCI_A0 (refer to Table 40)05C0h000h - 01Fh
USCI_B0 (refer to Table 41)05E0h000h - 01Fh
USCI_A1 (refer to Table 42)0600h000h - 01Fh
USCI_B1 (refer to Table 43)0620h000h - 01Fh
ADC12_A (refer to Table 44)0700h000h - 03Fh
DAC12_A (refer to Table 45)0780h000h - 01Fh
Comparator_B (refer to Table 46)08C0h000h - 00Fh
USB configuration (refer to Table 47)0900h000h - 014h
PMM Control 0PMMCTL000h
PMM control 1PMMCTL102h
SVS high side controlSVSMHCTL04h
SVS low side controlSVSMLCTL06h
PMM interrupt flagsPMMIFG0Ch
PMM interrupt enablePMMIE0Eh
Table 18. Flash Control Registers (Base Address: 0140h)
REGISTER DESCRIPTIONREGISTEROFFSET
Flash control 1FCTL100h
Flash control 3FCTL304h
Flash control 4FCTL406h
SLAS566 –OCTOBER 2009
REGISTER DESCRIPTIONREGISTEROFFSET
CRC data inputCRC16DI00h
CRC resultCRC16INIRES04h
Table 20. RAM Control Registers (Base Address: 0158h)
UCS control 0UCSCTL000h
UCS control 1UCSCTL102h
UCS control 2UCSCTL204h
UCS control 3UCSCTL306h
UCS control 4UCSCTL408h
UCS control 5UCSCTL50Ah
UCS control 6UCSCTL60Ch
UCS control 7UCSCTL70Eh
UCS control 8UCSCTL810h
(Base Address of Port Mapping Control: 01C0h, Port P4: 01D0h)
REGISTER DESCRIPTIONREGISTEROFFSET
Port mapping password registerPMAPPWD00h
Port mapping control registerPMAPCTL02h
Port P2.0 mapping registerP2MAP000h
Port P2.1 mapping registerP2MAP101h
Port P2.2 mapping registerP2MAP202h
Port P2.3 mapping registerP2MAP303h
Port P2.4 mapping registerP2MAP404h
Port P2.5 mapping registerP2MAP505h
Port P2.6 mapping registerP2MAP606h
Port P2.7 mapping registerP2MAP707h
www.ti.com
Table 23. SYS Registers (Base Address: 0180h)
Table 25. Port Mapping Registers
Table 26. Port P1/P2 Registers (Base Address: 0200h)
REGISTER DESCRIPTIONREGISTEROFFSET
Port P1 inputP1IN00h
Port P1 outputP1OUT02h
Port P1 directionP1DIR04h
Port P1 pullup/pulldown enableP1REN06h
Port P1 drive strengthP1DS08h
Port P1 selectionP1SEL0Ah
Port P1 interrupt vector wordP1IV0Eh
Port P1 interrupt edge selectP1IES18h
Port P1 interrupt enableP1IE1Ah
Port P1 interrupt flagP1IFG1Ch
Port P2 inputP2IN01h
Port P2 outputP2OUT03h
Port P2 directionP2DIR05h
Port P2 pullup/pulldown enableP2REN07h
Port P2 drive strengthP2DS09h
Table 26. Port P1/P2 Registers (Base Address: 0200h) (continued)
REGISTER DESCRIPTIONREGISTEROFFSET
Port P2 selectionP2SEL0Bh
Port P2 interrupt vector wordP2IV1Eh
Port P2 interrupt edge selectP2IES19h
Port P2 interrupt enableP2IE1Bh
Port P2 interrupt flagP2IFG1Dh
Table 27. Port P3/P4 Registers (Base Address: 0220h)
REGISTER DESCRIPTIONREGISTEROFFSET
Port P3 inputP3IN00h
Port P3 outputP3OUT02h
Port P3 directionP3DIR04h
Port P3 pullup/pulldown enableP3REN06h
Port P3 drive strengthP3DS08h
Port P3 selectionP3SEL0Ah
Port P3 interrupt vector wordP3IV0Eh
Port P3 interrupt edge selectP3IES18h
Port P3 interrupt enableP3IE1Ah
Port P3 interrupt flagP3IFG1Ch
Port P4 inputP4IN01h
Port P4 outputP4OUT03h
Port P4 directionP4DIR05h
Port P4 pullup/pulldown enableP4REN07h
Port P4 drive strengthP4DS09h
Port P4 selectionP4SEL0Bh
Port P4 interrupt vector wordP4IV1Eh
Port P4 interrupt edge selectP4IES19h
Port P4 interrupt enableP4IE1Bh
Port P4 interrupt flagP4IFG1Dh
SLAS566 –OCTOBER 2009
Table 28. Port P5/P6 Registers (Base Address: 0240h)
REGISTER DESCRIPTIONREGISTEROFFSET
Port P5 inputP5IN00h
Port P5 outputP5OUT02h
Port P5 directionP5DIR04h
Port P5 pullup/pulldown enableP5REN06h
Port P5 drive strengthP5DS08h
Port P5 selectionP5SEL0Ah
Port P6 inputP6IN01h
Port P6 outputP6OUT03h
Port P6 directionP6DIR05h
Port P6 pullup/pulldown enableP6REN07h
Port P6 drive strengthP6DS09h
Port P6 selectionP6SEL0Bh
Port P7 inputP7IN00h
Port P7 outputP7OUT02h
Port P7 directionP7DIR04h
Port P7 pullup/pulldown enableP7REN06h
Port P7 drive strengthP7DS08h
Port P7 selectionP7SEL0Ah
Port P8 inputP8IN01h
Port P8 outputP8OUT03h
Port P8 directionP8DIR05h
Port P8 pullup/pulldown enableP8REN07h
Port P8 drive strengthP8DS09h
Port P8 selectionP8SEL0Bh
REGISTER DESCRIPTIONREGISTEROFFSET
Port P9 inputP9IN00h
Port P9 outputP9OUT02h
Port P9 directionP9DIR04h
Port P9 pullup/pulldown enableP9REN06h
Port P9 drive strengthP9DS08h
Port P9 selectionP9SEL0Ah
www.ti.com
Table 29. Port P7/P8 Registers (Base Address: 0260h)
Table 30. Port P9 Register (Base Address: 0280h)
Table 31. Port J Registers (Base Address: 0320h)
REGISTER DESCRIPTIONREGISTEROFFSET
Port PJ inputPJIN00h
Port PJ outputPJOUT02h
Port PJ directionPJDIR04h
Port PJ pullup/pulldown enablePJREN06h
Port PJ drive strengthPJDS08h
Table 32. TA0 Registers (Base Address: 0340h)
REGISTER DESCRIPTIONREGISTEROFFSET
TA0 controlTA0CTL00h
Capture/compare control 0TA0CCTL002h
Capture/compare control 1TA0CCTL104h
Capture/compare control 2TA0CCTL206h
Capture/compare control 3TA0CCTL308h
Capture/compare control 4TA0CCTL40Ah
TA0 counter registerTA0R10h
Capture/compare register 0TA0CCR012h
Capture/compare register 1TA0CCR114h
Capture/compare register 2TA0CCR216h
Capture/compare register 3TA0CCR318h
Capture/compare register 4TA0CCR41Ah
TA0 expansion register 0TA0EX020h
TA0 interrupt vectorTA0IV2Eh
Table 47. USB Configuration Registers (Base Address: 0900h)
REGISTER DESCRIPTIONREGISTEROFFSET
USB key/IDUSBKEYID00h
USB module configurationUSBCNF02h
USB PHY controlUSBPHYCTL04h
USB power controlUSBPWRCTL08h
USB power voltage settingUSBPWRVSR0Ah
USB PLL controlUSBPLLCTL10h
USB PLL dividerUSBPLLDIV12h
USB PLL interruptsUSBPLLIR14h
Table 48. USB Control Registers (Base Address: 0920h)
REGISTER DESCRIPTIONREGISTEROFFSET
Input endpoint#0 configurationIEPCNF_000h
Input endpoint #0 byte countIEPCNT_001h
Output endpoint#0 configurationOEPCNF_002h
Output endpoint #0 byte countOEPCNT_003h
Input endpoint interrupt enablesIEPIE0Eh
Output endpoint interrupt enablesOEPIE0Fh
Input endpoint interrupt flagsIEPIFG10h
Output endpoint interrupt flagsOEPIFG11h
USB interrupt vectorUSBIV12h
USB maintenanceMAINT16h
Time stampTSREG18h
USB frame numberUSBFN1Ah
USB controlUSBCTL1Ch
USB interrupt enablesUSBIE1Dh
USB interrupt flagsUSBIFG1Eh
Function addressFUNADR1Fh
SLAS566 –OCTOBER 2009
REGISTER DESCRIPTIONREGISTEROFFSET
LCD_B control register 0LCDBCTL0000h
LCD_B control register 1LCDBCTL1002h
LCD_B blinking control registerLCDBBLKCTL004h
LCD_B memory control registerLCDBMEMCTL006h
LCD_B voltage control registerLCDBVCTL008h
LCD_B port control register 0LCDBPCTL000Ah
LCD_B port control register 1LCDBPCTL100Ch
LCD_B port control register 2LCDBPCTL200Eh
LCD_B charge pump control registerLCDBCTL0012h
LCD_B interrupt vector wordLCDBIV01Eh
LCD_B memory 1LCDM1020h
LCD_B memory 2LCDM2021h
...
LCD_B memory 22LCDM22035h
LCD_B blinking memory 1LCDBM1040h
LCD_B blinking memory 2LCDBM2041h
...