P87C552 NXP Semiconductors, P87C552 Datasheet - Page 53

The 87C552 Single-Chip 8-Bit Microcontroller is manufactured in anadvanced CMOS process and is a derivative of the 80C51microcontroller family

P87C552

Manufacturer Part Number
P87C552
Description
The 87C552 Single-Chip 8-Bit Microcontroller is manufactured in anadvanced CMOS process and is a derivative of the 80C51microcontroller family
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P87C552-5A68
Manufacturer:
PHILIPS
Quantity:
5
Part Number:
P87C552IBA
Manufacturer:
PHI
Quantity:
20 000
Part Number:
P87C552SBAA
Manufacturer:
SILICON
Quantity:
1 001
Part Number:
P87C552SBAA
Manufacturer:
PHILIPS
Quantity:
8
Part Number:
P87C552SBAA
Manufacturer:
NXPL
Quantity:
5 510
Part Number:
P87C552SBAA
Manufacturer:
NXP
Quantity:
1 135
Part Number:
P87C552SBAA
Manufacturer:
PHILIPS
Quantity:
11
Part Number:
P87C552SBAA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Part Number:
P87C552SBAAЈ¬512
Manufacturer:
NXP
Quantity:
1 062
Part Number:
P87C552SFAA
Manufacturer:
NXP
Quantity:
1 136
Part Number:
P87C552SFAA
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P87C552SFAA,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
0000
0200
0203
0205
0207
020A
020D
020F
0212
0215
0218
021A
021D
0220
002B
002D
002F
0031
0100
0103
0105
2003 Apr 01
80C51 8-bit microcontroller
8K/256 OTP, 8 channel 10 bit A/D, I
capture/compare, high I/O, low voltage (2.7 V to 5.5 V), low power
4100
75DB31
D296
D297
755001
43A8A0
C2BD
75D8C5
755204
7551C0
D2DD
755204
7551C1
D2DD
C0D0
C0D9
C050
22
75D8D5
D0D0
32
!********************************************************************************************************
! INITIALIZATION ROUTINE
! Example to initialize IIC Interface as slave receiver or slave transmitter and
! start a MASTER TRANSMIT or a MASTER RECEIVE function. 4 bytes will be transmitted or received.
!********************************************************************************************************
.sect
.base
.sect
.base
INIT:
!********************************************************************************************************
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! START MASTER TRANSMIT FUNCTION
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! START MASTER RECEIVE FUNCTION
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
!********************************************************************************************************
! SI01 INTERRUPT ROUTINE
!********************************************************************************************************
.sect
.base
! S1STA and HADD are pushed onto the stack.
! They serve as return address for the RET instruction.
! The RET instruction sets the Program Counter to address HADD,
! S1STA and jumps to the right subroutine.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
! ACTION : Enter not addressed SLV mode and release bus. STO reset.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
.base
strt
0x00
initial
0x200
intvec
0x00
: 00, Bus error.
st0
0x100
2
C, PWM,
ajmp INIT
mov
setb
setb
mov
orl
clr
mov
mov
mov
setb
mov
mov
setb
push psw
push S1STA
push HADD
ret
mov
pop
reti
S1ADR,#OWNSLA
P1(6)
P1(7)
HADD,#PAG1
IEN0,#ENSI01
SI01HP
S1CON, #ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
NUMBYTMST,#0x4
SLA,#SLAW
STA
NUMBYTMST,#0x4
SLA,#SLAR
STA
S1CON,#ENS1_NOTSTA_STO_NOTSI_AA_CR0 ! clr SI
psw
53
! RESET
! Load own SLA + enable
! general call recognition
! P1.6 High level.
! P1.7 High level.
! Enable SI01 interrupt
! SI01 interrupt low priority
! Initialize SLV funct.
! Transmit 4 bytes.
! SLA+W, Transmit funct.
! set STA in S1CON
! Receive 4 bytes.
! SLA+R, Receive funct.
! set STA in S1CON
! SI01 interrupt vector
! save psw
! JMP to address HADD,S1STA.
! set STO,AA
P87C552
Product data

Related parts for P87C552