Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU Data Sheet ADuC7019/20/21/22/24/25/26/27/28/29 FEATURES On-chip peripherals 2 UART, 2 I C and SPI serial I/O Analog I/O 1 Up to 40-pin GPIO port Multichannel, 12-bit, 1 MSPS ADC 1 4 general-purpose timers Up to 16 ADC channels Wake-up and watchdog timers (WDT) Fully differential and single-ended modes Power supply monitor 0 V to V analog input range REF 1 3-phase, 16-bit PWM generator 12-bit voltage output DACs 1 Programmable logic array (PLA) Up to 4 DAC outputs available 1 External memory interface, up to 512 kB On-chip voltage reference Power On-chip temperature sensor (3C) Specified for 3 V operation Voltage comparator Active mode: 11 mA at 5 MHz, 40 mA at 41.78 MHz Microcontroller Packages and temperature range ARM7TDMI core, 16-bit/32-bit RISC architecture 1 From 40-lead 6 mm 6 mm LFCSP to 80-lead LQFP JTAG port supports code download and debug Fully specified for 40C to +125C operation Clocking options Tools Trimmed on-chip oscillator (3%) Low cost QuickStart development system External watch crystal Full third-party support External clock source up to 44 MHz 41.78 MHz PLL with programmable divider APPLICATIONS Memory Industrial control and automation systems 62 kB Flash/EE memory, 8 kB SRAM Smart sensors, precision instrumentation In-circuit download, JTAG-based debug Base station systems, optical networking Software-triggered in-circuit reprogrammability FUNCTIONAL BLOCK DIAGRAM 12-BIT DAC0 DAC ADC0 TO ADC4, 1MSPS MUX ADC12 TO ADC14 12-BIT ADC 12-BIT ADuC7019 DAC1 DAC ADC15 TEMP SENSOR 12-BIT DAC2 DAC CMP0 CMP1 BAND GAP REF CMP OUT V REF 3-PHASE OSC XCLKI PWM ARM7TDMI-BASED MCU WITH AND PLL ADDITIONAL PERIPHERALS XCLKO (SEE NOTE 1) 2k 32 SRAM PLA GPIO PSM 31k 16 FLASH/EEPROM 4 GENERAL- SERIAL I/O RST JTAG POR 2 PURPOSE TIMERS UART, SPI, I C NOTES 1. SEE APPLICATION NOTE AN-798. Figure 1. 1 Depending on part model. See Ordering Guide for more information. Rev. H Document Feedback 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 20052018 Analog Devices, Inc. All rights reserved. license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Technical Support www.analog.com Trademarks and registered trademarks are the property of their respective owners. 04955-100ADuC7019/20/21/22/24/25/26/27/28/29 Data Sheet TABLE OF CONTENTS Features .............................................................................................. 1 Calibration ................................................................................... 51 Applications ....................................................................................... 1 Temperature Sensor ................................................................... 51 Functional Block Diagram .............................................................. 1 Band Gap Reference ................................................................... 51 Revision History ............................................................................... 3 Nonvolatile Flash/EE Memory ..................................................... 52 General Description ......................................................................... 5 Programming .............................................................................. 52 Detailed Block Diagram ............................................................ 10 Security ........................................................................................ 53 Specifications ................................................................................... 11 Flash/EE Control Interface ....................................................... 53 Timing Specifications ................................................................ 14 Execution Time from SRAM and Flash/EE ............................ 55 Absolute Maximum Ratings .......................................................... 21 Reset and Remap ........................................................................ 55 ESD Caution ................................................................................ 21 Other Analog Peripherals .............................................................. 57 Pin Configurations and Function Descriptions ......................... 22 DAC .............................................................................................. 57 ADuC7019/ADuC7020/ADuC7021/ADuC7022 .................. 22 Power Supply Monitor ............................................................... 58 ADuC7024/ADuC7025 ............................................................. 26 Comparator ................................................................................. 58 ADuC7026/ADuC7027 ............................................................. 29 Oscillator and PLLPower Control ........................................ 59 ADuC7028 ................................................................................... 32 Digital Peripherals .......................................................................... 62 ADuC7029 ................................................................................... 34 3-Phase PWM ............................................................................. 62 Typical Performance Characteristics ........................................... 36 Description of the PWM Block ................................................ 63 Terminology .................................................................................... 39 General-Purpose Input/Output................................................ 68 ADC Specifications .................................................................... 39 Serial Port Mux ........................................................................... 71 DAC Specifications..................................................................... 39 UART Serial Interface ................................................................ 71 Overview of the ARM7TDMI Core ............................................. 40 Serial Peripheral Interface ......................................................... 75 2 Thumb Mode (T) ........................................................................ 40 I C-Compatible Interfaces ......................................................... 77 Long Multiply (M) ...................................................................... 40 Programmable Logic Array (PLA)........................................... 81 EmbeddedICE (I) ....................................................................... 40 Processor Reference Peripherals ................................................... 84 Exceptions ................................................................................... 40 Interrupt System ......................................................................... 84 ARM Registers ............................................................................ 40 Timers .......................................................................................... 85 Interrupt Latency ........................................................................ 41 External Memory Interfacing ................................................... 90 Memory Organization ................................................................... 42 Hardware Design Considerations ................................................ 94 Memory Access ........................................................................... 42 Power Supplies ............................................................................ 94 Flash/EE Memory ....................................................................... 42 Grounding and Board Layout Recommendations ................. 95 SRAM ........................................................................................... 42 Clock Oscillator .......................................................................... 95 Memory Mapped Registers ....................................................... 42 Power-On Reset Operation ....................................................... 96 ADC Circuit Overview .................................................................. 46 Typical System Configuration .................................................. 96 Transfer Function ....................................................................... 46 Development Tools......................................................................... 97 Typical Operation ....................................................................... 47 PC-Based Tools ........................................................................... 97 MMRs Interface .......................................................................... 47 In-Circuit Serial Downloader ................................................... 97 Converter Operation .................................................................. 49 Outline Dimensions ....................................................................... 98 Driving the Analog Inputs ........................................................ 50 Ordering Guide ........................................................................ 101 Rev. H Page 2 of 102