Table 20.1.Smb0Sta Status Codes And States - Silicon Laboratories C8051F120 Manual

Hide thumbs Also See for C8051F120:
Table of Contents

Advertisement

Table 20.1. SMB0STA Status Codes and States
Status
Mode
Code
0x08
START condition transmitted.
0x10
Repeated START condition transmitted.
0x18
Slave Address + W transmitted. ACK
received.
0x20
Slave Address + W transmitted. NACK
received.
0x28
Data byte transmitted. ACK received.
0x30
Data byte transmitted. NACK received.
0x38
Arbitration Lost.
0x40
Slave Address + R transmitted. ACK received.
0x48
Slave Address + R transmitted. NACK
received.
0x50
Data byte received. ACK transmitted.
0x58
Data byte received. NACK transmitted.
C8051F120/1/2/3/4/5/6/7
SMBus State
Rev. 1.2
Typical Action
Load SMB0DAT with Slave Address +
R/W. Clear STA.
Load SMB0DAT with Slave Address +
R/W. Clear STA.
Load SMB0DAT with data to be transmit-
ted.
Acknowledge poll to retry. Set STO +
STA.
1) Load SMB0DAT with next byte, OR
2) Set STO, OR
3) Clear STO then set STA for repeated
START.
1) Retry transfer OR
2) Set STO.
Save current data.
If only receiving one byte, clear AA (send
NACK after received byte). Wait for
received data.
Acknowledge poll to retry. Set STO +
STA.
Read SMB0DAT. Wait for next byte. If
next byte is last byte, clear AA.
Set STO.
247

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F120 and is the answer not in the manual?

Table of Contents