ADUC844 Analog Devices, ADUC844 Datasheet - Page 14
![no-image](/images/manufacturer_photos/0/0/56/analog_devices_sml.jpg)
ADUC844
Manufacturer Part Number
ADUC844
Description
MicroConverter/ Dual 16-Bit/24-Bit ADCs with Embedded 62kB FLASH MCU
Manufacturer
Analog Devices
Datasheet
1.ADUC844.pdf
(20 pages)
ADuC844
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.
External Data Memory (External XRAM)
Just like a standard 8051 compatible core the ADuC844 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 ADuC844 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
ADuC844 Hardware Design Considerations section.
Figure 4. Extended Stack Pointer Operation
CFG845.7 = 0
FFH
00H
(DATA + STACK)
ON-CHIP DATA
256 BYTES OF
RAM
CFG845.7 = 1
PRELIMINARY TECHNICAL DATA
07FFH
100 H
00H
ON-CHIP XRAM
(DATA +STACK
ON-CHIP XRAM
FOR EXSP=1,
FOR EXSP=0)
(DATA ONLY)
UPPER 1792
DATA ONLY
LOWER 25 6
BYTES OF
BYTES OF
-14-
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 ADuC844 via the
SFR area is shown in Figure 5.
All registers except the Program Counter (PC) and the four general-
purpose 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.
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 accumulator-
specific instructions refer to the Accumulator as A.
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 general-
purpose 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 ADuC844 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 ADuC844 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
62 KBYTE ELECTRICALLY
NONVOLATILE FLASH/EE
REPROGRAMMABLE
PROGRAM MEMORY
256 BYTES RAM
COMPATIBLE
2K XRAM
CORE
805 1-
Figure 5. Programming Model
FUNCTION
REGISTER
128-BYTE
SPECIAL
AREA
REPROGRAMMABLE
CURRENT SOURCES
FLASH/EE DATA
OTHER ON-CHIP
ELECTRICALLY
TEMP SENSOR
NONVOLATILE
PERIPHERALS
SIGMA-DELTA
12-BIT DAC
SERIAL I/O
WDT, PSM
MEMORY
4 KBYTE
TIC, PLL
DUAL
ADCs
REV. PrB