p89c668hbbd NXP Semiconductors, p89c668hbbd Datasheet - Page 72

no-image

p89c668hbbd

Manufacturer Part Number
p89c668hbbd
Description
80c51 8-bit Flash Microcontroller Family
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89C668HBBD
Manufacturer:
TI
Quantity:
25 600
Part Number:
P89C668HBBD
Manufacturer:
PHILPS
Quantity:
500
Company:
Part Number:
P89C668HBBD
Quantity:
271
Part Number:
p89c668hbbd/00,557
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
READ MANUFACTURER ID
READ DEVICE ID # 1
READ DEVICE ID # 2
IAP CALL
Input Parameters:
Return Parameter
Sample routine:
Input Parameters:
Return Parameter
Sample routine:
Input Parameters:
Return Parameter
Sample routine:
R0 = osc freq (integer)
R1 = 00h
R1 = 80h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 00h (manufacturer ID)
ACC = value of byte read
;*****reads the Manufacturer ID (MID) *****
;***** MID returned in ACC (should be 15h for Philips)
RDMID:
R0 = osc freq (integer)
R1 = 00h
R1 = 80h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 01h (device ID # 1)
ACC = value of byte read
;*****reads the Device ID 1 (DID1) *****
;***** DID1 returned in ACC
RDDID1:
R0 = osc freq (integer)
R1 = 00h
R1 = 80h (WDT feed, Rx2 & 66x only)
DPH = 00h
DPL = 02h (device ID # 2)
ACC = value of byte read
;*****reads the Device ID 2 (DID2) *****
;***** DID2 returned in ACC
RDDID2:
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
MOV
MOV
MOV
MOV
CALL
RET
AUXR1,#20H
R0,#11
R1,#00H
DPTR,#0000H
PGM_MTP
AUXR1,#20H
R0,#11
R1,#00H
DPTR,#0001H
PGM_MTP
AUXR1,#20H
R0,#11
R1,#00H
DPTR,#0002H
PGM_MTP
72
PARAMETER
;set the ENBOOT bit
;FOSC
;read misc function
;specify MID
;execute the function
;set the ENBOOT bit
;FOSC
;read misc function
;specify device id 1
;execute the function
;set the ENBOOT bit
;FOSC
;read misc function
;specify device id 2
;execute the function
P89C660/P89C662/P89C664/
P89C668
Product data

Related parts for p89c668hbbd