All System Clocks Active:
270 µA/MHz at 8 MHz, 3.0 V, Flash Program– USCI_A0 and USCI_A1 Each Support:
Execution (Typical)
– Standby Mode (LPM3):Baudrate Detection
Watchdog With Crystal and Supply
Supervisor Operational, Full RAM
Retention, Fast Wake-Up:
1.8 µA at 2.2 V, 2.1 µA at 3.0 V (Typical)
– Shutdown RTC Mode (LPM3.5):
Shutdown Mode, Active Real-Time Clock
With Crystal:•Full-Speed Universal Serial Bus (USB)
1.1 µA at 3.0 V (Typical)
– Shutdown Mode (LPM4.5):
0.3 µA at 3.0 V (Typical)
•Wake Up From Standby Mode in 3 µs (Typical)
•16-Bit RISC Architecture, Extended Memory,
Up to 20-MHz System Clock
•Flexible Power Management System
– Fully Integrated LDO With Programmableand Autoscan Feature
Regulated Core Supply Voltage
– Supply Voltage Supervision, Monitoring,(DACs) With Synchronization
and Brownout
•Unified Clock System
– FLL Control Loop for FrequencyOperations
Stabilization
– Low-Power Low-Frequency Internal ClockProgramming Voltage Needed
Source (VLO)
– Low-Frequency Trimmed Internal Reference
Source (REFO)
– 32-kHz Crystals (XT1)
– High-Frequency Crystals Up to 32 MHz
(XT2)
MSP430F5630
•Four 16-Bit Timers With 3, 5, or 7
Capture/Compare Registers
•Two Universal Serial Communication
Interfaces
– Enhanced UART Supports Auto-
– IrDA Encoder and Decoder
– Synchronous SPI
– USCI_B0 and USCI_B1 Each Support:
– I2C
– Synchronous SPI
– Integrated USB-PHY
– Integrated 3.3-V and 1.8-V USB Power
System
– Integrated USB-PLL
– Eight Input and Eight Output Endpoints
•12-Bit Analog-to-Digital Converter (ADC) With
Internal Shared Reference, Sample-and-Hold,
•Dual 12-Bit Digital-to-Analog Converters
•Voltage Comparator
•Hardware Multiplier Supporting 32-Bit
•Serial Onboard Programming, No External
•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 and MSP430x6xx Family User's
Guide (SLAU208)
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, Code Composer Studio are trademarks 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.
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 the device to wake up from low-power modes to active mode in
3 µs (typical).
The MSP430F563x series are microcontroller configurations with a high-performance 12-bit analog-to-digital
converter (ADC), comparator, two universal serial communication interfaces (USCIs), USB 2.0, a hardware
multiplier, DMA, four 16-bit timers, a real-time clock module with alarm capabilities, 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, and hand-held meters.
Table 1 summarizes the available family members.
www.ti.com
SPI, I2C
(1)(2)
(Ch)(Ch)(Ch)Type
12 ext,100 PZ,
4 int113 ZQW
12 ext,100 PZ,
4 int113 ZQW
12 ext,100 PZ,
4 int113 ZQW
12 ext,100 PZ,
4 int113 ZQW
12 ext,100 PZ,
4 int113 ZQW
12 ext,100 PZ,
4 int113 ZQW
I/O
100 PZ,
113 ZQW
100 PZ,
113 ZQW
100 PZ,
113 ZQW
Table 1. Family Members
USCI
DeviceTimer_A
MSP430F563825616 + 25, 3, 372221274
MSP430F563719216 + 25, 3, 372221274
MSP430F563612816 + 25, 3, 372221274
MSP430F563525616 + 25, 3, 3722-1274
MSP430F563419216 + 25, 3, 3722-1274
MSP430F563312816 + 25, 3, 3722-1274
MSP430F563225616 + 25, 3, 3722--1274
MSP430F563119216 + 25, 3, 3722--1274
MSP430F563012816 + 25, 3, 3722--1274
(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 http://www.ti.com.
(2) Package drawings, standard packing quantities, thermal data, symbolization, and PCB design guidelines are available at
http://www.ti.com/packaging.
(3) The additional 2 KB USB SRAM that is listed can be used as general purpose SRAM when USB is not in use.
(4) 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.
(5) 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.
AVCC111Analog power supply
AVSS112F2Analog ground supply
XIN13F1IInput terminal for crystal oscillator XT1
XOUT14G1OOutput terminal of crystal oscillator XT1
AVSS215G2Analog ground supply
NO.I/O
PZZQW
E1,
E2
(1)
General-purpose digital I/O
Comparator_B input CB4
Analog input A4 – ADC(not available on F5632, F5631, F5630 devices)
General-purpose digital I/O
Comparator_B input CB5
Analog input A5 – ADC(not available on F5632, F5631, F5630 devices)
General-purpose digital I/O
Comparator_B input CB6
Analog input A6 – ADC (not available on F5632, F5631, F5630 devices)
DAC12.0 output (not available on F5635, F5634, F5633, F5632, F5631, F5630
devices)
General-purpose digital I/O
Comparator_B input CB7
Analog input A7 – ADC (not available on F5632, F5631, F5630 devices)
DAC12.1 output (not available on F5635, F5634, F5633, F5632, F5631, F5630
devices)
General-purpose digital I/O
Comparator_B input CB8
Analog input A12 –ADC (not available on F5632, F5631, F5630 devices)
General-purpose digital I/O
Comparator_B input CB9
Analog input A13 – ADC (not available on F5632, F5631, F5630 devices)
General-purpose digital I/O
Comparator_B input CB10
Analog input A14 – ADC (not available on F5632, F5631, F5630 devices)
DAC12.0 output (not available on F5635, F5634, F5633, F5632, F5631, F5630
devices)
General-purpose digital I/O
Comparator_B input CB11
Analog input A15 – ADC (not available on F5632, F5631, F5630 devices)
DAC12.1 output (not available on F5635, F5634, F5633, F5632, F5631, F5630
devices)
General-purpose digital I/O
Output of reference voltage to the ADC
Input for an external reference voltage to the ADC
General-purpose digital I/O
Negative terminal for the ADC's reference voltage for both sources, the internal
reference voltage, or an external applied reference voltage
DESCRIPTION
SLAS650D –JUNE 2010–REVISED AUGUST 2013
(1) I = input, O = output, N/A = not available on this package offering
DVCC125L1Digital power supply
DVSS126M1Digital ground supply
(2)
VCORE
P5.228L3I/O
DVSS29M3Digital ground supply
DNC30J4Do not connect. It is strongly recommended to leave this terminal open.
P5.331L4I/O
P5.432M4I/O
P5.533J5I/O
P1.0/TA0CLK/ACLK34L5I/O
P1.1/TA0.035M5I/O
P1.2/TA0.136J6I/O
P1.3/TA0.237H6I/O
P1.4/TA0.338M6I/O
NO.I/O
PZZQW
27M2Regulated core power supply (internal use only, no external current loading)
(1)
General-purpose digital I/O
Conversion clock output ADC (not available on F5632, F5631, F5630 devices)
DMA external trigger input
General-purpose digital I/O with port interrupt and mappable secondary function
Default mapping: USCI_B0 SPI slave transmit enable; USCI_A0 clock input/output
General-purpose digital I/O with port interrupt and mappable secondary function
Default mapping: USCI_B0 SPI slave in/master out; USCI_B0 I2C data
General-purpose digital I/O with port interrupt and mappable secondary function
Default mapping: USCI_B0 SPI slave out/master in; USCI_B0 I2C clock
General-purpose digital I/O with port interrupt and mappable secondary function
Default mapping: USCI_B0 clock input/output; USCI_A0 SPI slave transmit enable
General-purpose digital I/O with port interrupt and mappable 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 mappable secondary function
Default mapping: USCI_A0 UART receive data; USCI_A0 slave out/master in
General-purpose digital I/O with port interrupt and mappable secondary function
Default mapping: no secondary function
General-purpose digital I/O with port interrupt and mappable secondary function
Default mapping: no secondary function
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O with port interrupt
Timer TA0 clock signal TACLK input
ACLK output (divided by 1, 2, 4, 8, 16, or 32)
General-purpose digital I/O with port interrupt
Timer TA0 CCR0 capture: CCI0A input, compare: Out0 output
BSL transmit output
General-purpose digital I/O with port interrupt
Timer TA0 CCR1 capture: CCI1A input, compare: Out1 output
BSL receive input
General-purpose digital I/O with port interrupt
Timer TA0 CCR2 capture: CCI2A input, compare: Out2 output
General-purpose digital I/O with port interrupt
Timer TA0 CCR3 capture: CCI3A input compare: Out3 output
DESCRIPTION
www.ti.com
(2) VCORE is for internal use only. No external current loading is possible. VCORE should only be connected to the recommended
PUR78B10I/Oinvoke the default USB BSL. Recommended 1-MΩ resistor to ground. See USB
PU.1/DM79A11I/O
VBUS80A10USB LDO input (connect to USB power source)
VUSB81A9USB LDO output
V1882B9USB regulated power (internal use only, no external current loading)
AVSS383A8Analog ground supply
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O
General-purpose digital I/O - controlled by USB control register
USB data terminal DP
USB pullup resistor pin (open drain). The voltage level at the PUR pin is used to
BSL for more information.
General-purpose digital I/O - controlled by USB control register
USB data terminal DM
General-purpose digital I/O
Input terminal for crystal oscillator XT2
General-purpose digital I/O
Output terminal of crystal oscillator XT2
Capacitor for backup subsystem. Do not load this pin externally. For capacitor
values, see C
All MSP430™ microcontrollers are supported by a wide variety of software and hardware development tools.
Tools are available from TI and various third parties. See them all at www.ti.com/msp430tools.
Hardware Features
See the Code Composer Studio for MSP430 User's Guide (SLAU157) for details on the available features.
www.ti.com
MSP4304-Wire2-WireClockStateTrace
ArchitectureJTAGJTAGControlSequencerBuffer
MSP430Xv2YesYes8YesYesYesYesNo
Break-RangeLPMx.5
pointsBreak-Debugging
(N)pointsSupport
Recommended Hardware Options
Target Socket Boards
The target socket boards allow easy programming and debugging of the device using JTAG. They also feature
header pin outs for prototyping. Target socket boards are orderable individually or as a kit with the JTAG
programmer and debugger included. The following table shows the compatible target boards and the supported
packages.
PackageTarget Board and Programmer BundleTarget Board Only
Experimenter Boards and Evaluation kits are available for some MSP430 devices. These kits feature additional
hardware components and connectivity for full system evaluation and prototyping. See www.ti.com/msp430tools
for details.
Debugging and Programming Tools
Hardware programming and debugging tools are available from TI and from its third party suppliers. See the full
list of available tools at www.ti.com/msp430tools.
Production Programmers
The production programmers expedite loading firmware to devices by programming several devices
simultaneously.
Part NumberPC PortFeaturesProvider
MSP-GANGSerial and USBProgram up to eight devices at a time. Works with PC or standalone.Texas Instruments
Recommended Software Options
Integrated Development Environments
Software development tools are available from TI or from third parties. Open source solutions are also available.
This device is supported by Code Composer Studio™ IDE (CCS).
MSP430Ware
MSP430Ware is a collection of code examples, data sheets, and other design resources for all MSP430 devices
delivered in a convenient package. In addition to providing a complete collection of existing MSP430 design
resources, MSP430Ware also includes a high-level API called MSP430 Driver Library. This library makes it easy
to program MSP430 hardware. MSP430Ware is available as a component of CCS or as a standalone package.
TI-RTOS is a complete real-time operating system for the MSP430 microcontrollers. It combines a real-time
multitasking kernel SYS/BIOS with additional middleware components. TI-RTOS is available free of charge and
provided with full source code.
MSP430 USB Developer's Package
MSP430 USB Developer's Package is an easy-to-use USB stack implementation for the MSP430
microcontrollers.
Command-Line Programmer
MSP430 Flasher is an open-source, shell-based interface for programming MSP430 microcontrollers through a
FET programmer or eZ430 using JTAG or Spy-Bi-Wire (SBW) communication. MSP430 Flasher can be used to
download binary files (.txt or .hex) files directly to the MSP430 Flash without the need for an IDE.
Community Resources
The following links connect to TI community resources. Linked contents are provided "AS IS" by the respective
contributors. They do not constitute TI specifications and do not necessarily reflect TI's views; see TI's Terms of
Use.
TI E2E Community
TI's Engineer-to-Engineer (E2E) Community. Created to foster collaboration among engineers. At e2e.ti.com, you
can ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers.
TI Embedded Processors Wiki
Texas Instruments Embedded Processors Wiki. Established to help developers get started with embedded
processors from Texas Instruments and to foster innovation and growth of general knowledge about the
hardware and software surrounding these devices.
SLAS650D –JUNE 2010–REVISED AUGUST 2013
Device and Development Tool Nomenclature
To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all
MSP430™ MCU devices and support tools. Each MSP430™ MCU commercial family member has one of two
prefixes: MSP or XMS (for example, MSP430F5259). Texas Instruments recommends two of three possible
prefix designators for its support tools: MSP and MSPX. These prefixes represent evolutionary stages of product
development from engineering prototypes (with XMS for devices and MSPX for tools) through fully qualified
production devices and tools (with MSP for devices and MSP for tools).
Device development evolutionary flow:
XMS – Experimental device that is not necessarily representative of the final device's electrical specifications
MSP – Fully qualified production device
Support tool development evolutionary flow:
MSPX – Development-support product that has not yet completed Texas Instruments internal qualification
testing.
MSP – Fully-qualified development-support product
XMS devices and MSPX development-support tools are shipped against the following disclaimer:
"Developmental product is intended for internal evaluation purposes."
MSP devices and MSP development-support tools have been characterized fully, and the quality and reliability of
the device have been demonstrated fully. TI's standard warranty applies.
Predictions show that prototype devices (XMS) have a greater failure rate than the standard production devices.
Texas Instruments recommends that these devices not be used in any production system because their
expected end-use failure rate still is undefined. Only qualified production devices are to be used.
CC = Embedded RF Radio
MSP = Mixed Signal Processor
XMS = Experimental Silicon
430 MCU PlatformTI’s Low Power Microcontroller Platform
Device TypeMemory Type
C = ROM
F = Flash
FR = FRAM
G = Flash (Value Line)
L = No Nonvolatile Memory
Specialized Application
AFE = Analog Front End
BT = Preprogrammed with Bluetooth
BQ = Contactless Power
CG = ROM Medical
FE = Flash Energy Meter
FG = Flash Medical
FW = Flash Electronic Flow Meter
Series1 Series = Up to 8 MHz
2 Series = Up to 16 MHz
3 Series = Legacy
4 Series = Up to 16 MHz w/ LCD
5 Series = Up to 25 MHz
6 Series = Up to 25 MHz w/ LCD
0 = Low Voltage Series
Feature SetVarious Levels of Integration Within a Series
Optional: A = RevisionN/A
Optional: Temperature Range S = 0°C to 50 C
C to 70 C
I = -40 C to 85 C
T = -40 C to 105 C
°
C = 0°°
°°
°°
Packaging
www.ti.com/packaging
Optional: Tape and ReelT = Small Reel (7 inch)
R = Large Reel (11 inch)
No Markings = Tube or Tray
Optional: Additional Features *-EP = Enhanced Product (-40°C to 105°C)
TI device nomenclature also includes a suffix with the device family name. This suffix indicates the package type
(for example, PZP) and temperature range (for example, T). Figure 1 provides a legend for reading the complete
device name for any family member.
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.
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 3 shows examples of the three
types of instruction formats; Table 4 shows the
address modes.
INSTRUCTION WORD FORMATEXAMPLEOPERATION
Dual operands, source-destinationADD R4,R5R4 + R5 → R5
Single operands, destination onlyCALL R8PC → (TOS), R8 → PC
Relative jump, un/conditionalJNEJump-on-equal bit = 0
The MSP430 has one active mode and seven software selectable low-power modes of operation. An interrupt
event can wake up the device from any of the 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 3.5 (LPM3.5)
– Internal regulator disabled
– No data retention
– RTC enabled and clocked by low-frequency oscillator
– Wakeup from RST/NMI, RTC_B, P1, P2, P3, and P4
•Low-power mode 4.5 (LPM4.5)
– Internal regulator disabled
– No data retention
– 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 5. Interrupt Sources, Flags, and Vectors of MSP430F563x 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.
(1) N/A = Not available.
(2) Backup RAM is accessed via the control registers BAKMEM0, BAKMEM1, BAKMEM2, and BAKMEM3.
(3) USB RAM can be used as general purpose RAM when not used for USB operation.
The BSL enables users to program the flash memory or RAM using various serial interfaces. Access to the
device memory via the BSL is protected by an user-defined password. For complete description of the features of
the BSL and its implementation, see MSP430 Programming Via the Bootstrap Loader (BSL) (SLAU319).
USB BSL
All devices come pre-programmed with the USB BSL. Use of the USB BSL requires external access to the six
pins shown in Table 7. In addition to these pins, the application must support external components necessary for
normal USB operation; for example, the proper crystal on XT2IN and XT2OUT or proper decoupling.
Table 7. USB BSL Pin Requirements and Functions
DEVICE SIGNALBSL FUNCTION
RST/NMI/SBWTDIOEntry sequence signal
PU.0/DPUSB data terminal DP
PU.1/DMUSB data terminal DM
PURUSB pullup resistor terminal
VBUSUSB bus power supply
VSSUUSB ground supply
SLAS650D –JUNE 2010–REVISED AUGUST 2013
NOTE
The default USB BSL evaluates the logic level of the PUR pin after a BOR reset. If it is
pulled high externally, then the BSL is invoked. Therefore, unless the application is
invoking the BSL, it is important to keep PUR pulled low after a BOR reset, even if BSL or
USB is never used. Applying a 1-MΩ resistor to ground is recommended.
UART BSL
A UART BSL is also available that can be programmed by the user into the BSL memory by replacing the preprogrammed, factory supplied, USB BSL. Use of the UART BSL requires external access to the six pins shown
in Table 8.
Table 8. UART BSL Pin Requirements and Functions
DEVICE SIGNALBSL FUNCTION
RST/NMI/SBWTDIOEntry sequence signal
TEST/SBWTCKEntry sequence signal
P1.1Data transmit
P1.2Data receive
VCCPower supply
VSSGround supply
JTAG Operation
JTAG Standard Interface
The MSP430 family supports the standard JTAG interface which requires four signals for sending and receiving
data. The JTAG signals are shared with general-purpose I/O. The TEST/SBWTCK pin is used to enable the
JTAG signals. In addition to these signals, the RST/NMI/SBWTDIO is required to interface with MSP430
development tools and device programmers. The JTAG pin requirements are shown in Table 9. For further
details on interfacing to development tools and device programmers, see the MSP430(tm) Hardware ToolsUser's Guide (SLAU278). For a complete description of the features of the JTAG interface and its
implementation, see MSP430 Programming Via the JTAG Interface (SLAU320).
PJ.3/TCKINJTAG clock input
PJ.2/TMSINJTAG state control
PJ.1/TDI/TCLKINJTAG data input, TCLK input
PJ.0/TDOOUTJTAG data output
TEST/SBWTCKINEnable JTAG pins
RST/NMI/SBWTDIOINExternal reset
VCCPower supply
VSSGround supply
Spy-Bi-Wire Interface
In addition to the standard JTAG interface, the MSP430 family supports the two wire Spy-Bi-Wire interface. SpyBi-Wire can be used to interface with MSP430 development tools and device programmers. The Spy-Bi-Wire
interface pin requirements are shown in Table 10. For further details on interfacing to development tools and
device programmers, see the MSP430(tm) Hardware Tools User's Guide (SLAU278). For a complete description
of the features of the JTAG interface and its implementation, see MSP430 Programming Via the JTAG Interface
(SLAU320).
www.ti.com
Table 10. Spy-Bi-Wire Pin Requirements and Functions
DEVICE SIGNALDIRECTIONFUNCTION
TEST/SBWTCKINSpy-Bi-Wire clock input
RST/NMI/SBWTDIOIN, OUTSpy-Bi-Wire data input/output
VCCPower supply
VSSGround supply
Flash Memory (Link to User's Guide)
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.
RAM Memory (Link to User's Guide)
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 Memory Organization.
•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.
Backup RAM Memory
The backup RAM provides a limited number of bytes of RAM that are retained during LPMx.5 and during
operation from a backup supply if the Battery Backup System module is implemented.
There are 8 bytes of Backup RAM available on MSP430F563x. It can be wordwise accessed via the control
registers BAKMEM0, BAKMEM1, BAKMEM2, and BAKMEM3.
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 MSP430x5xx and MSP430x6xx Family User's Guide
(SLAU208).
Digital I/O (Link to User's Guide)
There are up to nine 8-bit I/O ports implemented: P1 through P6, P8, and P9 are complete, P7 contains six
individual I/O ports, and 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 (Link to User's Guide)
The port mapping controller allows the flexible and reconfigurable mapping of digital functions to port P2.
SLAS650D –JUNE 2010–REVISED AUGUST 2013
Table 11. Port Mapping, Mnemonics and Functions
VALUEPxMAPy MNEMONICINPUT PIN FUNCTIONOUTPUT PIN FUNCTION
17PM_MCLK-MCLK
18ReservedReserved for test purposes. Do not use this setting.
PM_CBOUT-Comparator_B output
PM_TB0CLKTimer TB0 clock input-
PM_ADC12CLK-ADC12CLK
PM_DMAE0DMAE0 Input-
PM_SVMOUT-SVM output
PM_TB0OUTH-
PM_UCA0RXDUSCI_A0 UART RXD (Direction controlled by USCI - input)
PM_UCA0SOMIUSCI_A0 SPI slave out master in (direction controlled by USCI)
PM_UCA0TXDUSCI_A0 UART TXD (Direction controlled by USCI - output)
PM_UCA0SIMOUSCI_A0 SPI slave in master out (direction controlled by USCI)
PM_UCA0CLKUSCI_A0 clock input/output (direction controlled by USCI)
PM_UCB0STEUSCI_B0 SPI slave transmit enable (direction controlled by USCI - input)
PM_UCB0SOMIUSCI_B0 SPI slave out master in (direction controlled by USCI)
PM_UCB0SCLUSCI_B0 I2C clock (open drain and direction controlled by USCI)
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)
PM_UCA0TXD,USCI_A0 UART TXD (direction controlled by USCI - output),
PM_UCA0SIMOUSCI_A0 SPI slave in master out (direction controlled by USCI)
PM_UCA0RXD,USCI_A0 UART RXD (direction controlled by USCI - input),
PM_UCA0SOMIUSCI_A0 SPI slave out master in (direction controlled by USCI)
www.ti.com
Oscillator and System Clock (Link to User's Guide)
The clock system in the MSP430F563x family of devices is supported by the Unified Clock System (UCS)
module that includes support for a 32-kHz watch crystal oscillator (in XT1 LF mode; XT1 HF mode is 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 3 µs (typical). 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 digitallycontrolled oscillator DCO.
•Main clock (MCLK), the system clock used by the CPU. MCLK can be sourced by same sources available to
ACLK.
•Sub-Main clock (SMCLK), the subsystem clock used by the peripheral modules. SMCLK can be sourced by
same sources available to ACLK.
•ACLK/n, the buffered output of ACLK, ACLK/2, ACLK/4, ACLK/8, ACLK/16, ACLK/32.
Power Management Module (PMM) (Link to User's Guide)
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
and 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 (the device is not
automatically reset). SVS and SVM circuitry is available on the primary supply and core supply.
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) (Link to User's Guide)
The RTC_B module can be configured for real-time clock (RTC) or 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
LPM3.5 mode and operation from a backup supply.
Watchdog Timer (WDT_A) (Link to User's Guide)
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.
System Module (SYS) (Link to User's Guide)
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, bootstrap
loader entry mechanisms, and configuration management (device descriptors). SYS also includes a data
exchange mechanism via JTAG called a JTAG mailbox that can be used in the application.
SLAS650D –JUNE 2010–REVISED AUGUST 2013
Table 13. System Module Interrupt Vector Registers
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 uses the channel 0, 1, and 2 DMA trigger assignments described in
(1) Reserved DMA triggers may be used by other devices in the family. Reserved DMA triggers will not
cause any DMA trigger event when selected.
(2) Only on devices with peripheral module ADC12_A. Reserved on devices without ADC.
(3) Only on devices with peripheral module DAC12_A. Reserved on devices without DAC.
Universal Serial Communication Interface (USCI) (Links to User's Guide: UART Mode, SPI Mode,
I2C Mode)
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 MSP430F563x series includes two complete USCI modules (n = 0 to 1).
Timer TA0 (Link to User's Guide)
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.
Table 15. Timer TA0 Signal Connections
INPUT PIN NUMBERDEVICEMODULEMODULEDEVICEOUTPUT PIN NUMBER
Timer TA1 is a 16-bit timer/counter (Timer_A type) with three capture/compare registers. It supports 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 16. Timer TA1 Signal Connections
INPUT PIN NUMBERDEVICEMODULEMODULEDEVICEOUTPUT PIN NUMBER
Timer TA2 is a 16-bit timer/counter (Timer_A type) with three capture/compare registers. It supports 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 17. Timer TA2 Signal Connections
INPUT PIN NUMBERDEVICEMODULEMODULEDEVICEOUTPUT PIN NUMBER