Integrated Precision Battery Sensor for Automotive ADuC7036 FEATURES Memory 96 kB Flash/EE memory, 6 kB SRAM High precision ADCs 10,000-cycle Flash/EE endurance, 20-year Flash/EE Dual channel, simultaneous sampling, 16-bit, - ADCs retention Programmable ADC throughput from 1 Hz to 8 kHz In-circuit download via JTAG and LIN On-chip 5 ppm/C voltage reference On-chip peripherals Current channel SAEJ2602/LIN 2.0-compatible (slave) support via UART Fully differential, buffered input with hardware synchronization Programmable gain from 1 to 512 Flexible wake-up I/O pin, master/slave SPI serial I/O ADC input range: 200 mV to +300 mV 9-pin GPIO port, 3 general-purpose timers Digital comparators with current accumulator feature Wake-up and watchdog timers Voltage channel Power supply monitor and on-chip power-on reset Buffered, on-chip attenuator for 12 V battery inputs Power Temperature channel Operates directly from 12 V battery supply External and on-chip temperature sensor options Current consumption Microcontroller Normal mode 10 mA at 10 MHz ARM7TDMI core, 16-/32-bit RISC architecture Low power monitor mode 20.48 MHz PLL with programmable divider Package and temperature range PLL input source 48-lead, 7 mm 7 mm LFCSP On-chip precision oscillator Fully specified for 40C to +115C operation On-chip low power oscillator External (32.768 kHz) watch crystal APPLICATIONS JTAG port supports code download and debug Battery sensing/management for automotive systems FUNCTIONAL BLOCK DIAGRAM ADuC7036 PRECISION ANALOG ACQUISITION RESET IIN+ 16-BIT 2.6V LDO MEMORY BUF PGA - ADC PSM 98kB FLASH IIN POR 6kB RAM VBAT XTAL1 RESULT DIGITAL PRECISION ARM7TDMI XTAL2 ACCUMULATOR COMPARATOR OSC MCU LOW POWER OSC 20MHz ON-CHIP PLL 16-BIT MUX BUF VTEMP WU - ADC GPIO PORT STI 3 TIMERS UART PORT WDT SPI PORT TEMPERATURE PRECISION WU TIMER LIN SENSOR REFERENCE VREF LIN/BSD GND SW Figure 1. Rev. C 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 20082011 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. VDD REG AVDD REG DVDD AGND DGND VSS IO VSS TCK TDI GPIO 0/IRQ0/SS GPIO 1/SCLK TDO GPIO 2/MISO NTRST GPIO 3/MOSI GPIO 4/ECLK TMS GPIO 5/IRQ1/RxD GPIO 6/TxD GPIO 7/IRQ4 GPIO 8/IRQ5 07474-001ADuC7036 TABLE OF CONTENTS Features .............................................................................................. 1 Interrupt System......................................................................... 68 Applications....................................................................................... 1 Timers .............................................................................................. 71 Functional Block Diagram .............................................................. 1 Synchronization Across Asynchronous Clock Domains ...... 71 Revision History ............................................................................... 3 Programming the Timers.......................................................... 72 Specifications..................................................................................... 4 Timer0Lifetime Timer........................................................... 74 Electrical Specifications............................................................... 4 Timer1General-Purpose Timer ........................................... 76 Timing Specifications ................................................................ 10 Timer2Wake-Up Timer......................................................... 78 Absolute Maximum Ratings.......................................................... 15 Timer3Watchdog Timer........................................................ 80 ESD Caution................................................................................ 15 Timer4STI Timer ................................................................... 82 Pin Configuration and Function Descriptions........................... 16 General-Purpose I/O ..................................................................... 84 Typical Performance Characteristics ........................................... 18 High Voltage Peripheral Control Interface ................................. 95 Terminology .................................................................................... 19 Wake-UP (WU) Pin................................................................. 102 Theory of Operation ...................................................................... 20 Handling Interrupts from the High Voltage Peripheral Control Interface ...................................................................... 103 Overview of the ARM7TDMI Core......................................... 20 Low Voltage Flag (LVF)........................................................... 103 Memory Organization ............................................................... 22 High Voltage Diagnostics........................................................ 103 Reset ............................................................................................. 24 UART Serial Interface.................................................................. 104 Flash/EE Memory........................................................................... 25 Baud Rate Generation.............................................................. 104 Programming Flash/EE Memory In-Circuit .......................... 25 UART Register Definitions ..................................................... 105 Flash/EE Control Interface........................................................ 25 Serial Peripheral Interface ........................................................... 110 Flash/EE Memory Security ....................................................... 29 MISO Pin................................................................................... 110 Flash/EE Memory Reliability.................................................... 31 MOSI Pin................................................................................... 110 Code Execution Time from SRAM and Flash/EE ..................... 31 SCLK Pin ................................................................................... 110 On-Chip Kernel.......................................................................... 32 SS Pin ......................................................................................... 110 Memory Mapped Registers ....................................................... 35 SPI Register Definitions .......................................................... 110 Complete MMR Listing............................................................. 36 Serial Test Interface ...................................................................... 113 16-Bit, - Analog-to-Digital Converters .................................. 42 LIN (Local Interconnect Network) Interface............................ 116 Current Channel ADC (I-ADC) .............................................. 42 LIN MMR Description ............................................................ 116 ADC Ground Switch.................................................................. 45 LIN Hardware Interface .......................................................... 120 ADC Noise Performance Tables............................................... 45 Bit Serial Device (BSD) Interface ............................................... 124 ADC MMR Interface ................................................................. 46 BSD Communication Hardware Interface............................ 124 ADC Power Modes of Operation............................................. 55 BSD Related MMRs ................................................................. 125 ADC Comparator and Accumulator ....................................... 56 BSD Communication Frame .................................................. 126 ADC Sinc3 Digital Filter Response.......................................... 56 BSD Data Reception................................................................. 127 ADC Calibration ........................................................................ 59 BSD Data Transmission........................................................... 127 ADC Diagnostics........................................................................ 60 Wake-Up from BSD Interface................................................. 127 Power Supply Support Circuits..................................................... 61 Part Identification......................................................................... 128 System Clocks ................................................................................. 62 Schematic....................................................................................... 131 System Clock Registers .............................................................. 63 Outline Dimensions..................................................................... 132 Low Power Clock Calibration................................................... 66 Ordering Guide ........................................................................ 132 Processor Reference Peripherals................................................... 68 Rev. C Page 2 of 132