tda8029hl-c207 NXP Semiconductors, tda8029hl-c207 Datasheet - Page 24

no-image

tda8029hl-c207

Manufacturer Part Number
tda8029hl-c207
Description
Low Power Single Card Reader
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
9397 750 14145
Product data sheet
8.6 Expanded data RAM addressing
The TDA8029 has internal data memory that is mapped into four separate segments.
The four segments are:
The lower 128 byte can be accessed by either direct or indirect addressing. The upper
128 byte can be accessed by indirect addressing only. The upper 128 byte occupy the
same address space as the SFRs. That means they have the same address, but are
physically separate from SFR space.
When an instruction accesses an internal location above address 7Fh, the CPU knows
whether the access is to the upper 128 byte of data RAM or to the SFR space by the
addressing mode used in the instruction. Instructions that use direct addressing access
SFR space. For example: MOV A0h, #data accesses the SFR at location 0A0h (which is
register P2).
Instructions that use indirect addressing access the upper 128 byte of data RAM. For
example: MOV @R0, #data where R0 contains 0A0h, accesses the data byte at address
0A0h, rather than P2 (whose address is 0A0h).
The XRAM can be accessed by indirect addressing, with EXTRAM bit (register AUXR
bit 1) cleared and MOVX instructions. This part of memory is physically located on-chip,
logically occupies the first 512 byte of external data memory.
When EXTRAM = 0, the XRAM is indirectly addressed, using the MOVX instruction in
combination with any of the registers R0, R1 of the selected bank or DPTR. An access to
XRAM will not affect ports P0, P3.6 (WR) and P3.7 (RD). P2 is output during external
addressing. For example: MOVX @R0, A where R0 contains 0A0h, access the EXTRAM
at address 0A0h rather than external memory. An access to external data memory
1. The lower 128 byte of RAM (addresses 00h to 7Fh), which are directly and indirectly
2. The upper 128 byte of RAM (addresses 80h to FFh), which are indirectly addressable
3. The Special Function Registers, SFRs, (addresses 80h to FFh), which are directly
4. The 512 byte expanded RAM (XRAM 00h to 1FFh) are indirectly accessed by move
Fig 8. Dual DPTR
addressable.
only.
addressable only.
external instructions, MOVX, if the EXTRAM bit (bit 1 of register AUXR) is cleared.
AUXR1.0
DPS
Rev. 03 — 22 February 2005
(83H)
DPH
(82H)
DPL
DPTR1
DPTR0
Low power single card reader
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
EXTERNAL
MEMORY
DATA
mhi007
TDA8029
24 of 59

Related parts for tda8029hl-c207