Philips Semiconductors
Product data
P83C654X2/P87C654X2
80C51 8-bit microcontroller family
16 kB OTP/ROM,
256B RAM, low voltage (2.7 to 5.5 V), low power, high speed
(30/33 MHz)
2004 Apr 20
59
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
: A0, A STOP condition or repeated START has been received,
!
while still addressed as SLV/REC or SLV/TRX.
! ACTION
: No save of DATA, Enter NOT addressed SLV mode.
!
Recognition of own SLA. General call recognized, if S1ADR. 0–1.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
srsA0
.base
0x1a0
01A0
75D8C5
mov
S1CON,#ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
! clr SI, set AA
01A3
01A5
D0D0
32
pop
reti
psw
!********************************************************************************************************
!********************************************************************************************************
! SLAVE TRANSMITTER STATE SERVICE ROUTINES
!********************************************************************************************************
!********************************************************************************************************
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
: A8, Own SLA+R received, ACK returned.
! ACTION
: DATA will be transmitted, A bit received.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
stsa8
.base
0x1a8
01A8
01AB
8548DA
75D8C5
mov
mov
S1DAT,STD
S1CON,#ENS1_NOTSTA_NOTSTO_NOTSI_AA_CR0
! load DATA in S1DAT
! clr SI, set AA
01AE
01E8
ajmp INITBASE2
.sect
.base
INITBASE2:
ibase2
0xe8
00E8
00EB
00ED
00EE
00F0
75D018
7948
09
D0D0
32
mov
mov
inc
pop
reti
psw,#SELRB3
r1, #STD
r1
psw
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
! STATE
: B0, Arbitration lost in SLA and R/W as MST. Own SLA+R received, ACK returned.
! ACTION
: DATA will be transmitted, A bit received.
!
STA is set to restart MST mode after the bus is free again.
!– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
.sect
stsb0
.base
0x1b0
01B0
01B3
01B6
8548DA
75D8E5
01E8
mov
mov
ajmp INITBASE2
S1DAT,STD
S1CON,#ENS1_STA_NOTSTO_NOTSI_AA_CR0
! load DATA in S1DAT