•Ultra-Low Power Consumption•Supply Voltage Supervisor/Monitor With
– Active Mode: 270 µA at 1 MHz, 2.2 V
– Standby Mode (VLO): 0.3 µA
– Off Mode (RAM Retention): 0.1 µA
•Ultra-Fast Wake-Up From Standby Mode in
Less Than 1 µs
•16-Bit RISC Architecture, 62.5-ns Instruction
Cycle Time
•Basic Clock Module Configurations:
– Internal Frequencies up to 16 MHz
– Internal Very Low-Power LF Oscillator
– 32-kHz Crystal
– Internal Frequencies up to 16 MHz With
Four Calibrated Frequencies to ±1%– 2KB RAM
– Resonator– MSP430F247, MSP430F2471
– External Digital Clock Source– 32KB+256B Flash Memory
– External Resistor– 4KB RAM
•16-Bit Timer_A With Three Capture/Compare
Registers
•16-Bit Timer_B With Seven Capture/Compare
With Shadow Registers
•Four Universal Serial Communication
Interfaces (USCI)
– USCI_A0 and USCI_A1
– Enhanced UART Supporting Auto-Baudrate
Detection
– IrDA Encoder and Decoder
– Synchronous SPI
– USCI_B0 and USCI_B1
– I2C™
– Synchronous SPIimplemented on the MSP430F24x1.
•On-Chip Comparator
Programmable Level Detection
•Brownout Detector
•Bootstrap Loader
•Serial Onboard Programming, No External
Programming Voltage Needed, Programmable
Code Protection by Security Fuse
•Family Members Include:
– MSP430F233
– 8KB+256B Flash Memory,
– 1KB RAM
– MSP430F235
– 16KB+256B Flash Memory
(1)
– 48KB+256B Flash Memory
– 4KB RAM
– MSP430F249, MSP430F2491
– 60KB+256B Flash Memory
– 2KB RAM
– MSP430F2410
– 56KB+256B Flash Memory
– 4KB RAM
•Available in 64-Pin QFP and 64-Pin QFN
Packages (See Available Options)
•For Complete Module Descriptions, See
MSP430x2xx Family User’s Guide (SLAU144)
(1) The MSP430F24x1 devices are identical to the MSP430F24x
devices, with the exception that the ADC12 module is not
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.
2MSP430 is a trademark of Texas Instruments.
3All other trademarks are the property of their respective owners.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with
appropriate precautions. Failure to observe proper handling and installation procedures can cause damage.
ESD damage can range from subtle performance degradation to complete device failure. Precision integrated circuits may be more
susceptible to damage because very small parametric changes could cause the device not to meet its published specifications.
DESCRIPTION
The Texas Instruments MSP430™ family of ultra-low 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 calibrated digitally controlled oscillator (DCO) allows wake-up from low-power modes to active mode in less
than 1 µs.
The MSP430F23x, MSP430F24x(1), and MSP430F2410 series are microcontroller configurations with two builtin 16-bit timers, a fast 12-bit A/D converter (not MSP430F24x1), a comparator, four (two in MSP430F23x)
universal serial communication interface (USCI) modules, and up to 48 I/O pins. The MSP430F24x1 devices are
identical to the MSP430F24x devices, with the exception that the ADC12 module is not implemented. The
MSP430F23x devices are identical to the MSP430F24x devices, with the exception that a reduced Timer_B, one
USCI module, and less RAM are integrated.
Typical applications include sensor systems, industrial control applications, and hand-held meters.
www.ti.com
Table 1. Available Options
T
A
-40°C to 105°CMSP430F248TPMMSP430F248TRGC
(1) For the most current package and ordering information, see the Package Option Addendum at the end
of this document, or see the TI web site at www.ti.com.
(2) Package drawings, thermal data, and symbolization are available at www.ti.com/packaging.
All MSP430 microcontrollers include an Embedded Emulation Module (EEM) allowing advanced debugging and
programming through easy to use development tools. Recommended hardware options include the following:
P3.4/UCA0TXD/ UCA0SIMO32I/O
P3.5/UCA0RXD/General-purpose digital I/O / USCI_A0 receive data input in UART mode, slave data out/master in in SPI
UCA0SOMImode
P3.634I/OGeneral-purpose digital I/O
P3.735I/OGeneral-purpose digital I/O
P4.0/TB036I/OGeneral-purpose digital I/O / Timer_B, capture: CCI0A/B input, compare: Out0 output
P4.1/TB137I/OGeneral-purpose digital I/O / Timer_B, capture: CCI1A/B input, compare: Out1 output
P4.2/TB238I/OGeneral-purpose digital I/O / Timer_B, capture: CCI2A/B input, compare: Out2 output
P4.339I/OGeneral-purpose digital I/O
P4.440I/OGeneral-purpose digital I/O
P4.541I/OGeneral-purpose digital I/O
P4.642I/OGeneral-purpose digital I/O
P4.7/TBCLK43I/OGeneral-purpose digital I/O / Timer_B, clock signal TBCLK input
P5.044I/OGeneral-purpose digital I/O
P5.145I/OGeneral-purpose digital I/O
P5.246I/OGeneral-purpose digital I/O
P5.347I/OGeneral-purpose digital I/O
P5.4/MCLK48I/OGeneral-purpose digital I/O / main system clock MCLK output
P5.5/SMCLK49I/OGeneral-purpose digital I/O / submain system clock SMCLK output
P5.6/ACLK50I/OGeneral-purpose digital I/O / auxiliary clock ACLK output
P5.7/TBOUTH/SVSOUT51I/O
P6.0/A059I/OGeneral-purpose digital I/O / analog input A0 - 12-bit ADC
P6.1/A160I/OGeneral-purpose digital I/O / analog input A1 - 12-bit ADC
P6.2/A261I/OGeneral-purpose digital I/O / analog input A2 - 12-bit ADC
/CA525I/O
OSC
64Analog supply voltage, positive. Supplies only the analog portion of ADC12.
62Analog supply voltage, negative. Supplies only the analog portion of ADC12.
63Digital supply voltage, negative. Supplies all digital parts.
33I/O
I/ODESCRIPTION
1Digital supply voltage, positive. Supplies all digital parts.
General-purpose digital I/O / input for external resistor defining the DCO nominal frequency/Comparator_A
input
General-purpose digital I/O / USCI_B0 slave in/master out in SPI mode, SDA I2C data in I2C mode
General-purpose digital I/O / USCI_B0 slave out/master in in SPI mode, SCL I2C clock in I2C mode
General-purpose digital I/O / USCI_A0 transmit data output in UART mode, slave data in/master out in SPI
mode
General-purpose digital I/O / switch all PWM digital output ports to high impedance - Timer_B TB0 to
TB6/SVS comparator output
P6.3/A32I/OGeneral-purpose digital I/O / analog input A3 - 12-bit ADC
P6.4/A43I/OGeneral-purpose digital I/O / analog input A4 - 12-bit ADC
P6.5/A54I/OGeneral-purpose digital I/O / analog input A5 - 12-bit ADC
P6.6/A65I/OGeneral-purpose digital I/O / analog input A6 - 12-bit ADC
P6.7/A7/SVSIN6I/OGeneral-purpose digital I/O / analog input A7 - 12-bit ADC/SVS input
XT2OUT52OOutput terminal of crystal oscillator XT2
XT2IN53IInput port for crystal oscillator XT2
RST/NMI58IReset input, nonmaskable interrupt input, or bootstrap loader start (in flash devices)
TCK57ITest clock (JTAG). TCK is the clock input port for device programming test and bootstrap loader start.
TDI/TCLK55ITest data input or test clock input. The device protection fuse is connected to TDI/TCLK.
TDO/TDI54I/OTest data output. TDO/TDI data output or programming data input terminal.
TMS56ITest mode select. TMS is used as an input port for device programming and test.
V
eREF+
V
REF+
V
REF-/VeREF-
XIN8IInput for crystal oscillator XT1. Standard or watch crystals can be connected.
XOUT9OOutput for crystal oscillator XT1. Standard or watch crystals can be connected.
QFN PadNANAQFN package pad connection to DVSSrecommended
10IInput for an external reference voltage
11I
I/ODESCRIPTION
7OOutput of positive terminal of the reference voltage in the ADC12
Negative terminal for the reference voltage for both sources, the internal reference voltage, or an external
applied reference voltage
P3.4/UCA0TXD/UCA0SIMO32I/O
P3.5/UCA0RXD/General-purpose digital I/O / USCI_A0 receive data input in UART mode, slave data out/master in in SPI
UCA0SOMImode
P3.6/UCA1TXD/UCA1SIMO34I/O
P3.7/UCA1RXD/General-purpose digital I/O / USCI_A1 receive data input in UART mode, slave data out/master in in SPI
UCA1SOMImode
P4.0/TB036I/OGeneral-purpose digital I/O / Timer_B, capture: CCI0A/B input, compare: Out0 output
P4.1/TB137I/OGeneral-purpose digital I/O / Timer_B, capture: CCI1A/B input, compare: Out1 output
P4.2/TB238I/OGeneral-purpose digital I/O / Timer_B, capture: CCI2A/B input, compare: Out2 output
P4.3/TB339I/OGeneral-purpose digital I/O / Timer_B, capture: CCI3A/B input, compare: Out3 output
P4.4/TB440I/OGeneral-purpose digital I/O / Timer_B, capture: CCI4A/B input, compare: Out4 output
P4.5/TB541I/OGeneral-purpose digital I/O / Timer_B, capture: CCI5A/B input, compare: Out5 output
P4.6/TB642I/OGeneral-purpose digital I/O / Timer_B, capture: CCI6A input, compare: Out6 output
P4.7/TBCLK43I/OGeneral-purpose digital I/O / Timer_B, clock signal TBCLK input
P5.0/UCB1STE/UCA1CLK44I/OGeneral-purpose digital I/O / USCI_B1 slave transmit enable / USCI_A1 clock input/output
P5.1/UCB1SIMO/UCB1SDA45I/O
P5.2/UCB1SOMI/UCB1SCL46I/O
P5.3/UCB1CLK/UCA1STE47I/OGeneral-purpose digital I/O / USCI_B1 clock input/output, USCI_A1 slave transmit enable
P5.4/MCLK48I/OGeneral-purpose digital I/O / main system clock MCLK output
P5.5/SMCLK49I/OGeneral-purpose digital I/O / submain system clock SMCLK output
P5.6/ACLK50I/OGeneral-purpose digital I/O / auxiliary clock ACLK output
P5.7/TBOUTH/SVSOUT51I/O
P6.0/A059I/OGeneral-purpose digital I/O / analog input A0 - 12-bit ADC
/CA525I/O
OSC
64Analog supply voltage, positive terminal. Supplies only the analog portion of ADC12.
62Analog supply voltage, negative terminal. Supplies only the analog portion of ADC12.
63Digital supply voltage, negative terminal. Supplies all digital parts.
33I/O
35I/O
I/ODESCRIPTION
1Digital supply voltage, positive terminal. Supplies all digital parts.
General-purpose digital I/O / Input for external resistor defining the DCO nominal frequency / Comparator_A
input
General-purpose digital I/O / USCI_B0 slave in/master out in SPI mode, SDA I2C data in I2C mode
General-purpose digital I/O / USCI_B0 slave out/master in in SPI mode, SCL I2C clock in I2C mode
General-purpose digital I/O / USCI_A- transmit data output in UART mode, slave data in/master out in SPI
mode
General-purpose digital I/O / USCI_A1 transmit data output in UART mode, slave data in/master out in SPI
mode
General-purpose digital I/O / USCI_B1 slave in/master out in SPI mode, SDA I2C data in I2C mode
General-purpose digital I/O / USCI_B1 slave out/master in in SPI mode, SCL I2C clock in I2C mode
General-purpose digital I/O / switch all PWM digital output ports to high impedance - Timer_B TB0 to
TB6/SVS comparator output
P6.1/A160I/OGeneral-purpose digital I/O / analog input A1 - 12-bit ADC
P6.2/A261I/OGeneral-purpose digital I/O / analog input A2 - 12-bit ADC
P6.3/A32I/OGeneral-purpose digital I/O / analog input A3 - 12-bit ADC
P6.4/A43I/OGeneral-purpose digital I/O / analog input A4 - 12-bit ADC
P6.5/A54I/OGeneral-purpose digital I/O / analog input A5 - 12-bit ADC
P6.6/A65I/OGeneral-purpose digital I/O / analog input A6 - 12-bit ADC
P6.7/A7/SVSIN6I/OGeneral-purpose digital I/O / analog input A7 - 12-bit ADC/SVS input
XT2OUT52OOutput of crystal oscillator XT2
XT2IN53IInput for crystal oscillator XT2
RST/NMI58IReset input, nonmaskable interrupt input, or bootstrap loader start (in flash devices)
TCK57ITest clock (JTAG). TCK is the clock input port for device programming test and bootstrap loader start.
TDI/TCLK55ITest data input or test clock input. The device protection fuse is connected to TDI/TCLK.
TDO/TDI54I/OTest data output. TDO/TDI data output or programming data input terminal.
TMS56ITest mode select. TMS is used as an input port for device programming and test.
V
eREF+
V
REF+
V
REF-/VeREF-
XIN8IInput for crystal oscillator XT1. Standard or watch crystals can be connected.
XOUT9OOutput for crystal oscillator XT1. Standard or watch crystals can be connected.
QFN PadNANAQFN package pad connection to DVSSrecommended (RGC package only)
10IInput for an external reference voltage
11I
I/ODESCRIPTION
7OPositive output of the reference voltage in the ADC12
Negative input for the reference voltage for both sources, the internal reference voltage, or an external
applied reference voltage
P3.4/UCA0TXD/UCA0SIMO32I/O
P3.5/UCA0RXD/General-purpose digital I/O / USCI_A0 receive data input in UART mode, slave data out/master in in SPI
UCA0SOMImode
P3.6/UCA1TXD/UCA1SIMO34I/O
P3.7/UCA1RXD/General-purpose digital I/O / USCI_A1 receive data input in UART mode, slave data out/master in in SPI
UCA1SOMImode
P4.0/TB036I/OGeneral-purpose digital I/O / Timer_B, capture: CCI0A/B input, compare: Out0 output
P4.1/TB137I/OGeneral-purpose digital I/O / Timer_B, capture: CCI1A/B input, compare: Out1 output
P4.2/TB238I/OGeneral-purpose digital I/O / Timer_B, capture: CCI2A/B input, compare: Out2 output
P4.3/TB339I/OGeneral-purpose digital I/O / Timer_B, capture: CCI3A/B input, compare: Out3 output
P4.4/TB440I/OGeneral-purpose digital I/O / Timer_B, capture: CCI4A/B input, compare: Out4 output
P4.5/TB541I/OGeneral-purpose digital I/O / Timer_B, capture: CCI5A/B input, compare: Out5 output
P4.6/TB642I/OGeneral-purpose digital I/O / Timer_B, capture: CCI6A input, compare: Out6 output
P4.7/TBCLK43I/OGeneral-purpose digital I/O / Timer_B, clock signal TBCLK input
P5.0/UCB1STE/UCA1CLK44I/OGeneral-purpose digital I/O / USCI_B1 slave transmit enable/USCI_A1 clock input/output
P5.1/UCB1SIMO/UCB1SDA45I/O
P5.2/UCB1SOMI/UCB1SCL46I/O
P5.3/UCB1CLK/UCA1STE47I/OGeneral-purpose digital I/O / USCI_B1 clock input/output, USCI_A1 slave transmit enable
P5.4/MCLK48I/OGeneral-purpose digital I/O / main system clock MCLK output
P5.5/SMCLK49I/OGeneral-purpose digital I/O / submain system clock SMCLK output
P5.6/ACLK50I/OGeneral-purpose digital I/O / auxiliary clock ACLK output
P5.7/TBOUTH/SVSOUT51I/O
P6.059I/OGeneral-purpose digital I/O
/CA525I/O
OSC
64Analog supply voltage, positive. Supplies only the analog portion of ADC12.
62Analog supply voltage, negative. Supplies only the analog portion of ADC12.
63Digital supply voltage, negative. Supplies all digital parts.
33I/O
35I/O
I/ODESCRIPTION
1Digital supply voltage, positive. Supplies all digital parts.
General-purpose digital I/O / input for external resistor defining the DCO nominal frequency / Comparator_A
input
General-purpose digital I/O / USCI_B0 slave in/master out in SPI mode, SDA I2C data in I2C mode
General-purpose digital I/O / USCI_B0 slave out/master in in SPI mode, SCL I2C clock in I2C mode
General-purpose digital I/O / USCI_A0 transmit data output in UART mode, slave data in/master out in SPI
mode
General-purpose digital I/O / USCI_A1 transmit data output in UART mode, slave data in/master out in SPI
mode
General-purpose digital I/O / USCI_B1 slave in/master out in SPI mode, SDA I2C data in I2C mode
General-purpose digital I/O / USCI_B1 slave out/master in in SPI mode, SCL I2C clock in I2C mode
General-purpose digital I/O / switch all PWM digital output ports to high impedance - Timer_B TB0 to
TB6/SVS comparator output
P6.160I/OGeneral-purpose digital I/O
P6.261I/OGeneral-purpose digital I/O
P6.32I/OGeneral-purpose digital I/O
P6.43I/OGeneral-purpose digital I/O
P6.54I/OGeneral-purpose digital I/O
P6.65I/OGeneral-purpose digital I/O
P6.7/SVSIN6I/OGeneral-purpose digital I/O / SVS input
XT2OUT52OOutput terminal of crystal oscillator XT2
XT2IN53IInput port for crystal oscillator XT2
RST/NMI58IReset input, nonmaskable interrupt input, or bootstrap loader start (in flash devices).
TCK57ITest clock (JTAG). TCK is the clock input for device programming test and bootstrap loader start.
TDI/TCLK55ITest data input or test clock input. The device protection fuse is connected to TDI/TCLK.
TDO/TDI54I/OTest data output. TDO/TDI data output or programming data input terminal.
TMS56ITest mode select. TMS is used as an input port for device programming and test.
DV
SS
Reserved7OReserved, do not connect externally
DV
SS
XIN8IInput for crystal oscillator XT1. Standard or watch crystals can be connected.
XOUT9OOutput for crystal oscillator XT1. Standard or watch crystals can be connected.
QFN PadNANAQFN package pad connection to DVSSrecommended (RGC package only)
The MSP430 CPU has a 16-bit RISC architecture
that is highly transparent to the application. All
operations, other than program-flow instructions, are
performed as register operations in conjunction with
seven addressing modes for source operand and four
addressing modes for destination operand.
The CPU is integrated with 16 registers that provide
reduced instruction execution time. The register-toregister operation execution time is one cycle of the
CPU clock.
Four of the registers, R0 to R3, are dedicated as
program counter, stack pointer, status register, and
constant generator,respectively.The remaining
registers are general-purpose registers.
Peripherals are connected to the CPU using data,
address, and control buses, and can be handled with
all instructions.
MSP430F23x
MSP430F24x(1)
MSP430F2410
SLAS547I –JUNE 2007–REVISED DECEMBER 2012
Instruction Set
The instruction set consists of 51 instructions with
three formats and seven address modes. Each
instruction can operate on word and byte data.
Table 5 shows examples of the three types of
instruction formats; Table 6 shows the address
modes.
Dual operands, source-destinationADD R4,R5R4 + R5 → R5
Single operands, destination onlyCALL R8PC → (TOS), R8 → PC
Relative jump, unconditional/conditionalJNEJump-on-equal bit = 0
The MSP430 has one active mode and five software-selectable low-power modes of operation. An interrupt
event can wake up the device from any of the five low-power modes, service the request, and restore back to the
low-power mode on return from the interrupt program.
The following six operating modes can be configured by software:
•Active mode (AM)
– All clocks are active.
•Low-power mode 0 (LPM0)
– CPU is disabled.
– ACLK and SMCLK remain active. MCLK is disabled.
•Low-power mode 1 (LPM1)
– CPU is disabled ACLK and SMCLK remain active. MCLK is disabled.
– DCO dc-generator is disabled if DCO not used in active mode.
•Low-power mode 2 (LPM2)
– CPU is disabled.
– MCLK and SMCLK are disabled.
– DCO dc-generator remains enabled.
– ACLK remains active.
•Low-power mode 3 (LPM3)
– CPU is disabled.
– MCLK and SMCLK are disabled.
– DCO dc-generator is disabled.
– ACLK remains active.
•Low-power mode 4 (LPM4)
– CPU is disabled.
– ACLK is disabled.
– MCLK and SMCLK are disabled.
– DCO dc-generator is disabled.
– Crystal oscillator is stopped.
The interrupt vectors and the power-up starting address are located in the address range 0xFFFF to 0xFFC0.
The vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence. If the reset
vector (0xFFFE) contains 0xFFFF (for example, if flash is not programmed) the CPU enters LPM4 after powerup.
WatchdogRSTIFGReset0xFFFE31, highest
Flash key violationKEYV
PC out of range
NMINMIIFG(Non)maskable
Oscillator faultOFIFG(Non)maskable0xFFFC30
Flash memory access violationACCVIFG
Timer_B7
Timer_B7
Comparator_A+CAIFGMaskable0xFFF627
Watchdog timer+WDTIFGMaskable0xFFF426
Timer_A3TACCR0 CCIFG
Timer_A3Maskable0xFFF024
USCI_A0/USCI_B0 receive
USCI_B0 I2C status
USCI_A0/USCI_B0 transmit
USCI_B0 I2C receive / transmit
ADC12
I/O port P2 (eight flags)P2IFG.0 to P2IFG.7
I/O port P1 (eight flags)P1IFG.0 to P1IFG.7
USCI_A1/USCI_B1 receive
USCI_B1 I2C status
USCI_A1/USCI_B1 transmit
USCI_B1 I2C receive / transmit
Reserved
(1) A reset is generated if the CPU tries to fetch instructions from within the module register memory address range (0x0000 to 0x01FF) or
from within unused address range.
(2) Multiple source flags
(3) (Non)maskable: The individual interrupt-enable bit can disable an interrupt event, but the general-interrupt enable cannot.
(4) Timer_B7 in MSP430F24x(1)/MSP430F2410 family has seven CCRs, Timer_B3 in MSP430F23x family has three CCRs. In Timer_B3,
there are only interrupt flags TBCCR0 CCIFG, TBCCR1 CCIFG, and TBCCR2 CCIFG, and the interrupt enable bits TBCCTL0 CCIE,
TBCCTL1 CCIE, and TBCCTL2 CCIE.
(5) Interrupt flags are located in the module.
(6) In SPI mode: UCB0RXIFG. In I2C mode: UCALIFG, UCNACKIFG, ICSTTIFG, UCSTPIFG.
(7) In UART/SPI mode: UCB0TXIFG. In I2C mode: UCB0RXIFG, UCB0TXIFG.
(8) ADC12 is not implemented in the MSP430F24x1 family.
(9) The address 0xFFDE is used as bootstrap loader security key (BSLSKEY). A 0xAA55 at this location disables the BSL completely. A
zero disables the erasure of the flash if an invalid password is supplied.
(10) The interrupt vectors at addresses 0xFFDE to 0xFFC0 are not used in this device and can be used for regular program code if
Most interrupt enable bits are collected in the lowest address space. Special-function register bits not allocated to
a functional purpose are not physically present in the device. This arrangement provides simple software access.
Legend
rwBit can be read and written.
rw-0, 1Bit can be read and written. It is Reset or Set by PUC.
rw-(0), (1)Bit can be read and written. It is Reset or Set by POR.
SFR bit is not present in device.
Table 8. Interrupt Enable 1
Address76543210
00hACCVIENMIIEOFIEWDTIE
rw-0rw-0rw-0rw-0
www.ti.com
WDTIEWatchdog timer interrupt enable. Inactive if watchdog mode is selected. Active if watchdog timer is configured in interval
WDTIFGSet on watchdog timer overflow (in watchdog mode) or security key violation.
Reset on VCCpower-up or a reset condition at RST/NMI pin in reset mode.
OFIFGFlag set on oscillator fault
RSTIFGExternal reset interrupt flag. Set on a reset condition at RST/NMI pin in reset mode. Reset on VCCpower up.
PORIFGPower-on reset interrupt flag. Set on VCCpower up.
NMIIFGSet via RST/NMI pin
Address76543210
03hUCB0TXIFG UCB0RXIFG UCA0TXIFG UCA0RXIFG
UCA0RXIFGUSCI_A0 receive-interrupt flag
UCA0TXIFGUSCI_A0 transmit-interrupt flag
UCB0RXIFGUSCI_B0 receive-interrupt flag
UCB0TXIFGUSCI_B0 transmit-interrupt flag
MemorySize8KB16KB60KB
Main: interrupt vectorFlash0xFFFF to 0xFFC00xFFFF to 0xFFC00xFFFF to 0xFFC0
Main: code memoryFlash0xFFFF to 0xE0000xFFFF to 0xC0000xFFFF to 0x1100
RAM (Total)Size1KB2KB2KB
0x05FF to 0x02000x09FF to 0x02000x09FF to 0x0200
Information memorySize256 Byte256 Byte256 Byte
Flash0x10FF to 0x10000x10FF to 0x10000x10FF to 0x1000
Boot memorySize1KB1KB1KB
ROM0x0FFF to 0x0C000x0FFF to 0x0C000x0FFF to 0x0C00
RAMSize1KB2KB2KB
0x05FF to 0x02000x09FF to 0x02000x09FF to 0x0200
Peripherals16 bit0x01FF to 0x01000x01FF to 0x01000x01FF to 0x0100
8 bit0x00FF to 0x00100x00FF to 0x00100x00FF to 0x0010
SFR0x000F to 0x00000x000F to 0x00000x000F to 0x0000
SLAS547I –JUNE 2007–REVISED DECEMBER 2012
MSP430F249
MSP430F2491
MSP430F247MSP430F248
MSP430F2471MSP430F2481
MemorySize32KB48KB56KB
Main: interrupt vectorFlash0xFFFF to 0xFFC00xFFFF to 0xFFC00xFFFF to 0xFFC0
Main: code memoryFlash0xFFFF to 0x80000xFFFF to 0x40000xFFFF to 0x2100
RAM (total)Size4KB4KB4KB
0x20FF to 0x11000x20FF to 0x11000x20FF to 0x1100
ExtendedSize2KB2KB2KB
0x20FF to 0x19000x20FF to 0x19000x20FF to 0x1900
MirroredSize2KB2KB2KB
0x18FF to 0x11000x18FF to 0x11000x18FF to 0x1100
Information memorySize256 Byte256 Byte256 Byte
Flash0x10FF to 0x10000x10FF to 0x10000x10FF to 0x1000
Boot memorySize1KB1KB1KB
ROM0x0FFF to 0x0C000x0FFF to 0x0C000x0FFF to 0x0C00
RAM (mirrored atSize2KB2KB2KB
0x18FF to 0x1100)0x09FF to 0x02000x09FF to 0x02000x09FF to 0x0200
Peripherals16 bit0x01FF to 0x01000x01FF to 0x01000x01FF to 0x0100
8 bit0x00FF to 0x00100x00FF to 0x00100x00FF to 0x0010
SFR0x000F to 0x00000x000F to 0x00000x000F to 0x0000
MSP430F2410
Bootstrap Loader (BSL)
The MSP430 bootstrap loader (BSL) enables users to program the flash memory or RAM using a UART serial
interface. Access to the MSP430 memory via the BSL is protected by user-defined password. For complete
description of the features of the BSL and its implementation, see the MSP430 Programming Via the BootstrapLoader User’s Guide (SLAU319).
Flash Memory
The flash memory can be programmed via the JTAG port, the bootstrap loader, or in-system by the CPU. The
CPU can perform single-byte and single-word writes to the flash memory. Features of the flash memory include:
•Flash memory has n segments of main memory and four segments of information memory (A to D) of
64 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 contains calibration data. After reset, segment A is protected against programming and erasing. It
can be unlocked, but care should be taken not to erase this segment if the device-specific calibration data is
required.
Peripherals are connected to the CPU through data, address, and control buses and can be handled using all
instructions. For complete module descriptions, see the MSP430x2xx Family User's Guide (SLAU144).
Oscillator and System Clock
The clock system is supported by the basic clock module that includes support for a 32768-Hz watch crystal
oscillator, an internal very-low-power low-frequency oscillator, an internal digitally-controlled oscillator (DCO), and
a high-frequency crystal oscillator. The basic clock module is designed to meet the requirements of both low
system cost and low power consumption. The internal DCO provides a fast turn-on clock source and stabilizes in
less than 1 µs. The basic clock module provides the following clock signals:
•Auxiliary clock (ACLK), sourced from a 32768-Hz watch crystal, a high-frequency crystal, or the internal verylow-power LF oscillator.
•Main clock (MCLK), the system clock used by the CPU.
•Sub-Main clock (SMCLK), the sub-system clock used by the peripheral modules.
Calibration Data Stored in Information Memory Segment A
Calibration data is stored for the DCO and for the ADC12. It is organized in a tag-length-value (TLV) structure.
Table 14. Tags Used by the ADC Calibration Tags
NAMEADDRESSVALUEDESCRIPTION
TAG_DCO_300x10F60x01DCO frequency calibration at VCC= 3 V andTA= 25°C at calibration
TAG_ADC12_10x10DA0x10ADC12_1 calibration tag
TAG_EMPTY-0xFEIdentifier for empty memory areas
SLAS547I –JUNE 2007–REVISED DECEMBER 2012
Table 15. Labels Used by the ADC Calibration Tags
LABELCONDITION AT CALIBRATION / DESCRIPTIONSIZEADDRESS OFFSET
The brownout circuit is implemented to provide the proper internal reset signal to the device during power on and
power off. The SVS circuitry detects if the supply voltage drops below a user-selectable level and supports both
supply voltage supervision (the device is automatically reset) and supply voltage monitoring (SVM, the device is
not automatically reset).
The CPU begins code execution after the brownout circuit releases the device reset. However, VCCmay not have
ramped to V
reaches V
at that time. The user must ensure that the default DCO settings are not changed until V
CC(min)
. If desired, the SVS circuit can be used to determine when VCCreaches V
CC(min)
.
CC
MSP430F23x
MSP430F24x(1)
MSP430F2410
SLAS547I –JUNE 2007–REVISED DECEMBER 2012
Digital I/O
There are up to six 8-bit I/O ports implemented—ports P1 through P6:
•All individual I/O bits are independently programmable.
•Any combination of input, output, and interrupt condition is possible.
•Edge-selectable interrupt input capability for all eight bits of port P1 and P2.
•Read/write access to port-control registers is supported by all instructions.
•Each I/O has an individually programmable pullup/pulldown resistor.
Watchdog Timer (WDT+)
The primary function of the WDT+ module is to perform a controlled system restart after a software problem
occurs. If the selected time interval expires, a system reset is generated. If the watchdog function is not needed
in an application, the module can be disabled or configured as an interval timer and can generate interrupts at
selected time intervals.
Hardware Multiplier
The multiplication operation is supported by a dedicated peripheral module. The module performs 16x16, 16x8,
8x16, and 8x8 bit operations. The module is capable of supporting signed and unsigned multiplication as well as
signed and unsigned multiply and accumulate operations. The result of an operation can be accessed
immediately after the operands have been loaded into the peripheral registers. No additional clock cycles are
required.
www.ti.com
Timer_A3
Timer_A3 is a 16-bit timer/counter with three capture/compare registers. Timer_A3 can support multiple
capture/compares, PWM outputs, and interval timing. Timer_A3 also has extensive interrupt capabilities.
Interrupts may be generated from the counter on overflow conditions and from each of the capture/compare
registers.
Timer_B7 is a 16-bit timer/counter with seven capture/compare registers. Timer_B7 can support multiple
capture/compares, PWM outputs, and interval timing. Timer_B7 also has extensive interrupt capabilities.
Interrupts may be generated from the counter on overflow conditions and from each of the capture/compare
registers.
Timer_B3 is a 16-bit timer/counter with three capture/compare registers. Timer_B3 can support multiple
capture/compares, PWM outputs, and interval timing. Timer_B3 also has extensive interrupt capabilities.
Interrupts may be generated from the counter on overflow conditions and from each of the capture/compare
registers.
The USCI modules are used for serial data communication. The USCI module supports synchronous
communication protocols, such as SPI (3 or 4 pin) or I2C, and asynchronous combination protocols, such as
UART, enhanced UART with automatic baudrate detection (LIN), and IrDA.
The USCI A module provides support for SPI (3 or 4 pin), UART, enhanced UART, and IrDA.
The USCI B module provides support for SPI (3 or 4 pin) and I2C.
Comparator_A+
The primary function of the comparator_A+ module is to support precision slope analog-to-digital conversions,
battery-voltage supervision, and monitoring of external analog signals.
ADC12 (MSP430F23x, MSP430F24x, and MSP430F2410 Devices)
The ADC12 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 conversionand-control buffer allows up to 16 independent ADC samples to be converted and stored without any CPU
intervention.
Capture/compare register 5TBCCR50x019C
Capture/compare register 4TBCCR40x019A
Capture/compare register 3TBCCR30x0198
Capture/compare register 2TBCCR20x0196
Capture/compare register 1TBCCR10x0194
Capture/compare register 0TBCCR00x0192
Timer_B registerTBR0x0190
Capture/compare control 6TBCCTL60x018E
Capture/compare control 5TBCCTL50x018C
Capture/compare control 4TBCCTL40x018A
Capture/compare control 3TBCCTL30x0188
Capture/compare control 2TBCCTL20x0186
Capture/compare control 1TBCCTL10x0184
Capture/compare control 0TBCCTL00x0182
Timer_B controlTBCTL0x0180
Timer_B interrupt vectorTBIV0x011E
Capture/compare register 1TBCCR10x0194
Capture/compare register 0TBCCR00x0192
Timer_B registerTBR0x0190
Capture/compare control 2TBCCTL20x0186
Capture/compare control 1TBCCTL10x0184
Capture/compare control 0TBCCTL00x0182
Timer_B controlTBCTL0x0180
Timer_B interrupt vectorTBIV0x011E
Capture/compare register 1TACCR10x0174
Capture/compare register 0TACCR00x0172
Timer_A registerTAR0x0170
Reserved0x016E
Reserved0x016C
Reserved0x016A
Reserved0x0168
Capture/compare control 2TACCTL20x0166
Capture/compare control 1TACCTL10x0164
Capture/compare control 0TACCTL00x0162
Timer_A controlTACTL0x0160
Timer_A interrupt vectorTAIV0x012E
Result high wordRESHI0x013C
Result low wordRESLO0x013A
Second operandOP20x0138
Multiply signed + accumulate/operand1MACS0x0136
Multiply + accumulate/operand1MAC0x0134
Multiply signed/operand1MPYS0x0132
Multiply unsigned/operand1MPY0x0130