参数资料
型号: TOOLSTICK300SPP
厂商: Silicon Laboratories Inc
文件页数: 31/178页
文件大小: 0K
描述: TOOLSTICK PROGRAMMING ADAPTER
标准包装: 1
系列: ToolStick
类型: 微控制器编程器
适用于相关产品: C8051F300
所含物品: 2 个板和 USB 连接线缆
C8051F300/1/2/3/4/5
126
Rev. 2.9
13.5.4. Slave Transmitter Mode
Serial data is transmitted on SDA and the clock is received on SCL. When slave events are enabled (INH
= 0), the interface enters Slave Receiver Mode (to receive the slave address) when a START followed by a
slave address and direction bit (READ in this case) is received. Software responds to the received slave
address with an ACK, or ignores the received slave address with a NACK. If the received address is
ignored, slave interrupts will be inhibited until the next START is detected. If the received slave address is
acknowledged, software should write data to SMB0DAT to force the SMBus into Slave Transmitter Mode.
The switch from Slave Receiver to Slave Transmitter requires software management. Software should per-
form the steps outlined below only when a valid slave address is received (indicated by the label “RX-to-TX
Steps” in Figure 13.8).
Step 1. Set ACK to ‘1’.
Step 2. Write outgoing data to SMB0DAT.
Step 3. Check SMB0DAT.7; if ‘1’, do not perform steps 4, 6 or 7.
Step 4. Set STO to ‘1’.
Step 5. Clear SI to ‘0’.
Step 6. Poll for TXMODE => ‘1’.
Step 7. Clear STO to ‘0’ (must be done before the next ACK cycle).
The interface enters Slave Transmitter Mode and transmits one or more bytes of data (the above steps are
only required before the first byte of the transfer). After each byte is transmitted, the master sends an
acknowledge bit; if the acknowledge bit is an ACK, SMB0DAT should be written with the next data byte. If
the acknowledge bit is a NACK, SMB0DAT should not be written to before SI is cleared (Note: an error
condition may be generated if SMB0DAT is written following a received NACK while in Slave Transmitter
Mode). The interface exits Slave Transmitter Mode after receiving a STOP. Note that the interface will
switch to Slave Receiver Mode if SMB0DAT is not written following a Slave Transmitter interrupt.
Figure 13.8 shows a typical Slave Transmitter sequence. Two transmitted data bytes are shown, though
any number of bytes may be transmitted. Notice that the ‘data byte transferred’ interrupts occur after the
ACK cycle in this mode.
P
R
SLA
S
Data Byte
A
N
A
S = START
P = STOP
N = NACK
W = WRITE
SLA = Slave Address
Received by SMBus
Interface
Transmitted by
SMBus Interface
Interrupt
Perform RX-to-TX
Steps Here
Figure 13.8. Typical Slave Transmitter Sequence
相关PDF资料
PDF描述
396-070-541-804 CARD EDGE 70POS DL .125X.250 BLK
TOOLSTICK588PP PLATFORM PROG TOOLSTICK F588
EEM22DRKH-S13 CONN EDGECARD 44POS .156 EXTEND
396-070-541-802 CARD EDGE 70POS DL .125X.250 BLK
T95Y476K6R3LSAL CAP TANT 47UF 6.3V 10% 2910
相关代理商/技术参数
参数描述
TOOLSTICK310PP 功能描述:插座和适配器 C8051F310/12/14 F361 F364 F366 F368 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK311DC 功能描述:子卡和OEM板 ToolStick C8051F311 Daughter Card RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK311PP 功能描述:插座和适配器 C8051F311/13/15 F362 F365 F367 F369 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK316PP 功能描述:插座和适配器 C8051F316/17 F338 F339 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK320PP 功能描述:插座和适配器 Dev Tool C8051F320 F342 F343 F346 F347 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x