ADUC847BCPZ8-5 Analog Devices Inc, ADUC847BCPZ8-5 Datasheet

IC,Data Acquisition CODEC,2-CHANNEL,LLCC,56PIN,PLASTIC

ADUC847BCPZ8-5

Manufacturer Part Number
ADUC847BCPZ8-5
Description
IC,Data Acquisition CODEC,2-CHANNEL,LLCC,56PIN,PLASTIC
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC8xxr
Datasheet

Specifications of ADUC847BCPZ8-5

Core Processor
8052
Core Size
8-Bit
Speed
12.58MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
POR, PSM, PWM, Temp Sensor, WDT
Number Of I /o
34
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
4.75 V ~ 5.25 V
Data Converters
A/D 10x24b; D/A 1x12b, 2x16b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
56-LFCSP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
EVAL-ADUC847QSZ - KIT DEV QUICK START FOR ADUC847
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
FEATURES
High resolution Σ-∆ ADCs
2 independent 24-bit ADCs on the ADuC845
Single 24-bit ADC on the ADuC847 and
Up to 10 ADC input channels on all parts
24-bit no missing codes
22-bit rms (19.5 bit p-p) effective resolution
Offset drift 10 nV/°C, gain drift 0.5 ppm/°C chop enabled
Memory
8051-based core
On-chip peripherals
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.
Specifications subject to change without notice. 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 owners.
single 16-bit ADC on the ADuC848
62-kbyte on-chip Flash/EE program memory
4-kbyte on-chip Flash/EE data memory
Flash/EE, 100-year retention, 100 kcycle endurance
3 levels of Flash/EE program memory security
In-circuit serial download (no external hardware)
High speed user download (5 sec)
2304 bytes on-chip data RAM
8051-compatible instruction set
High performance single-cycle core
32 kHz external crystal
On-chip programmable PLL (12.58 MHz max)
3 × 16-bit timer/counter
24 programmable I/O lines, plus 8 analog or
11 interrupt sources, two priority levels
Dual data pointer, extended 11-bit stack pointer
Internal power-on reset circuit
12-bit voltage output DAC
Dual 16-bit Σ-∆ DACs
On-chip temperature sensor (ADuC845 only)
Dual excitation current sources (200 µA)
Time interval counter (wake-up/RTC timer)
UART, SPI®, and I
High speed dedicated baud rate generator (incl. 115,200)
Watchdog timer (WDT)
Power supply monitor (PSM)
digital input lines
2
C® serial I/O
Power
APPLICATIONS
Multichannel sensor monitoring
Industrial/environmental instrumentation
Weigh scales, pressure sensors, temperature monitoring
Portable instrumentation, battery-powered systems
Data logging, precision system monitoring
AINCOM
REFIN2+
REFIN2–
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781.329.4700
Fax: 781.326.8703
REFIN–
REFIN+
RESET
ADuC845/ADuC847/ADuC848
DGND
AIN10
DV
AIN1
Normal: 4.8 mA max @ 3.6 V (core CLK = 1.57 MHz)
Power-down: 20 µA max with wake-up timer running
Specified for 3 V and 5 V operation
Package and temperature range:
DD
24-/16-Bit ADCs with Embedded 62 kB
52-lead MQFP (14 mm × 14 mm), −40°C to +125°C
56-lead LFCSP (8 mm × 8 mm), −40°C to +85°C
XTAL1
MUX
EXTERNAL
AVCO
DETECT
POR
OSC
V
FUNCTIONAL BLOCK DIAGRAM
REF
Figure 1. ADuC845 Functional Block Diagram
AGND
XTAL2
SENSOR
MicroConverter
TEMP
BUF
Flash and Single-Cycle MCU
PLL AND PRG
BAND GAP
INTERNAL
CLOCK DIV
RTC TIMER
ADuC845
WAKE-UP/
© 2005 Analog Devices, Inc. All rights reserved.
V
REF
24-BIT Σ-∆ ADC
AUXILIARY
PGA
24-BIT Σ-∆ ADC
62 kBYTES FLASH/EE PROGRAM MEMORY
PRIMARY
3 × 16 BIT TIMERS
BAUD RATE TIMER
4 kBYTES FLASH/EE DATA MEMORY
4 × PARALLEL
SINGLE-CYCLE 8061-BASED MCU
PORTS
2304 BYTES USER RAM
®
Multichannel
DUAL 16-BIT
DUAL 16-BIT
Σ-∆ DAC
AV
12-BIT
PWM
DAC
POWER SUPPLY MON
DD
WATCHDOG TIMER
www.analog.com
UART, SPI, AND I
SERIAL I/O
CURRENT
SOURCE
BUF
MUX
2
C
IEXC1
IEXC2
DAC
PWM0
PWM1

