p89cv51rb2 NXP Semiconductors, p89cv51rb2 Datasheet - Page 22

no-image

p89cv51rb2

Manufacturer Part Number
p89cv51rb2
Description
P89cv51rb2/rc2/rd2 8-bit 80c51 5 V Low Power 64 Kb Flash Microcontroller With 1 Kb Ram, Spi, 6-clock Cpu With 6/12-clock Peripherals
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p89cv51rb2FA
Manufacturer:
KEC
Quantity:
10 000
Part Number:
p89cv51rb2FA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
p89cv51rb2FA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC,557
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
p89cv51rb2FBC557
Manufacturer:
NXP Semiconductors
Quantity:
135
NXP Semiconductors
P89CV51RB2_RC2_RD2_1
Product data sheet
6.3.8 IAP method
Several IAP calls are available for use by an application program to permit selective
erasing, reading and programming of flash pages, security bits, status bit, and device ID.
All calls are made through a common interface, PGM_MTP. The programming functions
are selected by setting up the microcontroller’s registers before making a call to
PGM_MTP at FFF0H. The IAP calls are shown in
Table 12.
IAP function
Read ID
Erase 4 kB code block (new
function)
IAP function calls
Rev. 01 — 5 October 2007
IAP call parameters
Input parameters:
R1 = 00H or 80H (WDT feed)
DPH = 00H
DPL = 00H = manufacturer ID
DPL = 01H = device ID 1
DPL = 02H = device ID 2
DPL = 03H = 6 /12 bit (if bit 7 = 1: 6 )
DPL = 80H = ISP version number
Return parameter(s):
ACC = requested parameter
Input parameters:
R0 = oscillator frequency (integer)
R1 = 0CH or 8CH (WDT feed)
DPH = address of 4 kB code block
DPH = 00H, 4 kB block 0, 0 kB to 4 kB
DPH = 10H, 4 kB block 1, 4 kB to 8 kB
DPH = 20H, 4 kB block 2, 8 kB to 12 kB
DPH = 30H, 4 kB block 3, 12 kB to 16 kB
DPH = 40H, 4 kB block 4, 16 kB to 20 kB
DPH = 50H, 4 kB block 5, 20 kB to 24 kB
DPH = 60H, 4 kB block 6, 24 kB to 28 kB
DPH = 70H, 4 kB block 7, 28 kB to 32 kB
DPH = 80H, 4 kB block 8, 32 kB to 36 kB
DPH = 90H, 4 kB block 9, 36 kB to 40 kB
DPH = A0H, 4 kB block 10, 40 kB to 44 kB
DPH = B0H, 4 kB block 11, 44 kB to 48 kB
DPH = C0H, 4 kB block 12, 48 kB to 52 kB
DPH = D0H, 4 kB block 13, 52 kB to 56 kB
DPH = E0H, 4 kB block 14, 56 kB to 60 kB
DPH = F0H, 4 kB block 15, 60 kB to 64 kB
DPL = 00H
Return parameter(s):
ACC = 00: pass
ACC is not 00: fail
P89CV51RB2/RC2/RD2
Table
12.
80C51 with 1 kB RAM, SPI
© NXP B.V. 2007. All rights reserved.
22 of 73

Related parts for p89cv51rb2