ADUC812BS Analog Devices Inc, ADUC812BS Datasheet

IC ADC 12BIT MULTICH MCU 52-MQFP

ADUC812BS

Manufacturer Part Number
ADUC812BS
Description
IC ADC 12BIT MULTICH MCU 52-MQFP
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC8xxr
Datasheet

Specifications of ADUC812BS

Rohs Status
RoHS non-compliant
Core Processor
8052
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
PSM, Temp Sensor, WDT
Number Of I /o
34
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Eeprom Size
640 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x12b, D/A 2x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
52-MQFP, 52-PQFP

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC812BS
Manufacturer:
AD
Quantity:
2 197
Part Number:
ADUC812BS
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC812BS
Quantity:
2 500
Part Number:
ADUC812BSZ
Manufacturer:
ADI
Quantity:
2 400
Part Number:
ADUC812BSZ
Manufacturer:
AD
Quantity:
3
Part Number:
ADUC812BSZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC812BSZ
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Company:
Part Number:
ADUC812BSZ
Quantity:
2 500
Part Number:
ADUC812BSZ-REEL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
a
REV. E
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. Trademarks and
registered trademarks are the property of their respective companies.
FEATURES
Analog I/O
Memory
8051 Compatible Core
Power
On-Chip Peripherals
Power Supply Monitor
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
2 12-Bit Voltage Output DACs
On-Chip Temperature Sensor Function
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
12 MHz Nominal Operation (16 MHz Max)
3 16-Bit Timer/Counters
High Current Drive Capability—Port 3
9 Interrupt Sources, 2 Priority Levels
Specified for 3 V and 5 V Operation
Normal, Idle, and Power-Down Modes
UART and SPI
2-Wire (400 kHz I
Watchdog Timer
AIN0 (P1.0)–AIN7 (P1.7)
C
V
REF
REF
®
Serial I/O
2
C
®
Compatible) Serial I/O
MUX
2.5V
REF
AIN
BUF
SENSOR
T/H
AV
TEMP
P0.0–P0.7
DD
ADuC812
AGND
APPROXIMATION
SUCCESSIVE
FUNCTIONAL BLOCK DIAGRAM
12-BIT
ADC
DV
DD
12-Bit ADC with Embedded Flash MCU
DGND
MICROCONTROLLER CORE
P1.0–P1.7
8K
FLASH EEPROM
FLASH EEPROM
640
256
8051 BASED
CALIBRATION
8 PROGRAM
CONTROL
RAM
LOGIC
8 USER
8 USER
ADC
AND
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700
Fax: 781/326-8703
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. Thirty-two
programmable I/O lines, I
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 flexible power manage-
ment 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, and in a 56-lead, chip scale package.
MicroConverter
APPLICATIONS
Intelligent Sensors Calibration and Conditioning
Battery-Powered Systems (Portable PCs, Instruments,
Transient Capture Systems
DAS and Communications Systems
Control Loop Monitors (Optical Networks/Base Stations)
Monitors)
XTAL1
P2.0–P2.7
MICROCONTROLLER
OSC
POWER SUPPLY
XTAL2
CONTROL
WATCHDOG
MONITOR
TIMER
DAC
UART
(P3.0)
RxD
© 2003 Analog Devices, Inc. All rights reserved.
(P3.1)
TxD
P3.0–P3.7
DAC0
DAC1
SCLOCK
2
SERIAL I/O
C compatible SPI and Standard
2-WIRE
TIMER/COUNTERS
3
MUX
SDATA
MOSI/
BUF
BUF
16-BIT
®
, Multichannel
SPI
(P3.3)
MISO
ADuC812
www.analog.com
DAC0
DAC1
T0 (P3.4)
T1 (P3.5)
INT0 (P3.2)
INT1 (P3.3)
ALE
PSEN
EA
RESET
T2 (P1.0)
T2EX (P1.1)

Related parts for ADUC812BS

ADUC812BS Summary of contents

Page 1

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 2 12-Bit Voltage Output DACs On-Chip Temperature Sensor Function Memory 8K Bytes On-Chip Flash/EE ...

Page 2

ADuC812 TABLE OF CONTENTS FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 3

... Differential Nonlinearity Offset Error Full-Scale Error Full-Scale Mismatch ANALOG OUTPUTS Voltage Range_0 Voltage Range_1 Resistive Load Capacitive Load Output Impedance I SINK REV 5.0 V 10%, REF 100 pF. All specifications ADuC812BS ±1/2 ±1/2 ±1.5 ±1.5 ±1.5 ±1.5 ±1 ± ±5 ±5 ±1 ± ± ...

Page 4