Related parts for ADUC847BCPZ8-5

ADUC847BCPZ8-5 Summary of contents

Page 1

FEATURES High resolution Σ-∆ ADCs 2 independent 24-bit ADCs on the ADuC845 Single 24-bit ADC on the ADuC847 and single 16-bit ADC on the ADuC848 ADC input channels on all parts 24-bit no missing codes 22-bit rms ...

Page 2

ADuC845/ADuC847/ADuC848 TABLE OF CONTENTS Specifications..................................................................................... 4 Abosolute Maximum Ratings ....................................................... 10 ESD Caution................................................................................ 10 Pin Configurations and Function Descriptions ......................... 11 General Description ....................................................................... 15 8052 Instruction Set ................................................................... 18 Timer Operation......................................................................... 18 ALE............................................................................................... 18 External Memory Access........................................................... 18 Complete ...

Page 3

Power Supplies.............................................................................87 Power-On Reset Operation........................................................88 Power Consumption ...................................................................88 Power-Saving Modes ..................................................................88 Grounding and Board Layout Recommendations .................89 Other Hardware Considerations...............................................90 REVISION HISTORY 2/05—Rev Rev. B Changes to Figure 1...........................................................................1 Changes to the Burnout Current Sources Section ......................32 Changes ...

Page 4

