Analog Devices ADuC812 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Nein Analog Devices ADuC812 herunter. Analog Devices ADuC812 User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 56
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
REV. B
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 rights of third parties that
may result from its use. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices.
a
ADuC812
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700 www.analog.com
Fax: 781/326-8703 © Analog Devices, Inc., 2001
MicroConverter
®
, Multichannel
12-Bit ADC with Embedded FLASH MCU
FUNCTIONAL BLOCK DIAGRAM
MICROCONTROLLER
8051 BASED
MICROCONTROLLER CORE
POWER SUPPLY
MONITOR
WATCHDOG
TIMER
2-WIRE
SERIAL I/O
640 8 USER
FLASH EEPROM
256 8 USER
RAM
SPI
12-BIT
SUCCESSIVE
APPROXIMATION
ADC
ADC
CONTROL
AND
CALIBRATION
LOGIC
T/H
TEMP
SENSOR
2.5V
REF
AIN
MUX
BUF
DAC0
MOSI/
SDATA
MISO
(P3.3)
SCLOCK
TxD
(P3.1)
RxD
(P3.0)
XTAL2XTAL1
DGNDDV
DD
AGNDAV
DD
DAC0
DAC1
T0 (P3.4)
T1 (P3.5)
T2 (P1.0)
T2EX (P1.1)
INT0 (P3.2)
INT1 (P3.3)
ALE
PSEN
EA
RESET
ADuC812
P3.0–P3.7P2.0–P2.7P1.0–P1.7P0.0–P0.7
AIN0 (P1.0)–AIN7 (P1.7)
V
REF
UART
8K 8 PROGRAM
FLASH EEPROM
DAC
CONTROL
3 16-BIT
TIMER/COUNTERS
OSC
MUX
DAC1
BUF
C
REF
BUF
FEATURES
ANALOG I/O
8-Channel, High Accuracy 12-Bit ADC
On-Chip, 100 ppm/C Voltage Reference
High-Speed 200 kSPS
DMA Controller for High-Speed ADC-to-RAM Capture
Two 12-Bit Voltage Output DACs
On-Chip Temperature Sensor Function
MEMORY
8K Bytes On-Chip Flash/EE Program Memory
640 Bytes On-Chip Flash/EE Data Memory
256 Bytes On-Chip Data RAM
16M Bytes External Data Address Space
64K Bytes External Program Address Space
8051-COMPATIBLE CORE
12 MHz Nominal Operation (16 MHz Max)
Three 16-Bit Timer/Counters
High Current Drive Capability—Port 3
Nine Interrupt Sources, Two Priority Levels
POWER
Specified for 3 V and 5 V Operation
Normal, Idle, and Power-Down Modes
ON-CHIP PERIPHERALS
UART Serial I/O
2-Wire (I
2
C
®
-Compatible) and SPI
®
Serial I/O
Watchdog Timer
Power Supply Monitor
APPLICATIONS
Intelligent Sensors Calibration and Conditioning
Battery Powered Systems (Portable PCs, Instruments,
Monitors)
Transient Capture Systems
DAS and Communications Systems
Control Loop Monitors (Optical Networks/Base Stations)
GENERAL DESCRIPTION
The ADuC812 is a fully integrated 12-bit data acquisition system
incorporating a high performance self calibrating multichannel
ADC, dual DAC and programmable 8-bit MCU (8051 instruc-
tion set compatible) on a single chip.
The programmable 8051-compatible core is supported by 8K
bytes Flash/EE program memory, 640 bytes Flash/EE data
memory and 256 bytes data SRAM on-chip.
Additional MCU support functions include Watchdog Timer,
Power Supply Monitor and ADC DMA functions. 32 Pro-
grammable I/O lines, I
2
C-compatible, SPI and Standard UART
Serial Port I/O are provided for multiprocessor interfaces and
I/O expansion.
Normal, idle, and power-down operating modes for both the
MCU core and analog converters allow for flexible power man-
agement schemes suited to low power applications. The part is
specified for 3 V and 5 V operation over the industrial tem-
perature range and is available in a 52-lead, plastic quad
flatpack package.
MicroConverter is a registered trademark of Analog Devices, Inc.
I
2
C is a registered trademark of Philips Corporation.
SPI is a registered trademark of Motorola Inc.
Seitenansicht 0
1 2 3 4 5 6 ... 55 56

