Precision Analog Microcontroller ARM7TDMI MCU with 12-Bit ADC and DDS DAC ADuC7128/ADuC7129 FEATURES In-circuit download, JTAG-based debug Software triggered in-circuit reprogrammability Analog I/O On-chip peripherals Multichannel, 12-bit, 1 MSPS ADC 2 2 UART, 2 I C and SPI serial I/O Up to 14 analog-to-digital converter (ADC) channels Up to 40-pin GPIO port Fully differential and single-ended modes 5 general-purpose timers 0 to V analog input range REF Wake-up and watchdog timers (WDT) 10-bit digital-to-analog converter (DAC) Power supply monitor 32-bit 21 MHz direct digital synthesis (DDS) 16-bit PWM generator Current-to-voltage (I/V) conversion Quadrature encoder Integrated second-order low-pass filter (LPF) Programmable logic array (PLA) DDS input to DAC Power 100 line driver Specified for 3 V operation On-chip voltage reference Active mode On-chip temperature sensor (3C) 11 mA ( 5.22 MHz) Voltage comparator 45 mA ( 41.78 MHz) Microcontroller Packages and temperature range ARM7TDMI core, 16-/32-bit RISC architecture 64-lead 9 mm 9 mm LFCSP package, 40C to 125C JTAG port supports code download and debug 64-lead LQFP, 40C to +125C External watch crystal/clock source 80-lead LQFP, 40C to +125C 41.78 MHz PLL with 8-way programmable divider Tools Optional trimmed on-chip oscillator Low cost QuickStart development system Memory Full third-party support 126 kB Flash/EE memory, 8 kB SRAM FUNCTIONAL BLOCK DIAGRAM 12-BIT SAR ADC0 T/H MUX ADC 1MSPS VDAC OUT TEMP LD1TX 10-BIT DDS I/VI/V SENSOR IOUT DAC LPF LD2TX CMP0 + BAND GAP CMP1 REFERENCE CMP OUT ADuC7129 V REF PWM1 ARM7TDMI-BASED MCU PWM2 WITH ADDITIONAL PERIPHERALS PWM3 PWM 5 GEN PURPOSE 2 kBYTES PWM4 TIMERS RST POR 62 kBYTES 64 kBYTES 8192 BYTES PWM5 WAKE-UP/ FLASH/EE FLASH/EE SRAM PWM6 XCLKI RTC TIMER (31k (32k (2k OSC/PLL 16 BITS) 16 BITS) 32 BITS) XCLKO S1 INTERRUPT QUAD XCLK CONTROLLER ENCODER S2 GPIO PSM 2 JTAG PLA SPI UART0 UART1 I C CONTROL JTAG P0.0 P0.7 P1.0 P1.7 P2.0 P2.7 P3.0 P3.3 Figure 1. Rev. 0 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. rights of third parties that may result from its use. Specifications subject to change without notice. No Tel: 781.329.4700 www.analog.com license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Fax: 781.461.3113 2007 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. GND REF AGND AV DD IOGND IOV DD IOGND IOV DD DGND LV DD DACGND DACV DD 06020-001ADuC7128/ADuC7129 TABLE OF CONTENTS Features .............................................................................................. 1 Execution Time from SRAM and FLASH/EE........................ 43 Functional Block Diagram .............................................................. 1 Reset and Remap ........................................................................ 44 Revision History ............................................................................... 2 Other Analog Peripherals.............................................................. 45 General Description ......................................................................... 3 DAC.............................................................................................. 45 Specifications..................................................................................... 4 DDS .............................................................................................. 46 Timing Specifications .................................................................. 8 Power Supply Monitor............................................................... 47 Absolute Maximum Ratings.......................................................... 15 Comparator................................................................................. 47 ESD Caution................................................................................ 15 Oscillator and PLLPower Control........................................ 49 Pin Configuration and Function Descriptions........................... 16 Digital Peripherals.......................................................................... 51 Typical Performance Characteristics ........................................... 21 PWM General Overview........................................................... 51 Terminology .................................................................................... 24 PWM Convert Start Control .................................................... 52 ADC Specifications .................................................................... 24 General-Purpose I/O ................................................................. 55 DAC Specifications..................................................................... 24 Serial Port Mux........................................................................... 57 Overview of the ARM7TDMI Core............................................. 25 UART Serial Interface................................................................ 57 Thumb Mode (T)........................................................................ 25 Serial Peripheral Interface......................................................... 63 2 Long Multiply (M)...................................................................... 25 I C-Compatible Interfaces......................................................... 65 2 EmbeddedICE (I) ....................................................................... 25 I C Registers ................................................................................ 65 Exceptions ................................................................................... 25 Programmable Logic Array (PLA)........................................... 69 ARM Registers ............................................................................ 25 Processor Reference Peripherals................................................... 72 Interrupt Latency........................................................................ 26 Interrupt System......................................................................... 72 Memory Organization ................................................................... 27 Timers .......................................................................................... 73 Flash/EE Memory....................................................................... 27 Timer0Lifetime Timer........................................................... 73 SRAM........................................................................................... 27 Timer1General-Purpose Timer ........................................... 75 Memory Mapped Registers ....................................................... 27 Timer2Wake-Up Timer......................................................... 77 Complete MMR Listing............................................................. 28 Timer3Watchdog Timer........................................................ 79 ADC Circuit Overview .................................................................. 32 Timer4General-Purpose Timer ........................................... 81 ADC Transfer Function............................................................. 32 External Memory Interfacing ................................................... 83 Typical Operation....................................................................... 33 Timing Diagrams ....................................................................... 84 Converter Operation.................................................................. 36 Hardware Design Considerations ................................................ 87 Driving the Analog Inputs ........................................................ 37 Power Supplies............................................................................ 87 Temperature Sensor ................................................................... 37 Grounding and Board Layout Recommendations................. 87 Band Gap Reference................................................................... 38 Clock Oscillator.......................................................................... 88 Nonvolatile Flash/EE Memory ..................................................... 39 Power-On Reset Operation....................................................... 89 Flash/EE Memory Overview..................................................... 39 Development Tools......................................................................... 90 Flash/EE Memory....................................................................... 39 In-Circuit Serial Downloader................................................... 90 Flash/EE Memory Security ....................................................... 40 Outline Dimensions....................................................................... 91 Flash/EE Control Interface........................................................ 40 Ordering Guide .......................................................................... 92 REVISION HISTORY 4/07Revision 0: Initial Version Rev. 0 Page 2 of 92