AD ADUC846BCP8-5

PRELIMINARY TECHNICAL DATA
a
MicroConverter, Dual 16-Bit ADCs
with Embedded 62kB FLASH MCU
Preliminary Technical Data
FEATURES
High Resolution Sigma-Delta ADCs
Two Independent ADCs (16-Bit Resolution)
16-Bit No Missing Codes
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
4 Kbytes On-Chip Flash/EE Data Memory
Flash/EE, 100 Year Retention, 100 Kcycles Endurance
3 Levels of Flash/EE Program Memory Security
In-Circuit Serial Download (No External Hardware)
High Speed User Download (5 Seconds)
2304 Bytes On-Chip Data RAM
8051-Based Core
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
26 Programmable I/O Lines
11 Interrupt Sources, Two Priority Levels
Dual Data Pointer, Extended 11-Bit Stack Pointer
On-Chip Peripherals
Internal Power on Reset Circuit
12-Bit Voltage Output DAC
Dual 16-Bit S-D DACs/PWMs
On-Chip Temperature Sensor
Dual Excitation Current Sources
Time Interval Counter (Wakeup/RTC Timer)
UART, SPI®, and I2C® Serial I/O
High Speed Baud Rate Generator (incl 115,200)
Watchdog Timer (WDT)
Power Supply Monitor (PSM)
Power
Normal: 2.3mA Max @ 3.6 V (Core CLK = 1.57 MHz)
Power-Down: 20µA Max with Wakeup Timer Running
Specified for 3 V and 5 V Operation
Package and Temperature Range
52-Lead MQFP (14 mm × 14 mm), –40°C to +125°C
56-Lead CSP (8 mm × 8 mm), –40°C to +85°C
APPLICATIONS
Intelligent Sensors
WeighScales
Portable Instrumentation, Battery Powered Systems
4-20mA Transmitters
Data Logging
Precision System Monitoring
ADuC846
FUNCTIONAL BLOCK DIAGRAM
GENERAL DESCRIPTION
The ADuC846 is a complete smart transducer front end, integrating
two high resolution sigma-delta ADCs, an 8-bit MCU, and
program/data Flash/EE memory on a single chip.
The two independent ADCs (primary and auxiliary) include a
temperature sensor and a PGA (allowing direct measurement of low
level signals). The ADCs with on-chip digital filtering and
programmable output data rates are intended for the measurement of
wide dynamic range, low frequency signals, such as those in weigh
scale, strain-gage, pressure transducer, or temperature measurement
applications.
The device operates from a 32 kHz crystal with an on-chip PLL
generating a high frequency clock of 12.58 MHz. This clock is routed
through a programmable clock divider from which the MCU core
clock operating frequency is generated. The microcontroller core is an
optimized single cycle 8052 offering up to 12.58MIPs performance
while maintaining the 8051 instruction set compatibility.
62 Kbytes of nonvolatile Flash/EE program memory, 4 Kbytes of
nonvolatile Flash/EE data memory, and 2304 bytes of data RAM are
provided on-chip. The program memory can be configured as data
memory to give up to 60 Kbytes of NV data memory in data logging
applications.
On-chip factory firmware supports in-circuit serial download and
debug modes (via UART), as well as single-pin emulation mode via
the EA pin. The ADuC846 is supported by a QuickStart™
development system featuring low cost software and hardware
development tools.
REV. PrA
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.
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
© 2003 Analog Devices, Inc. All rights reserved.
PRELIMINARY TECHNICAL DATA
SPECIFICATIONS1
(AVDD = 2.7 V to 3.6 V or 4.75 V to 5.25 V, DVDD = 2.7 V to 3.6 V or 4.75 V to 5.25 V, REFIN(+)
= 2.5 V, REFIN(–) = AGND; AGND = DGND = 0 V; XTAL1/XTAL2 = 32.768 kHz Crystal; all
specifications TMIN, to TMAX unless otherwise noted.).
PARAMETER
MIN
TYP
MAX
UNITS
PRIMARY ADC
Conversion Rate
No Missing Codes2
Resolution
5.35
16
19.79
105
Hz
Bits
Bits Pk-Pk
Bits Pk-Pk
Output Noise
Integral Non Linearity
Offset Error3
Offset Error Drift (vs. Temp)
Full-Scale Error4
Gain Error Drift5 (vs. Temp)
ADC Range Matching
Power Supply Rejection
Common Mode DC Rejection
On AIN
On AIN
Common Mode 50/60Hz Rejection
On AIN
On AIN
Normal Mode 50/60 Hz Rejection
On AIN
PRIMARY ADC ANALOG INPUTS
Differential Input Voltage Ranges9,10
Bipolar Mode (ADC0CON.5 = 0)
Unipolar Mode (ADC0CON.5 = 1)
13.5
16
See Tables X and XI in
ADuC836 Datasheet
± 15
±3
± 10
± 10
± 0.5
±2
80
113
95
dBs
dBs
On Both Channels
19.79Hz Update Rate
Range = ± 20mV, 20Hz Update Rate
Range = ± 2.56V, 20Hz Update Rate
Output Noise varies with selected Update Rates
and Gain Range
1 LSB16
AIN=18mV
AIN=1V, Range=± 2.56V
AIN=7.8mV, Range=± 20mV
95
90
dBs
dBs
@DC, AIN=7.8mV, Range=± 20mV
@DC, AIN=1V, Range=± 2.56V
20 Hz Update Rate
50/60Hz ± 1Hz, AIN=7.8mV, Range=± 20mV
50/60Hz ± 1Hz, AIN=1V, Range=± 2.56V
60
dBs
50/60Hz ± 1Hz, 20 Hz Update Rate
113
± 1.024 x VREF/GAIN
V
0 Æ 1.024 x REFIN/GAIN
V
Analog Input Current2
±1
±5
Analog Input Current Drift
Absolute AIN Voltage Limits2
ppm of FSR
µV
nV/°C
µV
ppm/°C
µV
dBs
dBs
CONDITION
±5
± 15
AGND + 0.1
EXTERNAL REFERENCE INPUTS
REFIN(+) to REFIN(–) Range2
Average Reference Input Current
Average Reference Input Current Drift
‘NO Ext. REF’ Trigger Voltage
0.3
Common Mode DC Rejection
Common Mode 50/60Hz Rejection
Normal Mode 50/60 Hz Rejection
125
90
60
1
AVDD – 0.1
2.5
+/- 1
+/- 0.01
AVDD
0.65
nA
nA
pA/°C
pA/°C
V
V
µA/V
nA/V/°C
V
dBs
dBs
dBs
-2-
VREF = REFIN(+) - REFIN(-) (or Int 1.25V Ref)
GAIN = 1 to 128
VREF = REFIN(+) - REFIN(-)
GAIN=1 to 128
TMAX = 85°C
TMAX = 125°C
TMAX = 85°C
TMAX = 125°C
Both ADCs Enabled
NOXREF bit active if VREF<0.3V
NOXREF bit Inactive if VREF>0.65
@DC, AIN=1V, Range=± 2.56V
50/60Hz ± 1Hz, AIN=1V, Range=± 2.56V
50/60Hz ± 1Hz, 59.4 Hz Update Rate
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
PARAMETER
AUXILIARY ADC
No Missing Codes2
Resolution
Output Noise
Integral Non Linearity
Offset Error3
Offset Error Drift
Fullscale Error4
Gain Error Drift5
Power Supply Rejection
Normal Mode 50/60 Hz Rejection
On AIN
On REFIN
AUXILIARY ADC ANALOG INPUTS
Differential Input Voltage Ranges9, 10
(Bipolar Mode – ADC0CON3 = 0)
(Unipolar Mode – ADC0CON3 = 1)
Average Analog Input Current
Analog Input Current Drift
Absolute AIN Voltage Limits2, 11
ADC SYSTEM CALIBRATION
Full Scale Calibration Limit
Zero Scale Calibration Limit
Input Span
MIN
16
See Table XII in ADuC836
Datasheet
± 15
-2
1
-2.5
± 0.5
80
60
60
REV. PrA
UNITS
CONDITION
Bits
Bits Pk-Pk
20 Hz Update Rate
Range = ± 2.5V, 20Hz Update Rate
Output Noise varies with selected Update Rates
ppm of FSR
LSB
µV /°C
LSBs
ppm/°C
dBs
1 LSB16
dBs
dBs
AIN=1V, Range=± 2.56V
50/60Hz ± 1Hz, 19.79Hz Update Rate
50/60Hz ± 1Hz, 19.79Hz Update Rate
± REFIN
V
REFIN=REFIN(+)-REFIN(-) (or Int 1.25V Ref)
0 Æ REFIN
125
±2
V
nA/V
pA/V/°C
V
REFIN=REFIN(+)-REFIN(-) (or Int 1.25V Ref)
AGND
- 0.03
AVDD
+ 0.03
+1.05 x FS
-1.05 x FS
0.8 x FS
2.1 x FS
0 Æ VREF
0 Æ AVDD
10
100
0.5
50
Resistive Load
Capactive Load
Output Impedance
ISINK
AC Specifications2,7
Voltage Output Settling Time
Digital to Analog Glitch Energy
MAX
16
DAC
Voltage Range
DC Specifications7
Resolution
Relative Accuracy
Differential NonLinearity
Offset Error
Gain Error8
TYP
V
V
V
V
V
kΩ
pF
Ω
µA
DACCON.2 = 0
DACCON.2 = 1
From DAC Output to AGND
From DAC Output to AGND
12
±3
±1
LSBs
Bit
mV
%
%
15
10
us
nVs
-1
± 50
±1
-3-
Guaranteed 12-Bit Monotonic
AVDD Range
VREF Range
Setling time to 1LSB of final value
1 LSB change at major carry
PRELIMINARY TECHNICAL DATA
ADuC846 SPECIFICATIONS1
PARAMETER
INT REFERENCE
ADC Reference
Reference Voltage
Power Supply Rejection
Reference Tempco
DAC Reference
Reference Voltage
Power Supply Rejection
Reference Tempco
MIN
TYP
MAX
UNITS
CONDITION
1.237
1.25
45
100
1.2625
V
dBs
ppm/°C
initial tolerance @ 25°C, VDD=5V
2.475
2.5
50
± 100
1.525
V
dBs
ppm/°C
initial tolerance @ 25°C, VDD=5V
TEMPERATURE SENSOR
Accuracy
Thermal Impedance
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 (AVDD)
Load Regulation
Output Compliance
POWER SUPPLY MONITOR (PSM)
AVDD Trip Point Selection Range
AVDD Trip Point Accuracy
AVDD Trip Point Accuracy
DVDD Trip Point Selection Range
DVDD Trip Point Accuracy
DVDD Trip Point Accuracy
+/- 2
90
52
°C
°C/W
°C/W
-100
nA
100
nA
+/- 10
0.03
%
%/°C
-200
+/-10
200
+/-1
20
1
µA
%
ppm/°C
%
ppm/°C
µA/V
V
V
0.1
AVDD-0.6
AGND
2.63
2.63
CRYSTAL OSCILLATOR (XTAL 1AND XTAL2)
Logic Inputs, XTAL1 Only2
VINL, Input Low Voltage
VINH, Input Low Voltage
XTAL1 Input Capacitance
XTAL2 Output Capacitance
MQFP Package
CSP Package
AIN+ is the selected positive input to the
primary ADC
AIN- is the selected negative input to the
primary ADC
Available from each Current Source
Matching between both Current Sources
AVDD=5V +/- 5%
4.63
+/- 3.0
+/- 3.0
4.63
+/- 3.0
+/- 3.0
V
%
%
V
%
%
Four Trip Points selectable in this range
TMAX = 85°C
TMAX = 125°C
Four Trip Points selectable in this range
TMAX = 85°C
TMAX = 125°C
0.8
0.4
V
V
V
V
pF
pF
DVDD = 5V
DVDD = 3V
DVDD = 5V
DVDD = 3V
3.5
2.5
18
18
-4-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
PARAMETER
MIN
TYP
MAX
UNITS
0.8
0.4
V
V
V
DVDD = 5V
DVDD = 3V
3.0
2.5
1.4
1.1
0.85
V
V
V
V
V
DVDD = 5V
DVDD = 3V
DVDD = 5V
DVDD = 3V
DVDD = 5V or 3V
+/- 10
-40
+/-10
+/-10
105
+/-10
-660
-75
5
V
µA
µA
µA
µA
µA
µA
µA
µA
pF
VIN = 0V or VDD
VIN = 0V, DVDD=5V, Internal Pullup
VIN = DVDD, DVDD=5V
VIN = 0V, DVDD=5V
VIN = DVDD, DVDD=5V, Internal Pull-Down
VIN = DVDD, DVDD=5V
VIN = 2V, DVDD=5V
VIN = 0.45V, DVDD=5V
All Digital Inputs
5
V
V
V
V
V
µA
pF
300
3
3
10
ms
ms
ms
us
20
20
20
3
us
us
us
us
20
20
5
us
us
ms
LOGIC INPUTS
All Inputs except SCLOCK, RESET
and XTAL12
VINL, Input Low Voltage
VINH, Input Low Voltage
SCLOCK and RESET Only
(Schmidt Triggered Inputs) 2
VT+
VTVT+ - VTInput Currents
Port 0, P1.2ÆP1.7, EA
SCLOCK, MOSI,MISO SS13
2.0
1.3
0.95
0.8
0.4
0.3
2.0
-10
RESET
35
P1.0, P1.1, Port 2, Port 3
-180
-20
Input Capacitance
LOGIC OUTPUTS
All Digital Outputs except XTAL22
VOH, Output High Voltage
VOL, Output Low Voltage14
Floating State Leakage Current
Floating State Output Capacitance
START UP TIME
At Power On
After External RESET in Normal Mode
After WDT RESET in Normal Mode
From Idle Mode
From Power-Down Mode
Oscillator Running
Wakeup with INT0 Interrupt
Wakeup with SPI Interrupt
Wakeup with TIC Interrupt
Wakeup with External RESET
Oscillator Powered Down
Wakeup with INT0 Interrupt
Wakeup with SPI Interrupt
Wakeup with External RESET
REV. PrA
2.4
2.4
0.8
0.8
0.8
+/-10
CONDITION
DVDD = 5V, ISOURCE = 80 µA
DVDD = 3V, ISOURCE = 20 µA
ISINK = 8mA, SCLOCK, MOSI/SDATA
ISINK = 10mA, P1.0, P1.1
ISINK = 1.6mA, All Other Outputs
Controlled via WDCON SFR
PLLCON.7 = 0
PLLCON.7 = 1
-5-
PRELIMINARY TECHNICAL DATA
ADuC846 SPECIFICATIONS1
PARAMETER
MIN
TYP
MAX
FLAH/EE MEMORY RELIABILITY CHARACTERISTICS
Endurance16
100,000 700,000
Data Retention17
100
POWER REQUIREMENTS
Power Supply Voltages
AVDD 3V Nominal
AVDD 5V Nominal
DVDD 3V Nominal
DVDD 5V Nominal
2.7
4.75
2.7
4.75
5V POWER CONSUMPTION
Normal Mode18, 19
DVDD Current
13
AVDD Current
AVDD Current
4
16
180
mA
mA
µA
core clock = 1.57MHz
core clock = 12.58MHz
53
100
30
80
1
3
µA
µA
µA
µA
µA
µA
TMAX = 85°C; Osc ON;TIC ON
TMAX = 125°C; Osc ON; TIC ON
TMAX = 85°C; Osc OFF
TMAX = 125°C; Osc OFF
TMAX = 85°C; Osc ON or OFF
TMAX = 125°C; Osc ON or OFF
1
0.5
50
150
400
mA
mA
µA
µA
µA
4.75V < DVDD <5.25V, AVDD= 5.25V
8
AVDD Current
Power-Down Mode18, 19
DVDD Current
DVDD Current
V
V
V
V
4.75V < DVDD <5.25V, AVDD= 5.25V
DVDD Current
3V POWER CONSUMPTION
Normal Mode18, 19
DVDD Current
CONDITION
Cycles
3.6
5.25
3.6
5.25
AVDD Current
Power-Down Mode18, 19
DVDD Current
Typical Additional Peripheral Currents (AIDD and D IDD)
Primary ADC
Auxiliary ADC
Power Supply Monitor
DAC
Dual Excitation Current Sources
UNITS
2.3
10
180
mA
mA
µA
core clock = 1.57MHz
core clock = 12.58MHz
20
40
µA
µA
µA
µA
µA
µA
TMAX = 85°C; Osc ON;TIC ON
TMAX = 125°C; Osc ON; TIC ON
Osc OFF
TMAX = 125°C; Osc OFF
TMAX = 85°C; Osc ON or OFF
TMAX = 125°C; Osc ON or OFF
10
80
1
3
-6-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
NOTES
1
Temperature Range for ADuC844BS (MQFP package) is –40°C to +125°C.
Temperature Range for ADuC844BCP (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.
4 The primary ADC is factory calibrated at 25°C with AVDD = DVDD = 5 V yielding this full-scale error of 10 µV. If user power supply or temperature
conditions are significantly different from these, an Internal Full-Scale Calibration will restore this error to 10 µV. A system zero-scale and full-scale
calibration will remove this error altogether.
5
Gain Error Drift is a span drift. To calculate Full-Scale Error Drift, add the Offset Error Drift to the Gain Error Drift times the full-scale input.
6
The auxiliary ADC is factory calibrated at 25°C with AVDD = DVDD = 5 V yielding this full-scale error of –2.5 LSB. A system zero-scale and full-scale
calibration will remove this error altogether.
7
DAC linearity and ac specifications are calculated using: reduced code range of 48 to 4095, 0 to VREF, reduced code range of 100 to 3950, 0 to VDD.
8
Gain Error is a measure of the span error of the DAC.
9
In general terms, the bipolar input voltage range to the primary ADC is given by RangeADC = ±(VREF 2RN )/125, where:
VREF = REFIN(+) to REFIN(–) voltage and VREF = 1.25 V when internal ADC VREF is selected.
RN = decimal equivalent of RN2, RN1, RN0
e.g., VREF = 2.5 V and RN2, RN1, RN0 = 1, 1, 0 the RangeADC = ±1.28 V, In unipolar mode, the effective range is 0 V to 1.28 V in our example.
10 1.25 V is used as the reference voltage to the ADC when internal VREF is selected via XREF0 and XREF1 bits in ADC0CON and ADC1CON, respectively.
11 In bipolar mode, the Auxiliary ADC can only be driven to a minimum of AGND – 30 mV as indicated by the Auxiliary ADC absolute AIN voltage limits. The
bipolar range is still –VREF to +VREF; however, the negative voltage is limited to –30 mV.
12 The ADuC846BCP (CSP Package) has been qualified and tested with the base of the CSP Package floating.
13 Pins configured in SPI Mode, pins configured as digital inputs during this test.
14 Pins configured in I2C Mode only.
15 Flash/EE Memory Reliability Characteristics apply to both the Flash/EE program memory and Flash/EE data memory.
16 Endurance is qualified to 100 Kcycles as per JEDEC Std. 22 method A117 and measured at –40 °C, +25°C, +85°C, and +125°C. Typical endurance at 25°C is
700 Kcycles.
17 Retention lifetime equivalent at junction temperature (TJ) = 55°C as per JEDEC Std. 22, Method A117. Retention lifetime based on an activation energy of
0.6eV will derate with junction temperature.
18 Power Supply current consumption is measured in Normal, Idle, and Power-Down Modes under the following conditions:
Normal Mode: Reset = 0.4 V, Digital I/O pins = open circuit, Core Clk changed via CD bits in PLLCON, Core Executing internal software loop.
Idle Mode: Reset = 0.4 V, Digital I/O pins = open circuit, Core Clk changed via CD bits in PLLCON, PCON.0 = 1, Core Execution suspended in idle mode.
Power-Down Mode: Reset = 0.4 V, All P0 pins and P1.2–P1.7 Pins = 0.4 V, All other digital I/O pins are open circuit, Core Clk changed via CD bits in
PLLCON, PCON.1 = 1, Core Execution suspended in power-down mode, OSC turned ON or OFF via OSC_PD bit (PLLCON.7) in PLLCON SFR.
19 DVDD power supply current will increase typically by 3 mA (3 V operation) and 10 mA (5 V operation) during a Flash/EE memory program or erase cycle.
Specifications subject to change without notice
REV. PrA
-7-
PRELIMINARY TECHNICAL DATA
ADuC846
ABSOLUTE MAXIMUM RATINGS1
(TA = 25°C unless otherwise noted)
AVDD to AGND
AVDD to DGND
DVDD to AGND
DVDD to DGND
AGND to DGND2
AVDD to DVDD
Analog Input Voltage to AGND3
Reference Input Voltage to AGND
AIN/REFIN Current (Indefinite)
Digital Input Voltage to DGND
Digital Output Voltage to DGND
Operating Temperature Range
Storage Temperature Range
Junction Temperature
θJA Thermal Impedance
Lead Temperature, Soldering
Vapor Phase (60 sec)
Infrared (15 sec)
PIN CONFIGURATION
52-Lead MQFP
–0.3 V to +7 V
–0.3 V to +7 V
–0.3 V to +7 V
–0.3 V to +7 V
–0.3 V to +0.3 V
–2 V to +5 V
–0.3 V to AVDD +0.3 V
–0.3 V to AVDD +0.3 V
30 mA
–0.3 V to DVDD +0.3 V
–0.3 V to DVDD +0.3 V
–40°C to +125°C
–65°C to +150°C
150°C
90°C/W
56-Lead CSP
215°C
220°C
1Stresses above those listed under Absolute Maximum Ratings may cause
permanent damage to the device. This is a stress rating only; functional
operation of the device at these or any other conditions above those listed in
the operational sections of this specification is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device
reliability.
2AGND and DGND are shorted internally on the ADuC846.
3Applies to P1.2 to P1.7 pins operating in analog or digital input modes.
ORDERING GUIDE
MODEL
ADuC846BS62-5
ADuC846BS62-3
ADuC846BCP62-5
ADuC846BCP62-3
ADuC846BCP32-5
ADuC846BCP32-3
ADuC846BCP8-5
ADuC846BCP8-3
EVAL-ADuC846QS
EVAL-ADuC846QSP
Temperature
Range (oC)
-40 Æ+125
-40 Æ+125
-40 Æ+85
-40 Æ+85
-40 Æ+85
-40 Æ+85
-40 Æ+85
-40 Æ+85
Voltage Range
(V)
4.75 Æ 5.25
2.75 Æ 3.60
4.75 Æ 5.25
2.75 Æ 3.60
4.75 Æ 5.25
2.75 Æ 3.60
4.75 Æ 5.25
2.75 Æ 3.60
User Code
Space
62 kBytes
62 kBytes
62 kBytes
62 kBytes
32 kBytes
32 kBytes
8 kBytes
8 kBytes
Package Description
52-Lead Plastic Quad Flatpack
52-Lead Plastic Quad Flatpack
56-Lead Chip Scale Package
56-Lead Chip Scale Package
56-Lead Chip Scale Package
56-Lead Chip Scale Package
56-Lead Chip Scale Package
56-Lead Chip Scale Package
QuickStart Development System
QuickStart Plus Development System
Package
Option
S-52
S-52
CP-56
CP-56
CP-56
CP-56
CP-56
CP-56
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000V
readily accumulate on the human body and test equipment and can discharge without
detection. Although the ADuC846 features proprietary ESD protection circuitry,
permanent damage may occur on devices subjected to high-energy electrostatic
discharges. Therefore, proper ESD precautions are recommended to avoid performance
degradation or loss of functionality .
-8-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
PIN FUNCTION DESCRIPTIONS
Pin No:
Pin No:
Pin
52-MQFP
56-CSP
Mnemonic
1, 2
56, 1
P1.0/P1.1
I/O
P1.0/T2/PWM0
I/O
P1.1/T2EX/PWM1
I/O
P1.2 ÆP1.7
I
3Æ4
9 Æ 12
2 Æ3
11 Æ14
Type*
Description
P1.4/AIN1
I
P1.0 and P1.1 can function as a digital inputs or digital outputs and have a pullup configuration as described below for Port 3. P1.0 and P1.1 have an increased
current drive sink capability of 10mA.
P1.0 and P1.1 also have various secondary functions as described below.
P1.0 can also be used to provide a clock input to Timer 2. When enabled,
counter 2 is incremented in response to a negative transition on the T2 input
pin.
If the PWM is enabled, the PWM0 output will appear at this pin.
P1.1 can also be used to provide a control input to Timer 2. When enabled, a
negative transition on the T2EX input pin will cause a Timer 2 capture or reload
event.
If the PWM is enabled, the PWM1 output will appear at this pin.
Port 1.2 to Port 1.7 have no digital output driver; they can function as a digital
input for which ‘0’ must be written to the port bit. As a digital input, these pins
must be driven high or low externally.
These pins also have the following analog functionality:
The voltage output from the DAC or one or both current sources (200uA or 2 x
200uA) can be configured to appear at this pin.
Auxiliary ADC Input or one or both current sources can be configured at this
pin.
Primary ADC, Positive Analog Input
P1.5/AIN2
I
Primary ADC, Negative Analog Input
P1.6/AIN3
I
Auxiliary ADC Input or Muxed Primary ADC, Positive Analog Input
I/O
P1.2/DAC/IEXC1
I/O
P1.3/AIN5/IEXC2
I/O
P1.7/AIN4/DAC
5
4
AVDD
S
Auxiliary ADC Input or Muxed Primary ADC, Negative Analog Input. The
voltage
Analog Supply Voltage
6
5
AGND
S
Analog Ground.
N/C
6
AGND
S
A second Analog ground is provided with the CSP version only.
7
7
REFIN-
I
External Reference Input, negative terminal
8
8
REFIN+
I
External Reference Input, positive terminal
13
15
SS
I
14
16
MISO
I
15
17
RESET
I
The slave select input for the SPI Interface is present at this pin. A weak pull-up
is present on this pin.
Master Input/Slave Output for the SPI Interface. There is a weak pull-up on this
input pin.
Reset Input. A high level on this pin for 16 core clock cycles while the
oscillator is running resets the device. There is an internal weak pull-down and
a Schmitt trigger input stage on this pin.
REV. PrA
-9-
PRELIMINARY TECHNICAL DATA
ADuC846
Pin No:
Pin No:
Pin
Type*
52-MQFP
56-CSP
Mnemonic
16-19
22-25
18-21
24-27
P3.0 Æ P3.7
16
17
18
18
19
20
P3.0/RXD
P3.1/TXD
P3.2/INT0
19
21
P3.3/INT1
22
24
P3.4/T0/PWMCLK
23
24
25
26
P3.5/T1
P3.6/WR
25
27
P3.7/RD
20, 34, 48
21, 35, 47
22, 36, 51
23, 37, 50
DVDD
DGND
S
S
26
28
SCLOCK
I/O
27
29
MOSI/SDATA
I/O
28 Æ 31
36 Æ 39
30 Æ 32
38 Æ 42
P2.0 Æ P2.7
I/O
32
34
XTAL1
I
Input to the crystal oscillator inverter.
33
35
XTAL2
O
Output from the crystal oscillator inverter. (see “Hardware Design
Considerations” for description)
40
43
EA
I/O
Description
P3.0–P3.7 are bi-directional port pins with internal pull-up resistors. Port 3
pins that have 1s written to them are pulled high by the internal pull-up
resistors, and in that state can be used as inputs. As inputs, Port 3 pins being
pulled externally low will source current because of the internal pull-up
resistors. When driving a 0-to-1 output transition, a strong pull-up is active for
two core clock periods of the instruction cycle.
Port 3 pins also have various secondary functions described below.
Receiver Data for UART serial Port
Transmitter Data for UART serial Port
External Interrupt 0. This pin can also be used as a gate control input to
Timer0.
External Interrupt 1. This pin can also be used as a gate control input to
Timer1.
Timer/Counter 0 External Input
If the PWM is enabled, an external clock may be input at this pin.
Timer/Counter 1 External Input
External Data Memory Write Strobe. Latches the data byte from Port 0 into an
external data memory.
External Data Memory Read Strobe. Enables the data from an external data
memory to Port 0.
Digital Supply Voltage
Digital Ground.
Serial interface clock for either the I2C or SPI interface. As an input, this pin
is a Schmitt-triggered input and a weak internal pull-up is present on this pin
unless it is outputting logic low. This pin can also be directly controlled in
software as a digital output pin.
Serial Data I/O for the I2C Interface or Master Output/Slave Input for the SPI
Interface. A weak internal pull-up is present on this pin unless it is outputting
logic low. This pin can also be directly controlled in software as a digital
output pin.
Port 2 is a bidirectional port with internal pull-up resistors. Port 2 pins that
have 1s written to them are pulled high by the internal pull-up resistors, and in
that state can be used as inputs. As inputs, Port 2 pins being pulled externally
low will source current because of the internal pull-up resistors.
Port 2 emits the high order address bytes during fetches from external
program memory and middle and high order address bytes during accesses to
the 24-bit external data memory space.
External Access Enable, Logic Input. When held high, this input enables the
device to fetch code from internal program memory locations 0000h to
F7FFh. When held low this input enables the device to fetch all instructions
from external program memory. To determine the mode of code execution,
i.e., internal or external, the EA pin is sampled at the end of an external
RESET assertion or as part of a device power cycle.
EA may also be used as an external emulation I/O pin and therefore the
voltage level at this pin must not be changed during normal mode operation as
it may cause an emulation interrupt that will halt code execution.
-10-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
Pin No:
Pin No:
Pin
52-MQFP
56-CSP
Mnemonic
41
44
PSEN
42
45
ALE
43 Æ 46
49 Æ 52
46 Æ 49
52 Æ 55
P0.0 Æ P0.7
Type*
Description
Program Store Enable, Logic Output. This output is a control signal that
enables the external program memory to the bus during external fetch
operations. It is active every six oscillator periods except during external data
memory accesses. This pin remains high during internal program execution.
PSEN can also be used to enable serial download mode when pulled low
through a resistor at the end of an external RESET assertion or as part of a
device power cycle.
Address Latch Enable, Logic Output. This output is used to latch the low byte
(and page byte for 24-bit data address space accesses) of the address to
external memory during external code or data memory access cycles. It is
activated every six oscillator periods except during an external data memory
access. It can be disabled by setting the PCON.4 bit in the PCON SFR.
I/O
P0.0–P0.7, these pins are part of Port0 which is an 8-bit open-drain
bidirectional I/O port. Port 0 pins that have 1s written to them float and in that
state can be used as high impedance inputs. An external pull-up resistor will
be required on P0 outputs to force a valid logic high level externally. Port 0 is
also the multiplexed low-order address and data bus during accesses to
external program or data memory. In this application it uses strong internal
pull-ups when emitting 1s.
*I = Input, O = Output, S = Supply.
REV. PrA
-11-
PRELIMINARY TECHNICAL DATA
ADuC846
DETAILED BLOCK DIAGRAM WITH PIN NUMBERS
Figure 1: Detailed Block Diagram of the ADuC846
-12-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
INTRODUCTION
The ADuC846 is a pin compatible upgrade to the ADuC836 and
provides increased core performance. The ADUC846 has a single
cycle 8052 core allowing operation at up to 12.58MIPs. It has all the
same features as the ADuC836 but the standard 12-cycle 8052 core
has been replaced with a 12.6MIPs single cycle core.
memory address space, and the stack depth can be expanded up to
2048 bytes.
Reset initializes the stack pointer to location 07 hex. Any call or push
pre-increments the SP before loading the stack. Hence loading the
stack starts from locations 08 hex which is also the first register (R0)
of register bank 1. Thus, if one is going to use more than one register
bank, the stack pointer should be initialized to an area of RAM not
used for data storage.
Since the ADuC846 and ADuC836 share the same feature set only
the differences between the two chips are documented here. For full
documentation on the ADuC836 please consult the datasheet
available at http://www.analog.com/microconverter
MEMORY7 ORGANISATION
The ADuC846 contains 4 different memory blocks namely:
- 62kBytes of On-Chip Flash/EE Program Memory
- 4kBytes of On-Chip Flash/EE Data Memory
- 256 Bytes of General Purpose RAM
- 2kBytes of Internal XRAM
7FH
GENERAL-PURPOSE
AREA
30H
2FH
BANKS
BIT-ADDRESSABLE
(BIT ADDRESSES)
SELECTED
VIA
20H
BITS IN PSW
1FH
11
(1) Flash/EE Program Memory
The ADuC846 provides 62kBytes of Flash/EE program memory to
run user code. The user can choose to run code from this internal
memory or run code from an external program memory.
If the user applies power or resets the device while the EA pin is
pulled low externally, the part will execute code from the external
program space, otherwise if EA is pulled high externally the part
defaults to code execution from its internal 62kBytes of Flash/EE
program memory. The ADuC846 does not support the rollover from
F7FFh in internal code space to F800h in external code space. Instead
the 2048 bytes between F800h and FFFFh will appear as NOP
instructions to user code.
Permanently embedded firmware allows code to be serially
downloaded to the 62kBytes of internal code space via the UART
serial port while the device is in-circuit. No external hardware is
required.
56kBytes of the program memory can be repogrammed during
runtime hence the code space can be upgraded in the field using a
user defined protocol or it can be used as a data memory. This will be
discussed in more detail in the Flash/EE Memory section of the
datasheet.
18H
17H
10
10H
0FH
01
08H
07H
00
REV. PrA
-13-
RESET VALUE OF
STACK POINTER
00H
Figure 2. Lower 128 Bytes of Internal Data Memory
(4) Internal XRAM
The ADuC846 contains 2kBytes of on-chip extended data memory.
This memory although on-chip is accessed via the MOVX
instruction. The 2kBytes of internal XRAM are mapped into the
bottom 2kBytes of the external address space if the CFG846.0 bit is
set, otherwise access to the external data memory will occur just like
a standard 8051.
Even with the CFG846.0 bit set access to the external XRAM will
occur once the 24 bit DPTR is greater than 0007FFH.
FFFFFFH
FFFFFFH
(2) Flash/EE Data Memory
4kBytes of Flash/EE Data Memory are available to the user and can
be accessed indirectly via a group of registers mapped into the
Special Function Register (SFR) area. Access to the Flash/EE Data
memory is discussed in detail later as part of the Flash/EE memory
section in this data sheet.
(3) General Purpose RAM
The general purpose RAM is divided into two seperate memories,
namely the upper and the lower 128 bytes of RAM. The lower 128
bytes of RAM can be accessed through direct or indirect addressing
while the upper 128 bytes of RAM can only be accessed through
indirect addressing as it shares the same address space as the SFR
space which can only be accessed through direct addressing.
The lower 128 bytes of internal data memory are mapped as shown in
Figure 2. The lowest 32 bytes are grouped into four banks of eight
registers addressed as R0 through R7. The next 16 bytes (128 bits),
locations 20Hex through 2FHex above the register banks, form a
block of directly addressable bit locations at bit addresses 00H
through 7FH. The stack can be located anywhere in the internal
FOUR BANKS OF EIGHT
REGISTERS
R0 R7
EXTERNAL
DATA
MEMORY
SPACE
(24-BIT
ADDRESS
SPACE)
EXTERNAL
DATA
MEMORY
SPACE
(24-BIT
ADDRESS
SPACE)
000800H
0007FFH
000000H
000000H
CFG845.0=0
2 KBYTES
ON-CHIP
XRAM
CFG845.0=1
Figure 3: Internal and External XRAM
When accessing the internal XRAM the P0, P2 port pins as well as
the RD and WR strobes will not be output as per a standard 8051
PRELIMINARY TECHNICAL DATA
ADuC846
MOVX instruction. This allows the user to use these port pins as
standard I/O.
The upper 1792 bytes of the internal XRAM can be configured to be
used as an extended 11-bit stack pointer.
By default the stack will operate exactly like an 8052 in that it will
rollover from FFh to 00h in the general purpose RAM. On the
ADuC844 however it is possible (by setting CFG844.7) to enable the
11-bit extended stack pointer. In this case the stack will rollover from
FFh in RAM to 0100h in XRAM.
The 11-bit stack pointer is visable in the SP and SPH SFRs. The SP
SFR is located at 81h as with a standard 8052. The SPH SFR is
located at B7h. The 3 LSBs of this SFR contain the 3 extra bits
necessary to extend the 8-bit stack pointer into an 11-bit stack
pointer.
SPECIAL FUNCTION REGISTERS (SFRs)
The SFR space is mapped into the upper 128 bytes of internal data
memory space and accessed by direct addressing only. It provides an
interface between the CPU and all on chip peripherals. A block
diagram showing the programming model of the ADuC846 via the
SFR area is shown in Figure 5.
All registers except the Program Counter (PC) and the four generalpurpose register banks, reside in the SFR area. The SFR registers
include control, configuration, and data registers that provide an
interface between the CPU and all on-chip peripherals.
07FFH
CFG845.7 = 0
CFG845.7 = 1
4 KBYTE
ELECTRICALLY
REPROGRAMMABLE
NONVOLATILE
FLASH/EE DATA
MEMORY
62 KBYTE ELECTRICALLY
REPROGRAMMABLE
NONVOLATILE FLASH/EE
PROGRAM MEMORY
8051COMPATIBLE
CORE
UPPER 1792
BYTES OF
ON-CHIP XRAM
(DATA +STACK
FOR EXSP=1,
DATA ONLY
FOR EXSP=0)
128-BYTE
SPECIAL
FUNCTION
REGISTER
AREA
DUAL
SIGMA-DELTA
ADCs
OTHER ON-CHIP
PERIPHERALS
256 BYTES RAM
2K XRAM
TEMP SENSOR
CURRENT SOURCES
12-BIT DAC
SERIAL I/O
WDT, PSM
TIC, PLL
100H
FFH
256 BYTES OF
ON-CHIP DATA
RAM
(DATA + STACK)
00H
Figure 5. Programming Model
LOWER 256
BYTES OF
ON-CHIP XRAM
(DATA ONLY)
Accumulator SFR (ACC)
ACC is the Accumulator register and is used for math operations
including addition, subtraction, integer multiplication and division,
and Boolean bit manipulations. The mnemonics for accumulatorspecific instructions refer to the Accumulator as A.
00H
Figure 4. Extended Stack Pointer Operation
External Data Memory (External XRAM)
Just like a standard 8051 compatible core the ADuC846 can access
external data memory using a MOVX instruction. The MOVX
instruction automatically outputs the various control strobes required
to access the data memory.
The ADuC846 however, can access up to 16MBytes of extrenal data
memory. This is an enhancement of the 64kBytes external data
memory space available on a standard 8051 compatible core.
The external data memory is discussed in more detail in the
ADuC846 Hardware Design Considerations section.
B SFR (B)
The B register is used with the ACC for multiplication and division
operations. For other instructions it can be treated as a generalpurpose scratchpad register.
Data Pointer (DPTR)
The Data Pointer is made up of three 8-bit registers, named DPP
(page byte), DPH (high byte) and DPL (low byte). These are used to
provide memory addresses for internal and external code access and
external data access. It may be manipulated as a 16-bit register
(DPTR = DPH, DPL), although INC DPTR instructions will
automatically carry over to DPP, or as three independent 8-bit
registers (DPP, DPH, DPL).
The ADuC846 supports dual data pointers. Refer to the Dual Data
Pointer section later in this datasheet.
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 CALL
executions. While the Stack may reside anywhere in on-chip RAM,
the SP register is initialized to 07H after a reset. This causes the stack
to begin at location 08H.
As mentioned earlier the ADuC846 offers an extended 11-bit stack
pointer. The 3 extra bits to make up the 11-bit stack pointer are the 3
LSBs of the SPH byte located at B7h. To enable the SPH SFR the
-14-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
EXSP (CFG846.7) bit must be set otherwise the SPH SFR cannot be
read or written to.
Program Status Word (PSW)
The PSW SFR contains several bits reflecting the current status of the
CPU as detailed in Table I.
SFR Address
D0H
Power ON Default Value
00H
Bit Addressable
Yes
Bit
7
6
5
4
3
2
1
0
Name
CY
AC
F0
RS1
RS0
OV
F1
P
Bit
7
Table I. PSW SFR Bit Designations
Description
Carry Flag
Auxiliary Carry Flag
General-Purpose Flag
Register Bank Select Bits
RS1 RS0 Selected Bank
0
0
0
0
1
1
1
0
2
1
1
3
Overflow Flag
General-Purpose Flag
Parity Bit
6
5
4
3
2
1
0
The PCON SFR contains bits for power-saving options and generalpurpose status flags as shown in Table II.
SFR Address
Power ON Default Value
Bit Addressable
Bit
7
6
5
4
3
2
1
0
87H
00H
No
Table II. PCON SFR Bit Designations
Name
Description
SMOD
Double UART Baud Rate
SERIPD SPI Power-Down Interrupt Enable
INT0PD INT0 Power-Down Interrupt Enable
ALEOFF Disable ALE Output
GF1
General-Purpose Flag Bit
GF0
General-Purpose Flag Bit
PD
Power-Down Mode Enable
IDL
Idle Mode Enable
REV. PrA
The CFG846 SFR contains the necessary bits to configure the
internal XRAM and the extended SP. By default it configures the
user into 8051 mode. i.e. extended SP is disabled, internal XRAM is
disabled.
SFR Address
AFhH
Power ON Default Value
00H
Bit Addressable
No
-15-
Table III. CFG846 SFR Bit Designations
Description
Extended SP Enable
If this bit is set then the stack will
rollover from SPH/SP = 00FFh to
0100h.
If this bit is clear then the SPH SFR will be
disabled and the stack will rollover from SP=FFh to
SP = 00h
------------------------------------XRAMEN XRAM Enable Bit
If this bit is set then the internal
XRAM will be mapped into the lower
2kBytes of the external address space.
If this bit is clear then the internal
XRAM will not be accessible and the
external data memory will be mapped
into the lower 2kBytes of external data
memory. (see figure 3)
Name
EXSP
PRELIMINARY TECHNICAL DATA
ADuC846
COMPLETE SFR MAP
Figure 6 below shows a full SFR memory map and the SFR contents after RESET. NOT USED indicates unoccupied SFR locations. Unoccupied locations
in the SFR address space are not implemented; i.e., no register exists at this location. If an unoccupied location is read, an unspecified value is
returned. SFR locations that are reserved for future use are shaded (RESERVED) and should not be accessed by user software.
Figure 6: Complete SFR Map
-16-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
ALE
The output on the ALE pin on the ADuC836 was a clock at 1/6th of
the core operating frequency. On the ADuC846 the ALE pin
operates as follows.
For a single machine cycle instruction: ALE is high for the first
half of the machine cycle and low for the second half. The ALE
output is at the core operating frequency.For a two or more
machine cycle instruction: ALE is high for the first half of the first
machine cycle and then low for the rest of the machine cycles.
8052 Instruction Set
The following pages document the number of clock cycles required
for each instruction. Most instructions are executed in one or two
clock cycles resulting in 12.6MIPs peak performance when
operating at PLLCON = 00H.
Timer Operation
Timers on a standard 8052 increment by one with each machine
cycle. On the ADuC846 one machine cycle is equal to one clock
cycle hence the timers will increment at the same rate as the core
clock.
External Memory Access
There is no support for external program memory access on the
ADuC846. When accessing external RAM the EWAIT register
may need to be programmed in order to give extra machine cycles
to MOVX commands. This is to account for differing external
RAM access speeds.
INSTRUCTION TABLE
TABLE IV: Optimized Single Cycle 8051 Instruction Set
Mnemonic Arithmetic
ARITHMETIC
ADD A,Rn
ADD A,@Ri
ADDC A,Rn
ADDC A,@Ri
ADD A,dir
ADD A,#data
SUBB A,Rn
SUBB A,@Ri
SUBB A,dir
SUBB A,#data
INC A
INC Rn
INC @Ri
INC dir
INC DPTR
DEC A
DEC Rn
DEC @Ri
DEC dir
MUL AB
DIV AB
DA A
REV. PrA
Description
Add register to A
Add indirect memory to A
Add register to A with carry
Add indirect memory to A with carry
Add direct byte to A
Add direct byte to A with carry
Subtract register from A with borrow
Subtract indirect memory from A with borrow
Subtract direct from A with borrow
Subtract immediate from A with borrow
Increment A
Increment register
Increment indirect memory
Increment direct byte
Increment data pointer
Decrement A
Decrement Register
Decrement indirect memory
Decrement direct byte
Multiply A by B
Divide A by B
Decimal Adjust A
-17-
Bytes
Cycles
1
1
1
1
2
2
1
1
2
1
1
1
1
2
1
1
1
1
2
1
1
1
1
2
1
2
2
2
1
2
2
1
1
1
2
2
3
1
1
2
2
9
9
2
PRELIMINARY TECHNICAL DATA
ADuC846
Mnemonic Arithmetic
LOGIC
ANL A,Rn
ANL A,@Ri
ANL A,dir
ANL A,#data
ANL dir,A
ANL dir,#data
ORL A,Rn
ORL A,@Ri
ORL A,dir
ORL A,#data
ORL dir,A
ORL dir,#data
XRL A,Rn
XRL A,@Ri
XRL A,#data
XRL dir,A
XRL A,dir
XRL dir,#data
CLR A
CPL A
SWAP A
RL A
RLC A
RR A
RRC A
BOOLEAN
CLR C
CLR bit
SETB C
SETB bit
CPL C
CPL bit
ANL C,bit
ANL C,/bit
ORL C,bit
ORL C,/bit
MOV C,bit
MOV bit,C
Description
Bytes
Cycles
AND register to A
AND indirect memory to A
AND direct byte to A
AND immediate to A
AND A to direct byte
AND immediate data to direct byte
OR register to A
OR indirect memory to A
OR direct byte to A
OR immediate to A
OR A to direct byte
OR immediate data to direct byte
Exclusive-OR register to A
Exclusive-OR indirect memory to A
Exclusive-OR immediate to A
Exclusive-OR A to direct byte
Exclusive-OR indirect memory to A
Exclusive-OR immediate data to direct
Clear A
Complement A
Swap Nibbles of A
Rotate A left
Rotate A left through carry
Rotate A right
Rotate A right through carry
1
1
2
2
2
3
1
1
2
2
2
3
1
2
2
2
2
3
1
1
1
1
1
1
1
1
2
2
2
2
3
1
2
2
2
2
3
1
2
2
2
2
3
1
1
1
1
1
1
1
Clear carry
Clear direct bit
Set Carry
Set direct bit
Complement carry
Complement direct bit
AND direct bit and carry
AND direct bit inverse to carry
OR direct bit and carry
OR direct bit inverse to carry
Move direct bit to carry
Move carry to direct bit
1
2
1
2
1
2
2
2
2
2
2
2
1
2
1
2
1
2
2
2
2
2
2
2
-18-
REV. PrA
PRELIMINARY TECHNICAL DATA
ADuC846
Mnemonic Arithmetic
BRANCHING
JMP @A+DPTR
RET
RETI
ACALL addr11
AJMP addr11
SJMP rel
JC rel
JNC rel
JZ rel
JNZ rel
DJNZ Rn,rel
LJMP
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
Description
Bytes
Cycles
Jump indirect relative to DPTR
Return from subroutine
Return from interrupt
Absolute jump to subroutine
Absolute jump unconditional
Short jump (relative address)
Jump on carry = 1
Jump on carry = 0
Jump on accumulator = 0
Jump on accumulator != 0
Decrement register, jnz relative
Long jump unconditional
Long jump to subroutine
Jump on direct bit = 1
Jump on direct bit = 0
Jump on direct bit = 1 and clear
Compare A, direct JNE relative
Compare A, immediate JNE relative
Compare register, immediate JNE relative
Compare indirect, immediate JNE relative
Decrement direct byte, JNZ relative
1
1
1
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
4
4
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
4
4
No operation
1
1
Notes:
1. One cycle is one clock.
2. Cycles of MOVX instructions are 4 cycles when they have 0 wait state. Cycles of MOVX instructions are 4+N cycles when they have N wait
states.
3. Cycles of LCALL instruction are 3 cycles when the LCALL instruction comes from interrupt.
REV. PrA
-19-
PRELIMINARY TECHNICAL DATA
ADuC846
-20-
REV. PrA