ADuC845/ADuC847/ADuC848 1 SPECIFICATIONS DGND = 0 V; XTAL1/XTAL2 = 32.768 kHz crystal; all specifications T ADC, unless otherwise noted. Core speed = 1.57 MHz (default ...

Page 5

Parameter 2 Normal Mode Rejection 50 Hz/ AIN 2 Analog Input Current Analog Input Current Drift Average Input Current Average Input Current Drift 2 Absolute AIN Voltage Limits Absolute AIN Voltage Limits 2 EXTERNAL REFERENCE INPUTS REFIN(+) to ...

Page 6

ADuC845/ADuC847/ADuC848 Parameter AUXILIARY ADC ANALOG INPUTS (ADuC845 Only Differential Input Voltage Ranges Bipolar Mode (ADC1CON Unipolar Mode (ADC1CON Average Analog Input Current Analog Input Current Drift Absolute AIN/AINCOM Voltage 2, 7 Limits 2 Normal ...

Page 7

Parameter TRANSDUCER BURNOUT CURRENT SOURCES AIN+ Current AIN− Current Initial Tolerance at 25°C Drift EXCITATION CURRENT SOURCES Output Current Initial Tolerance at 25°C Drift Initial Current Matching at 25°C Drift Matching Line Regulation ( Load Regulation 2 Output ...

Page 8

ADuC845/ADuC847/ADuC848 Parameter LOGIC OUTPUTS (All Digital Outputs except XTAL2 Output High Voltage Output Low Voltage OL 2 Floating State Leakage Current Floating State Output Capacitance START-UP TIME At Power-On After Ext RESET in Normal ...

Page 9

Parameter PWM −Fxtal −Fvco TIC 3 V Power Consumption 11, 12 Normal Mode DV Current DD AV Current DD 11, 12 Power-Down Mode DV Current DD AV Current DD 1 Temperature range is for ADuC845BS; for the ADuC847BS and ADuC848BS ...

Page 10

ADuC845/ADuC847/ADuC848 ABOSOLUTE MAXIMUM RATINGS T = 25°C, unless otherwise noted. A Table 2. Parameter AV to AGND DGND DGND DGND DD 1 AGND to DGND ...

Page 11

PIN CONFIGURATIONS AND FUNCTION DESCRIPTIONS P1.0/AIN1 1 PIN 1 2 P1.1/AIN2 IDENTIFIER 3 P1.2/AIN3/REFIN2+ 4 P1.3/AIN4/REFIN2– ADuC845/ADuC847/ADuC848 AGND 6 REFIN– 7 TOP VIEW REFIN+ ...

Page 12

ADuC845/ADuC847/ADuC848 Pin No: Pin No: 56- 52-MQFP LFCSP Mnemonic 9 9 P1.4/AIN5 10 10 P1.5/AIN6 11 11 P1.6/AIN7/IEXC1 12 12 P1.7/AIN8/IEXC2 13 13 AINCOM/DAC 14 14 DAC ---- 15 AIN9 ---- 16 AIN10 15 17 RESET 16– 19 18– 21 ...

Page 13

Pin No: Pin No: 56- 52-MQFP LFCSP Mnemonic 20, 34, 48 22, 36 21, 35 38, 50 DGND SCLK ( SDATA P2.0–P2.7 28–31, 30–33, 39– 36– 39 ...

Page 14

ADuC845/ADuC847/ADuC848 Pin No: Pin No: 56- 52-MQFP LFCSP Mnemonic 43–46, 46–49, 52– P0.0–P0.7 49– input output supply. 1 Type Description I/O These pins are part of Port 0, which is an 8-bit ...

Page 15

GENERAL DESCRIPTION The AD uC84 5, ADuC84 and ADuC 7, 848 are singl 12.58 M IPs, 8052 core upgr es to the ADuC834 and ad ADuC836. They include additional analog inputs for applications requiring more ADC channels. The ADuC845, ADuC847, ...

Page 16

ADuC845/ADuC847/ADuC848 AIN1 56 AIN2 1 AIN3 2 AIN4 3 BUF AIN5 9 AIN AIN6 10 MUX AIN7 11 AUXILIARY ADC AIN8 12 AIN9 15 AIN10 16 AINCOM/DAC 13 BAND GAP REFERENCE TEMP ...

Page 17

AIN1 56 AIN2 1 AIN3 2 AIN4 3 BUF AIN5 9 AIN AIN6 10 MUX AIN7 11 AIN8 12 AIN9 15 AIN10 16 AINCOM/DAC 13 BAND GAP REFERENCE REFIN REF ...

Page 18

ADuC845/ADuC847/ADuC848 AIN1 56 AIN2 1 AIN3 2 AIN4 3 BUF AIN5 9 AIN AIN6 10 MUX AIN7 11 AIN8 12 AIN9 15 AIN10 16 AINCOM/DAC 13 BAND GAP REFERENCE REFIN+ 8 REFIN– ...

Page 19

COMPLETE SFR MAP ISPI WCOL SPE SPIM CPO L CPHA FFH 0 FEH 0 FDH 0 FCH 0 FBH 0 FAH F7H 0 F6H 0 F5H 0 F4H 0 F3H 0 F2H MDO MDE MCO MDI I2CM I2CRS EFH 0 ...

Page 20

ADuC845/ADuC847/ADuC848 FUNCTIO NAL DESCRIPTION 8051 INSTRUCTION SET Table 4 . Optimized Single-Cycle 8051 Instruc Mnemonic Arithmetic A A,Rn ADD A,@Ri ADD A,dir ADD A,#data ADDC A,Rn ADDC A,@Ri ADDC A,dir ADD A,#data SUBB A,Rn SUBB A,@Ri SUBB A,dir SUBB A,#data ...

Page 21

Mnemonic RLC RRC A Data Transfer MOV A,Rn MOV A,@Ri MOV Rn,A MOV @Ri,A MOV A,dir MOV A,#data MOV Rn,#data MOV dir,A MOV Rn, dir MOV dir, Rn MOV @Ri,#data MOV dir,@Ri MOV @Ri,dir MOV dir,dir MOV ...

Page 22

ADuC845/ADuC847/ADuC848 Mnemoni c SJMP rel JC rel JNC rel JZ rel JNZ rel DJNZ Rn,rel LJMP 3 LCALL addr16 JB bit,rel JNB bit,rel JBC bit,rel CJNE A,dir,rel CJNE A,#data,rel CJNE Rn,#data,rel CJNE @Ri,#data,rel DJNZ dir,rel Miscellaneous NOP 1 One cycle ...

Page 23

BANKS SELECTED VIA 20H BITS IN PSW 1FH 11 18H 17H 10 10H 0FH 01 08H 07H 00 00H Figure 8. Lower 128 Bytes of Internal Data Memory Internal XRAM The ADuC845, ADuC847, and ADuC848 contain 2 ...

Page 24

ADuC845/ADuC847/ADuC848 SPECIAL FUNCTION REGIST ERS (SFRs) The SFR space is mapped into the upper 128 bytes of internal data memory space and accessed by direct addre provides an inte face betwee r n the CPU and all on-chip periph- erals. ...

Page 25

Power Control Register (PCON) The PCON SFR contains bits for power-saving options and general-purpose status flags as listed in Table 6. SFR Address: 87H Power-On Default: 00H Bit Addressable: No Table 6. PCON SFR Bit Designations Bit No. Name Description ...

Page 26

ADuC845/ADuC847/ADuC848 ADC CIRCUIT INFORMATION The ADuC845 incorporates two 10-channel (8-channel on th MQFP package) 24-bit Σ-∆ ADCs, while the ADuC847 and ADuC848 each incorporate a single 10-channel (8-channel on the MQFP package) 24-bit and 16-bit Σ-∆ ADC. Each part also ...

Page 27

Signal Chain Overview (Chop Enabled, CHOP = 0) With the CHOP bit = 0 (see the ADCMODE SFR bit designa- tions in Table 24), the chopping scheme is enabled. This is the default condition and gives optimum performance in terms ...

Page 28

ADuC845/ADuC847/ADuC848 Thi s offset i s remove d by performing a r Thi s average eans that the settling pro grammin ADC is twice the no whi le an asy nchron ous step ...

Page 29

ADC Noise Performance with Chop Enabled (CHOP = 0) Table 10, Table 11, Table 12, and Table 13 show the output rm noise and output peak-to-peak resolution in bits (rounded to the nearest 0.5 LSB) for some typical output update ...

Page 30

ADuC845/ADuC847/ADuC848 Signal Chain Overview with Chop Disabled (CHOP = 1) With CHOP = 1, chop is disabled and the available output rates vary from 16. 1.365 kHz. The range of applicable SF words is from 3 to 255. ...

Page 31

ADC Noise Performance with Chop Disabl Table 14, Table 15, Table 16, and Table 17 show the output rm noise and output peak-to-peak reso lution in bits (rounded to the neares t 0.5 LSB) for some typical out num bers ...

Page 32

ADuC845/ADuC847/ADuC848 AUXILIARY ADC (ADUC845 ONLY) Table 18. ADuC845 Typical Output RMS Noise (µV) vs. Update Rate with Chop Enabled SF Word Data Update Rate (Hz) 13 105.03 23 59.36 27 50.56 69 19.79 255 5.35 Table 19. ADuC845 Typical Peak-to-Peak ...

Page 33

When the resulting voltage meas full scale, the transduce r has gone open circuit. When the voltage measured this i ndicates that ...

Page 34

ADuC845/ADuC847/ADuC848 enabled for any SF word that yields an ADC throughput that i less than 20 Hz with chop enabled (SF ≥ 68 decimal). ADC CHOPPING The ADCs on the ADuC845/ADuC847/ADuC848 implement a chopping scheme whereby the ADC repeatedly reverses ...

Page 35

Therefore, the full-scale endpo int calibration automatically subtracts the offset calibration error advisable to perform an offset calibration at the same gain range as that used for full- scale calibration. There is no penalty to the full-scale calibration ...

Page 36

ADuC845/ADuC847/ADuC848 DATA OUTPUT CODING When the primary ADC is configured for unipolar operation, the output coding is natural (straight) binary with a zero differ- ential input voltage resulting in a code of 000...000, a midscale voltage resulting in a code ...

Page 37

TYPICAL PERFORMANCE CHA 0 –10 –20 –30 –40 –50 –60 –70 –80 –90 –100 –110 –120 FREQUENCY (Hz) Figure 18. Filter Response, Chop On Decimal –10 –30 –50 –70 ...

Page 38

ADuC845/ADuC847/ADuC848 0 –20 –40 –60 –80 –100 –120 FREQUENCY (Hz) Figure 24. Chop On, Fadc = 16.6 Hz 52H 0 –20 –40 –60 –80 –100 –120 Figure 25. Chop On, Fadc = 16.6 Hz 52H, REJ60 ...

Page 39

FUNCTIONAL DESCRIPTION ADC SFR INTERFACE The ADCs are co trol n led and configured via a number of SFRs that are mentioned here and described in more detail in the following sections. Table 22. ADC terfa ce ...

Page 40

ADuC845/ADuC847/ADuC848 ADCSTAT (ADC STATUS REGI STER) This SFR reflects the status of both ADCs including data ready clu ding REFIN± reference detect and conversion overflow/un SFR Address: D8H Pow er-On Default: 00H Bit A ddressable: Yes Tabl e ...

Page 41

ADCMODE (ADC MODE REGISTER) Used to control the operational mode of both ADCs. SFR Address: D1H Power-On Default: 08H Bit Addressable: No Table 24. ADCMODE SFR Bit Designations Bit No. N ame Description 7 – –– Not Implemented. Write D ...

Page 42

ADuC845/ADuC847/ADuC848 Notes on the ADCMODE Register • Any change to the MD bits immediately resets both ADCs (auxiliary ADC o nly applicab le to the ADuC845). A write to the MD2–MD bits w 0 ith no change in contents is ...

Page 43

ADC0CON1 (PRIMARY ADC CONTROL REGISTER) ADC0CON1 is used to configure the primary ADC for buffer, unipolar, or bipolar coding, and ADC range configuration. SFR Address: D2H Power-On Def lt: au 07H Bit Addressable able 25. ADC0CON1 SFR Bit ...

Page 44

ADuC845/ADuC847/ADuC848 ADC0CON2 (PRIMARY ADC CHANNEL SELE ADC0CON2 is used to select a reference source and channel for the primary ADC. SFR Address: E6H Power-On Default: 00H Bit Addressable: No Table 26. ADC0CON2 SFR Bit Designations Bit N o. Name Descr ...

Page 45

ADC1CON (AUXILIARY ADC CONTROL REGISTER) (ADuC845 O ADC1CON is used to configure the auxiliary ADC for reference, channel selection, and unipo available only DuC8 45. SFR Address: D3H Power-On Default: 00H Bi t Addressable: No Table ...

Page 46

ADuC845/ADuC847/ADuC848 SF (ADC SINC FILTER CONTROL REGISTER) The SF register is used to configure the decimation factor fo SFR Address: D4H Power-On Default: 45H Bit Addressable: No Table 28. Sinc Filter SFR Bit Designations SF.7 SF.6 SF ...

Page 47

ICON (EXCITATION CURRENT SOURCES CONTROL REGISTE The ICON reg ister is used to configure the current s SFR Address: D5H Power-On Default: 00H Bit Addressable: No Table 30. Excitation Current Source SFR Bit Designations Bit No. Name Description 7 ––– ...

Page 48

ADuC845/ADuC847/ADuC848 NONVOLATILE FLASH/EE MEMORY OVERVIEW The ADuC845/ADuC847/ADuC848 incorporate Flash/EE memory technology on-chip to provide the user with nonvolatile in-circuit reprogrammable code and data memory space. Like EEPROM, flash memory can be programmed in-system at the byte level, although it must ...

Page 49

ADI SPECIFICATION 100 YEARS MIN 55°C J 150 100 JUNCTION TEMPERATURE (° Figure 27. Flash/EE Memory Data Retention F LASH/EE PROGRAM MEMORY The ADuC845/ADuC847/ADuC848 contain ...

Page 50

ADuC845/ADuC847/ADuC848 USER DOWNLOAD MODE (ULOAD) Figure 28 shows that it is 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 the Flash/EE memory is read-only ...

Page 51

USING FLASH/EE DATA MEMORY The 4 kbytes of Flash/EE data memory are configured as 1024 pages, each of 4 bytes. As with the other ADuC845/ADuC847/ ADuC848 peripherals, the interface to this memory space is via a group of registers mapped ...

Page 52

ADuC845/ADuC847/ADuC848 Example: Programming the Flash/EE Data Memory A user wants to program F3H into the second byte on Page 03H of the Flash/EE data memory space while preserving the other 3 bytes already in this page. A typical program of ...

Page 53

DAC CIRCUIT INFORMATION The ADuC845/ADuC847/ADuC848 incorporate a 12-bit, voltage output DAC on-chip. It has a rail-to-rail voltage output buffer capable of driving 10 kΩ/100 pF, and has two selectable ranges and ...

Page 54

ADuC845/ADuC847/ADuC848 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 shown in Figure 33 REF R OUTPUT BUFFER R R HIGH-Z ...

Page 55

DAC LOADED WITH 0FFFH 2 1 DAC LOADED WITH 0000H SOURCE/SINK CURRENT (mA) Figure 36. Source and Sink Current Capability with V For larger loads, the current drive capability may not be suffi- cient. To increase ...

Page 56

ADuC845/ADuC847/ADuC848 PWMCON PWM Control SFR SFR Address: AEH Power-On Default: 00H Bit Addressable: No Table 34. PWMCON PWM Control SFR Bit No. Name Description 7 ––– Not Implemented. Write Don’t Care PWM2, PWM1, PWM0 PMW Mode Selection. ...

Page 57

PWM Cycle Width High Byte (PWM1H) SFR Address: B4H Power-On Default: 00H Bit Addressable: No Table 37. PWM1H: PWM Cycle Width High Byte PWM1H.7 PWM1H.6 PWM1H R/W R/W R/W PWM Cycle Width Low Byte (PWM1L) SFR Address: ...

Page 58

ADuC845/ADuC847/ADuC848 Mode 3 (Twin 16-Bit PWM) In Mode 3, the PWM counter is fixed to count from 0 to 65536, giving a fixed 16-bit PWM. Operating from the 12.58 MHz core clock results in a PWM output rate of 192 ...

Page 59

Mode 5 (Dual 8-Bit PWM) In Mode 5, the duty cycle and the resolution of the PWM outputs are individually programmable. The maximum resolution of the PWM output is 8 bits. PWM COUNTERS Figure 43. PWM Mode 5 Mode 6 ...

Page 60

ADuC845/ADuC847/ADuC848 ON-CHIP PLL (PLLCON) The ADuC845/ADuC847/ADuC848 are 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 ...

Page 61

I C SERIAL INTERFACE The ADuC845/ADuC847/ADuC848 support a fully licensed serial interface. The I C interface is implemented as a full hardware slave and software master. SDATA (Pin 27 on the MQFP package and Pin ...

Page 62

ADuC845/ADuC847/ADuC848 2 I2CADD—I C Address Register 1 Function: Holds one of the I Note uC001 at SFR Address: 9BH Power-On Default: 55H Bit Addressable I2CADD1—I C Address Register 2 Function: Same as the I2CADD. SFR Address: F2H Power-On ...

Page 63

Hardware Slave Mode After reset, the ADuC845/ADuC847/ADuC848 default to 2 hardware slave mode. The I C interface is enabled by clearing the SPE bit in SPICON. Slave mode is enabled by clearing the I2CM bit in I2CCON. The parts have ...

Page 64

ADuC845/ADuC847/ADuC848 SPI SERIAL INTERFACE The ADuC845/ADuC847/ADuC848 integrate a complete hardware serial peripheral interface (SPI) interface on-chip. SPI is an industry-standard synchronous serial interface that allows 8 bits of data to be synchronously transmitted and received simultaneously, that is, full duplex. ...

Page 65

SPICON—SPI Control Register SFR Address: F8H Power-On Default: 05H Bit Addressable: Yes Table 41. SPICON SFR Bit Designations Bit No. Name Description 7 ISPI SPI Interrupt Bit. Set by the MicroConverter at the end of each SPI transfer. Cleared directly ...

Page 66

ADuC845/ADuC847/ADuC848 USING THE SPI INTERFACE Depending on the configuration of the bits in the SPICON SFR shown in Table 41, the SPI interface transmits or receives data in a number of possible modes. Figure 46 shows all possible ADuC845/ADuC847/ADuC848 SPI ...

Page 67

DUAL DATA POINTERS The parts incorporate two data pointers. The second data pointer is a shadow data pointer and is selected via the data pointer control SFR (DPCON). DPCON features automatic hardware post-increment and post-decrement as well as an automatic ...

Page 68

ADuC845/ADuC847/ADuC848 POWER SUPPLY MONITOR The power supply monitor, once enabled, monitors the DV and AV supplies on the parts. It indicates when any of the DD supply pins drop below one of four user-selectable voltage trip points from 2.63 V ...

Page 69

WATCHDOG TIMER The watchdog timer generates a device reset or interrupt within a reasonable amount of time if the ADuC845/ADuC847/ ADuC848 enters an erroneous state, possibly due to a program- ming error or electrical noise. The watchdog function can be ...

Page 70

ADuC845/ADuC847/ADuC848 TIME INTERVAL COUNTER (TIC) A TIC is provided on-chip for counting longer intervals than the standard 8051-compatible timers can count. The TIC is capable of timeout intervals ranging from 1/128 second to 255 hours. Also, this counter is clocked ...

Page 71

TIMECON—TIC Control Register SFR Address: A1H Power-On Default: 00H Bit Addressable: No Table 45. TIMECON SFR Bit Designations Bit No. Name Description 7 ---- Not Implemented. Write Don’t Care. 6 TFH Twenty-Four Hour Select Bit. Set by the user to ...

Page 72

ADuC845/ADuC847/ADuC848 INTVAL—User Timer 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 73

ON-CHIP PERIPHERALS This section gives a brief overview of the various secondary peripheral circuits that are available to the user on-chip. These features are mostly 8052-compatible (with a few additional features) and are controlled via standard 8052 SFR bit ...

Page 74

ADuC845/ADuC847/ADuC848 P2.5 and P2.6 can also be used as PWM outputs, while P2.7 can act as an alternate PWM clock source. When selected as the PWM outputs, they overwrite anything written to P2.5 or P2.6. Table 47. Port 2 Alternate ...

Page 75

TIMERS/COUNTERS The ADuC845/ADuC847/ADuC848 have three 16-bit timer/ counters: Timer 0, Timer 1, and Timer 2. The timer/counter hardware is included on-chip to relieve the processor core of the overhead inherent in implementing timer/counter functionality in software. Each timer/counter consists of ...

Page 76

ADuC845/ADuC847/ADuC848 TCON—Timer/Counter 0 and 1 Control Register SFR Address: 88H Power-On Default: 00H Bit Addressable: Yes Table 51. TCON SFR Bit Designations Bit No. Name Description 7 TF1 Timer 1 Overflow Flag. Set by hardware on a Timer/Counter 1 overflow. ...

Page 77

Timer/Counter 0 and 1 Operating Modes This section describes the operating modes for Timer/Counters 0 and 1. Unless otherwise noted, these modes of operation are the same for both Timer 0 and Timer 1. Mode 0 (13-Bit Timer/Counter) Mode 0 ...

Page 78

ADuC845/ADuC847/ADuC848 T2CON—Timer/Counter 2 Control Register SFR Address: C8H Power-On Default: 00H Bit Addressable: Yes Table 52. T2CON SFR Bit Designations Bit No. Name Description 7 TF2 Timer 2 Overflow Flag. Set by hardware on a Timer 2 overflow. TF2 cannot ...

Page 79

Timer/Counter 2 Operating Modes The following sections describe the operating modes for Timer/Counter 2. The operating modes are selected by bits in the T2CON SFR as shown in Table 53. Table 53. T2CON Operating Modes RCLK (or) TCLK CAP2 TR2 ...

Page 80

ADuC845/ADuC847/ADuC848 UART SERIAL INTERFACE The serial port is full duplex, meaning that it can transmit and receive simultaneously also receive buffered, meaning that it can begin receiving a second byte before a previously received byte is read from ...

Page 81

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 or ...

Page 82

ADuC845/ADuC847/ADuC848 Mode 3 (9-Bit UART with Variable Baud Rate) Mode 3 is selected by setting both SM0 and SM1. In this mode, the 8051 UART serial port operates in 9-bit mode with a variable baud rate determined by either Timer ...

Page 83

Timer 3 Generated Baud Rates The high integer dividers in a UART block mean that high speed baud rates are not always possible. Also, generating baud rates requires the exclusive use of a timer, rendering it unusable for other applications ...

Page 84

ADuC845/ADuC847/ADuC848 T3FD—Timer 3 Fractional Divider Register See Table 57 for values. SFR Address: 9DH Power-On Default: 00H Bit Addressable: No Table 56. T3FD SFR Bit Designations Bit No. Name Description 7 ---- Not Implemented. Write Don’t Care. 6 ---- Not ...

Page 85

INTERRUPT SYSTEM The ADuC845/ADuC847/ADuC848 provide nine interrupt sources with two priority levels. The control and configuration of the interrupt system is carried out through three interrupt-related SFRs: Interrupt Enable Register IE IP Interrupt Priority Register IEIP2 Secondary Interrupt Enable Register ...

Page 86

ADuC845/ADuC847/ADuC848 IEIP2—Secondary Interrupt Enable Register SFR Address: A9H Power-On Default: A0H Bit Addressable: No Table 60. IEIP2 Bit Designations Bit No. Name Description 7 ---- Not Implemented. Write Don’t Care. 6 PTI Time Interval Counter Interrupt Priority Setting (1 = ...

Page 87

HARDWARE DESIGN CONSIDERATIONS This section outlines some of the key hardware design considerations that must be addressed when integrating the ADuC845/ADuC847/ADuC848 into any hardware system. EXTERNAL MEMORY INTERFACE In addition to their internal program and data memories, the parts can ...

Page 88

ADuC845/ADuC847/ADuC848 as op amps and voltage reference) can be powered from the AV supply line as well. DD DIGITAL SUPPLY 1.6Ω 10µF BEAD + – ADuC845/ 51 0.1µF ADuC847/ 23 ADuC848 37 DGND 38 50 Figure ...

Page 89

Cycling Power All registers are set to their default state and program exe- cution starts at the reset vector approximately 128 ms later. • Time Interval Counter (TIC) Interrupt If the OSC_PD bit in the PLLCON SFR is clear, ...

Page 90

ADuC845/ADuC847/ADuC848 PLACE ANALOG PLACE DIGITAL a. COMPONENTS COMPONENTS HERE AGND PLACE ANALOG PLACE DIGITAL b. COMPONENTS COMPONENTS HERE AGND PLACE ANALOG PLACE DIGITAL c. COMPONENTS COMPONENTS HERE GND Figure 68. System Grounding Schemes If the user plans to connect fast ...

Page 91

AV EXCITATION CURRENT RTD R REF 5.6kΩ RESET ACTIVE HIGH. (NORMALLY OPEN) 1 RS-232 INTERFACE ADM3202 C1+ 0.1µF V+ C1– C2+ C2– 0.1µF V– T2OUT R2IN NOTES 1. EXTERNAL UART TRANSCEIVER INTEGRATED IN SYSTEM OR AS PART OF AN ...

Page 92

ADuC845/ADuC847/ADuC848 The serial port debugger is fully contained on the device, unlike ROM monitor type debuggers, and, therefore, no external memory is needed to enable in-system debug sessions. Single-Pin Emulation Mode Built into the ADuC845/ADuC847/ADuC848 is a dedicated controller for ...

Page 93

P1.6/I 1/AIN7 11 EXC 200µA/400µA AV EXCITATION ADuC845/ADuC847/ADuC848 DD CURRENT 0.1µF AGND 5 AGND 6 RTD REFIN– 7 REFIN REF 5.6kΩ P1.0/AIN1 56 P1.1/AIN2 P1.2/AIN3/REFIN2 AIN9 AIN10 16 ...

Page 94

ADuC845/ADuC847/ADuC848 QuickStart DEVELOPMENT SYSTEM The QuickStart Development System is an entry-level, low cost development tool suite supporting the ADuC8xx MicroConverter product family. The system consists of the following PC-based (Windows®-compatible) hardware and software development tools: Hardware: Evaluation board and serial ...

Page 95

TIMING SPECIFICATIONS AC inputs during testing are driven at DV Logic 1 and V max for Logic 0 as shown in Figure 72. IL For timing purposes, a port pin is no longer floating when a 100 mV change from ...

Page 96

ADuC845/ADuC847/ADuC848 Table 65. EXTERNAL DATA MEMORY READ CYCLE Parameter t RD Pulse Width 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 ...

Page 97

Table 66. EXTERNAL DATA MEMORY WRITE CYCLE Parameter t WR Pulse Width WLWH t Address Valid After ALE Low AVLL t Address Hold After ALE Low LLAX t ALE Low Low LLWL t Address Valid to ...

Page 98

ADuC845/ADuC847/ADuC848 t BUF SDATA (I/O) t DSU t PSU SCLK (I) PS STOP START CONDITION CONDITION t SUP MSB LSB t DSU t DHD SHD 1 2 SUP L 2 Figure 75. I C-Compatible ...

Page 99

Table 68. SPI MASTER MODE TIMING (CPHA = 1) Parameter t SCLOCK Low Pulse Width SCLOCK High Pulse Width SH t Data Output Valid After SCLOCK Edge DAV t Data Input Setup Time Before SCLOCK Edge DSU ...

Page 100

ADuC845/ADuC847/ADuC848 Table 69. SPI MASTER MODE TIMING (CPHA = 0) Parameter t SCLOCK Low Pulse Width SL t SCLOCK High Pulse Width SH t Data Output Valid After SCLOCK Edge DAV t Data Output Setup Before SCLOCK Edge DOSU t ...

Page 101

Table 70. SPI SLAVE MODE TIMING (CPHA = 1) Parameter SCLOCK Edge SS t SCLOCK Low Pulse Width SL t SCLOCK High Pulse Width SH t Data Output Valid After SCLOCK Edge DAV t Data Input Setup ...

Page 102

ADuC845/ADuC847/ADuC848 Table 71. SPI SLAVE MODE TIMING (CPHA = 0) Parameter SCLOCK Edge SS t SCLOCK Low Pulse Width SL t SCLOCK High Pulse Width SH t Data Output Valid After SCLOCK Edge DAV t Data Input ...

Page 103

Table 72. UART TIMING (SHIFT REGISTER MODE) Parameter TXLXL Serial Port Clock Cycle Time TQVXH Output Data Setup to Clock TDVXH Input Data Setup to Clock TXHDX Input Data Hold After Clock TXHQX Output Data Hold After Clock TxD (OUTPUT ...

Page 104

ADuC845/ADuC847/ADuC848 OUTLINE DIMENSIONS 2.10 2.00 1.95 0.25 MIN VIEW A ROTATED 90° CCW PIN 1 INDICATOR 1.00 12° MAX 0.85 0.80 SEATING PLANE 2.45 1.03 MAX 0.88 0. SEATING PLANE 10° 6° 2° 0.23 VIEW A 0.11 PIN ...

Page 105

... ADuC847BSZ8-3 −40°C to +125°C 2 ADuC847BCPZ62-5 −40°C to +85°C 2 ADuC847BCPZ62-3 −40°C to +85°C 2 ADuC847BCPZ8-5 −40°C to +85°C 2 ADuC847BCPZ8-3 −40°C to +85°C ADuC848BS62-5 −40°C to +125°C ADuC848BS62-3 −40°C to +125°C ADuC848BS32-5 −40°C to +125°C ADuC848BS32-3 − ...

Page 106

ADuC845/ADuC847/ADuC848 2 ADuC848BSZ32-5 −40°C to +125°C 2 ADuC848BSZ32-3 −40°C to +125°C 2 ADuC848BSZ8-5 −40°C to +125°C 2 ADuC848BSZ8-3 −40°C to +125°C 2 ADuC848BCPZ62-5 −40°C to +85°C 2 ADuC848BCPZ62-3 −40°C to +85°C 2 ADuC848BCPZ8-5 −40°C to +85°C ADuC848BCPZ8-3 2 −40°C to ...

Page 107

NOTES ADuC845/ADuC847/ADuC848 Rev Page 107 of 108 ...

Page 108

ADuC845/ADuC847/ADuC848 NOTES 2 Purchase of licensed I C components of Analog Devices or one of its sublicensed Associated Companies conveys a license for the purchaser under the Philips Rights to use these components ...

Related keywords