P89C662HBA/00,512 NXP Semiconductors, P89C662HBA/00,512 Datasheet - Page 70
![IC 80C51 MCU FLASH 32K 44-PLCC](/photos/6/98/69845/568-44-plcc_sot187-2_sml.jpg)
P89C662HBA/00,512
Manufacturer Part Number
P89C662HBA/00,512
Description
IC 80C51 MCU FLASH 32K 44-PLCC
Manufacturer
NXP Semiconductors
Series
89Cr
Datasheet
1.P89C660HBA00512.pdf
(89 pages)
Specifications of P89C662HBA/00,512
Core Processor
8051
Core Size
8-Bit
Speed
33MHz
Connectivity
I²C, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Other names
568-1269-5
935267444512
P89C662HBA
935267444512
P89C662HBA
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
P89C662HBA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
2002 Oct 28
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM
ERASE BOOT VECTOR &
STATUS BYTE
PROGRAM SECURITY BIT
IAP CALL
Input Parameters:
Return Parameter
Sample routine:
Input Parameters:
Return Parameter
Sample routines:
R0 = osc freq (integer)
R1 = 04h
R1 = 84h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = don’t care
none
;***** Erase Boot Vector (BV) & Status Byte (SB) *****
;***** Note: This command erases BOTH the SB & BV
ERSBBV;
R0 = osc freq (integer)
R1 = 05h
R1 = 85h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 00h – security bit # 1 (inhibit writing to Flash)
none
;***** Program Security Bit1 *****
;***** DPTR indicates security bit to program *****
WRSB1:
;***** Program Security Bit2 *****
;***** DPTR indicates security bit to program *****
WRSB2:
;***** Program Security Bit3 *****
;***** DPTR indicates security bit to program *****
WRSB3:
01h – security bit # 2 (inhibit Flash verify)
02h – security bit # 3 (disable external memory)
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
AUXR1,#20H
R0, #11
R1,#04H
DPH,#00h
PGM_MTP
AUXR1,#20H
R0,#11
R1,#05H
DPTR,#0000h
PGM_MTP
AUXR1,#20H
R0,#11
R1,#05H
DPTR,#0001h
PGM_MTP
AUXR1,#20H
R0,#11
R1,#05H
DPTR,#0002h
PGM_MTP
70
PARAMETER
;set the ENBOOT bit
;FOSC
;erase status byte & boot vector
;we don’t care about DPL
;execute the function
;set the ENBOOT bit
;FOSC
;program security bit function
;specify security bit 1
;execute the function
;set the ENBOOT bit
;FOSC
;program security bit function
;specify security bit 2
;execute the function
;set the ENBOOT bit
;FOSC
;program security bit function
;specify security bit 3
;execute the function
P89C660/P89C662/P89C664/
P89C668
Product data