P89LV51RD2BBC NXP Semiconductors, P89LV51RD2BBC Datasheet - Page 17

no-image

P89LV51RD2BBC

Manufacturer Part Number
P89LV51RD2BBC
Description
MCU 8-Bit 89LV 80C51 CISC 64KB Flash 3.3V 44-Pin TQFP Tray
Manufacturer
NXP Semiconductors
Datasheet

Specifications of P89LV51RD2BBC

Package
44TQFP
Device Core
80C51
Family Name
89LV
Maximum Speed
40 MHz
Ram Size
1 KB
Program Memory Size
64 KB
Operating Supply Voltage
3.3 V
Data Bus Width
8 Bit
Program Memory Type
Flash
Number Of Programmable I/os
32
Interface Type
SPI/UART
Operating Temperature
0 to 70 °C
Number Of Timers
3

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LV51RD2BBC
Manufacturer:
WCH
Quantity:
1 200
Company:
Part Number:
P89LV51RD2BBC
Quantity:
600
Part Number:
P89LV51RD2BBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
NXP Semiconductors
P89LV51RB2_RC2_RD2_5
Product data sheet
Since the upper 128 B occupy the same addresses as the SFRs, the RAM must be
accessed indirectly. The RAM and SFRs space are physically separate even though they
have the same addresses.
Table 7.
Not bit addressable; reset value 00H.
Table 8.
When instructions access addresses in the upper 128 B (above 7FH), the MCU
determines whether to access the SFRs or RAM by the type of instruction given. If it is
indirect, then RAM is accessed. If it is direct, then an SFR is accessed. See the examples
below.
Indirect access:
Register R0 points to 90H which is located in the upper address range. Data in ‘#data’ is
written to RAM location 90H rather than port 1.
Direct access:
Data in ‘#data’ is written to port 1. Instructions that write directly to the address, write to
the SFRs.
To access the expanded RAM, the EXTRAM bit must be cleared and MOVX instructions
must be used. The extra 768 B of memory is physically located on the chip and logically
occupies the first 768 B of external memory (addresses 000H to 2FFH).
When EXTRAM = 0, the expanded RAM is indirectly addressed using the MOVX
instruction in combination with any of the registers R0, R1 of the selected bank or DPTR.
Accessing the expanded RAM does not affect ports P0, P3.6 (WR), P3.7 (RD), or P2.
With EXTRAM = 0, the expanded RAM can be accessed as in the following example.
Expanded RAM access (indirect addressing only):
Bit
7 to 2
1
0
Bit
Symbol
MOV@R0, #data; R0 contains 90H
MOV90H, #data; write data to P1
MOVX@DPTR, A DPTR contains 0A0H
AUXR - Auxiliary register (address 8EH) bit allocation
AUXR - Auxiliary register (address 8EH) bit descriptions
Symbol
-
EXTRAM
AO
7
-
Rev. 05 — 15 December 2009
6
-
Description
Reserved for future use. Should be set to ‘0’ by user programs.
Internal/External RAM access using MOVX @Ri/@DPTR.
When ‘0’, core attempts to access internal XRAM with address
specified in MOVX instruction. If address supplied with this instruction
exceeds on-chip available XRAM, off-chip XRAM is going to be
selected and accessed.
When ‘1’, every MOVX @Ri/@DPTR instruction targets external data
memory by default.
ALE off: disables/enables ALE. AO = 0 results in ALE emitted at a
constant rate of
active only during a MOVX or MOVC.
5
-
1
2
P89LV51RB2/RC2/RD2
the oscillator frequency. In case of AO = 1, ALE is
4
-
8-bit microcontrollers with 80C51 core
3
-
2
-
EXTRAM
© NXP B.V. 2009. All rights reserved.
1
17 of 76
AO
0

Related parts for P89LV51RD2BBC