2015-2016 Microchip Technology Inc. DS20005386B-page 19
PAC1710/20
5.0 SMBUS COMMUNICATION
5.0.1 SMBus START BIT
The SMBus Start bit is defined as a transition of the
SMBus Data line from a logic ‘1’ state to a logic ‘0’ state
while the SMBus Clock line is in a logic ‘1’ state.
5.0.2 SMBus ADDRESS AND RD/WR BIT
The SMBus Address Byte consists of the 7-bit client
address followed by a 1-bit RD/WR
indicator. If this
RD/WR
bit is a logic0’, the SMBus host is writing data
to the client device. If this RD/WR
bit is a logic 1’, the
SMBus host is reading data from the client device.
The PAC1710/20 SMBus address is determined by a
single resistor connected between ground and the
ADDR_SEL pin as shown in Table 5-1.
All SMBus Data bytes are sent most significant bit first
and composed of 8 bits of information.
5.0.3 SMBus ACK AND NACK BITS
The SMBus client will acknowledge all data bytes that it
receives (as well as the client address if it matches and
the ARA address if the ALERT
pin is asserted). This is
done by the client device pulling the SMBus Data line
low after the eigth bit of each byte that is transmitted.
The host will not acknowledge (NACK) the data
received from the client by holding the SMBus data line
high after the eigth data bit has been sent.
5.0.4 SMBus STOP BIT
The SMBus Stop bit is defined as a transition of the
SMBus Data line from a logic ‘0’ state to a logic ‘1’ state
while the SMBus clock line is in a logic ‘1’ state. When
the PAC1710/20 detects an SMBus Stop bit, and it has
been communicating with the SMBus protocol, it will
reset its client interface and prepare to receive further
communications.
5.0.5 SMBus TIMEOUT
The PAC1710/20 includes an SMBus timeout feature.
Following a 30 ms period of inactivity on the SMBus,
the device will time out and reset the SMBus interface.
The time-out functionality defaults to disabled and can
be enabled by writing to the TIMEOUT bit (see
Register 6-1).
5.1 SMBus and I
2
C Compliance
The major differences between SMBus and I
2
C
devices are highlighted below. For more information,
refer to the SMBus 2.0 and I
2
C specifications.
PAC1710/20 supports I
2
C fast mode at 400 kHz.
This covers the SMBus maximum time of 100 kHz.
Minimum frequency for SMBus communications
is 10 kHz.
The SMBus client protocol will reset if the clock is
held at a logic ‘0 for longer than 30 ms. This time-
out functionality is disabled by default in the
PAC1710/20 and can be enabled by writing to the
TIMEOUT bit. I
2
C does not have a timeout.
The SMBus client protocol will reset if both the
clock and data lines are held at a logic 1’ for
longer than 200 μs (idle condition). This function
is disabled by default in the PAC1710/20 and can
be enabled by setting the TIMEOUT bit. I
2
C does
not have an idle condition.
•I
2
C devices do not support the Alert Response
Address functionality (which is optional for SMBus).
•I
2
C devices support Block Read and Block Write
differently. I
2
C protocol allows for unlimited
number of bytes to be sent in either direction. The
SMBus protocol requires that an additional data
byte indicating number of bytes to read/write is
transmitted. The PAC1710/20 supports I
2
C
formatting only.
TABLE 5-1: ADDR_SEL RESISTOR
SETTING
RES
(5%)
SMBus Address
RES
(5%)
SMBus Address
0 1001_100(r/w) 1600 0101_000(r/w)
100 1001_101(r/w) 2000 0101_001(r/w)
180 1001_110(r/w) 2700 0101_010(r/w)
300 1001_111(r/w) 3600 0101_011(r/w)
430 1001_000(r/w) 5600 0101_100(r/w)
560 1001_001(r/w) 9100 0101_101(r/w)
750 1001_010(r/w) 20000 0101_110(r/w)
1270 1001_011(r/w) Open 0011_000(r/w)
PAC1710/20
DS20005386B-page 20 2015-2016 Microchip Technology Inc.
5.2 SMBUS PROTOCOLS
The PAC1710/20 communicates with a host controller
through the SMBus. The SMBus is a two-wire serial
communication protocol between a computer host and
its peripheral devices. A detailed timing diagram is
shown in Figure 1-1. Stretching of the SMCLK signal is
supported; however, the PAC1710/20 will not stretch
the clock signal.
All of the below protocols use the convention in
Table 5-2.
5.2.1 WRITE BYTE
The Write Byte is used to write one byte of data to the
registers, as shown in Table 5-3.
5.2.2 READ BYTE
The Read Byte protocol is used to read one byte of data
from the registers as shown in Ta b le 5- 4.
5.2.3 SEND BYTE
The Send Byte protocol is used to set the internal
address register pointer to the correct address location.
No data is transferred during the Send Byte protocol as
shown in Tab le 5-5.
5.2.4 RECEIVE BYTE
The Receive Byte protocol is used to read data from a
register when the internal register address pointer is
known to be at the right location (e.g. set via Send
Byte). This is used for consecutive reads of the same
register as shown in Ta b le 5 - 6.
TABLE 5-2: PROTOCOL FORMAT
Data Sent to Device Data Sent to the Host
# of bits sent # of bits sent
TABLE 5-3: WRITE BYTE PROTOCOL
START Slave Address WR ACK Register Address ACK Register Data ACK STOP
1
0 YYYY_YYY 0 0 XXh 0 XXh 0 0 1
TABLE 5-4: READ BYTE PROTOCOL
START
Slave
Address
WR ACK
Register
Address
ACK START
Slave
Address
RD ACK
Register
Data
NACK STOP
1 0 YYYY_YYY 0 0 XXh 0 1 0 YYYY_YYY 1 0 XXh 1 0 1
TABLE 5-5: SEND BYTE PROTOCOL
START Slave Address WR ACK Register Address ACK STOP
1
0 YYYY_YYY 0 0 XXh 0 0 1
TABLE 5-6: RECEIVE BYTE PROTOCOL
START Slave Address RD ACK Register Address NACK STOP
1
0 YYYY_YYY 1 0 XXh 1 0 1
2015-2016 Microchip Technology Inc. DS20005386B-page 21
PAC1710/20
5.2.5 ALERT RESPONSE ADDRESS
The ALERT output can be used as a processor
interrupt or as an SMBus Alert when configured to
operate as an interrupt.
When it detects that the ALERT
pin is asserted, the
host will send the Alert Response Address (ARA) to the
general address of 0001_100xb. All devices with
active interrupts will respond with their client address,
as shown in Ta b le 5-7.
The PAC1710/20 will respond to the ARA in the
following way if the ALERT
pin is asserted:
Send Slave Address and verify that full slave
address was sent (i.e. the SMBus communication
from the device was not prematurely stopped due
to a bus contention event).
Set the MASK bit to clear the ALERT
pin.
5.3 I
2
C Protocols
The PAC1710/20 supports I
2
C Block Read and Block
Write.
The protocols listed below use the convention in
Table 5-1.
5.3.1 BLOCK WRITE
The Block Write is used to write multiple data bytes to
a group of contiguous registers, as shown in Table 5-8.
TABLE 5-7: ALERT RESPONSE ADDRESS PROTOCOL
START Alert Response Address RD ACK Device Address NACK STOP
1
0 0001_100 1 0 YYYY_YYY 1 0 1
TABLE 5-8: BLOCK WRITE PROTOCOL
START
Slave
Address
WR
ACK
Register
Address
ACK Register Data ACK
1
0 YYYY_YYY 0 0 XXh 0 XXh 0
Register
Data
ACK
Register
Data
ACK
Register
Address
Register
Data
ACK STOP
XXh 0 XXh 0 XXh 0 0
1

PAC1720-1-AIA-TR

Mfr. #:
Manufacturer:
Microchip Technology
Description:
Current & Power Monitors & Regulators Single I2C/SMBus Current Sensor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet