Precision Analog Microcontroller, 12-Bit Analog I/O, Large Memory, ARM7TDMI MCU with Enhanced IRQ Handler Data Sheet ADuC7124/ADuC7126 FEATURES On-chip peripherals 2 Analog input/output 2 fully I C-compatible channels Multichannel, 12-bit, 1 MSPS ADC SPI (20 MBPS in master mode, 10 MBPS in slave mode) Up to 16 ADC channels With 4-byte FIFO on input and output stages Fully differential and single-ended modes 2 UART channels 0 V to V analog input range With 16-byte FIFO on input and output stages REF 12-bit voltage output DACs Up to 40 GPIO port 4 DAC outputs available All GPIOs are 5 V tolerant On-chip voltage reference 4 general-purpose timers On-chip temperature sensor (3C) Watchdog timer (WDT) and wake-up timer Voltage comparator Programmable logic array (PLA) Microcontroller 16 PLA elements ARM7TDMI core, 16-bit/32-bit RISC architecture 16-bit, 6-channel PWM JTAG port supports code download and debug Power supply monitor Clocking options Power Trimmed on-chip oscillator (3%) Specified for 3 V operation External watch crystal Active mode: 11.6 mA at 5 MHz, 33.3 mA at 41.78 MHz External clock source up to 41.78 MHz Packages and temperature range 41.78 MHz PLL with programmable divider Fully specified for 40C to +125C operation Memory 64-lead LFCSP (ADuC7124) and 80-lead LQFP (ADuC7126) 126 kB Flash/EE memory, 32 kB SRAM Tools In-circuit download, JTAG-based debug Low cost QuickStart development system Software-triggered in-circuit reprogrammability Full third-party support Vectored interrupt controller for FIQ and IRQ APPLICATIONS 8 priority levels for each interrupt type Industrial control and automation systems Interrupt on edge or level external pin inputs Smart sensors, precision instrumentation Base station systems, optical networking Patient monitoring FUNCTIONAL BLOCK DIAGRAM ADC0 12-BIT DAC0 DAC 1MSPS MUX 12-BIT ADC 12-BIT ADC15 DAC1 DAC TEMP ADuC7124/ADuC7126 SENSOR 12-BIT DAC2 DAC CMP0 CMP1 BAND GAP 12-BIT DAC3 REF DAC CMP VECTORED OUT INTERRUPT V REF CONTROLLER OSC ARM7TDMI-BASED MCU WITH XCLKI AND PLL ADDITIONAL PERIPHERALS XCLKO 8k 32 SRAM PSM PLA GPIO 63k 16 FLASH/EEPROM EXTERNAL PWM MEMORY INTERFACE 2 4 GENERAL- SPI, 2 I C, RST POR JTAG PURPOSE TIMERS 2 UART Figure 1. Rev. D 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 20102014 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. 09123-001ADuC7124/ADuC7126 Data Sheet TABLE OF CONTENTS Features .............................................................................................. 1 Band Gap Reference ................................................................... 45 Applications ....................................................................................... 1 Nonvolatile Flash/EE Memory ..................................................... 46 Functional Block Diagram .............................................................. 1 Programming .............................................................................. 46 Revision History ............................................................................... 3 Flash/EE Memory Security ....................................................... 47 General Description ......................................................................... 5 Flash/EE Control Interface ....................................................... 47 Specifications ..................................................................................... 6 Execution Time from SRAM and Flash/EE ............................ 50 Timing Specifications .................................................................. 9 Reset and Remap ........................................................................ 50 Absolute Maximum Ratings .......................................................... 14 Other Analog Peripherals .............................................................. 53 ESD Caution ................................................................................ 14 DAC .............................................................................................. 53 Pin Configurations and Function Descriptions ......................... 15 Power Supply Monitor ............................................................... 55 Typical Performance Characteristics ........................................... 24 Comparator ................................................................................. 55 Terminology .................................................................................... 27 Oscillator and PLLPower Control ........................................ 56 ADC Specifications .................................................................... 27 Digital Peripheral ........................................................................... 60 DAC Specifications..................................................................... 27 General-Purpose Input/Output................................................ 60 Overview of the ARM7TDMI Core ............................................. 28 Serial Port Mux ........................................................................... 62 Thumb Mode (T) ........................................................................ 28 UART Serial Interface ................................................................ 62 Long Multiply (M) ...................................................................... 28 Serial Peripheral Interface ......................................................... 68 2 EmbeddedICE (I) ....................................................................... 28 I C ................................................................................................. 72 Exceptions ................................................................................... 28 PWM General Overview ........................................................... 80 ARM Registers ............................................................................ 28 Programmable Logic Array (PLA)........................................... 83 Interrupt Latency ........................................................................ 29 Processor Reference Peripherals ................................................... 86 Memory Organization ................................................................... 30 Interrupt System ......................................................................... 86 Memory Access ........................................................................... 30 IRQ ............................................................................................... 86 Flash/EE Memory ....................................................................... 30 Fast Interrupt Request (FIQ) .................................................... 87 SRAM ........................................................................................... 30 Vectored Interrupt Controller (VIC) ....................................... 88 Memory Mapped Registers ....................................................... 30 Timers .......................................................................................... 93 ADC Circuit Overview .................................................................. 38 External Memory Interfacing ................................................... 99 Transfer Function ....................................................................... 38 Hardware Design Considerations .............................................. 103 Typical Operation ....................................................................... 39 Power Supplies .......................................................................... 103 MMRs Interface .......................................................................... 39 Grounding and Board Layout Recommendations ............... 104 Converter Operation .................................................................. 41 Clock Oscillator ........................................................................ 104 Driving the Analog Inputs ........................................................ 43 Power-On Reset Operation ..................................................... 105 Calibration ................................................................................... 44 Outline Dimensions ..................................................................... 106 Temperature Sensor ................................................................... 44 Ordering Guide ........................................................................ 107 Rev. D Page 2 of 110