... INH XTAL1 Input High Voltage (V ) Only INH Input Low Voltage (V ) INL Input Leakage Current (Port 0, EA) Logic 1 Input Current (All Digital Inputs) Logic 0 Input Current (Port Logic 1-0 Transition Current (Port –700 Input Capacitance ADuC812BS Unit µs typ sec typ 2.3/V 2 ...

Page 5

... Typical specifications are not production tested, but are supported by characterization data at initial product release. Timing Specifications—See Pages 46–55. Specifications subject to change without notice. Please refer to User Guide, Quick Reference Guide, Application Notes, and Silicon Errata Sheet at www.analog.com/microconverter for additional information. REV. E ADuC812BS ...

Page 6

... P1.6/ADC6 Model ADuC812BS ADuC812BS EVAL-ADuC812QS EVAL-ADuC812QSP CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the ADuC812 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges ...

Page 7

Mnemonic Type Function DV P Digital Positive Supply Voltage Nominal Analog Positive Supply Voltage Nominal Decoupling Input for On-Chip Reference. Connect 0.1 µF between ...

Page 8

ADuC812 Mnemonic Type Function PSEN O Program Store Enable, Logic Output. This output is a control signal that enables the external program memory to the bus during external fetch operations active every six oscillator periods except during external ...

Page 9

ARCHITECTURE, MAIN FEATURES The ADuC812 is a highly integrated, true 12-bit data acquisi- tion system. At its core, the ADuC812 incorporates a high performance 8-bit (8052 compatible) MCU with on-chip reprogrammable nonvolatile Flash program memory control- ling a multichannel (eight ...

Page 10

ADuC812 OVERVIEW OF MCU-RELATED SFRs Accumulator SFR ACC is the Accumulator register and is used for math opera- tions including addition, subtraction, integer multiplication and division, and Boolean bit manipulations. The mnemonics for accumulator-specific instructions refer to the Accumulator as ...

Page 11

SPECIAL FUNCTION REGISTERS All registers except the program counter and the four general-purpose register banks reside in the special function register (SFR) area. The SFR registers include control, configuration, and data registers that provide an interface between the CPU and ...

Page 12

ADuC812 ADC CIRCUIT INFORMATION General Overview The ADC conversion block incorporates a fast, 8-channel, 12-bit, single-supply ADC. This block provides the user with multichannel mux, track-and-hold, on-chip reference, calibra- tion features, and ADC. All components in this block are easily ...

Page 13

ADCCON1—(ADC Control SFR #1) The ADCCON1 register controls conversion and acquisition times, hardware conversion modes and power-down modes as detailed below. SFR Address EFH SFR Power-On Default Value 20H Bit Name Description ...

Page 14

ADuC812 ADCCON2—(ADC Control SFR #2) The ADCCON2 register controls ADC channel selection and conversion modes as detailed below. SFR Address D8H SFR Power-On Default Value 00H ocation Name Description L ADCCON2.7 ...

Page 15

Driving the ADC The ADC incorporates a successive approximation (SAR) archi- tecture involving a charge-sampled input stage. Figure 7 shows the equivalent circuit of the analog input section. Each ADC conversion is divided into two distinct phases as defined by ...

Page 16

ADuC812 However, be sure to include the Schottky diodes shown in Figure 8 (or at least the lower of the two diodes) to protect the analog input from undervoltage conditions. To summarize this section, use the circuit of Figure 8 ...

Page 17

ADuC812 core. This mode allows the ADuC812 to capture a contiguous sample stream at full ADC update rates (200 kHz). DMA Mode Configuration Example To set the ADuC812 into DMA mode, a number of steps ...

Page 18

ADuC812 and the gain calibration coefficient is divided into ADCGAINH (six bits) and ADCGAINL (eight bits). The offset calibration coefficient compensates for dc offset errors in both the ADC and the input signal. Increasing the offset coefficient compensates for positive ...

Page 19

Using the Flash/EE Program Memory This 8K byte Flash/EE program memory array is mapped into the lower 8K bytes of the 64K bytes program space address- able by the ADuC812 and will be used to hold user code in typical ...

Page 20

ADuC812 ECON—Flash/EE Memory Control SFR This SFR acts as a command interpreter and may be written with one of five command modes to enable various read, pro- gram, and erase cycles as detailed in Table VII. Table VII. ECON—Flash/EE Memory ...

Page 21

USER INTERFACE TO OTHER ON-CHIP ADuC812 PERIPHERALS The following section gives a brief overview of the various peripherals also available on-chip. A summary of the SFRs used to control and configure these peripherals is also given. DAC The ADuC812 incorporates ...

Page 22

ADuC812 Using the DAC The on-chip DAC architecture consists of a resistor string DAC followed by an output buffer amplifier, the functional equivalent of which is illustrated in Figure 18. Details of the actual DAC architecture can be found in ...

Page 23

SOURCE/SINK CURRENT – mA Figure 21. Source and Sink Current Capability with REF DD To drive significant loads with the DAC outputs, external buffering may be required, as ...

Page 24

ADuC812 WATCHDOG TIMER The purpose of the watchdog timer is to generate a device reset within a reasonable amount of time if the ADuC812 enters an erroneous state, possibly due to a programming error. The Watch- dog function can be ...

Page 25

Power Supply Monitor PSMCON Control Register SFR Address DFH Power-On Default Value DCH Bit Addressable No — Bit Name Description 7 — Not Used. 6 CMP AV This is a read-only bit and directly reflects the ...

Page 26

ADuC812 MOSI (Master Out, Slave In Pin) The MOSI (master out, slave in) pin is configured as an output line in master mode and an input line in slave mode. The MOSI line on the master (data out) should be ...

Page 27

SPIDAT SPI Data Register Function The SPIDAT SFR is written by the user to transmit data over the SPI interface or read by user code to read data just received by the SPI interface. SFR Address F7H Power-On Default Value ...

Page 28

ADuC812 COMPATIBLE INTERFACE The ADuC812 supports a 2-wire serial interface mode that compatible. The I C compatible interface shares its pins with the on-chip SPI interface and therefore the user can only ...

Page 29

COMPATIBLE ON-CHIP PERIPHERALS This section gives a brief overview of the various secondary peripheral circuits that are also available to the user on-chip. These remaining functions are fully 8051 compatible and are controlled via standard 8051 SFR bit definitions. ...

Page 30

ADuC812 User configuration and control of all Timer operating modes is achieved via three SFRs: TMOD, TCON Control and configuration for Timers 0 and 1. T2CON Control and configuration for Timer 2. Timer/Counter 0 and TMOD 1 Mode Register SFR ...

Page 31

Timer/Counter 0 and TCON 1 Control Register SFR Address 88H Power-On Default Value 00H Bit Addressable Yes *These bits are not used in the control of Timer/Counter 0 and 1, but are used ...

Page 32

ADuC812 TIMER/COUNTERS 0 AND 1 OPERATING MODES The following paragraphs describe the operating modes for Timer/Counters 0 and 1. Unless otherwise noted, it should be assumed that these modes of operation are the same for Timer 0 as for Timer ...

Page 33

Timer/Counter 2 T2CON Control Register SFR Address C8H Power-On Default Value 00H Bit Addressable Yes Bit Name Description 7 TF2 Timer 2 Overflow Flag. Set by hardware on a Timer 2 overflow. ...

Page 34

ADuC812 Timer/Counter Operation Modes The following paragraphs describe the operating modes for Timer/Counter 2. The operating modes are selected by bits in the T2CON SFR as shown in Table XVIII. Table XVIII. TIMECON SFR Bit Designations RCLK (or) TCLK CAP2 ...

Page 35

UART SERIAL INTERFACE The serial port is full-duplex, meaning it can transmit and receive simultaneously also receive-buffered, meaning it can begin receiving a second byte before a previously received byte has been read from the receive register. However, ...

Page 36

ADuC812 Mode 0 (8-Bit Shift Register Mode) Mode 0 is selected by clearing both the SM0 and SM1 bits in the SFR SCON. Serial data enters and exits through RxD. TxD outputs the shift clock. Eight data bits are transmitted ...

Page 37

Timer 1 Generated Baud Rates When Timer 1 is used as the baud rate generator, the baud rates in Modes 1 and 3 are determined by the Timer 1 overflow rate and the value of SMOD as follows: Modes and ...

Page 38

ADuC812 INTERRUPT SYSTEM The ADuC812 provides a total of nine interrupt sources with two priority levels. The control and configuration of the interrupt system is carried out through three interrupt related SFRs. IE Interrupt Enable Register IP Interrupt Priority Register ...

Page 39

Secondary Interrupt IE2 Enable Register SFR Address A9H Power-On Default Value 00H Bit Addressable No — — — Bit Name Description 7 — Reserved for future use. 6 — Reserved for future use. 5 — Reserved for future use. 4 ...

Page 40

ADuC812 ADuC812 HARDWARE DESIGN CONSIDERATIONS This section outlines some of the key hardware design consider- ations that must be addressed when integrating the ADuC812 into any hardware system. Clock Oscillator The clock source for the ADuC812 can come either from ...

Page 41

If access to more than 64K bytes of RAM is desired, a feature unique to the ADuC812 allows addressing MBytes of external RAM simply by adding an additional latch as illus- trated in Figure 39. ADuC812 P0 ...

Page 42

ADuC812 As an alternative to providing two separate power supplies, the user can help keep AV quiet by placing a small series resistor DD and/or ferrite bead between it and separately to ground. An example of this ...

Page 43

Grounding and Board Layout Recommendations As with all high resolution data converters, special attention must be paid to grounding and PC board layout of ADuC812 based designs in order to achieve optimum performance from the ADC and DACs. Although the ...

Page 44

ADuC812 ANALOG INPUT V OUTPUT REF DAC OUTPUT DV DD ADM810 V CC GND OTHER HARDWARE CONSIDERATIONS To facilitate in-circuit programming, plus in-circuit debug and emulation options, users will want to implement some simple connection points in their hardware that ...

Page 45

Note that the serial port debugger is fully contained on the ADuC812 device, (unlike ROM monitor type debuggers) and therefore no external memory is needed to enable in-system debug sessions. Single-Pin Emulation Mode Also built into the ADuC812 is a ...

Page 46

ADuC812 TIMING SPECIFICATIONS Parameter CLOCK INPUT (External Clock Driven XTAL1) t XTAL1 Period CK t XTAL1 Width Low CKL t XTAL1 Width High CKH t XTAL1 Rise Time CKR t XTAL1 Fall Time CKF 4 t ADuC812 ...

Page 47

Parameter EXTERNAL PROGRAM MEMORY READ CYCLE t ALE Pulsewidth LHLL t Address Valid to ALE Low AVLL t Address Hold after ALE Low LLAX t ALE Low to Valid Instruction In LLIV ALE Low to PSEN Low t LLPL PSEN ...

Page 48

ADuC812 Parameter EXTERNAL DATA MEMORY READ CYCLE RD Pulsewidth t RLRH t Address Valid after ALE Low AVLL t Address Hold after ALE Low LLAX RD Low to Valid Data In t RLDV Data and Address Hold after RD t ...

Page 49

Parameter EXTERNAL DATA MEMORY WRITE CYCLE WR Pulsewidth t WLWH t Address Valid after ALE Low AVLL t Address Hold after ALE Low LLAX ALE Low Low t LLWL Address Valid Low ...

Page 50

ADuC812 Parameter UART TIMING (Shift Register Mode) t Serial Port Clock Cycle Time XLXL t Output Data Setup to Clock QVXH t Input Data Setup to Clock DVXH t Input Data Hold after Clock XHDX t Output Data Hold after ...

Page 51

Parameter COMPATIBLE INTERFACE TIMING t SCLOCK Low Pulsewidth LOW t SCLOCK High Pulsewidth HIGH t Start Condition Hold Time HD; STA t Data Setup Time SU; DAT t Data Hold time HD; DAT t Setup time for ...

Page 52

ADuC812 Parameter SPI MASTER MODE TIMING (CPHA = 1) t SCLOCK Low Pulsewidth LOW t SCLOCK High Pulsewidth SH t Data Output Valid after SCLOCK Edge DAV t Data Input Setup Time before SCLOCK Edge DSU t Data Input Hold ...

Page 53

Parameter SPI MASTER MODE TIMING (CPHA = 0) t SCLOCK Low Pulsewidth SL t SCLOCK High Pulsewidth SH t Data Output Valid after SCLOCK Edge DAV t Data Output Setup before SCLOCK Edge DOSU t Data Input Setup Time before ...

Page 54

ADuC812 Parameter SPI SLAVE MODE TIMING (CPHA = SCLOCK Edge SCLOCK Low Pulsewidth SL t SCLOCK High Pulsewidth SH t Data Output Valid after SCLOCK Edge DAV t Data Input Setup Time before SCLOCK ...

Page 55

Parameter SPI SLAVE MODE TIMING (CPHA = SCLOCK Edge SCLOCK Low Pulsewidth SL t SCLOCK High Pulsewidth SH t Data Output Valid after SCLOCK Edge DAV t Data Input Setup Time before SCLOCK Edge ...

Page 56

ADuC812 1.03 0.88 0.73 SEATING PLANE VIEW A 0.23 0.11 BSC SQ PIN 1 INDICATOR 1.00 12 MAX 0.90 0.80 0.20 REF SEATING PLANE OUTLINE DIMENSIONS 52-Lead Metric Quad Flat Package [MQFP] (S-52) Dimensions shown in millimeters 14.15 13.90 SQ ...

Page 57

Revision History Location 4/03—Data Sheet changed from REV REV. E. Updated OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 58

–58– ...

Page 59

–59– ...

Page 60

–60– ...

Related keywords