|
DS80CH11 Datasheet, PDF (33/88 Pages) Dallas Semiconductor – System Energy Manager | |||
|
◁ |
DS80CH11
6.0 2âWIRE SERIAL INTERFACE
6.1 INTRODUCTION
The SEM provides two industry standard 2âWire serial
interfaces for processorâprocessor and processorâ
slave biâdirectional communication. The major fea-
tures of these buses include:
⢠Only two signal lines are required per bus: a serial
clock line (SCL) and a serial data line (SDA).
⢠Each device connected to the bus is software
addressable by a unique address.
⢠Masters can operate as Masterâtransmitter or Mas-
terâreceiver.
⢠Multiple master capability via collision detection and
arbitration to prevent data corruption if two or more
masters simultaneously initiate a data transfer.
⢠Serial clock synchronization allows devices with dif-
ferent bit rates to communicate via the same serial
bus.
⢠Devices can be added to or removed from the bus
without affecting any other circuit on the bus.
Both onâchip 2âWire ports support four modes of
operation: Master transmitter, Master receiver, Slave
transmitter, Slave receiver. Byteâoriented data trans-
port, clock generation, address recognition, and bus
control arbitration are all performed by the hardware.
Doubleâbuffering is provided on receive, allowing a full
word time to service the port during multiple byte data
transfers.
Figure 6â1 is a block diagram which illustrates the hard-
ware of both 2âWire serial ports. For simplicity âxâ rep-
resents 1 for Port 1 and 2 for Port 2.
2âWIRE SERIAL PORT BLOCK DIAGRAM Figure 6â1
INTERNAL
DATA BUS
R/W
09AH
0DAH
2WSADRx â ADDRESS
EN REGISTER
ADDRESS
COMPARE
R/W
09DH
0D9H
2WCONx â CONTROL
EN REGISTER
tMCLK R/W
09CH
0D3H
DIVIDE BY
8 PRESCALE
2WFSx â FREQUENCY
EN
SELECT
DIVIDE BY
RELOAD VALUE
R/W
09EH
0DAH
RD
09FH
0DBH
2WSTAT1x â STATUS
EN REGISTER
2WSTAT2x â STATUS
EN REGISTER
RD
09BH
0D2H
2WDATx â RECEIVE
EN DATA BUFFER
WR
09BH
0D2H
DOUT SHIFT
EN REGISTER
MSB
DIN
LSB
ACK
TIMING &
CONTROL
LOGIC
ARBITRATION
LOGIC
SERIAL
CLOCK GEN.
SDAx
PIN
SCLx
PIN
011200 33/88
|
▷ |