Inhaltsverzeichnis

Seite 1 - , Multichannel

REV. BInformation furnished by Analog Devices is believed to be accurate andreliable. However, no responsibility is assumed by Analog Devices for itsu

Seite 2 - TABLE OF CONTENTS

REV. BADuC812–10–OVERVIEW OF MCU-RELATED SFRsAccumulator SFRACC is the Accumulator register and is used for math opera-tions including addition, subtr

Seite 3 - SPECIFICATIONS

REV. BADuC812–11–SPECIAL FUNCTION REGISTERSAll registers except the program counter and the four general purpose register banks, reside in the special

Seite 4 - ADuC812–SPECIFICATIONS

REV. BADuC812–12–ADC CIRCUIT INFORMATIONGeneral OverviewThe ADC conversion block incorporates a fast, 8-channel,12-bit, single supply A/D converter. T

Seite 5

REV. BADuC812–13–ADCCON1 – (ADC Control SFR #1)The ADCCON1 register controls conversion and acquisition times, hardware conversion modes and power-dow

Seite 6 - WARNING!

REV. BADuC812–14–ADCCON2 – (ADC Control SFR #2)The ADCCON2 register controls ADC channel selection and conversion modes as detailed below.SFR Address:

Seite 7 - PIN FUNCTION DESCRIPTIONS

REV. BADuC812–15–Driving the A/D ConverterThe ADC incorporates a successive approximation (SAR) archi-tecture involving a charge-sampled input stage.

Seite 8 - TERMINOLOGY

REV. BADuC812–16–ground, no amplifier can deliver signals all the way to ground whenpowered by a single supply. Therefore, if a negative supply isavai

Seite 9 - Figure 3. Programming Model

REV. BADuC812–17–core. This mode allows the ADuC812 to capture a contiguoussample stream at full ADC update rates (200 kHz).A typical DMA Mode configu

Seite 10 - YCCA0F1SR0SRVO1FP

REV. BADuC812–18–the gain calibration coefficient is divided into ADCGAINH (6 bits)and ADCGAINL (8 bits).The offset calibration coefficient compen-sat

Seite 11 - SPECIAL FUNCTION REGISTERS

REV. BADuC812–19–Using the Flash/EE Program MemoryThis 8K Byte Flash/EE Program Memory array is mappedinto the lower 8K bytes of the 64K bytes program

Seite 12 - Figure 6. ADC Result Format

REV. BADuC812–2–FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1GENERAL DESCRIPTION . . . . . . . . . . .

Seite 13 - 1DM0DM1KC0KC1QA0QAC2TCXE

REV. BADuC812–20–ECON—Flash/EE Memory Control SFRThis SFR acts as a command interpreter and may be writtenwith one of five command modes to enable var

Seite 14 - ICDAAMDVNOCCVNOCS3SC2SC1SC0SC

REV. BADuC812–21–USER INTERFACE TO OTHER ON-CHIP ADuC812PERIPHERALSThe following section gives a brief overview of the variousperipherals also availab

Seite 15 - Driving the A/D Converter

REV. BADuC812–22–Using the D/A ConverterThe on-chip D/A converter architecture consists of a resistorstring DAC followed by an output buffer amplifier

Seite 16 - Figure 9. Decoupling V

REV. BADuC812–23–SOURCE/SINK CURRENT – mA30 5 10 15OUTPUT VOLTAGE – V210Figure 21. Source and Sink Current Capability withVREF = VDD = 3 VTo drive sig

Seite 17 - Figure 13. DMA Cycle

REV. BADuC812–24–WATCHDOG TIMERThe purpose of the watchdog timer is to generate a device resetwithin a reasonable amount of time if the ADuC812 enters

Seite 18 - Flash Memory Overview

REV. BADuC812–25–POWER SUPPLY MONITORAs its name suggests, the Power Supply Monitor, once enabled,monitors both supplies (AVDD and DVDD) on the ADuC81

Seite 19 - Configuration

REV. BADuC812–26–SERIAL PERIPHERAL INTERFACEThe ADuC812 integrates a complete hardware Serial PeripheralInterface (SPI) on-chip. SPI is an industry st

Seite 20

REV. BADuC812–27–Table XII. SPICON SFR Bit Designations (continued)Bit Name Description1 SPR1 SPI Bit-Rate Select Bits.0 SPR0 These bits select the SC

Seite 21

REV. BADuC812–28–I2C-COMPATIBLE INTERFACEThe ADuC812 supports a 2-wire serial interface mode which isI2C compatible. The I2C-compatible interface shar

Seite 22 - Using the D/A Converter

REV. BADuC812–29–8051-COMPATIBLE ON-CHIP PERIPHERALSThis section gives a brief overview of the various secondaryperipheral circuits that are also avai

Seite 23 - OUTPUT VOLTAGE – V

REV. B–3–ADuC812 ADuC812BSParameter VDD = 5 V VDD = 3 V Unit Test Conditions/CommentsADC CHANNEL SPECIFICATIONSDC ACCURACY3, 4Resolution 12

Seite 24 - WATCHDOG TIMER

REV. BADuC812–30–User configuration and control of all Timer operating modes isachieved via three SFRs, namely:TMOD, TCON: Control and configuration f

Seite 25 - —PMCIMSP2PT1PT0PTFSPNEMSP

REV. BADuC812–31–1FT1RT0FT0RT1EI11TI10EI10TI1NOTE1These bits are not used in the control of timer/counter 0 and 1, but are used instead in the control

Seite 26

REV. BADuC812–32–Mode 2 (8-Bit Timer/Counter with Auto Reload)Mode 2 configures the timer register as an 8-bit counter (TL0)with automatic reload, as

Seite 27 - (CPHA = 0)

REV. BADuC812–33–T2CON Timer/Counter 2 Control RegisterSFR Address C8HPower-On Default Value 00HBit Addressable Yes2FT2FXEKLCRKLCT2NEXE2RT2TNC2PACTabl

Seite 28

REV. BADuC812–34–Timer/Counter Operation ModesThe following paragraphs describe the operating modes for timer/counter 2. The operating modes are selec

Seite 29 - Timers/Counters

REV. BADuC812–35–UART SERIAL INTERFACEThe serial port is full duplex, meaning it can transmit and receivesimultaneously. It is also receive-buffered,

Seite 30 - Register

REV. BADuC812–36–Mode 0: 8-Bit Shift Register ModeMode 0 is selected by clearing both the SM0 and SM1 bits in theSFR SCON. Serial data enters and exit

Seite 31 - TH1 and TL1

REV. BADuC812–37–Timer 1 Generated Baud RatesWhen Timer 1 is used as the baud rate generator, the baud ratesin Modes 1 and 3 are determined by the Tim

Seite 32 - Mode 1 (16-Bit Timer/Counter)

REV. BADuC812–38–INTERRUPT SYSTEMThe ADuC812 provides a total of nine interrupt sources withtwo priority levels. The control and configuration of the

Seite 33 - RCAP2H and RCAP2L

REV. BADuC812–39–IE2: Secondary Interrupt Enable RegisterSFR Address A9HPower-On Default Value 00HBit Addressable No—————— IMSPEISETable XXV. IE2 SFR

Seite 34 - 16-Bit Capture Mode

REV. B–4–ADuC812–SPECIFICATIONS1, 2 ADuC812BSParameter VDD = 5 V VDD = 3 V Unit Test Conditions/CommentsDAC AC CHARACTERISTICSVoltage Outpu

Seite 35 - SCON UART Serial Port Control

REV. BADuC812–40–ADuC812 HARDWARE DESIGN CONSIDERATIONSThis section outlines some of the key hardware design consider-ations that must be addressed wh

Seite 36

REV. BADuC812–41–If access to more than 64K bytes of RAM is desired, a featureunique to the ADuC812 allows addressing up to 16M bytesof external RAM s

Seite 37 - Timer 2 Generated Baud Rates

REV. BADuC812–42–As an alternative to providing two separate power supplies, theuser can help keep AVDD quiet by placing a small series resistorand/or

Seite 38 - IE: Interrupt Enable Register

REV. BADuC812–43–Grounding and Board Layout RecommendationsAs with all high resolution data converters, special attention mustbe paid to grounding and

Seite 39 - —————— IMSPEISE

REV. BADuC812–44–C1+V+C1–C2+C2–V–T2OUTR2INVCCGNDT1OUTR1INR1OUTT1INT2INR2OUTADM202DVDD2734333130292839383736353240474644434241525150494845DVDD1kDVDD1k

Seite 40 - External Memory Interface

REV. BADuC812–45–Note that the serial port debugger is fully contained on theADuC812 device, (unlike “ROM monitor” type debuggers) andtherefore no ext

Seite 41 - Power Supplies

REV. BADuC812–46–(AVDD = DVDD = 3.0 V or 5.0 V  10%. All specifications TA = TMIN to TMAX unless otherwise noted.) 12 MHz Variable ClockParam

Seite 42 - of Core and Peripherals

REV. BADuC812–47– 12 MHz Variable ClockParameter Min Max Min Max Unit FigureEXTERNAL PROGRAM MEMORYtLHLLALE Pulsewidth 127 2tCK–40 ns 52tAVLL

Seite 43

REV. BADuC812–48– 12 MHz Variable ClockParameter Min Max Min Max Unit FigureEXTERNAL DATA MEMORY READ CYCLEtRLRHRD Pulsewidth 400 6tCK– 100 ns 5

Seite 44 - Embedded Serial Port Debugger

REV. BADuC812–49– 12 MHz Variable ClockParameter Min Max Min Max Unit FigureEXTERNAL DATA MEMORY WRITE CYCLEtWLWHWR Pulsewidth 400 6tCK– 100 ns

Seite 45

REV. B–5–ADuC812 ADuC812BSParameter VDD = 5 V VDD = 3 V Unit Test Conditions/CommentsDIGITAL OUTPUTSOutput High Voltage (VOH) 2.4 V min VDD

Seite 46 - TIMING SPECIFICATIONS

REV. BADuC812–50– 12 MHz Variable ClockParameter Min Typ Max Min Typ Max Unit FigureUART TIMING (Shift Register Mode)tXLXLSerial Port Clock Cyc

Seite 47

REV. BADuC812–51–Parameter Min Max Unit FigureI2C-COMPATIBLE INTERFACE TIMINGtLSCLOCK Low Pulsewidth 4.7 µs56tHSCLOCK High Pulsewidth 4.0 µs56tSHDStar

Seite 48

REV. BADuC812–52–Parameter Min Typ Max Unit FigureSPI MASTER MODE TIMING (CPHA = 1)tSLSCLOCK Low Pulsewidth 330 ns 57tSHSCLOCK High Pulsewidth 330 ns

Seite 49

REV. BADuC812–53–Parameter Min Typ Max Unit FigureSPI MASTER MODE TIMING (CPHA = 0)tSLSCLOCK Low Pulsewidth 330 ns 58tSHSCLOCK High Pulsewidth 330 ns

Seite 50

REV. BADuC812–54–Parameter Min Typ Max Unit FigureSPI SLAVE MODE TIMING (CPHA = 1)tSSSS to SCLOCK Edge 0 ns 59tSLSCLOCK Low Pulsewidth 330 ns 59tSHSCL

Seite 51 - C-Compatible Interface Timing

REV. BADuC812–55–Parameter Min Typ Max Unit FigureSPI SLAVE MODE TIMING (CPHA = 0)tSSSS to SCLOCK Edge 0 ns 60tSLSCLOCK Low Pulsewidth 330 ns 60tSHSCL

Seite 52

REV. B–56–C00208–0–10/01(B)PRINTED IN U.S.A.ADuC812OUTLINE DIMENSIONSDimensions shown in inches and (mm).52-Lead Plastic Quad Flatpack(S-52)TOP VIEW(P

Seite 53

REV. BADuC812–6–PIN CONFIGURATION52 51 50 49 48 43 42 41 4047 46 45 4414 15 16 17 18 19 20 21 22 23 24 25 26123456789101312113938373635343332313029282

Seite 54

REV. BADuC812–7–PIN FUNCTION DESCRIPTIONSMnemonic Type FunctionDVDDP Digital Positive Supply Voltage, 3 V or 5 V NominalAVDDP Analog Positive Supply V

Seite 55

REV. BADuC812–8–Mnemonic Type FunctionPSEN O Program Store Enable, Logic Output. This output is a control signal that enables the external programmemo

Seite 56 - Revision History

REV. BADuC812–9–ARCHITECTURE, MAIN FEATURESThe ADuC812 is a highly integrated true 12-bit data acquisitionsystem. At its core, the ADuC812 incorporate

Kommentare zu diesen Handbüchern

Keine Kommentare