Table 3-1. master transmit status codes, E possible in the status register (see table 3-1) – Lantronix DSTni-EX User Manual

Page 22

Advertising
background image

14

Table 3-1. Master Transmit Status Codes

Code

I

2

C State

Microprocessor Response

Next I

2

C Action

18h

Addr + W transmitted,
ACK received

7-bit address:
Write byte to DATA, clear IFLG

OR

Set STA, clear IFLG

OR

Set STP, clear IFLG

OR

Set STA & STP, clear IFLG

10-bit address:
Write extended address byte to
DATA, clear IFLG


Transmit data byte, receive
ACK


Transmit repeated START



Transmit STOP



Transmit STOP, then START


Transmit extended address byte

20h

Addr + W transmitted,
ACK not received

Same as code 18h

Same as code 18h

38h

Arbitration lost

Clear IFLG

OR

Set STA, clearIFLG

Return to idle



Transmit START when bus is free

68h

Arbitration lost,
SLA + W received,
ACK transmitted

Clear IFLG, AAK=0

OR

Clear IFLG, AAK=1

Receive data byte, transmit not ACK



Receive data byte, transmit ACK

78h Arbitration

lost,

general call addr
received, ACK
transmitted

Same as code 68h

Same as code 68h

B0h

Arbitration lost, SLA + R
received, ACK
transmitted

Write byte to DATA, clear IFLG,
AAK=0

OR

Write byte to DATA, clear IFLG,
AAK=1

Transmit last byte, receive ACK




Transmit data byte, receive ACK

Advertising