DBasic Timer With Real Time Clock Feature
DBrownout detector
DOn-Chip Comparator for Analog Signal
Compare Function or Slope A/D
D10-Bit 200-ksps Analog-to-Digital (A/D)
Converter With Internal Reference,
Sample-and-Hold, Autoscan, and Data
Transfer Controller
DSerial Onboard Programming,
No External Programming Voltage Needed
Programmable Code Protection by Security
Fuse
DBootstrap Loader
DOn-Chip Emulation Module
DFamily Members Include:
MSP430F4152: 16KB+256B Flash Memory
512B RAM
MSP430F4132: 8KB+256B Flash Memory
512B RAM
DAvailable in 64-Pin QFP Package and
48-Pin QFN Package (See Available
Options)
DFor Complete Module Descriptions, See
The MSP430x4xx Family User’s Guide,
Literature Number SLAU056
description
The Texas Instruments MSP430 family of ultralow-power microcontrollers consist 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 generator 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 MSP430F41x2 is a microcontroller configuration with two 16-bit timers, a basic timer with a real--time clock,
a 10-bit A/D converter, a versatile analog comparator, two universal serial communication interfaces, up to 48
I/O pins, and a liquid crystal display driver.
Typical applications for this device include analog and digital sensor systems, remote controls, thermostats,
digital timers, hand-held meters, etc.
This integrated circuit can be damaged by ESD. Texas Instrum ents 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.
Copyright 2011, Texas Instruments Incorporated
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
1
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
AVAILABLE OPTIONS
T
A
-- 4 0 Cto85C
†
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.
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:
DDebugging and Programming Interface
--MSP-FET430UIF (USB)
--MSP-FET430PIF (Parallel Port)
DDebugging and Programming Interface with Target Board
Spy-Bi-Wire test data input/output during programming and test
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
9
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
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,
areperformedasregister operationsin
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,
and constantgenerator, respectively. The
remainingregistersaregeneral-purpose
registers.
Peripherals are connected to the CPU using data,
address, and control buses and can be handled
with all instructions.
instruction set
The instruction set consists of 51 instructions with
three formats and seven address modes. Each
instruction can operate on word and byte data.
Table 1 shows examples of the three types of
instruction formats; Table 2 shows the address
modes.
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
--FLL+ loop control remains active
DLow-power mode 1 (LPM1)
--CPU is disabled
--ACLK and SMCLK remain active
--FLL+ loop control 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
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
11
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
interrupt vector addresses
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 (located at address 0xFFFE) contains 0xFFFF (e.g., flash is not programmed), the CPU goes
into LPM4 immediately after power-up.
INTERRUPT SOURCEINTERRUPT FLAGSYSTEM INTERRUPT
Power-Up
External Reset
Watchdog
PC Out--of --Range (see Note 4)
Flash Memory Access Violation
NOTES: 1. Multiple source flags
Flash Memory
NMI
Oscillator Fault
Timer_A5TA1CCR0 CCIFG0 (see Note 2)Maskable0xFFFA13
Timer_A5
Comparator_A+CAIFGMaskable0xFFF611
Watchdog Timer+WDTIFGMaskable0xFFF410
USCI_A0/B0 Receive
USCI_A0/B0 Transmit
ADC10ADC10IFG (see Note 2)Maskable0xFFEE7
Timer_A3TACCR0 CCIFG0 (see Note 2)Maskable0xFFEC6
Timer_A3
I/O Port P1 (Eight Flags)P1IFG.0 to P1IFG.7 (see Notes 1 and 2)Maskable0xFFE84
I/O Port P2 (Eight Flags)P2IFG.0 to P2IFG.7 (see Notes 1 and 2)Maskable0xFFE21
Basic Timer1/RTCBTIFGMaskable0xFFE00, lowest
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. Access and key violations, KEYV and ACCVIFG.
UCB0STAT UCALIFG, UCNACKIFG, UCSTTIFG,
NMIIFG (see Notes 1 and 3)
OFIFG (see Notes 1 and 3)
ACCVIFG (see Notes 1, 2, and 4)
TA1CCR1 to TACCR4 CCIFGs,
and TAIFG (see Notes 1 and 2)
UCA0RXIFG (see Note 1),
UCB0RXIFG (SPI mode), or
UCA0TXIFG (see Note 1),
UCB0TXIFG (SPI mode), or
UCB0RXIFG and UCB0TXIFG (I2C mode)
TACCR1 CCIFG1 and TACCR2 CCIFG2,
TAIFG (see Notes 1 and 2)
PORIFG
RSTIFG
WDTIFG
KEYV
(see Note 1)
UCSTPIFG (I2C mode)
(see Note 1)
(see Note 1)
Reset0xFFFE15, highest
(Non)maskable
(Non)maskable
(Non)maskable
Maskable0xFFF812
Maskable0xFFF29
Maskable0xFFF08
Maskable0xFFEA5
WORD
ADDRESS
0xFFFC14
0xFFE63
0xFFE42
PRIORITY
12
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
special function registers
Most interrupt and module-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.
interrupt enable 1 and 2
Address76543210
00h
WDTIEWatchdog timer interrupt enable. Inactive if watchdog mode is selected. Active if watchdog
timer is configured in interval timer mode.
OFIEOscillator fault enable
NMIIE(Non)maskable interrupt enable
ACCVIEFlash access violation interrupt enable
Address76543210
01h
BTIE
rw--0rw--0rw--0rw--0rw --0
ACCVIENMIIEOFIEWDTIE
rw--0rw--0rw--0rw --0
UCB0TXIE UCB0RXIEUCA0TXIEUCA0RXIE
UCA0RXIEUSCI_A0 receive interrupt enable
UCA0TXIEUSCI_A0 transmit interrupt enable
UCB0RXIEUSCI_B0 receive interrupt enable
UCB0TXIEUSCI_B0 transmit interrupt enable
BTIEBasic timer interrupt enable
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
13
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
interrupt flag register 1 and 2
Address76543210
02h
WDTIFGSet on watchdog timer overflow (in watchdog mode) or security key violation.
Reset on V
power-up or a reset condition at RST/NMI pin in reset mode.
CC
OFIFGFlag set on oscillator fault
RSTIFGExternal reset interrupt flag. Set on a reset condition at RST
on V
power-up.
CC
PORIFGPower-on interrupt flag. Set on V
NMIIFGSet via RST
Address76543210
03h
BTIFG
rw--0rw--1rw--0rw--1rw --0
/NMI-pin
NMIIFGRSTIFGPORIFGOFIFGWDTIFG
rw--0rw-- (0)rw--(1)rw--1rw--(0)
/NMI pin in reset mode. Reset
power--up.
CC
UCB0
TXIFG
UCB0
RXIFG
UCA0
TXIFG
UCA0
RXIFG
UCA0RXIFGUSCI_A0 receive interrupt flag
UCA0TXIFGUSCI_A0 transmit interrupt flag
UCB0RXIFGUSCI_B0 receive interrupt flag
UCB0TXIFGUSCI_B0 transmit interrupt flag
BTIFGBasic Timer1 interrupt flag
Legendrw:
rw-0,1:
rw-(0,1):
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
14
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
memory organization
MSP430F4152MSP430F4132
Memory
Main: interrupt vector
Main: code memory
Information memorySize
Boot memorySize
RAMSize512B
Peripherals16-bit
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. For complete description of the
features of the BSL and its implementation, see the MSP430 Memory Programming User’s Guide, literature
number SLAU265.
Size
Flash
Flash
Flash
ROM
8-bit
8-bit SFR
16KB
0FFFFh -- 0FFE0h
0FFFFh -- 0C000h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
03FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
8KB
0FFFFh -- 0FFE0h
0FFFFh -- 0E000h
256 Byte
010FFh -- 01000h
1KB
0FFFh -- 0C00h
512B
03FFh -- 0200h
01FFh -- 0100h
0FFh -- 010h
0Fh -- 00h
BSL FUNCTIONPM PACKAGE PINSRGZ PACKAGE PINS
Data transmit53 -- P1.037 -- P1.0
Data receive52 -- P1.136 -- P1.1
flash memory (Flash)
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 four segments of information memory (A to D) of
64 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 to D can be erased individually, or as a group with segments 0 to n.
Segments A to D are also called information memory.
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
15
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
peripherals
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 MSP430x4xx Family User’s Guide, literature number
SLAU056.
oscillator and system clock
The clock system in the MSP430F41x2 is supported by the FLL+ 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 an 8-MHz high-frequency crystal oscillator (XT1). The FLL+ clock module is designed to
meet the requirements of both low system cost and low power consumption. The FLL+ features a 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, a high-frequency crystal, or a very
low-power LF oscillator
DMain clock (MCLK), the system clock used by the CPU
DSub-Main clock (SMCLK), the sub-system 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 seven 8-bit I/O ports implemented—ports P1 through P7. Port P7 is a 7-bit I/O port.
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.
CC
.
may not
CC
16
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F41x2
DEVICEINPUT
MODUL
E
MODUL
E
A
TimerNA
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
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.
Basic Timer1 and Real-Time Clock (RTC)
The Basic Timer1 has two independent 8-bit timers which can be cascaded to form a 16-bit timer/counter. Both
timers can be read and written by software. The Basic Timer1 is extended to provide an integrated real-time
clock (RTC). An internal calendar compensates for month with less than 31 days and includes leap year
correction.
LCD_A driver 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 via an integrated charge pump.
Furthermore it is possible to control the level of the LCD voltage and thus contrast in software.
Timer0_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_A5 is a 16-bit timer/counter with five capture/compare registers. Timer_A5 can support multiple
capture/compares, PWM outputs, and interval timing. Timer_A5 also has extensive interrupt capabilities.
Interrupts may be generated from the counter on overflow conditions and from each of the capture/compare
registers.
TIMER_A5 SIGNAL CONNECTIONS
INPUT PIN NUMBER
PMRGZ
32 -- P3.3--TA1CLKTA C LK
32 -- P3.3--TA1CLKTACLK
49 -- P1.4--TA1 . 0CCI0A49 -- P1.4--
50 -- P1.3--TA1 . 0CCI0B
44 -- P5.0--TA1 . 1CCI1A44 -- P5.0--
35 -- P3.0--TA1 . 2CCI2A35 -- P3.0--
34 -- P3.1--TA1 . 3CCI3A34 -- P3.1--
61 -- P7.545 -- P7.5TA1.3CCI3B
33 -- P3.2--TA1 . 4CCI4A33 -- P3.2--
60 -- P7.444 -- P7.4TA1.4CCI4B
DEVICE INPUTMODULEMODULE
SIGNAL
ACLKACLK
SMCLKSMCLK
DV
SS
DV
CC
CAOUT (internal)CCI1B
DV
SS
DV
CC
ACLK (internal)CCI2B
DV
SS
DV
CC
DV
SS
DV
CC
DV
SS
DV
CC
INPUT NAME
GND
V
CC
GND
V
CC
GND
V
CC
GND
V
CC
GND
V
CC
BLOCK
TimerN
CCR0TA0
CCR1TA1
CCR2TA2
CCR3TA3
CCR4TA4
MODULE
OUTPUT
SIGNAL
OUTPUT PIN NUMBER
PMRGZ
ADC10 (internal)ADC10 (internal)
27 -- P2.023 -- P2.0
ADC10 (internal)ADC10 (internal)
26 -- P2.122 -- P2.1
63 -- P6.047 -- P6.0
25 -- P2.221 -- P2.2
61 -- P7.545 -- P7.5
24 -- P2.320 -- P2.3
60 -- P7.444 -- P7.4
universal serial communication interface (USCI) (USCI_A0, USCI_B0)
The USCI module is 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 (LIN), and IrDA.
USCI_A0 provides support for SPI (3 or 4 pin), UART, enhanced UART, and IrDA.
USCI_B0 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.
18
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F41x2
Timer0_A3Capture/compareregister2
TA0CCR2
0176h
Capture/compareregister
1
TA0CCR1
0174h
p/p
g
_
g
p
p
p
A
Capture/compareregister
2
TA1CCR2
0196h
Timer_Aregister
TA1
R
0190h
p
p
Capt
l
2
TA1CCTL
2
0186h
p/p
_
A
FlashFlashcontrol
3
FCTL3
012Ch
Flashcontrol2
FCTL2
012Ah
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
ADC10
The ADC10 module supports fast 10-bit analog-to-digital conversions. The module implements a 10-bit SAR
core, sample select control, reference generator, and data transfer controller (DTC) for automatic conversion
result handling, allowing ADC samples to be converted and stored without any CPU intervention.
peripheral file map
PERIPHERALS WITH W ORD ACCESS
WatchdogWatchdog timer controlWDTCTL0120h
Timer0_A3Capture/compare register 2TA0CCR20176h
Capture/compare register 1
Capture/compare register 0
Timer_A registerTA0 R0170h
Capture/compare control 2TA0CCTL20166h
Capture/compare control 1TA0CCTL10164h
Capture/compare control 0TA0CCTL00162h
Timer_A controlTA0 C T L0160h
Timer_A interrupt vectorTA0 I V012Eh
Timer1_A5Capture/compare register 4
Capture/compare register 3
Ca
ture/compare register 2
Capture/compare register 1
Capture/compare register 0
TA0CCR1
TA0CCR0
TA1CCR4
TA1CCR3
T
1CCR2
TA1CCR1
TA1CCR0
0174h
0172h
019A
0198
0196h
0194h
0192h
Capture/compare control 4
Capture/compare control 3
ure/compare contro
Capture/compare control 1
Capture/compare control 0
Timer
Timer_A interrupt vector
FlashFlash control 3FCTL3012Ch
Flash control 2
Flash control 1
ADC10ADC data transfer start address
ADC memory
ADC control register 1
ADC control register 0
ADC analog enable 0
ADC analog enable 1
ADC data transfer control register 1
ADC data transfer control register 0
control
TA1CCTL4
TA1CCTL3
TA1CCTL1
TA1CCTL0
TA1CTL
TA1 I V
FCTL2
FCTL1
ADC10SA
ADC10MEM
ADC10CTL1
ADC10CTL0
ADC10AE0
ADC10AE1
ADC10DTC1
ADC10DTC0
018A
0188
0184h
0182h
0180h
011Eh
012Ah
0128h
01BCh
01B4h
01B2h
01B0h
004Ah
004Bh
0049h
0048h
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
19
MSP430F41x2
/
p
_
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS
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
USCI A0/B0
Comparator_A+
Brownout, SVSSVS control register (Reset by brownout signal) SVSCTL056h
FLL+ ClockFLL+ Control 2
USCI A0 auto baud rate controlUCA0ABCTL0x005D
USCI A0 transmit bufferUCA0TXBUF0x0067
USCI A0 receive bufferUCA0RXBUF0x0066
USCI A0 statusUCA0STAT0x0065
USCI A0 modulation controlUCA0MCTL0x0064
USCI A0 baud rate control 1UCA0BR10x0063
USCI A0 baud rate control 0UCA0BR00x0062
USCI A0 control 1UCA0CTL10x0061
USCI A0 control 0UCA0CTL00x0060
USCI A0 IrDA receive controlUCA0IRRCTL0x005F
USCI A0 IrDA transmit controlUCA0IRTCTL0x005E
USCI B0 transmit bufferUCB0TXBUF0x006F
USCI B0 receive bufferUCB0RXBUF0x006E
USCI B0 statusUCB0STAT0x006D
USCI B0 I2C Interrupt enableUCB0CIE0x006C
USCI B0 baud rate control 1UCB0BR10x006B
USCI B0 baud rate control 0UCB0BR00x006A
USCI B0 control 1UCB0CTL10x0069
USCI B0 control 0UCB0CTL00x0068
USCI B0 I2C slave addressUCB0SA0x011A
USCI B0 I2C own addressUCB0OA0x0118
Comparator_A port disableCAPD05Bh
Comparator_A control2CACTL205Ah
Comparator_A control1CACTL1059h
FLL+ Control 1
FLL+ Control 0FLL_CTL0053h
System clock frequency controlSCFQCTL052h
System clock frequency integratorSCFI1051h
System clock frequency integratorSCFI0050h
LCDAVCTL1
LCDAVCTL0
LCDAPCTL1
LCDAPCTL0
LCDM20
:
LCDM16
LCDM15
:
LCDM1
LCDACTL
FLL_CTL2
FLL_CTL1
0AFh
0AEh
0ADh
0ACh
0A4h
:
0A0h
09Fh
:
091h
090h
055h
054h
20
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
peripheral file map (continued)
RTC
(Basic Timer1)
Port P7
Port P6
Port P5
Port P4
Port P3
Port P2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
PERIPHERALS WITH BYTE ACCESS
Real Time Clock Year High Byte
Real Time Clock Year Low Byte
Real Time Clock Month
Real Time Clock Day of Month
Basic Timer1 Counter
Basic Timer1 Counter
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 Control
Basic Timer1 Control
Port P7 selectionP7SEL03Bh
Port P7 directionP7DIR03Ah
Port P7 outputP7OUT039h
Port P7 inputP7IN038h
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
RTCYEARH
RTCYEARL
RTCMON
RTCDAY
BTCNT2
BTCNT1
RTCNT4
(RTCDOW)
RTCNT3
(RTCHOUR)
RTCNT2
(RTCMIN)
RTCNT1
(RTCSEC)
RTCCTL
BTCTL
04Fh
04Eh
04Dh
04Ch
047h
046h
045h
044h
043h
042h
041h
040h
MSP430F41x2
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
21
MSP430F41x2
S
l
f
t
i
SFR
int
tflag2IFG2003h
p
g
SFRinterruptenable2IE2001hS
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
peripheral file map (continued)
PERIPHERALS WITH BYTE ACCESS (CONTINUED)
Port P1
pecia
unc
Port P1 selection registerP1SEL026h
Port P1 interrupt enableP1IE025h
Port P1 interrupt -edge selectP1IES024h
Port P1 interrupt flagP1IFG023h
Port P1 directionP1DIR022h
Port P1 outputP1OUT021h
Port P1 inputP1IN020h
ons
errup
SFR interrupt flag 1IFG1002h
SFR interrupt enable 2IE2001h
FR interrupt enable 1IE1000h
22
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
MSP430F41x2
(seeNote1
)
f
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
absolute maximum ratings over operating free-air temperature (unless otherwise noted)
Voltage applied at VCCto V
Voltage applied to any pin (see Note 1)--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, T
:Unprogrammed device--55C to 150C................................
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 1: All voltages referenced to V
applied to the TEST pin when blowing the JTAG fuse.
The JTAG fuse-blow voltage, VFB, is allowed to exceed the absolute maximum rating. The voltage is
SS.
recommended operating conditions
MINNOMMAXUNIT
Supply voltage during program execution, VCC(AVCC=DVCC=VCC)1.83.6V
Supply voltage during flash memory programming, VCC(AVCC=DVCC=VCC)2.23.6V
Supply voltage, VSS(AVSS=DVSS=VSS)00V
Operating free-air temperature range, T
LFXT1 crystal frequency, f
(see Note 1)
Processorfrequency (signal MCLK),
NOTES: 1. In LF mode, the LFXT1 oscillator requires a watch crystal. In XT1 mode, LFXT1 accepts a ceramic resonator or a crystal.
(LFXT1)
A
(System)
LF selected,
XTS_FLL = 0
XT1 selected,
XTS_FLL = 1
XT1 selected,
XTS_FLL = 1
Watch crystal32.768kHz
Ceramic resonator0.456MHz
Crystal16MHz
VCC=1.8Vdc4.15
VCC=3.0Vdc8
-- 4 085C
MHz
f
System
8 MHz
4.15 MHz
(MHz)
Supply voltage range ,
MSP430F41x2, during
program execution
1.8
Supply Voltage - V
2.23.03.6
Supply voltage range , MSP430F41x2,
during flash memory programming
Figure 1. Frequency vs Supply Voltage
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
23
MSP430F41x2
f=f
f
(MCLK
)
=
f
(SMCLK)
=1MHz
A
A
f
A
Low-powermode3(LPM3
)
V
f
(MCLK
)f(SMCLK)
0MHz,
A
,
ALCD_Aenabled,LCDCPEN=0
(
,
LCD(ACLK)
/
)
V
Low-powermode3(LPM3
)
f
(MCLK
)f(SMCLK)
0MHz,
2.2
V
A
,
ALCD_Aenabled,LCDCPEN=0
(
,
LCD(ACLK)
/
)
3
V
V
f
f
A
f
0Hz,SCG
0=1(seeNote2)
V
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
electrical characteristics over recommended operating free-air temperature (unless otherwise
noted)
supply current into AVCC+DVCCexcluding external current
PARAMETERT
Active mode (see Note 1),
I
(AM)
f
(ACLK)
= 32768 Hz,
=1MHz,
XTS=0, SELM=(0,1)
I
(LPM0)
Low-power mode 0 (LPM0) (see Note 1)--40Cto85C
Low-power mode 2 (LPM2),
I
(LPM2)
(MCLK) =f(SMCLK) = 0 MHz,
f(ACLK) = 32768 Hz, SCG0 = 0 (see Note 2)
-
I
(LPM3)
f
(MCLK)=f(SMCLK)
f
= 32768 Hz, SCG0 = 1,
(ACLK)
Basic Timer1 enabled ,ACLK selected,
LCD
enabled,LCDCPEN = 0
(static mode, f
=0MHz,
LCD=f(ACLK)
(see Notes 2 and 3)
-
I
(LPM3)
f
(MCLK)=f(SMCLK)
f
= 32768 Hz, SCG0 = 1,
(ACLK)
Basic Timer1 enabled ,ACLK selected,
LCD
enabled,LCDCPEN = 0
(4-mux mode, f
=0MHz,
LCD=f(ACLK)
(see Notes 2 and 3)
Low-power mode 4 (LPM4),
I
(LPM4)
(MCLK)
(ACLK)
=0MHz,
=
=
(SMCLK)
=
NOTES: 1. Timer_Aisclockedbyf
2. All inputs are tied to 0 V or to V
3. The LPM3 currents are characterized with a Micro Crystal CC4V--T1A (9 pF) crystal and OSCCAPx = 01h.
,
,
,
/32)
,
,
/32)
=0MHz,
(DCOCLK)
A
-- 4 0 Cto85C
-- 4 0 Cto85C
-- 4 0 C0.851.4
25C
60C
85C2.153.0
-- 4 0 C1.01.5
25C
60C
85C2.53.5
-- 4 0 C1.83.3
25C
85C
-- 4 0 C2.13.6
25C
85C
-- 4 0 C0.10.5
25C
60C
85C1.12.5
-- 4 0 C0.10.8
25C
60C
85C1.93.5
= 1 MHz. All inputs are tied to 0 V or to VCC. Outputs do not source or sink any current.
. Outputs do not source or sink any current.
CC
V
CC
MINTYPMAXUNIT
2.2 V220295
3V350398
2.2 V3360
3V5092
2.2 V613
3V715
2.2
3
2.2 V
0.901.2
1.151.4
1.11.5
1.41.9
2.13.2
3.65.0
3V
2.33.6
4.15.5
2.2
3
0.10.5
0.350.9
0.10.8
0.81.2
24
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
typical characteristics -- LPM4 current
ILPM4 -- Low-- power mode current -- uA
ILPM4 -- Low-- power mode current --
3.0
2.5
2.0
1.5
1.0
0.5
MSP430F41x2
MIXED SIGNAL MICROCONTROLLER
SLAS648E -- APRIL 2009 -- REVISED MARCH 2011
Vcc = 3.6V
Vcc = 3.0V
Vcc = 2.2V
0.0
Figure 2. I
Vcc = 1.8V
--40.0 --20.00.020.040.060.080.0 100.0
TA-- Temperature -- C
TA-- Temperature -- C
-- LPM4 Current vs Temperature
LPM4
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
25
Loading...
+ 58 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.