ADUC836BS Analog Devices Inc, ADUC836BS Datasheet
ADUC836BS
Specifications of ADUC836BS
Available stocks
Related parts for ADUC836BS
ADUC836BS Summary of contents
Page 1
FEATURES High Resolution - ADCs 2 Independent ADCs (16-Bit Resolution) 16-Bit No Missing Codes, Primary ADC 16-Bit rms (16-Bit p-p) Effective Resolution @ 20 Hz Offset Drift 10 nV/C, Gain Drift 0.5 ppm/C Memory 62 Kbytes On-Chip Flash/EE Program Memory ...
Page 2
ADuC836 TABLE OF CONTENTS FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 3
SPECIFICATIONS Parameter ADC SPECIFICATIONS Conversion Rate Primary ADC 2 No Missing Codes Resolution Output Noise Integral Nonlinearity 3 Offset Error Offset Error Drift 4 Full-Scale Error 5 Gain Error Drift ADC Range Matching Power Supply Rejection (PSR) Common-Mode DC ...
Page 4
ADuC836 SPECIFICATIONS (continued) Parameter INTERNAL REFERENCE ADC Reference Reference Voltage Power Supply Rejection Reference Tempco DAC Reference Reference Voltage Power Supply Rejection Reference Tempco ANALOG INPUTS/REFERENCE INPUTS Primary ADC 9, 10 Differential Input Voltage Ranges Bipolar Mode (ADC0CON3 = 0) ...
Page 5
Parameter TRANSDUCER BURNOUT CURRENT SOURCES AIN+ Current AIN– Current Initial Tolerance @ 25°C Drift EXCITATION CURRENT SOURCES Output Current Initial Tolerance @ 25°C Drift Initial Current Matching @ 25°C Drift Matching Line Regulation ( Load Regulation 2 Output ...
Page 6
ADuC836 SPECIFICATIONS (continued) Parameter LOGIC OUTPUTS (Not Including XTAL2 Output High Voltage Output Low Voltage OL 2 Floating State Leakage Current Floating State Output Capacitance POWER SUPPLY MONITOR (PSM) AV Trip Point Selection Range ...
Page 7
Parameter POWER REQUIREMENTS Power Supply Voltages Nominal Operation Nominal Operation Nominal Operation Nominal Operation POWER CONSUMPTION Power Supply ...
Page 8
... ADuC836 NOTES 1 Temperature range for ADuC836BS (MQFP package) is –40°C to +125°C. Temperature range for ADuC836BCP (CSP package) is –40°C to +85°C. 2 These numbers are not production tested but are guaranteed by design and/or characterization data on production release. 3 System Zero-Scale Calibration can remove this error. ...
Page 9
... AGND and DGND are shorted internally on the ADuC836. 3 Applies to P1.2 to P1.7 pins operating in analog or digital input modes. Model Temperature Range ADuC836BS –40°C to +125°C ADuC836BCP –40°C to +85°C EVAL-ADuC836QS 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 ...
Page 10
ADuC836 AIN1 BUF AIN AIN2 MUX AIN3 AUXILIARY ADC AIN AIN4 MUX - ADC AIN5 TEMP BAND GAP SENSOR REFERENCE REFIN V REF DETECT REFIN 200A 200A IEXC 1 CURRENT SOURCE MUX IEXC ...
Page 11
Pin No. Pin No. 52-Lead 56-Lead MQFP CSP Mnemonic P1.4/AIN1 P1.5/AIN2 P1.6/AIN3 P1.7/AIN4/DAC AGND 7 9 REFIN(– REFIN(+) MISO 15 17 RESET 16–19, 18–21, ...
Page 12
ADuC836 Pin No. Pin No. 52-Lead 56-Lead MQFP CSP Mnemonic PSEN 42 45 ALE 43–46 46–49 P0.0–P0.7 49–52 52–55 (AD0–AD3 Input Output Supply. PIN FUNCTION DESCRIPTIONS (continued) Type* Description ...
Page 13
MEMORY ORGANIZATION The ADuC836 contains four different memory blocks: 62 Kbytes of On-Chip Flash/EE Program Memory 4 Kbytes of On-Chip Flash/EE Data Memory 256 bytes of General-Purpose RAM 2 Kbytes of Internal XRAM (1) Flash/EE Program ...
Page 14
ADuC836 When accessing the internal XRAM, the P0 and P2 port pins, as well as the RD and WR strobes, will not be output as per a stan- dard 8051 MOVX instruction. This allows the user to use these port ...
Page 15
Stack Pointer (SP and SPH) The SP SFR is the stack pointer and is used to hold an internal RAM address that is called the “top of the stack.”The SP Register is incremented before data is stored, during PUSH and ...
Page 16
ADuC836 COMPLETE SFR MAP Figure 6 shows a full SFR memory map and the SFR con- tents after RESET. NOT USED indicates unoccupied SFR locations. Unoccupied locations in the SFR address space are ISPI WCOL SPE SPIM CPOL CPHA FFH ...
Page 17
ADC SFR INTERFACE Both ADCs are controlled and configured via a number of SFRs that are summarized here and described in more detail in the following sections. ADCSTAT ADC Status Register. Holds general status of the primary and auxiliary ADCs. ...
Page 18
ADuC836 ADCMODE (ADC Mode Register) Used to control the operational mode of both ADCs. SFR Address D1H Power-On Default Value 00H Bit Addressable No Bit Name Description 7 ––– Reserved for Future Use 6 ––– Reserved for Future Use 5 ...
Page 19
ADC0CON (Primary ADC Control Register) and ADC1CON (Auxiliary ADC Control Register) The ADC0CON and ADC1CON SFRs are used to configure the primary and auxiliary ADC for reference and channel selection, unipolar or bipolar coding and, in the case of the ...
Page 20
ADuC836 ADC0H/ADC0M (Primary ADC Conversion Result Registers) These two 8-bit registers hold the 16-bit conversion result from the primary ADC. SFR Address ADC0H ADC0M Power-On Default Value 00H Bit Addressable No ADC1H/ADC1L (Auxiliary ADC Conversion Result Registers) These two 8-bit ...
Page 21
SF (Sinc Filter Register) The number in this register sets the decimation factor and thus the output update rate for the primary and auxiliary ADCs. This SFR cannot be written by user software while either ADC is active. The update ...
Page 22
ADuC836 PRIMARY AND AUXILIARY ADC NOISE PERFORMANCE Tables X, XI, and XII show the output rms noise in mV and output peak-to-peak resolution in bits (rounded to the nearest 0.5 LSB) for some typical output update rates on both the ...
Page 23
PRIMARY AND AUXILIARY ADC CIRCUIT DESCRIPTION Overview The ADuC836 incorporates two independent - ADCs (primary and auxiliary) with on-chip digital filtering intended for the mea- surement of wide dynamic range, low frequency signals such as those in weigh-scale, strain gage, ...
Page 24
ADuC836 Auxiliary ADC The auxiliary ADC is intended to convert supplementary inputs such as those from a cold junction diode or thermistor.This ADC is not buffered and has a fixed input range 2.5V (assuming an external 2.5 ...
Page 25
Primary and Auxiliary ADC Inputs The output of the Primary ADC multiplexer feeds into a high impedance input stage of the buffer amplifier result, the primary ADC inputs can handle significant source impedances and are tailored for direct ...
Page 26
ADuC836 Reference Input The ADuC836’s reference inputs, REFIN(+) and REFIN(–), provide a differential reference input capability. The common- mode range for these differential inputs is from AGND to AV The nominal reference voltage, V (REFIN(+) – REFIN(–)), REF for specified ...
Page 27
Digital Filter The output of the - modulator feeds directly into the digital filter.The digital filter then band-limits the response to a frequency significantly lower than one-half of the modulator frequency. In this manner, the 1-bit output of the comparator ...
Page 28
ADuC836 ADC Chopping Both ADCs on the ADuC836 implement a chopping scheme whereby the ADC repeatedly reverses its inputs. The decimated 3 digital output words from the Sinc filters therefore have a positive offset and negative offset term included. As ...
Page 29
NONVOLATILE FLASH/EE MEMORY Flash/EE Memory Overview The ADuC836 incorporates Flash/EE memory technology on-chip to provide the user with nonvolatile, in-circuit, repro- grammable code and data memory space. Flash/EE memory is a relatively recent type of nonvolatile memory technology and is ...
Page 30
ADuC836 Flash/EE Program Memory The ADuC836 contains a 64 Kbyte array of Flash/EE program memory. The lower 62 Kbytes of this program memory are avail- able to the user, and can be used for program storage or indeed as additional ...
Page 31
User Download Mode (ULOAD) In Figure 17 we can see that it was possible to use the 62 Kbytes of Flash/EE program memory available to the user as one single block of memory. In this mode, all of the Flash/EE ...
Page 32
ADuC836 Using the Flash/EE Data Memory The 4 Kbytes of Flash/EE data memory are configured as 1024 pages, each of four bytes. As with the other ADuC836 peripherals, the interface to this memory space is via a group of registers ...
Page 33
Programming the Flash/EE Data Memory A user wishes to program F3H into the second byte on Page 03H of the Flash/EE data memory space while preserving the other three bytes already in this page. A typical program of the Flash/EE ...
Page 34
ADuC836 DAC The ADuC836 incorporates a 12-bit voltage output DAC on-chip. It has a rail-to-rail voltage output buffer capable of driving 10 k/100 pF. It has two selectable ranges nal band gap 2.5 V reference) and ...
Page 35
–50mV DD V –100mV DD 100mV 50mV 0mV 000H Figure 22. Endpoint Nonlinearities Due to Amplifier Saturation Note that Figure 22 represents a transfer function in 0-to-V only. In 0-to-V mode (with V < V REF REF ...
Page 36
ADuC836 PULSEWIDTH MODULATOR (PWM) The PWM on the ADuC836 is a highly flexible PWM offering programmable resolution and input clock, and can be configured for any one of six different modes of operation.Two of these modes allow the PWM to ...
Page 37
PWM MODES OF OPERATION Mode 0: PWM Disabled The PWM is disabled, allowing P1.0 and P1 used as normal. Mode 1: Single Variable Resolution PWM In Mode 1, both the pulse length and the cycle time (period) are ...
Page 38
ADuC836 Mode 4: Dual NRZ 16-Bit - DAC Mode 4 provides a high speed PWM output similar to that of a - DAC. Typically, this mode will be used with the PWM clock equal to 12.58 MHz. In this mode, ...
Page 39
ON-CHIP PLL The ADuC836 is intended for use with a 32.768 kHz watch crystal. A PLL locks onto a multiple (384) of this to provide a stable 12.582912 MHz clock for the system. The core can operate at this frequency, ...
Page 40
ADuC836 TIME INTERVAL COUNTER (WAKE-UP/RTC TIMER) A time interval counter (TIC) is provided on-chip for: Periodically waking up the part from power-down Implementing a real-time clock Counting longer intervals than the standard 8051 compatible timers are capable ...
Page 41
INTVAL User Time Interval Select Register Function User code writes the required time interval to this register. When the 8-bit interval counter is equal to the time interval value loaded in the INTVAL SFR, the TII bit (TIMECON.2) is set ...
Page 42
ADuC836 WATCHDOG TIMER The purpose of the watchdog timer is to generate a device reset or interrupt within a reasonable amount of time if the ADuC836 enters an erroneous state, possibly due to a programming error, electrical noise, or RFI. ...
Page 43
POWER SUPPLY MONITOR As its name suggests, the Power Supply Monitor, once enabled, monitors both supplies ( the ADuC836. It will DD DD indicate when any of the supply pins drops below one of four user-selectable ...
Page 44
ADuC836 SERIAL PERIPHERAL INTERFACE The ADuC836 integrates a complete hardware Serial Peripheral Interface (SPI) interface on-chip. SPI is an industry-standard synchronous serial interface that allows eight bits of data to be synchronously transmitted and received simultaneously, i.e., full- duplex. It ...
Page 45
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 46
ADuC836 SERIAL INTERFACE The ADuC836 supports a fully licensed interface is implemented as a full hardware slave and soft- ware master. SDATA (Pin 27) is the data I/O pin and SCLOCK (Pin 26) ...
Page 47
The main features of the MicroConverter I Only two bus lines are required: a serial data line (SDATA) and a serial clock line (SCLOCK master can communicate with multiple slave devices. Because each slave ...
Page 48
ADuC836 DUAL DATA POINTER The ADuC836 incorporates both main and shadow data pointers. The shadow data pointer is selected via the data pointer control SFR (DPCON). DPCON also includes features such as automatic hardware post-increment and post-decrement, as well as ...
Page 49
COMPATIBLE ON-CHIP PERIPHERALS This section gives a brief overview of the various secondary peripheral circuits, which are also available to the user on-chip. These remaining functions are mostly 8052 compatible (with a few additional features) and are controlled via ...
Page 50
ADuC836 P1.2 to P1.7 The remaining Port 1 pins (P1.2 to P1.7) can only be configured as analog input (ADC) or digital input pins. By (power-on) default, these pins are configured as analog inputs, i.e., 1 written in the corresponding ...
Page 51
Notice also that direct access to the SCLOCK and SDATA/MOSI pins is afforded through the SFR interface in I Therefore, if you are not using the SPI or I use these two pins to provide additional high current digital outputs. ...
Page 52
ADuC836 TIMERS/COUNTERS The ADuC836 has three 16-bit Timer/Counters:Timer 0,Timer 1, and Timer 2. The Timer/Counter hardware has been included on-chip to relieve the processor core of the overhead inherent in implementing timer/counter functionality in software. Each Timer/Counter consists of two ...
Page 53
TCON Timer/Counter 0 and 1 Control Register SFR Address 88H Power-On Default Value 00H Bit Addressable Yes Bit Name Description 7 TF1 Timer 1 Overflow Flag. Set by hardware on a Timer/Counter 1 overflow. Cleared by hardware when the Program ...
Page 54
ADuC836 TIMER/COUNTER 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 both Timer 0 and ...
Page 55
TIMER/COUNTER 2 OPERATING 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 XXIX. Table XXVIII. Timer 2 Operating Modes RCLK (or) TCLK CAP2 ...
Page 56
ADuC836 T2CON Timer/Counter 2 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. TF2 will not be set when either ...
Page 57
UART SERIAL INTERFACE The serial port is full-duplex, meaning it can transmit and receive simultaneously also receive-buffered, meaning it can com- mence reception of a second byte before a previously received byte has been read from the receive ...
Page 58
ADuC836 Mode 1: 8-Bit UART, Variable Baud Rate Mode 1 is selected by clearing SM0 and setting SM1. Each data byte (LSB first) is preceded by a start bit (0) and followed by a stop bit (1).Therefore 10 bits are ...
Page 59
BAUD RATE GENERATION USING TIMER 1 AND TIMER 2 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 ...
Page 60
ADuC836 BAUD RATE GENERATION USING TIMER 3 The high integer dividers in a UART block means that high speed baud rates are not always possible using some particular crystals, e.g., using a 12 MHz crystal, a baud rate of 115200 ...
Page 61
INTERRUPT SYSTEM The ADuC836 provides a total of 11 interrupt sources with two priority levels. The control and configuration of the interrupt system are carried out through three interrupt-related SFRs: the IE (Interrupt Enable) Register, IP (Interrupt Priority Register), and ...
Page 62
ADuC836 Interrupt Priority The Interrupt Enable registers are written by the user to enable individual interrupt sources, while the Interrupt Priority registers allow the user to select one of two priority levels for each inter- rupt. An interrupt of a ...
Page 63
ADuC836 HARDWARE DESIGN CONSIDERATIONS This section outlines some of the key hardware design consider- ations that must be addressed when integrating the ADuC836 into any hardware system. External Memory Interface In addition to its internal program and data memories, the ...
Page 64
ADuC836 Power Supplies The ADuC836’s operational power supply voltage range is 2 5.25 V. Although the guaranteed data sheet specifications are given only for power supplies within 2 3 +5% of the nominal 5 ...
Page 65
Power Saving Modes Setting the Idle and Power-Down Mode Bits, PCON.0 and PCON.1, respectively, in the PCON SFR described in Table II allows the chip to be switched from Normal mode into Idle mode, and also into full Power-Down mode. ...
Page 66
ADuC836 PLACE ANALOG a. COMPONENTS HERE AGND PLACE ANALOG b. COMPONENTS HERE AGND PLACE ANALOG c. COMPONENTS HERE GND Figure 64. System Grounding Schemes If the user plans to connect fast logic signals (rise/fall time < 5 ns) to any ...
Page 67
OTHER HARDWARE CONSIDERATIONS In-Circuit Serial Download Access Nearly all ADuC836 designs will want to take advantage of the in-circuit reprogrammability of the chip. This is accomplished by a connection to the ADuC836’s UART, which requires an external RS-232 chip for ...
Page 68
ADuC836 Typical System Configuration A typical ADuC836 configuration is shown in Figure 66. It sum- marizes some of the hardware considerations discussed in the previous paragraphs. Figure 66 also includes connections for a typical analog mea- surement application of the ...
Page 69
QUICKSTART DEVELOPMENT SYSTEM The QuickStart Development System is a full featured, low cost development tool suite supporting the ADuC836. The system consists of the following PC based (Windows ware and software development tools: Hardware: ADuC836 Evaluation Board and Serial Port ...
Page 70
ADuC836 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 1/t ADuC836 Core ...
Page 71
Parameter EXTERNAL PROGRAM MEMORY 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 t ALE Low to PSEN Low LLPL t PSEN Pulsewidth ...
Page 72
ADuC836 Parameter EXTERNAL DATA MEMORY READ CYCLE t RD Pulsewidth RLRH t Address Valid after ALE Low AVLL t Address Hold after ALE Low LLAX t RD Low to Valid Data In RLDV t Data and Address Hold after RD ...
Page 73
Parameter EXTERNAL DATA MEMORY WRITE CYCLE t WR Pulsewidth WLWH t Address Valid after ALE Low AVLL t Address Hold after ALE Low LLAX t ALE Low to WR Low LLWL t Address Valid to WR Low AVWL t Data ...
Page 74
ADuC836 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 75
Parameter SPI MASTER MODE TIMING (CPHA = 1) t SCLOCK Low Pulsewidth SCLOCK High Pulsewidth Data Output Valid after SCLOCK Edge DAV t Data Input Setup Time before SCLOCK Edge DSU t Data Input Hold Time ...
Page 76
ADuC836 Parameter SPI MASTER MODE TIMING (CPHA = 0) t SCLOCK Low Pulsewidth SCLOCK High Pulsewidth Data Output Valid after SCLOCK Edge DAV t Data Output Setup before SCLOCK Edge DOSU t Data Input Setup Time ...
Page 77
Parameter SPI SLAVE MODE TIMING (CPHA = SCLOCK Edge SS t 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 78
ADuC836 Parameter SPI SLAVE MODE TIMING (CPHA = SCLOCK Edge SS t 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 79
Parameter 2 I C-SERIAL INTERFACE TIMING t SCLOCK Low Pulsewidth L t SCLOCK High Pulsewidth H t Start Condition Hold Time SHD t Data Setup Time DSU t Data Hold Time DHD t Setup Time for Repeated Start RSU t ...
Page 80
ADuC836 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 Revision History Location 4/03—Data Sheet changed from REV REV. A. Updated OUTLINE DIMENSIONS . ...