DBrownout Detector
DBasic Timer With Real Time Clock Feature
DIntegrated LCD Driver up to 160 Segments
With Regulated Charge Pump
DFamily Members Include:
-- MSP430xG4616:
92KB+256B Flash or ROM Memory
4KB RAM
-- MSP430xG4617:
92KB+256B Flash or ROM Memory,
8KB RAM
-- MSP430xG4618:
116KB+256B Flash or ROM Memory,
8KB RAM
-- MSP430xG4619:
120KB+256B Flash or ROM Memory,
4KB RAM
DFor Complete Module Descriptions, Refer
to the MSP430x4xx Family User’s Guide
description
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 6 μs.
The MSP430xG461x series are microcontroller configurations with two 16-bit timers, a high-performance 12-bit
A/D converter, dual 12-bit D/A converters, three configurable operational amplifiers, one universal serial
communication interface (USCI), one universal synchronous/asynchronous communication interface
(USART), DMA, 80 I/O pins, and a liquid crystal display (LCD) driver with regulated charge pump.
Typical applications for this device include portable medical applications and e-meter applications.
This integrated circuit can be damaged by ESD. Texas Instruments recommends that all integrated circuits be handled with
appropriate precautions. Failure to observe proper handling and installation procedures can cause damage. ESD damage can range
from subtle performance degradation to complete device failure. Precision integrated circuits may be more susceptible to damage
because very small parametric changes could cause the device not to meet its published specifications. These devices have limited
built-in ESD protection.
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.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
General-purpose digital I/O / External reference voltage input for regulated LCD voltage
/ Input port of third most positive analog LCD level (V4 or V3)
General-purpose digital I/O / analog input a0—12-bit ADC / OA0 input multiplexer on
+ terminal and -- terminal
General-purpose digital I/O / analog input a2—12-bit ADC / OA0 input multiplexer on
+ terminal and -- terminal
8
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
Terminal Functions (Continued)
TERMINAL
NAME
AV
SS
DV
(see Note 1)99B3Digital supply voltage, negative terminal
SS1
AV
CC
NOTE 1: All unassigned ball locations on the ZQW package should be electrically tied to the ground supply. The shortest ground return path to
the device should be established via ball location B3.
NO.PZNO.
ZQW
98A3
100A2
I/ODESCRIPTION
Analog supply voltage, negative terminal. Supplies SVS, brownout, oscillator,comparator_A,
port 1
Analog supply voltage, positive terminal. Supplies SVS, brownout, oscillator, comparator_A,
port 1; must not power up prior to DV
CC1
/DV
CC2
.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
9
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
short-form description
CPU
The MSP430 CPU has a 16-bit RISC architecture
that is highly transparent to the application. All
operations, other than program-flow instructions,
areperformedasregisteroperationsin
conjunction with seven addressing modes for
source operand and four addressing modes for
destination operand.
The CPU is integrated with 16 registers that
provide reduced instruction execution time. The
register-to-register operation execution time is
one cycle of the CPU clock.
Four of the registers, R0 to R3, are dedicated as
program counter, stack pointer, status register,
andconstantgeneratorrespectively.The
remainingregistersaregeneral-purpose
registers.
Peripherals are connected to the CPU using data,
address, and control buses, and can be handled
with all instructions.
The MSP430xG461x device family utilizes the
MSP430X CPU and is completely backwards
compatible with the MSP430 CPU. For a complete
description of the MSP430X CPU, refer to the
MSP430x4xx Family User’s Guide.
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 1 shows
examples of the three types of instruction formats;
the address modes are listed in Table 2.
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:
DActive mode (AM)
--All clocks are active
DLow-power mode 0 (LPM0)
--CPU is disabled
ACLK and SMCLK remain active. MCLK is disabled
FLL+ loop control remains active
DLow-power mode 1 (LPM1)
--CPU is disabled
FLL+ loop control is disabled
ACLK and SMCLK remain active. MCLK is disabled
DLow-power mode 2 (LPM2)
--CPU is disabled
MCLK, FLL+ loop control and DCOCLK are disabled
DCO’s dc-generator remains enabled
ACLK remains active
DLow-power mode 3 (LPM3)
--CPU is disabled
MCLK, FLL+ loop control, and DCOCLK are disabled
DCO’s dc-generator is disabled
ACLK remains active
DLow-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
12
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430xG461x
ReservedReserved(seeNote4
)
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
interrupt vector addresses
The interrupt vectors and the power-up start address are located in the address range 0FFFFh to 0FFC0h. The
vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence.
Table 3. Interrupt Sources, Flags, and Vectors of MSP430xG461x Configurations
INTERRUPT SOURCEINTERRUPT FLAGSYSTEM INTERRUPT
Power-Up
External Reset
Watchdog
Flash Memory
NMI
Oscillator Fault
Flash Memory Access Violation
Timer_B7TBCCR0 CCIFG0 (see Note 2)Maskable0FFFAh29
Timer_B7
Comparator_ACAIFGMaskable0FFF6h27
Watchdog Timer+WDTIFGMaskable0FFF4h26
USCI_A0/USCI_B0 ReceiveUCA0RXIFG, UCB0RXIFG (see Note 1)Maskable0FFF2h25
USCI_A0/USCI_B0 TransmitUCA0TXIFG, UCB0TXIFG (see Note 1)Maskable0FFF0h24
ADC12ADC12IFG (see Notes 1 and 2)Maskable0FFEEh23
Timer_A3TACCR0 CCIFG0 (see Note 2)Maskable0FFECh22
Timer_A3
I/O Port P1 (Eight Flags)P1IFG.0 to P1IFG.7 (see Notes 1 and 2)Maskable0FFE8h20
USART1 ReceiveURXIFG1Maskable0FFE6h19
USART1 TransmitUTXIFG1Maskable0FFE4h18
I/O Port P2 (Eight Flags)P2IFG.0 to P2IFG.7 (see Notes 1 and 2)Maskable0FFE2h17
Basic Timer1/RTCBTIFGMaskable0FFE0h16
DMADMA0IFG, DMA1IFG, DMA2IFG
DAC12DAC12.0IFG, DAC12.1IFG (see Notes 1 and 2)Maskable0FFDCh14
ReservedReserved (see Note 4)
NOTES: 1. Multiple source flags
2. Interrupt flags are located in the module.
3. A reset is generated if the CPU tries to fetch instructions from within the module register memory address range (0h to 01FFh).
(Non)maskable: the individual interrupt -enable bit can disable an interrupt event, but the general-interrupt enable cannot disable it.
4. The interrupt vectors at addresses 0FFDAh to 0FFC0h are not used in this device and can be used for regular program code if
necessary.
5. Access and key violations, KEYV and ACCVIFG, only applicable to F devices.
NMIIFG (see Notes 1 and 3)
OFIFG (see Notes 1 and 3)
ACCVIFG (see Notes 1, 2, and 5)
TBCCR1 CCIFG1 ... TBCCR6 CCIFG6,
TBIFG (see Notes 1 and 2)
TACCR1 CCIFG1 and TACCR2 CCIFG2,
TAIFG (see Notes 1 and 2)
WDTIFG
KEYV
(see Note 1 and 5)
(see Notes 1 and 2)
Reset0FFFEh31, highest
(Non)maskable
(Non)maskable
(Non)maskable
Maskable0FFF8h28
Maskable0FFEAh21
Maskable0FFDEh15
WORD
ADDRESS
0FFFCh30
0FFDAh13
......
0FFC0h0, lowest
PRIORITY
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
13
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
special function registers (SFRs)
The MSP430 SFRs are located in the lowest address space and are organized as byte mode registers. SFRs
should be accessed with byte instructions.
interrupt enable 1 and 2
Address
0hACCVIENMIIE
WDTIEWatchdog-timer interrupt enable. Inactive if watchdog mode is selected.
OFIEOscillator-fault-interrupt enable
NMIIENonmaskable-interrupt enable
ACCVIEFlash access violation interrupt enable
Address
01h
UCA0RXIEUSCI_A0 receive-interrupt enable
UCA0TXIEUSCI_A0 transmit-interrupt enable
UCB0RXIEUSCI_B0 receive-interrupt enable
UCB0TXIEUSCI_B0 transmit-interrupt enable
URXIE1USART1 UART and SPI receive-interrupt enable
UTXIE1USART1 UART and SPI transmit-interrupt enable
BTIEBasic timer interrupt enable
76540
rw–0
Active if watchdog timer is configured as a general-purpose timer.
7654032 1
BTIEUTXIE1URXIE1
rw–0
rw–0rw–0
rw–0rw–0rw–0
32 1
UCB0TXIEUCB0RXIE
rw–0rw–0
OFIEWDTIE
UCA0TXIEUCA0RXIE
rw–0rw–0
14
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
interrupt flag register 1 and 2
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
Address
02hNMIIFG
WDTIFG:Set on watchdog timer overflow (in watchdog mode) or security key violation
OFIFG:Flag set on oscillator fault
NMIIFG:Set via RST
Address
03h
UCA0RXIFGUSCI_A0 receive-interrupt flag
UCA0TXIFGUSCI_A0 transmit-interrupt flag
UCB0RXIFGUSCI_B0 receive-interrupt flag
UCB0TXIFGUSCI_B0 transmit-interrupt flag
URXIFG0:USART1: UART and SPI receive flag
UTXIFG0:USART1: UART and SPI transmit flag
BTIFG:Basic timer flag
76540
rw–0rw–1rw–(0)
Reset on V
7654032 1
BTIFG
rw–0
power-on or a reset condition at the RST/NMI pin in reset mode
CC
/NMI pin
UTXIFG1URXIFG1
rw–1rw–0
32 1
UCB0TXIFG UCB0RXIFG
rw–0rw–0
module enable registers 1 and 2
Address
04h
7654032 1
OFIFGWDTIFG
UCA0TXIFG UCA0RXIFG
rw–0rw–0
Address
05h
URXE1:USART1: UART mode receive enable
UTXE1:USART1: UART mode transmit enable
USPIE1:USART1: SPI mode transmit and receive enable
Legendrw:
76540
rw-0,1:
rw-(0,1):
UTXE1
rw–0rw–0
Bit can be read and written.
Bit can be read and written. It is Reset or Set by PUC.
Bit can be read and written. It is Reset or Set by POR.
SFR bit is not present in device
URXE1
USPIE1
32 1
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
15
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
memory organization
MSP430FG4616MSP430FG4617MSP430FG4618MSP430FG4619
Memory
Main: interrupt vector
Main: code memory
RAM (Total)Size4KB
ExtendedSize2KB
MirroredSize2KB
Information memorySize
Boot memorySize
RAM
(mirrored at
018FFh -- 01100h)
Peripherals16 bit
Size
Flash
Flash
Flash
ROM
Size2KB
8bit
8-bit SFR
018FFFh -- 002100h
92KB
0FFFFh -- 0FFC0h
020FFh -- 01100h
020FFh -- 01900h
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
92KB
0FFFFh -- 0FFC0h
019FFFh -- 003100h
8KB
030FFh -- 01100h
6KB
030FFh -- 01900h
2KB
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
2KB
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
116KB
0FFFFh -- 0FFC0h
01FFFFh -- 003100h
8KB
030FFh -- 01100h
6KB
030FFh -- 01900h
2KB
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
2KB
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
120KB
0FFFFh -- 0FFC0h
01FFFFh -- 002100h
4KB
020FFh -- 01100h
2KB
020FFh -- 01900h
2KB
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
2KB
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
MSP430CG4616MSP430CG4617MSP430CG4618MSP430CG4619
Memory
Main: interrupt vector
Main: code memory
RAM (Total)Size4KB
ExtendedSize2KB
MirroredSize2KB
Information memorySize
Boot memory
(Optional on CG)
RAM
(mirrored at
018FFh -- 01100h)
Peripherals16 bit
Size
ROM
ROM
ROM
Size
ROM
Size2KB
8bit
8-bit SFR
018FFFh -- 002100h
92KB
0FFFFh -- 0FFC0h
020FFh -- 01100h
020FFh -- 01900h
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
92KB
0FFFFh -- 0FFC0h
019FFFh -- 003100h
8KB
030FFh -- 01100h
6KB
030FFh -- 01900h
2KB
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
2KB
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
116KB
0FFFFh -- 0FFC0h
01FFFFh -- 003100h
8KB
030FFh -- 01100h
6KB
030FFh -- 01900h
2KB
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
2KB
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
120KB
0FFFFh -- 0FFC0h
01FFFFh -- 002100h
4KB
020FFh -- 01100h
2KB
020FFh -- 01900h
2KB
018FFh -- 01100h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
2KB
09FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
16
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
bootstrap loader (BSL)
The MSP430 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. A bootstrap loader security key is
provided at address 0FFBEh to disable the BSL completely or to disable the erasure of the flash if an invalid
password is supplied. The BSL is optional for ROM-based devices. For complete description of the features of
the BSL and its implementation, see the application report Features of the MSP430 Bootstrap Loader, literature
number SLAA089.
BSLKEYDESCRIPTION
00000hErasure of flash disabled if an invalid password is supplied
0AA55hBSL disabled
any other valueBSL enabled
BSL FUNCTIONPZ/ZQW PACKAGE PINS
Data Transmit87/A7 -- P1.0
Data Receive86/E7 -- P1.1
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:
DFlash memory has n segments of main memory and two segments of information memory (A and B) of 128
bytes each. Each segment in main memory is 512 bytes in size.
DSegments 0 to n may be erased in one step, or each segment may be individually erased.
DSegments A and B can be erased individually, or as a group with segments 0--n.
Segments A and B are also called information memory.
DNew devices may have some bytes programmed in the information memory (needed for test during
manufacturing). The user should perform an erase of the information memory prior to the first use.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
17
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
peripherals
Peripherals are connected to the CPU through data, address, and control buses and can be handled using all
instructions. For complete module descriptions, refer to the MSP430x4xx Family User’s Guide.
DMA controller
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 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.
oscillator and system clock
The clock system in the MSP430xG461x family of devices is supported by the FLL+ module, which includes
support for a 32768-Hz watch crystal oscillator, an internal digitally-controlled oscillator (DCO), and a high
frequency crystal oscillator. The FLL+ clock module is designed to meet the requirements of both low system
cost and low-power consumption. The FLL+ features digital frequency locked loop (FLL) hardware that, in
conjunction with a digital modulator, stabilizes the DCO frequency to a programmable multiple of the watch
crystal frequency. The internal DCO provides a fast turn-on clock source and stabilizes in less than 6 μs. The
FLL+ module provides the following clock signals:
DAuxiliary clock (ACLK), sourced from a 32768-Hz watch crystal or a high frequency c rystal
DMain clock (MCLK), the system clock used by the CPU
DSub-Main clock (SMCLK), the subsystem clock used by the peripheral modules
DACLK/n, the buffered output of ACLK, ACLK/2, ACLK/4, or ACLK/8
brownout, supply voltage supervisor
The brownout circuit is implemented to provide the proper internal reset signal to the device during power-on
and power-off. The supply voltage supervisor (SVS) circuitry detects if the supply voltage drops below a user
selectable level and supports both supply voltage supervision (the device is automatically reset) and supply
voltage monitoring (SVM, the device is not automatically reset).
The CPU begins code execution after the brownout circuit releases the device reset. However, V
have ramped to V
reaches V
CC(min)
CC(min)
. If desired, the SVS circuit can be used to determine when VCCreaches V
at that time. The user must insure the default FLL+ settings are not changed until V
CC(min)
digital I/O
There are ten 8-bit I/O ports implemented—ports P1 through P10:
DAll individual I/O bits are independently programmable.
DAny combination of input, output, and interrupt conditions is possible.
DEdge-selectable interrupt input capability for all the eight bits of ports P1 and P2.
DRead/write access to port-control registers is supported by all instructions.
DPorts P7/P8 and P9/P10 can be accessed word-wise as ports PA and PB respectively.
CC
.
may not
CC
Basic Timer1 and Real-Time Clock
The Basic Timer1 has two independent 8-bit timers that can be cascaded to form a 16-bit timer/counter. Both
timers can be read and written by software. Basic Timer1 is extended to provide an integrated real-time clock
(RTC). An internal calendar compensates for months with less than 31 days and includes leap-year correction.
18
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
LCD_A drive with regulated charge pump
The LCD_A driver generates the segment and common signals required to drive an LCD display. The LCD_A
controller has dedicated data memory to hold segment drive information. Common and segment signals are
generated as defined by the mode. Static, 2-MUX, 3-MUX, and 4-MUX LCDs are supported by this peripheral.
The module can provide a LCD voltage independent of the supply voltage with its integrated charge pump.
Furthermore it is possible to control the level of the LCD voltage and, thus, contrast by software.
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 configured as an interval timer and can generate interrupts at selected time
intervals.
universal serial communication interface (USCI)
The USCI modules are used for serial data communication. The USCI module supports synchronous
communication protocols like SPI (3 or 4 pin), I2C and asynchronous communication protocols like UART,
enhanced UART with automatic baudrate detection, and IrDA.
The USCI_A0 module provides support for SPI (3 or 4 pin), UART, enhanced UART and IrDA.
The USCI_B0 module provides support for SPI (3 or 4 pin) and I2C.
USART1
The hardware universal synchronous/asynchronous receive transmit (USART) peripheral module is used for
serial data communication. The USART supports synchronous SPI (3 or 4 pin) and asynchronous UART
communication protocols, using double-buffered transmit and receive channels.
hardware multiplier
The multiplication operation is supported by a dedicated peripheral module. The module performs 16×16,
16×8, 8×16, and 8×8 bit operations. The module is capable of supporting signed and unsigned multiplication,
as well as signed and unsigned multiply and accumulate operations. The result of an operation can be accessed
immediately after the operands have been loaded into the peripheral registers. No additional clock cycles are
required.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
19
MSP430xG461x
DeviceInput
ModuleInput
Modul
e
ModuleOutpu
t
A
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
timer_A3
Timer_A3 is a 16-bit timer/counter with three capture/compare registers. Timer_A3 can support multiple
capture/compares, PWM outputs, and interval timing. Timer_A3 also has extensive interrupt capabilities.
Interrupts may be generated from the counter on overflow conditions and from each of the capture/compare
registers.
Timer_A3 Signal Connections
Input Pin Number
PZ/ZQW
82/B9 - P1.5TA C L KTA C L K
82/B9 - P1.5TACLKINCLK
87/A7 - P1.0TA0CCI0A
86/E7 - P1.1TA0CCI0B
85/D7 - P1.2TA1CCI1A
79/A10 - P2.0TA 2CCI2A
Device InputModule InputModuleModule Output
Signal
ACLKACLK
SMCLKSMCLK
DV
SS
DV
CC
CAOUT (internal)CCI1B
DV
SS
DV
CC
ACLK (internal)CCI2B
DV
SS
DV
CC
Name
GND
V
CC
GND
V
CC
GND
V
CC
Block
TimerN
CCR0TA0
CCR1TA1
CCR2TA2
Signal
Output Pin Number
PZ/ZQW
87/A7 - P1.0
85/D7 - P1.2
ADC12 (internal)
79/A10 - P2.0
20
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
MSP430xG461x
DeviceInput
ModuleInput
Modul
e
ModuleOutpu
t
A
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
timer_B7
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_B7 Signal Connections
Input Pin Number
PZ/ZQW
Device InputModule InputModuleModule Output
Signal
83/B8 - P1.4TBCLKTBCLK
ACLKACLK
SMCLKSMCLK
83/B8 - P1.4TBCLKINCLK
78/D8 - P2.1TB0CCI0A
78/D8 - P2.1TB0CCI0B
DV
SS
DV
CC
77/E8 - P2.2TB1CCI1A
77/E8 - P2.2TB1CCI1B
DV
SS
DV
CC
76/A11 - P2.3TB2CCI2A
76/A11 - P2.3TB2CCI2B
DV
SS
DV
CC
67/E12 - P3.4TB3CCI3A
67/E12 - P3.4TB3CCI3B
DV
SS
DV
CC
66/G9 - P3.5TB4CCI4A
66/G9 - P3.5TB4CCI4B
DV
SS
DV
CC
65/F11 - P3.6TB5CCI5A
65/F11 - P3.6TB5CCI5B
DV
SS
DV
CC
64/F12 - P3.7TB6CCI6A
ACLK (internal)CCI6B
DV
SS
DV
CC
Name
GND
V
CC
GND
V
CC
GND
V
CC
GND
V
CC
GND
V
CC
GND
V
CC
GND
V
CC
Block
Signal
TimerN
CCR0TB0
CCR1TB1
CCR2TB2
CCR3TB3
CCR4TB4
CCR5TB5
CCR6TB6
Output Pin Number
PZ/ZQW
78/D8 - P2.1
ADC12 (internal)
77/E8 - P2.2
ADC12 (internal)
76/A11 - P2.3
67/E12 - P3.4
66/G9 - P3.5
65/F11 - P3.6
64/F12 - P3.7
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
21
MSP430xG461x
p
p
Outpu
t
Outpu
t
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
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
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
conversion-and-control buffer allows up to 16 independent ADC samples to be converted and stored without
any CPU intervention.
DAC12
The DAC12 module is a 12-bit, R-ladder, voltage output DAC. The DAC12 may be used in 8- or 12-bit mode,
and may be used in conjunction with the DMA controller. When multiple DAC12 modules are present, they may
be grouped together for synchronous operation.
OA
The MSP430xG461x has three configurable low-current general-purpose operational amplifiers. Each OA input
and output terminal is software-selectable and offer a flexible choice of connections for various applications.
The OA op amps primarily support front-end analog signal conditioning prior to analog-to-digital conversion.
Input Pin
Number
PZ
95 - P6.0OA0I0OA0I0
97 - P6.2OA0I1OA0I1
3- P6.4OA1I0OA1I0
13 - P5.0OA1I1OA1I1
5-P6.6OA2I0OA2I0
14 - P10.7OA2I1OA2I1
Device Input
SignalNameBlock
DAC12_0OUT
(internal)
DAC12_1OUT
(internal)
DAC12_0OUT
(internal)
DAC12_1OUT
(internal)
DAC12_0OUT
(internal)
DAC12_1OUT
(internal)
Module Input
DAC12_0OUT
DAC12_1OUT
DAC12_0OUT
DAC12_1OUT
DAC12_0OUT
DAC12_1OUT
OA Signal Connections
Module
OA0OA0OUT
OA1OA1OUT
OA2OA2OUT
Module
Out
ut
Signal
Device
Out
ut
Signal
OA0O96 - P6.1
OA0OADC12 (internal)
OA1O2-P6.3
OA1O13- P5.0
OA1OADC12 (internal)
OA2O4-P6.5
OA2O14 - P10.7
OA2OADC12 (internal)
Output Pin
Number
PZ
22
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
peripheral file map
_
_
Watchdog+Watchdog timer controlWDTCTL0120h
Timer_B7
Timer_A3
Hardware
Multiplier
Flash
(FG devices only)
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
PERIPHERALS WITH W ORD ACCESS
Capture/compare register 6TBCCR6019Eh
Capture/compare register 5TBCCR5019Ch
Capture/compare register 4TBCCR4019Ah
Capture/compare register 3TBCCR30198h
Capture/compare register 2TBCCR20196h
Capture/compare register 1TBCCR10194h
Capture/compare register 0TBCCR00192h
Timer_B registerTBR0190h
Capture/compare control 6TBCCTL6018Eh
Capture/compare control 5TBCCTL5018Ch
Capture/compare control 4TBCCTL4018Ah
Capture/compare control 3TBCCTL30188h
Capture/compare control 2TBCCTL20186h
Capture/compare control 1TBCCTL10184h
Capture/compare control 0TBCCTL00182h
Timer_B controlTBCTL0180h
Timer_B interrupt vectorTBIV011Eh
Capture/compare register 2TACCR20176h
Capture/compare register 1TACCR10174h
Capture/compare register 0TACCR00172h
Timer_A registerTAR0170h
Capture/compare control 2TACCTL20166h
Capture/compare control 1TACCTL10164h
Capture/compare control 0TACCTL00162h
Timer_A controlTAC T L0160h
Timer_A interrupt vectorTAI V012Eh
Sum extendSUMEXT013Eh
Result high wordRESHI013Ch
Result low wordRESLO013Ah
Second operandOP20138h
Multiply signed + accumulate/operand1MACS0136h
Multiply + accumulate/operand1MAC0134h
Multiply signed/operand1MPYS0132h
Multiply unsigned/operand1MPY0130h
Flash control 3FCTL3012Ch
Flash control 2FCTL2012Ah
Flash control 1FCTL10128h
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
23
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
peripheral file map (continued)
PERIPHERALS WITH WORD ACCESS (CONTINUED)
DMA
DMA Channel 0
DMA Channel 1
DMA Channel 2
DMA module control 0DMACTL00122h
DMA module control 1DMACTL10124h
DMA interrupt vectorDMAIV0126h
DMA channel 0 controlDMA0CTL01D0h
DMA channel 0 source addressDMA0SA01D2h
DMA channel 0 destination addressDMA0DA01D6h
DMA channel 0 transfer sizeDMA0SZ01DAh
DMA channel 1 controlDMA1CTL01DCh
DMA channel 1 source addressDMA1SA01DEh
DMA channel 1 destination addressDMA1DA01E2h
DMA channel 1 transfer sizeDMA1SZ01E6h
DMA channel 2 controlDMA2CTL01E8h
DMA channel 2 source addressDMA2SA01EAh
DMA channel 2 destination addressDMA2DA01EEh
DMA channel 2 transfer sizeDMA2SZ01F2h
24
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
peripheral file map (continued)
SeealsoPeripheral
s
y
PERIPHERALS WITH WORD ACCESS (CONTINUED)
ADC12
See also Peripherals
With Byte Access
DAC12
Port PA
Port PB
Conversion memory 15ADC12MEM15015Eh
Conversion memory 14ADC12MEM14015Ch
Conversion memory 13ADC12MEM13015Ah
Conversion memory 12ADC12MEM120158h
Conversion memory 11ADC12MEM110156h
Conversion memory 10ADC12MEM100154h
Conversion memory 9ADC12MEM90152h
Conversion memory 8ADC12MEM80150h
Conversion memory 7ADC12MEM7014Eh
Conversion memory 6ADC12MEM6014Ch
Conversion memory 5ADC12MEM5014Ah
Conversion memory 4ADC12MEM40148h
Conversion memory 3ADC12MEM30146h
Conversion memory 2ADC12MEM20144h
Conversion memory 1ADC12MEM10142h
Conversion memory 0ADC12MEM00140h
Interrupt-vector-word registerADC12IV01A8h
Inerrupt-enable registerADC12IE01A6h
Inerrupt-flag registerADC12IFG01A4h
Control register 1ADC12CTL101A2h
Control register 0ADC12CTL001A0h
DAC12_1 dataDAC12_1DAT01CAh
DAC12_1 controlDAC12_1CTL01C2h
DAC12_0 dataDAC12_0DAT01C8h
DAC12_0 controlDAC12_0CTL01C0h
Port PA selectionPASEL03Eh
Port PA directionPAD I R03Ch
Port PA outputPA OUT03Ah
Port PA inputPAI N038h
Port PB selectionPBSEL00Eh
Port PB directionPBDIR00Ch
Port PB outputPBOUT00Ah
Port PB inputPBIN008h
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
25
MSP430xG461x
)
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS
OA2Operational Amplifier 2 control register 1
Operational Amplifier 2 control register 0
OA1Operational Amplifier 1 control register 1
Operational Amplifier 1 control register 0
OA0Operational Amplifier 0 control register 1
Operational Amplifier 0 control register 0
LCD_ALCD Voltage Control 1
LCD Voltage Control 0
LCD Voltage Port Control 1
LCD Voltage Port Control 0
LCD memory 20
:
LCD memory 16
LCD memory 15
:
LCD memory 1
LCD control and mode
ADC12
(Memory control
registers require byte
access
USART1
ADC memory-control register 15ADC12MCTL15 08Fh
ADC memory-control register 14ADC12MCTL14 08Eh
ADC memory-control register 13ADC12MCTL13 08Dh
ADC memory-control register 12ADC12MCTL12 08Ch
ADC memory-control register 11ADC12MCTL11 08Bh
ADC memory-control register 10ADC12MCTL10 08Ah
ADC memory-control register 9ADC12MCTL9089h
ADC memory-control register 8ADC12MCTL8088h
ADC memory-control register 7ADC12MCTL7087h
ADC memory-control register 6ADC12MCTL6086h
ADC memory-control register 5ADC12MCTL5085h
ADC memory-control register 4ADC12MCTL4084h
ADC memory-control register 3ADC12MCTL3083h
ADC memory-control register 2ADC12MCTL2082h
ADC memory-control register 1ADC12MCTL1081h
ADC memory-control register 0ADC12MCTL0080h
Transmit bufferU1TXBUF07Fh
Receive bufferU1RXBUF07Eh
Baud rateU1BR107Dh
Baud rateU1BR007Ch
Modulation controlU1MCTL07Bh
Receive controlU1RCTL07Ah
Transmit controlU1TCTL079h
USART controlU1CTL078h
OA2CTL1
OA2CTL0
OA1CTL1
OA1CTL0
OA0CTL1
OA0CTL0
LCDAVCTL1
LCDAVCTL0
LCDAPCTL1
LCDAPCTL0
LCDM20
:
LCDM16
LCDM15
:
LCDM1
LCDCTL
0C5h
0C4h
0C3h
0C2h
0C1h
0C0h
0AFh
0AEh
0ADh
0ACh
0A4h
:
0A0h
09Fh
:
091h
090h
26
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
peripheral file map (continued)
p
_
(
)
PERIPHERALS WITH BYTE ACCESS (CONTINUED)
USCI
Comparator_A
BrownOUT, SVSSVS control register (Reset by brownout signal) SVSCTL056h
FLL+Clock
RTC (Basic Timer 1)
USCI I2C Slave AddressUCBI2CSA011Ah
USCI I2C Own AddressUCBI2COA0118h
USCI Synchronous Transmit BufferUCBTXBUF06Fh
USCI Synchronous Receive BufferUCBRXBUF06Eh
USCI Synchronous StatusUCBSTAT06Dh
USCI I2C Interrupt EnableUCBI2CIE06Ch
USCI Synchronous Bit Rate 1UCBBR106Bh
USCI Synchronous Bit Rate 0UCBBR006Ah
USCI Synchronous Control 1UCBCTL1069h
USCI Synchronous Control 0UCBCTL0068h
USCI Transmit BufferUCATXBUF067h
USCI Receive BufferUCARXBUF066h
USCI StatusUCASTAT065h
USCI Modulation ControlUCAMCTL064h
USCI Baud Rate 1UCABR1063h
USCI Baud Rate 0UCABR0062h
USCI Control 1UCACTL1061h
USCI Control 0UCACTL0060h
USCI IrDA Receive ControlUCAIRRCTL05Fh
USCI IrDA Transmit ControlUCAIRTCTL05Eh
USCI LIN ControlUCAABCTL05Dh
Comparator_A port disableCAPD05Bh
Comparator_A control 2CACTL205Ah
Comparator_A control 1CACTL1059h
FLL+ Control 1FLL_CTL1054h
FLL+ Control 0FLL_CTL0053h
System clock frequency controlSCFQCTL052h
System clock frequency integratorSCFI1051h
System clock frequency integratorSCFI0050h
Real Time Clock Year High ByteRTCYEARH04Fh
Real Time Clock Year Low ByteRTCYEARL04Eh
Real Time Clock MonthRTCMON04Dh
Real Time Clock Day of MonthRTCDAY04Ch
Basic Timer1 Counter 2BTCNT2047h
Basic Timer1 Counter 1BTCNT1046h
Real Time Counter 4
(Real Time Clock Day of Week)
Real Time Counter 3
(Real Time Clock Hour)
Real Time Counter 2
(Real Time Clock Minute)
Real Time Counter 1
(Real Time Clock Second)
Real Time Clock ControlRTCCTL041h
Basic Timer1 ControlBTCTL040h
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
RTCNT4
(RTCDOW)
RTCNT3
(RTCHOUR)
RTCNT2
(RTCMIN)
RTCNT1
(RTCSEC)
045h
044h
043h
042h
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
27
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS (CONTINUED)
Port P10Port P10 selectionP10SEL00Fh
Port P10 directionP10DIR00Dh
Port P10 outputP10OUT00Bh
Port P10 inputP10IN009h
Port P9Port P9 selectionP9SEL00Eh
Port P9 directionP9DIR00Ch
Port P9 outputP9OUT00Ah
Port P9 inputP9IN008h
Port P8Port P8 selectionP8SEL03Fh
Port P8 directionP8DIR03Dh
Port P8 outputP8OUT03Bh
Port P8 inputP8IN039h
Port P7Port P7 selectionP7SEL03Eh
Port P7 directionP7DIR03Ch
Port P7 outputP7OUT03Ah
Port P7 inputP7IN038h
Port P6
Port P5
Port P4
Port P3
Port P2
Port P1
Port P6 selectionP6SEL037h
Port P6 directionP6DIR036h
Port P6 outputP6OUT035h
Port P6 inputP6IN034h
Port P5 selectionP5SEL033h
Port P5 directionP5DIR032h
Port P5 outputP5OUT031h
Port P5 inputP5IN030h
Port P4 selectionP4SEL01Fh
Port P4 directionP4DIR01Eh
Port P4 outputP4OUT01Dh
Port P4 inputP4IN01Ch
Port P3 selectionP3SEL01Bh
Port P3 directionP3DIR01Ah
Port P3 outputP3OUT019h
Port P3 inputP3IN018h
Port P2 selectionP2SEL02Eh
Port P2 interrupt enableP2IE02Dh
Port P2 interrupt -edge selectP2IES02Ch
Port P2 interrupt flagP2IFG02Bh
Port P2 directionP2DIR02Ah
Port P2 outputP2OUT029h
Port P2 inputP2IN028h
Port P1 selectionP1SEL026h
Port P1 interrupt enableP1IE025h
Port P1 interrupt -edge selectP1IES024h
Port P1 interrupt flagP1IFG023h
Port P1 directionP1DIR022h
Port P1 outputP1OUT021h
Port P1 inputP1IN020h
28
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
peripheral file map (continued)
p
PERIPHERALS WITH BYTE ACCESS (CONTINUED)
Special functions
SFR module enable 2ME2005h
SFR module enable 1ME1004h
SFR interrupt flag 2IFG2003h
SFR interrupt flag 1IFG1002h
SFR interrupt enable 2IE2001h
SFR interrupt enable 1IE1000h
MSP430xG461x
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
29
MSP430xG461x
(
2
)
kHz
f
(Sy
)
Processorfrequency(signalMCLK),
f
(System
)
MHz
MIXED SIGNAL MICROCONTROLLER
SLAS508G -- APRIL 2006 -- REVISED OCTOBER 2007
absolute maximum ratings over operating free-air temperature (unless otherwise noted)
Voltage range applied at VCCto V
Voltage range applied to any pin (see Note)--0.3 V to V
SS
†
--0.3 V to 4.1 V................................................
+0.3V...................................
CC
Diode current at any device terminal .±2mA......................................................
Storage temperature range, T
:Unprogrammed device--55°C to 150°C...........................
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only,and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTE: All voltages referenced to V
to the TDI/TCLK pin when blowing the JTAG fuse.
The JTAG fuse-blow voltage, VFB, is allowed to exceed the absolute maximum rating. The voltage is applied
SS.
recommended operating conditions
MINNOMMAXUNITS
Supply voltage during program execution (see Note 1),
V
(AVCC=DV
CC
Supply voltage during flash memory programming (see Note 1),
V
(AVCC=DV
CC
Supply voltage during program execution,
SVS enabled and PORON = 1 (see Note 1 and Note 2),
V
(AVCC=DV
CC
Supply voltage (see Note 1), VSS(AVSS=DV
Operating free-air temperature range, T
LFXT1 crystal frequency, f
seeNote
XT2 crystalfrequency,
Processor frequency (signal MCLK), f
NOTES: 1. It is recommended to power AVCCand DVCCfrom the s ame source. A maximum difference of 0.3 V between AVCCand DVCCcan
CC1/2=VCC
CC1/2=VCC
CC1/2=VCC
be tolerated during power up and operation.
2. The minimum operating s upply voltage is defined according to the trip point where POR is going active by decreasing the supply
voltage. POR is going inactive when the supply voltage is raised above the minimum supply voltage plus the hysteresis of the SVS
circuitry.
3. In LF mode, the LFXT1 oscillator requires a watch crystal. In XT1 mode, LFXT1 accepts a ceramic resonator or a crystal.