Texas Instruments MSP430F42 series Instruction Manual
Texas Instruments MSP430F42 series Instruction Manual

Texas Instruments MSP430F42 series Instruction Manual

Mixed signal microcontroller

Advertisement

Quick Links

D
Low Supply-Voltage Range, 1.8 V to 3.6 V
D
Ultralow-Power Consumption:
− Active Mode: 400 μA at 1 MHz, 3.0 V
− Standby Mode: 1.6 μA
− Off Mode (RAM Retention): 0.1 μA
D
Five Power-Saving Modes
D
Wake-Up From Standby Mode in Less
Than 6 μs
D
Frequency-Locked Loop, FLL+
D
16-Bit RISC Architecture, 125-ns
Instruction Cycle Time
D
Three Independent 16-bit Sigma-Delta A/D
Converters With Differential PGA Inputs
D
16-Bit Timer_A With Three
Capture/Compare Registers
D
Integrated LCD Driver for 128 Segments
D
Serial Communication Interface (USART),
Asynchronous UART or Synchronous SPI
Selectable by Software
D
Brownout Detector
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 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 MSP430F42x series are microcontroller configurations with three independent 16-bit sigma-delta A/D
converters, each with an integrated differential programmable gain amplifier input stage. Also included is a
built-in 16-bit timer, 128 LCD segment drive capability, hardware multiplier, and 14 I/O pins.
Typical applications include high resolution applications such as handheld metering equipment, weigh scales,
and energy meters.
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.
D
Supply Voltage Supervisor/Monitor With
Programmable Level Detection
D
Serial Onboard Programming,
No External Programming Voltage Needed
Programmable Code Protection by Security
Fuse
D
Bootstrap Loader in Flash Devices
D
Family Members Include:
− MSP430F423:
− MSP430F425:
− MSP430F427:
D
Available in 64-Pin Quad Flat Pack (QFP)
D
For Complete Module Descriptions, Refer
to the MSP430x4xx Family User's Guide,
Literature Number SLAU056
POST OFFICE BOX 655303
DALLAS, TEXAS 75265
MIXED SIGNAL MICROCONTROLLER
SLAS421A − APRIL 2004 − REVISED JUNE 2007
8KB + 256B Flash Memory,
256B RAM
16KB + 256B Flash Memory,
512B RAM
32KB + 256B Flash Memory,
1KB RAM
Copyright © 2004−2007 Texas Instruments Incorporated
MSP430F42x
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MSP430F42 series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Texas Instruments MSP430F42 series

  • Page 1 Typical applications include high resolution applications such as handheld metering equipment, weigh scales, and energy meters. 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.
  • Page 2 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 AVAILABLE OPTIONS PACKAGED DEVICES PLASTIC 64-PIN QFP (PM) MSP430F423IPM −40°C to 85°C MSP430F425IPM MSP430F427IPM pin designation{ 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 P1.5/TACLK/ACLK/S28 P1.6/SIMO0/S27 A0.0+...
  • Page 3: Functional Block Diagram

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 functional block diagram XOUT ACLK Oscillators Flash Timer_A3 Port 1 Port 2 USART0 FLL+ SMCLK 32KB 3 CC Reg 8 I/O 6 I/O UART or 16KB 512B Interrupt Interrupt MCLK 256B...
  • Page 4 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 MSP430F42x Terminal Functions TERMINAL DESCRIPTION DESCRIPTION NAME Digital supply voltage, positive terminal. A0.0+ Internal connection to SD16 Channel 0, input 0 +. (see Note 1) A0.0− Internal connection to SD16 Channel 0, input 0 −. (see Note 1) A1.0+ Internal connection to SD16 Channel 1, input 0 +.
  • Page 5 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 MSP430F42x Terminal Functions (Continued) TERMINAL DESCRIPTION NAME Input port of third most positive analog LCD level (V4 or V3) Input port of second most positive analog LCD level (V2) Output port of most positive analog LCD level (V1) General-purpose digital I/O / external clock input-USART0/UART or SPI mode, clock output—USART0/SPI P2.1/UCLK0/S24...
  • Page 6: Short-Form Description

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 short-form description The MSP430 CPU has a 16-bit RISC architecture Program Counter PC/R0 that is highly transparent to the application. All Stack Pointer SP/R1 operations, other than program-flow instructions, performed register operations...
  • Page 7 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 operating 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.
  • Page 8 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 interrupt vector addresses The interrupt vectors and the power-up starting address are located in the address range of 0FFFFh−0FFE0h. The vector contains the 16-bit address of the appropriate interrupt-handler instruction sequence. INTERRUPT SOURCE INTERRUPT FLAG SYSTEM INTERRUPT...
  • Page 9: Special Function Registers

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 special function registers Most interrupt and module enable bits are collected into the lowest address space. Special function register bits that are not allocated to a functional purpose are not physically present in the device. Simple software access is provided with this arrangement.
  • Page 10: Memory Organization

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 module enable registers 1 and 2 Address UTXE0 URXE0 USPIE0 rw–0 rw–0 URXE0: USART0: UART mode receive enable UTXE0: USART0: UART mode transmit enable USPIE0: USART0: SPI mode transmit and receive enable Address Legend: rw−0,1: Bit Can Be Read and Written.
  • Page 11: Flash Memory

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 flash memory The flash memory can be programmed via the JTAG port, the bootstrap loader, or in-system by the CPU. The CPU can perform single-byte and single-word writes to the flash memory. Features of the flash memory include: Flash memory has n segments of main memory and two segments of information memory (A and B) of 128 bytes each.
  • Page 12: Oscillator And System Clock

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 peripherals Peripherals are connected to the CPU through data, address, and control busses and can be handled using all instructions. For complete module descriptions, see the MSP430x4xx Family User’s Guide, TI literature number SLAU056.
  • Page 13: Wdt+ Watchdog Timer

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 WDT+ watchdog timer The primary function of the watchdog timer (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.
  • Page 14: Peripheral File Map

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 peripheral file map PERIPHERALS WITH WORD ACCESS Watchdog Watchdog Timer control WDTCTL 0120h Timer_A3 Timer_A interrupt vector TAIV 012Eh Timer_A control TACTL 0160h Capture/compare control 0 TACCTL0 0162h Capture/compare control 1 TACCTL1 0164h...
  • Page 15 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 peripheral file map (continued) PERIPHERALS WITH BYTE ACCESS SD16 Channel 0 Input Control SD16INCTL0 0B0h (see also: Peripherals Channel 1 Input Control SD16INCTL1 0B1h with Word Access) with Word Access) Channel 2 Input Control SD16INCTL2 0B2h...
  • Page 16 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 peripheral file map (continued) PERIPHERALS WITH BYTE ACCESS (CONTINUED) Port P2 Port P2 selection P2SEL 02Eh Port P2 interrupt enable P2IE 02Dh Port P2 interrupt-edge select P2IES 02Ch Port P2 interrupt flag P2IFG 02Bh...
  • Page 17: Absolute Maximum Ratings

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 † absolute maximum ratings Voltage applied at V to V ........... . −0.3 V to + 4.1 V Voltage applied to any pin (see Note 1) .
  • Page 18 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) supply current into AV + DV excluding external current (see Note 1) PARAMETER TEST CONDITIONS UNIT Active mode, = 1 MHz, (MCLK) (SMCLK)
  • Page 19 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) Schmitt-trigger inputs − Ports P1 and P2; RST/NMI; JTAG: TCK, TMS, TDI/TCLK, TDO/TDI PARAMETER TEST CONDITIONS UNIT Positive-going input threshold voltage = 3 V 1.98...
  • Page 20 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) outputs − Ports P1 and P2 (continued) TYPICAL LOW-LEVEL OUTPUT CURRENT TYPICAL LOW-LEVEL OUTPUT CURRENT LOW-LEVEL OUTPUT VOLTAGE LOW-LEVEL OUTPUT VOLTAGE = 2.2 V = 3 V...
  • Page 21 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) wake-up LPM3 PARAMETER TEST CONDITIONS UNIT f = 1 MHz μs μs f = 2 MHz Delay time Delay time = 3 V d(LPM3)
  • Page 22 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) hys(B_IT−) (B_IT−) CC(start) d(BOR) Figure 6. POR/Brownout Reset (BOR) vs Supply Voltage = 3 V Typical Conditions CC(drop) 0.001 1000...
  • Page 23: Test Conditions

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) SVS (supply voltage supervisor/monitor) (see Note 1) PARAMETER TEST CONDITIONS UNIT /dt > 30 V/ms (see Figure 9) μs μs (SVSR)4...
  • Page 24 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) Software Sets VLD>0: SVS is Active V CC hys(SVS_IT−) (SVS_IT−) V (SVSstart) hys(B_IT−) V (B_IT−) V CC(start) Brownout Brownout Region...
  • Page 25 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) PARAMETER TEST CONDITIONS UNIT =01Eh, FN_8=FN_4=FN_3=FN_2=0, D = 2; DCOPLUS= 0, (DCO) (DCOCLK) = 32.768 kHz Crystal FN_8=FN_4=FN_3=FN_2=0 ;...
  • Page 26 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) Î Î Î Î Î Î Î Î Î Î Î Î Î 1.17 Î Î Î Î Î Î Î Î Î Î Î Î Î Î...
  • Page 27 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) crystal oscillator, LFXT1 oscillator (see Notes 1 and 2) PARAMETER TEST CONDITIONS UNIT OSCCAPx = 0h OSCCAPx = 1h Integrated input capacitance Integrated input capacitance (see Note 4)
  • Page 28 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) SD16, power supply and recommended operating conditions PARAMETER TEST CONDITIONS UNIT Analog supply = DV voltage = DV = 0V GAIN: 1, 2 SD16LP = 0,...
  • Page 29 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) SD16, analog performance (f = 1MHz, SD16OSRx = 256, SD16REFON = 1) SD16 PARAMETER TEST CONDITIONS UNIT SD16GAINx = 1,Signal Amplitude = 500mV 83.5 SD16GAINx = 2,Signal Amplitude = 250mV...
  • Page 30 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) SD16, built-in voltage reference PARAMETER TEST CONDITIONS UNIT Internal reference SD16REFON = 1, SD16VMIDON = 0 1.14 1.20 1.26 voltage...
  • Page 31 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 electrical characteristics over recommended operating free-air temperature (unless otherwise noted) (continued) Flash Memory TEST PARAMETER UNIT CONDITIONS CC(PGM/ Program and Erase supply voltage ERASE) Flash Timing Generator frequency Supply current from DV during program 2.7 V/ 3.6 V...
  • Page 32: Application Information

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 APPLICATION INFORMATION input/output schematic Port P1, P1.0 to P1.1, input/output with Schmitt-trigger Pad Logic CAPD.x P1SEL.x 0: Input P1DIR.x 1: Output Direction Control From Module P1OUT.x Module X OUT P1.0/TA0 keeper P1.1/TA0/MCLK...
  • Page 33 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 APPLICATION INFORMATION input/output schematic (continued) Port P1, P1.2 to P1.7, input/output with Schmitt-trigger Pad Logic Port/LCD Segment xx DVSS P1SEL.x 0: Input P1DIR.x 1: Output Direction Control From Module P1OUT.x Module X OUT keeper...
  • Page 34 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 APPLICATION INFORMATION input/output schematic (continued) port P2, P2.0 to P2.1, input/output with Schmitt-trigger 0: Port active 1: Segment xx function active Pad Logic Port/LCD Segment xx P2SEL.x 0: Input P2DIR.x 1: Output Direction Control...
  • Page 35 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 APPLICATION INFORMATION input/output schematic (continued) port P2, P2.2 to P2.5, input/output with Schmitt-trigger To BrownOut/SVS for P2.3/SVSIN Pad Logic DVSS DVSS CAPD.x P2SEL.x 0: Input P2DIR.x 1: Output Direction Control From Module P2OUT.x...
  • Page 36 MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 APPLICATION INFORMATION input/output schematic (continued) Port P2, unbonded GPIOs P2.6 and P2.7 P2SEL.x 0: Input P2DIR.x 1: Output Direction Control From Module P2OUT.x Module X OUT P2IN.x Node Is Reset With PUC Bus Keeper Module X IN P2IRQ.x...
  • Page 37: Jtag Pins Tms, Tck, Tdi/Tclk, Tdo/Tdi, Input/Output With Schmitt-Trigger Or Output

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 APPLICATION INFORMATION JTAG pins TMS, TCK, TDI/TCLK, TDO/TDI, input/output with Schmitt-trigger or output Controlled by JTAG Controlled by JTAG TDO/TDI JTAG Controlled DV CC by JTAG Burn and Test Fuse TDI/TCLK Test...
  • Page 38: Jtag Fuse Check Mode

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 APPLICATION INFORMATION JTAG fuse check mode MSP430 devices that have the fuse on the TDI/TCLK terminal have a fuse check mode that tests the continuity of the fuse the first time the JTAG port is accessed after a power-on reset (POR). When activated, a fuse check current, I , of 1.8 mA at 3 V can flow from the TDI/TCLK pin to ground if the fuse is not burned.
  • Page 39: Data Sheet Revision History

    MSP430F42x MIXED SIGNAL MICROCONTROLLER SLAS421A − APRIL 2004 − REVISED JUNE 2007 Data Sheet Revision History Literature Summary Number SLAS421 Production datasheet release Updated functional block diagram (page 3) Clarified test conditions in recommended operating conditions table (page 17) Changed “Supply voltage during program execution; SD16 disabled, SVS enabled, and PORON = 1” MIN value from 2.2 V to 2.0 V (page 17) Clarified test conditions for I in supply current into AV...
  • Page 40: Packaging Information

    PACKAGE OPTION ADDENDUM www.ti.com 15-Nov-2006 PACKAGING INFORMATION Orderable Device Status Package Package Pins Package Eco Plan Lead/Ball Finish MSL Peak Temp Type Drawing MSP430F423IPM ACTIVE LQFP Green (RoHS & CU NIPDAU Level-3-260C-168 HR no Sb/Br) MSP430F423IPMR ACTIVE LQFP 1000 Green (RoHS & CU NIPDAU Level-3-260C-168 HR no Sb/Br)
  • Page 41: Mechanical Data

    MECHANICAL DATA MTQF008A – JANUARY 1995 – REVISED DECEMBER 1996 PM (S-PQFP-G64) PLASTIC QUAD FLATPACK 0,27 0,50 0,08 0,17 0,13 NOM 7,50 TYP Gage Plane 10,20 9,80 0,25 12,20 0,05 MIN 0 – 7 11,80 1,45 0,75 1,35 0,45 Seating Plane 1,60 MAX 0,08 4040152 / C 11/96...
  • Page 42: Important Notice

    TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products...

Table of Contents