PCA9641BS [NXP]
SPECIALTY LOGIC CIRCUIT;型号: | PCA9641BS |
厂家: | NXP |
描述: | SPECIALTY LOGIC CIRCUIT 逻辑集成电路 |
文件: | 总55页 (文件大小:1657K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
PCA9641
2-channel I2C-bus master arbiter
Rev. 2.1 — 27 October 2015
Product data sheet
1. General description
The PCA9641 is a 2-to-1 I2C master demultiplexer with an arbiter function. It is designed
for high reliability dual master I2C-bus applications where correct system operation is
required, even when two I2C-bus masters issue their commands at the same time. The
arbiter will select a winner and let it work uninterrupted, and the losing master will take
control of the I2C-bus after the winner has finished. The arbiter also allows for queued
requests where a master requests the downstream bus while the other master has
control.
A race condition occurs when two masters try to access the downstream I2C-bus at
almost the same time. The PCA9641 intelligently selects one winning master and the
losing master gains control of the bus after the winning master gives up the bus or the
reserve time has expired.
Multiple transactions can be done without interruption. The time needed for multiple
transactions on the downstream bus can be reserved by programming the Reserve Time
register. During the reserve time, the downstream bus cannot be lost.
Software reset allows a master to send a reset through the I2C-bus to put the PCA9641’s
registers into the power-on reset condition.
The Device ID of the PCA9641 can be read by the master and includes manufacturer,
device type and revision.
When there is no activity on the downstream I2C-bus over 100 ms, optionally the
PCA9641 will disconnect the downstream bus to both masters to avoid a lock-up on the
I2C-bus.
The interrupt outputs are used to provide an indication of which master has control of the
bus, and which master has lost the downstream bus. One interrupt input (INT_IN) collects
downstream information and propagates it to the two upstream I2C-buses (INT0 and
INT1) if enabled. INT0 and INT1 are also used to let the master know if the shared mail
box has any new mail or if the outgoing mail has not been read by the other master. Those
interrupts can be disabled and will not generate an interrupt if the masking option is set.
The pass gates of the switches are constructed such that the VDD pin can be used to limit
the maximum high voltage, which will be passed by the PCA9641. This allows the use of
different bus voltages on each pair, so that 1.8 V, 2.5 V, or 3.3 V devices can communicate
with 3.3 V devices without any additional protection.
The PCA9641 does not isolate the capacitive loading on either side of the device, so the
designer must take into account all trace and device capacitances on both sides of the
device, and pull-up resistors must be used on all channels.
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
External pull-up resistors pull the bus to the desired voltage level for each channel. All I/O
pins are 3.6 V tolerant.
An active LOW reset input allows the PCA9641A to be initialized. Pulling the RESET pin
LOW resets the I2C-bus state machine and configures the device to its default state as
does the internal Power-On Reset (POR) function.
2. Features and benefits
2-to-1 bidirectional master selector
Channel selection via I2C-bus
I2C-bus interface logic; compatible with SMBus standards
2 active LOW interrupt outputs to master controllers
Active LOW reset input
Software reset
Four address pins allowing up to 112 different addresses
Arbitration active when two masters try to take the downstream I2C-bus at the same
time
The winning master controls the downstream bus until it is done, as long as it is within
the reserve time
Bus time-out after 100 ms on an inactive downstream I2C-bus (optional)
Readable device ID (manufacturer, device type, and revision)
Bus initialization/recovery function
Low Ron switches
Allows voltage level translation between 1.8 V, 2.3 V, 2.5 V, 3.3 V and 3.6 V buses
No glitch on power-up
Supports hot insertion
Software identical for both masters
Operating power supply voltage range of 2.3 V to 3.6 V
All I/O pins are 3.6 V tolerant
Up to 1 MHz clock frequency
ESD protection exceeds 6000 V HBM per JESD22-A114 and 1000 V CDM per
JESD22-C101
Latch-up testing is done to JEDEC Standard JESD78 which exceeds 100 mA
Packages offered: TSSOP16, HVQFN16
3. Applications
High reliability systems with dual masters
Gatekeeper multiplexer on long single bus
Bus initialization/recovery for slave devices without hardware reset
Allows masters without arbitration logic to share resources
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
2 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
4. Ordering information
Table 1.
Ordering information
Type number
Topside
marking
Package
Name
Description
Version
PCA9641BS
PCA9641PW
641
HVQFN16 plastic thermal enhanced very thin quad flat package; no leads;
SOT758-1
16 terminals; body 3 3 0.85 mm
PCA9641 TSSOP16 plastic thin shrink small outline package; 16 leads;
body width 4.4 mm
SOT403-1
4.1 Ordering options
Table 2.
Ordering options
Type number
Orderable
part number
Package
Packing method
Minimum
order quantity
Temperature
Tamb = 40 C to +85 C
PCA9641BS
PCA9641PW
PCA9641BSHP HVQFN16
Reel 13” Q2/T3
*Standard mark SMD
6000
PCA9641PWJ TSSOP16
Reel 13” Q1/T1
2500
Tamb = 40 C to +85 C
*Standard mark SMD
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
3 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
5. Block diagram
PCA9641
SCL_MST0
SDA_MST0
INPUT
FILTER
BUS
TIME-OUT
STOP
DETECTION
SCL_SLAVE
SDA_SLAVE
SLAVE
CHANNEL
SWITCH
AD3
AD2
AD1
AD0
CONTROL
2
I C-BUS
CONTROL
AND
REGISTER
BANK
RESET
POWER-ON
RESET
V
DD
V
SS
BUS
RECOVERY/
INITIALIZATION
SCL_MST1
SDA_MST1
INPUT
FILTER
STOP
DETECTION
OSCILLATOR
INT0
INT1
INTERRUPT
LOGIC
INT_IN
002aag814
Fig 1. Block diagram of PCA9641
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
4 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
6. Pinning information
6.1 Pinning
terminal 1
index area
1
2
3
4
12
11
10
9
SCL_MST0
RESET
SDA_SLAVE
SCL_SLAVE
AD3
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
INT0
SDA_MST0
SCL_MST0
RESET
V
DD
INT_IN
SDA_SLAVE
SCL_SLAVE
AD3
PCA9641BS
SCL_MST1
SDA_MST1
PCA9641PW
AD2
SCL_MST1
SDA_MST1
INT1
AD2
AD1
V
SS
AD0
002aag816
Transparent top view
002aag815
Fig 2. Pin configuration for TSSOP16
Fig 3. Pin configuration for HVQFN16
6.2 Pin description
Table 3.
Symbol
Pin description
Pin
Description
TSSOP16 HVQFN16
INT0
1
15
16
1
active LOW interrupt output 0 (external pull-up required)
serial data master 0 (external pull-up required)
serial clock master 0 (external pull-up required)
active LOW reset input (external pull-up required)
serial clock master 1 (external pull-up required)
serial data master 1 (external pull-up required)
active LOW interrupt output 1 (external pull-up required)
supply ground
SDA_MST0
SCL_MST0
RESET
SCL_MST1
SDA_MST1
INT1
2
3
4
2
5
3
6
4
7
5
6[1]
VSS
8
AD0
9
7
address input 0 (externally held to VSS, VDD, pull-up to VDD or pull-down to VSS
address input 1 (externally held to VSS, VDD, pull-up to VDD or pull-down to VSS
address input 2 (externally held to VSS, VDD, pull-up to VDD or pull-down to VSS
address input 3 (externally held to VSS, VDD, pull-up to VDD or pull-down to VSS
serial clock slave (external pull-up required)
)
)
)
)
AD1
10
11
12
8
AD2
9
AD3
10
11
12
13
14
SCL_SLAVE 13
SDA_SLAVE 14
serial data slave (external pull-up required)
INT_IN
VDD
15
16
active LOW interrupt input (external pull-up required)
supply voltage
[1] HVQFN16 package die supply ground is connected to both the VSS pin and the exposed center pad. The VSS pin must be connected to
supply ground for proper device operation. For enhanced thermal, electrical, and board-level performance, the exposed pad needs to be
soldered to the board using a corresponding thermal pad on the board, and for proper heat conduction through the board thermal vias
need to be incorporated in the printed-circuit board in the thermal pad region.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
5 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
7. Functional description
Refer to Figure 1 “Block diagram of PCA9641”.
7.1 Device address
Following a START condition, the upstream master that wants to control the I2C-bus or
make a status check must send the address of the slave it is accessing. To conserve
power, no internal pull-up resistors are incorporated on the hardware selectable pins and
they must be connected to VDD, VSS, pull-up to VDD or pull-down to VSS directly. PCA9641
can decode 112 addresses, depending on AD3, AD2, AD1 and AD0, and which are found
in Table 5 “Address maps”.
At power-up or hardware/software reset, the quinary input pads are sampled and set the
slave address of the device internally. To conserve power, once the slave address is
determined, the quinary input pads are turned off and will not be sampled until the next
time the device is power cycled. Table 4 lists the five possible connections for the quinary
input pads along with the external resistor values that must be used.
Table 4.
Quinary input pad connection
Pad connection
Mnemonic
External resistor
(pins AD3, AD2, AD1, AD0)
Min
Max
tie to ground
GND
PD
0 k
17.9 k
270 k
340 k
22.1 k
resistor pull-down to ground
resistor pull-up to VDD
tie to VDD
34.8 k
31.7 k
0 k
PU
VDD
slave address
A6 A5 A4 A3 A2 A1 A0 R/W
programmable
002aab636
Fig 4. PCA9641 address
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
6 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
7.2 Address maps
Table 5.
Address maps
Do not use any other combination addresses to decode hardware addresses.
Pin connectivity Address of PCA9641
AD3 AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0 R/W
Address byte value
7-bit hexadecimal
address without R/W
Write
E0h
E2h
E4h
E6h
E8h
EAh
ECh
EEh
10h
12h
14h
16h
18h
1Ah
1Ch
1Eh
20h
22h
24h
26h
28h
2Ah
2Ch
2Eh
30h
32h
34h
36h
38h
3Ah
3Ch
3Eh
40h
42h
44h
46h
48h
4Ah
Read
E1h
E3h
E5h
E7h
E9h
EBh
EDh
EFh
11h
13h
15h
17h
19h
1Bh
1Dh
1Fh
21h
23h
25h
27h
29h
2Bh
2Dh
2Fh
31h
33h
35h
37h
39h
3Bh
3Dh
3Fh
41h
43h
45h
47h
49h
4Bh
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VSS
VSS
PCA9641
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
PD
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
70h
71h
72h
73h
74h
75h
76h
77h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
18h
19h
1Ah
1Bh
1Ch
1Dh
1Eh
1Fh
20h
21h
22h
23h
24h
25h
PU
PD
PU
PD
PU
PD
PU
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
PD
PU
PD
PU
PD
PU
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
7 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 5.
Address maps …continued
Do not use any other combination addresses to decode hardware addresses.
Pin connectivity
Address of PCA9641
Address byte value
7-bit hexadecimal
address without R/W
AD3 AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0 R/W
Write
4Ch
4Eh
50h
52h
54h
56h
58h
5Ah
5Ch
5Eh
60h
62h
64h
66h
68h
6Ah
6Ch
6Eh
70h
72h
74h
76h
78h
7Ah
7Ch
7Eh
80h
82h
84h
86h
88h
8Ah
8Ch
8Eh
90h
92h
94h
96h
98h
Read
4Dh
4Fh
51h
53h
55h
57h
59h
5Bh
5Dh
5Fh
61h
63h
65h
67h
69h
6Bh
6Dh
6Fh
71h
73h
75h
77h
79h
7Bh
7Dh
7Fh
81h
83h
85h
87h
89h
8Bh
8Dh
8Fh
91h
93h
95h
97h
99h
VSS
VSS
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
PD
PD
PD
PD
PU
PU
PU
PU
PD
PD
PD
PD
PU
PU
PU
PU
PD
PD
PD
PD
PU
PU
PU
PU
PD
PD
PD
PD
PU
PU
PU
PD
PU
PD
PU
PD
PU
PD
PU
PD
PU
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
PD
PU
PD
PU
PD
PU
PD
PU
PD
PU
PD
PU
PD
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
26h
27h
28h
29h
2Ah
2Bh
2Ch
2Dh
2Eh
2Fh
30h
31h
32h
33h
34h
35h
36h
37h
38h
39h
3Ah
3Bh
3Ch
3Dh
3Eh
3Fh
40h
41h
42h
43h
44h
45h
46h
47h
48h
49h
4Ah
4Bh
4Ch
PD
PD
PU
PU
PD
PD
PU
PU
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
VSS
VDD
VDD
VSS
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
8 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 5.
Address maps …continued
Do not use any other combination addresses to decode hardware addresses.
Pin connectivity
Address of PCA9641
Address byte value
7-bit hexadecimal
address without R/W
AD3 AD2 AD1 AD0 A6 A5 A4 A3 A2 A1 A0 R/W
Write
9Ah
9Ch
9Eh
A0h
A2h
A4h
A6h
A8h
AAh
ACh
AEh
B0h
B2h
B4h
B6h
B8h
BAh
BCh
BEh
C0h
C2h
C4h
C6h
C8h
CAh
CCh
CEh
D0h
D2h
D4h
D6h
D8h
DAh
DCh
DEh
Read
9Bh
9Dh
9Fh
A1h
A3h
A5h
A7h
A9h
ABh
ADh
AFh
B1h
B3h
B5h
B7h
B9h
BBh
BDh
BFh
C1h
C3h
C5h
C7h
C9h
CBh
CDh
CFh
D1h
D3h
D5h
D7h
D9h
DBh
DDh
DFh
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VSS
VDD
VDD
VDD
VDD
VDD
VDD
VDD
VDD
PU
PU
PU
PD
PD
PD
PD
PU
PU
PU
PU
PD
PD
PD
PD
PU
PU
PU
PU
PD
PD
PD
PD
PU
PU
PU
PU
PD
PD
PD
PD
PU
PU
PU
PU
VSS
VDD
VDD
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PD
PD
PU
PU
PU
PD
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
4Dh
4Eh
4Fh
50h
51h
52h
53h
54h
55h
56h
57h
58h
59h
5Ah
5Bh
5Ch
5Dh
5Eh
5Fh
60h
61h
62h
63h
64h
65h
66h
67h
68h
69h
6Ah
6Bh
6Ch
6Dh
6Eh
6Fh
PU
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
VSS
VDD
PD
PU
PD
PU
PD
PU
PD
PU
PD
PU
PD
PU
PD
PU
PD
PU
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
9 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
7.3 Command Code
Following the successful acknowledgement of the slave address, the bus master will send
a byte to the PCA9641, which will be stored in the Command Code register.
AI
0
0
0
0
B2 B1 B0
register
number
auto-increment
aaa-008521
Fig 5. Command Code
The 3 LSBs are used as a pointer to determine which register will be accessed. If the
auto-increment flag is set (AI = 1), the three least significant bits of the Command Code
are automatically incremented after a byte has been read or written. This allows the user
to program the registers sequentially or to read them sequentially.
• During a read operation, the contents of these bits will roll over to 000b after the last
allowed register is accessed (111b).
• During a write operation, the PCA9641 will acknowledge bytes sent to the CONTR,
STATUS, RT, INT_STATUS, INT_MSK, MB_LO and MB_HI registers, but will not
acknowledge bytes sent to the ID register since it is a read-only register. The 3 LSBs
of the Command Code do not roll over to 000b but stay at 111b.
Only the 3 least significant bits are affected by the AI flag.
Unused bits must be programmed with zeros. Any command code (write operation)
different from ‘AI000 0000’, ‘AI000 0001’, ‘AI000 0010’, ‘AI000 0011’, ‘AI000 0100’,
‘AI000 0101’, ‘AI000 0110’ and ‘AI000 111’ will not be acknowledged. At power-up, this
register defaults to all zeros.
Table 6.
Command Code register
B2
0
B1
B0
0
Register name
Type
R only
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Register function
8-bit device ID
0
0
1
1
0
0
1
1
ID
0
1
CONTR
STATUS
RT
control register
0
0
status register
0
1
reserve time
1
0
INT_STATUS
INT_MSK
MB_LO
MB_HI
interrupt status register
interrupt mask register
low 8 bits of the mail box
high 8 bits of the mail box
1
1
1
0
1
1
Each system master controls its own set of registers, however they can also read specific
bits from the other system master.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
10 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
PCA9641
ID
REG#000
REG#001
REG#010
REG#011
ID 0
ID 1
CONTR 1
STATUS 1
RT 1
REG#000
REG#001
REG#010
REG#011
ID
CONTR
STATUS
RT
CONTR 0
STATUS 0
RT 0
CONTR
STATUS
RT
INT_STATUS REG#100
INT_STATUS 0
INT_MSK 0
MB_LO 0
INT_STATUS 1
INT_MSK 1
MB_LO 1
MB_HI 1
REG#100 INT_STATUS
INT_MSK
MB_LO
MB_HI
REG#101
REG#110
REG#111
REG#101
REG#110
REG#111
INT_MSK
MB_LO
MB_HI
MB_HI 0
MASTER 0
MASTER 1
SCL_MST0
SDA_MST0
SCL_MST1
SDA_MST1
002aag817
Fig 6. Internal register map
7.4 Power-on reset
When power (from 0 V) is applied to VDD, an internal power-on reset holds the PCA9641
in a reset condition until VDD has reached VPOR. At that time, the reset condition is
released and the PCA9641 registers and I2C-bus/SMBus state machine initialize to their
default states. After that, VDD must be lowered to below VPOR and back up to the
operating voltage for a power-reset cycle.
7.5 Reset input (RESET)
The RESET input can be asserted to initialize the system while keeping the VDD at its
operating level. A reset is accomplished by holding the RESET pin LOW for a minimum of
t
w(rst). The PCA9641 registers and I2C-bus/SMBus state machine are set to their default
state once RESET is LOW (0). When RESET is HIGH (1), normal operation resumes and
the I2C downstream bus has no connection to any I2C-bus master.
7.6 Software reset
When granted or non-granted master sends a software reset (see Section 13 “General
call software reset”), PCA9641 will reset all internal registers and:
• If SMBUS_SWRST was enabled before software reset happens, PCA9641 sends
SCL LOW for greater than 35 ms to downstream bus following a soft reset.
• If SMBUS_SWRST was disabled before software reset happens, PCA9641 does not
send SCL LOW to downstream bus following a soft reset.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
11 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
7.7 Voltage translation
The pass gate transistors of the PCA9641 are constructed such that the VDD voltage can
be used to limit the maximum voltage that will be passed from one I2C-bus to another.
DDDꢀꢁꢂꢃꢄꢁꢅ
ꢄ
9RꢊVZꢋ
RꢊVZꢋ
ꢊ9ꢋ
ꢀꢁꢈ
ꢀꢁꢀ
ꢅꢁꢇ
ꢅꢁꢆ
ꢅ
ꢊꢅꢋ
ꢊꢀꢋ
ꢊꢄꢋ
ꢀꢁꢀꢂ
ꢀꢁꢂ
ꢀꢁꢃꢂ
ꢄ
ꢄꢁꢀꢂ
ꢄꢁꢂ
ꢄꢁꢃꢂ
9
ꢉꢊ9ꢋ
''
(1) maximum
(2) typical
(3) minimum
Fig 7. Pass gate voltage as a function of supply voltage
Figure 7 shows the voltage characteristics of the pass gate transistors (note that the graph
was generated using the data specified in Section 18 “Static characteristics” of this data
sheet). In order for the PCA9641 to act as a voltage translator, the Vo(sw) voltage should
be equal to, or lower than the lowest bus voltage. For example, if the main buses were
running at 3.3 V, and the downstream bus was 2.5 V, then Vo(sw) should be equal to or
below 2.5 V to effectively clamp the downstream bus voltages. Looking at Figure 7, we
see that Vo(sw)(max) will be at 2.5 V when the PCA9641 supply voltage is 3.375 V or lower
so the PCA9641 supply voltage could be set to 3.3 V. Pull-up resistors can then be used
to bring the bus voltages to their appropriate levels (see Figure 20).
More Information on voltage translation can be found in Application Note AN262:
PCA954X family of I2C/SMBus multiplexers and switches.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
12 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
8. Register descriptions
8.1 Register 0: ID register ([B2:B0] = 000b)
This register is holding the last 8 bits of the Device ID. It is used to distinguish between
PCA9541 and PCA9641. When a master reads this register, if the value returned from this
register is 38h, it is PCA9641, other than this value it is PCA9541.
Table 7.
ID - Device ID register (pointer address 00h) bit description
POR = 38h.
Address
Register
Bit
Access
Description
00h
ID
7:0
R only
Hard-coded 38h for PCA9641.
8.2 Register 1: Control register ([B2:B0] = 001b)
The Control register described below is identical for both the masters. Nevertheless, there
are physically two internal Control registers, one for each upstream channel. When
master 0 reads/writes in this register, the internal CONTR Register 0 will be accessed.
When master 1 reads/writes in this register, the internal CONTR Register 1 will be
accessed.
Table 8.
CONTR - Control register (pointer address 01h) bit description
POR = 00h.
Legend: * default value
Bit Symbol
Access Value Description
R/W Master can set this register bit for setting priority of
7
PRIORITY
the winner when two masters request the
downstream bus at the same time. Table 9 shows
how PCA9641 selects the winner when 2 masters
set their own PRIORITY bit.
0*
Master can configure the priority bit for the case
where two masters request the downstream bus at
the same time. See Table 9 for information on how
PCA9641 selects the winner.
6
SMBUS_DIS
R/W
When PCA9641 detects an SMBus time-out, if this
bit is set, PCA9641 will disconnect I2C-bus from
master to downstream bus.
0*
1
Normal operation
Connectivity between master and downstream bus
will be disconnected upon detecting an SMBus
time-out condition.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
13 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 8.
POR = 00h.
CONTR - Control register (pointer address 01h) bit description …continued
Legend: * default value
Bit Symbol
Access Value Description
5
IDLE_TIMER_DIS R/W
After RES_TIME is expired, I2C-bus idle for more
than 100 ms, PCA9641 will disconnect master from
downstream bus and takes away its grant if this
register bit is enabled. This IDLE_TIMER_DIS
function also applies when there is a grant of a
request with zero value on RES_TIME.
0*
1
Normal operation.
Enable 100 ms idle timer. After reserve timer
expires or if reserve timer is disabled, if the
downstream bus is idle for more than 100 ms, the
connection between master and downstream bus
will be disconnected.
4
3
SMBUS_SWRST
R/W
R/W
Non-granted or granted master sends a soft reset,
if this bit is set, PCA9641 sets clock LOW for 35 ms
following reset of all register values to defaults.
0*
1
Normal operation.
Enable sending SMBus time-out to downstream
bus, after receiving a general call soft reset from
master.
BUS_INIT
Bus initialization for PCA9641 sends one clock out
and checks SDA signal. If SDA is HIGH, PCA9641
sends a ‘not acknowledge’ and a STOP condition.
The BUS_INIT function is completed. If SDA is
LOW, PCA9641 sends other clock out and checks
SDA again. The PCA9641 will send out 9 clocks
(maximum), and if SDA is still LOW, PCA9641
determines the bus initialization has failed.
0*
1
Normal operation.
Start initialization on next bus connect function to
downstream bus.
2
1
BUS_CONNECT
R/W
Connectivity between master and downstream bus;
the internal switch connects I2C-bus from master to
downstream bus only if LOCK_GRANT = 1.
Do not connect I2C-bus from master to downstream
bus.
0*
1
Connect downstream bus; the internal switch is
closed only if LOCK_GRANT = 1.
LOCK_GRANT
R only
This is a status read only register bit. Lock grant
status register bit indicates the ownership between
reading master and the downstream bus. If this
register bit is 1, the reading master has owned the
downstream bus. If this register bit is zero, the
reading master has not owned the downstream
bus.
0*
1
This master does not have a lock on the
downstream bus.
This master has a lock on the downstream bus.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
14 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 8.
POR = 00h.
CONTR - Control register (pointer address 01h) bit description …continued
Legend: * default value
Bit Symbol
Access Value Description
R/W Lock request register bit is for a master requesting
0
LOCK_REQ
the downstream bus when it does not have a lock
on downstream bus. When a master has a lock on
downstream bus, it can give up the ownership by
writing zero to LOCK_REQ register bit. When
LOCK_REQ becomes zero, LOCK_GRANT bit
becomes zero and the internal switch will be open.
0*
1
Master is not requesting a lock on the downstream
bus or giving up the lock if master had a lock on the
downstream bus.
Master is requesting a lock on the downstream bus.
Table 9.
How PCA9641 selects winner
Master 0
priority
Master 1
priority
Last master
granted
Result
0
0
0
0
1
1
1
1
0
0
0
1
0
1
1
1
none
Grant is given to Master 0
Grant is given to Master 1
Grant is given to Master 0
Grant is given to Master 1
Grant is given to Master 0
Grant is given to Master 1
Grant is given to Master 1
Grant is given to Master 0
Master 0
Master 1
n/a
n/a
none
Master 0
Master 1
control[PRIORITY]
winner
Priority set to Master 0
none
M0
none
M0 control register byte
grant
M0
1
7
2
3
5
ACK
4
6
M0 SCL
LOCK_REQ
M1 control register byte
1
2
3
5
7
8
ACK
4
6
M1 SCL
t
= 500 ns
PRIO
Undersigned window.
Two masters request
the downstream bus
at the same time.
aaa-009750
Fig 8. Two masters request the downstream bus at the same time
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
15 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
8.3 Register 2: Status register ([B2:B0] = 010b)
Table 10. STATUS - Status register (pointer address 02h) bit description
POR = 00h.
Legend: * default value
Bit Symbol
7 SDA_IO
Access Value
Description
R/W
SDA becomes I/O pin; master can read or write to
this register bit. If master reads this bit, the value is
the state of the downstream SDA pin. Zero value
means SDA is LOW, and one means SDA pin is
HIGH.
When master writes ‘0’ to this register bit, the
downstream SDA pin will assert LOW.
If master writes ‘1’ to this register bit, the
downstream SDA pin will be pulled HIGH.
Remark: SDA becomes I/O pin only when
BUS_CONNECT = 0 and LOCK_GRANT = 1.
0*
When read, indicates the SDA pin of the
downstream bus is LOW.
When written, PCA9641 drives SDA pin of
downstream bus LOW.
1
When read, indicates the SDA pin of the
downstream bus is HIGH.
When written, PCA9641 drives SDA pin of the
downstream bus HIGH.
6
SCL_IO
R/W
SCL becomes I/O pin; master can read or write to
this register bit. If master reads this bit, the value is
the state of the downstream SCL pin. Zero value
means SCL is LOW, and one means SCL pin is
HIGH.
When master writes ‘0’ to this register bit, the
downstream SCL pin will assert LOW.
If master writes ‘1’ to this register bit, the
downstream SCL pin will be pulled HIGH.
Remark: SCL becomes I/O pin only when
BUS_CONNECT = 0 and LOCK_GRANT = 1.
0*
1
When read, shows the SCL pin of the downstream
bus is LOW.
When written, PCA9641 drives SCL pin of
downstream bus LOW.
When read, shows the SCL pin of the downstream
bus is HIGH.
When written, PCA9641 drives SCL pin of the
downstream bus HIGH.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
16 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 10. STATUS - Status register (pointer address 02h) bit description …continued
POR = 00h.
Legend: * default value
Bit Symbol
Access Value
Description
5
TEST_INT
W only
Test interrupt output pin; a master can send an
interrupt to itself by writing ‘1’ to this register bit.
Writing ‘0’ to this register bit has no effect. To clear
this interrupt, master must write ‘1’ to
TEST_INT_INT in Interrupt Status register.
0*
1
Normal operation
Causes PCA9641 INT pin to go LOW if not masked
by TEST_INT_INT in Interrupt Mask register. Allows
this master to invoke its Interrupt Service Routine to
handle housekeeping tasks.
4
3
MBOX_FULL
R only
This is a read-only status register bit. If this bit is ‘0’,
it indicates no data is available in the mail box. If it is
‘1’, it indicates new data is available in the mail box.
0*
1
No data is available for this master.
Mailbox contains data for this master from the other
master.
MBOX_EMPTY R only
This is a read-only status register bit. If this bit is ‘0’,
it indicates other master mailbox is full, and this
master cannot send more data to other master
mailbox. If it is ‘1’, it indicates other master is empty
and this master can send data to other master
mailbox.
0*
1
Other master mailbox is full; wait until other master
reads data.
Other master mailbox is empty. Other master has
read previous data and it is permitted to write new
data.
2
BUS_HUNG
R only
This is a read-only status register bit. If this register
bit is ‘0’, it indicates the bus is in normal condition. If
this bit is ‘1’, it indicates the bus is hung. The hung
bus means SDA signal is LOW and SCL signal does
not toggle for more than 500 ms or SCL is LOW for
500 ms.
0*
1
Normal operation
Downstream bus hung; when SDA signal is LOW
and SCL signal does not toggle for more than
500 ms or SCL is LOW for 500 ms.
1
BUS_INIT_FAIL R only
This is a read-only status register bit. If this register
bit is ‘0’, it indicates the bus initialization function has
passed. The downstream bus is in idle mode (SCL
and SDA are HIGH). If this register bit is ‘1’, it
indicates the bus initialization function has failed.
The SDA signal could be stuck LOW.
0*
1
Normal operation
Bus initialization has failed. SDA still LOW, the
downstream bus cannot recover.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
17 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 10. STATUS - Status register (pointer address 02h) bit description …continued
POR = 00h.
Legend: * default value
Bit Symbol
Access Value
Description
0
OTHER_LOCK
R only
This is a status read-only register bit. Other master
lock status indicates the ownership between other
master and the downstream bus. If this register bit is
‘1’, the other master has owned the downstream
bus. If this register bit is ‘0’, the other master does
not own the downstream bus.
0*
1
The other master does not have a lock on the
downstream bus.
The other master has a lock on the downstream bus.
8.4 Register 3: Reserve Time register ([B2:B0] = 011b)
Reserve time is for when a master wants ownership of the downstream bus without
interruption. It can reserve from 1 ms to 255 ms ownership of the downstream bus without
interruption.
Table 11. RT - Reserve Time register (pointer address 03h) bit description
POR = 00h.
Bit
Symbol
Access
Value
Description
7 to 0 RES_TIME[7:0]
R/W
Reserve timer. Changes during
LOCK_GRANT = 1 will have no effect.
0
Disable timer or reserve without time limited.
01h
:
1 ms
:
FFh
255 ms
Reserve time cannot be changed after LOCK_GRANT is one.
If a master requests the downstream bus with 00h in Reserve Time register, this master
wants the downstream bus forever or until it gives up the bus by setting LOCK_REQ bit to
zero.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
18 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
CURR_RES_TIME
0
0x1F
0x1E
100 ms
0x00
< 30 ms
M1
none
M0
Grant
Master 0
9641
Addr
W
9641
Addr
W
9674
Addr CONTR
0x66
Pointer CONTR
RT
0x1F
Reserve
Pointer
0xXX
RT
0x1F
CRT
0x1F
0x81
0x25
R
S
S
S
P
S
P
P
AI = 1
B[2:0] = 1
Sr
Time = 31 ms
IDLE_TIMER_DIS = 1
BUS_CONNECT = 1
LOC_REQ = 1
100 ms
time-out
Reserve Time
is running out.
At last STOP,
the Grant
does not
apply while
Reserve Time
is not expired
Master 1
9674
Addr
W
will switch.
Pointer CONTR
RT
0x00
0x81
0x05
Reserve
Time = 0 ms
AI = 1
B[2:0] = 1
INIT = 0
BUS_CONNECT = 1
LOC_REQ = 1
LOC_GNT master 1
aaa-014387
Fig 9. Request downstream with reserve time
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
19 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
8.5 Register 4: Interrupt Status register ([B2:B0] = 100b)
These interrupt status bits are sticky and will remain set until cleared by writing ‘1’.
The PCA9641 provides seven different types of interrupt.
Table 12. INT_STATUS - Interrupt status register (pointer address 04h) bit description
POR = 00h.
Bit Symbol
Access Value Description
7
6
-
Reserved.
BUS_HUNG_INT
R only
Indicates to both masters that SDA signal is LOW
and SCL signal does not toggle for more than
500 ms or SCL is LOW for 500 ms.
0
1
No interrupt generated; normal operation.
Interrupt generated; downstream bus cannot
recover; when SDA signal is LOW and SCL signal
does not toggle for more than 500 ms or SCL is
LOW for 500 ms,
5
4
MBOX_FULL_INT
R/W
Indicates the mailbox has new mail.
No interrupt generated; mailbox is not full.
Interrupt generated; mailbox full.
0
1
MBOX_EMPTY_INT R/W
Indicates the sent mail is empty, other master has
read the mail.
0
1
No interrupt generated; sent mail is not empty.
Interrupt generated; mailbox is empty.
3
2
TEST_INT_INT
R/W
Indicates this master has sent an interrupt to itself.
0
1
No interrupt generated; master has not set the
TEST_INT bit in STATUS register.
Interrupt generated; master activates its interrupt
pin via the TEST_INT bit in STATUS register.
LOCK_GRANT_INT R/W
Indicates the master has a lock (ownership) on the
downstream bus.
0
1
No interrupt generated; this master does not have
a lock on the downstream bus.
Interrupt generated; this master has a lock on the
downstream bus.
1
0
BUS_LOST_INT
R/W
R/W
Indicates the master has involuntarily lost the
ownership of the downstream bus.
0
1
No interrupt generated; this master is controlling
the downstream bus.
Interrupt generated; this master has involuntarily
lost the control of the downstream bus.
INT_IN_INT
Indicates that there is an interrupt from the
downstream bus to both the granted and
non-granted masters.
0
1
No interrupt on interrupt input pin INT_IN.
Interrupt on interrupt input pin INT_IN.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
20 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
8.6 Register 5: Interrupt Mask register ([B2:B0] = 101b)
Table 13. INT_MSK - Interrupt Mask register (pointer address 05h) bit description
POR = 7Fh.
Bit Symbol
Access Value Description
7
6
-
Reserved.
BUS_HUNG_MSK
R/W
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Enable output interrupt when BUS_HUNG
function is set.
Disable output interrupt when BUS_HUNG
function is set.
5
4
3
2
1
0
MBOX_FULL_MSK
R/W
Enable output interrupt when MBOX_FULL
function is set.
Disable output interrupt when MBOX_FULL
function is set.
MBOX_EMPTY_MSK R/W
Enable output interrupt when MBOX_EMPTY
function is set.
Disable output interrupt when MBOX_EMPTY
function is set.
TEST_INT_MSK
R/W
Enable output interrupt when TEST_INT function
is set.
Disable output interrupt when TEST_INT
function is set.
LOCK_GRANT_MSK R/W
Enable output interrupt when LOCK_GRANT
function is set.
Disable output interrupt when LOCK_GRANT
function is set.
BUS_LOST_MSK
INT_IN_MSK
R/W
R/W
Enable output interrupt when BUS_LOST
function is set.
Disable output interrupt when BUS_LOST
function is set.
Enable output interrupt when INT_IN function is
set.
Disable output interrupt when INT_IN function is
set.
8.7 Registers 6 and 7: MB registers ([B2:B0] = 110b and 111b)
Table 14. SMB - Shared Mail Box registers (pointer addresses 06h, 07h) bit description
POR = 00h.
Address
06h
Bit
Symbol
Access
R/W
Description
7 to 0
7 to 0
MB_LO[7:0]
MB_HI[7:0]
Low 8 bits of the mail box.
High 8 bits of the mail box.
07h
R/W
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
21 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
8.8 Operating cycle of the downstream bus
8.8.1 Request the downstream bus
When a master seeks control of the bus by requesting its I2C-bus channel to the PCA9641
registers, it must write to the Control register (CONTR, 01h) and Reserve Time register
(RT, 03h) optional. LOCK_REQ bit and RT[7:0] allow the master to take control of the bus
in a period of RES_TIME without interrupting.
While master 0 is working on the downstream bus, master 1 can request the downstream
bus by writing to LOCK_REQ bit in CONTR register and RT register. When the
downstream bus is free and RES_TIME is expired, master 1 will have control of the
downstream bus.
If Reserve Time is set to 0, it will disable the timer counter. That means the master
requests the downstream bus forever or until it gives up the bus.
8.8.2 Acquire the downstream bus
After the master wrote to LOCK_REQ bit and RT register, it must poll LOCK_GRANT bit in
CONTR register or wait for interrupt signal (INTx pin) if LOCK_GRANT_MSK bit is set in
INT_MSK register for the ownership of the downstream bus.
When LOCK_GRANT bit is one, this master has full control of the downstream bus.
To start communication with downstream slave devices, master must connect to
downstream bus by setting BUS_CONNECT = 1.
8.8.3 Give up the downstream bus
The RES_TIME starts countdown after LOCK_GRANT becomes one. When the
RES_TIME becomes zero and the I2C-bus is free (SCL_SLAVE and SDA_SLAVE are
HIGH) after STOP condition, PCA9641 will clear the LOCK_GRANT bit.
If a master requests the downstream bus with RES_TIME = 0, it must write zero to
LOCK_REQ bit to give up its control.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
22 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
9. Arbitration
9.1 Rules
1. If a master keeps its request asserted after its grant, the master will indefinitely hold
the bus.
– If the bus goes IDLE for 100 ms, it will be disconnected only if the idle time-out
function is enabled and the reserve timer has expired.
2. If a master removes its request, then that master will lose its grant.
– If the other master is requesting the bus, it will be granted.
– If no master is requesting the bus, PCA9641 will disconnect from both.
3. If a master sets the reserve timer before its grant, the timer will clear its request when
it expires.
– This timer gives a 1 ms to 255 ms window for locking the bus. When the timer
expires, it clears the master’s request and follows Step 2.
– If the bus is idle for 100 ms and the reserve timer has not expired, the grant will not
be lost.
– If the master clears its request and the reserve timer has not expired, the grant will
be lost.
4. If both masters request the grant at the same time (close), the winner will be
determined as follows:
– The first master to set the request bit in the register wins. START does not matter,
and nothing else really matters as the masters might have different clock
frequencies, etc. The master might be doing a burst write with an address rollover,
making the control register the last byte it writes. However, if the bit is set in the
control register first, it wins.
– The action of the grant is applied when the winning master’s transaction is
terminated with a STOP. (It is not OK to do a Re-START when requesting the bus;
before accessing the downstream slaves, master must issue a STOP.)
– If both masters request at the exact same time, and logic cannot determine a
winner, the control register priority bit determines which master to give the grant to.
See Section 8.2.
5. A write to the control register for a REQUEST will always be answered with an ACK.
– The master must poll the control register or use the interrupts to determine when
the grant is awarded.
9.2 Disconnect events
The following events cause a master to disconnect condition to occur, assuming the
conditions from the previous section are satisfied to allow the grant to be removed and the
downstream bus to be disconnected.
1. STOP (ideal, this is the cleanest way).
2. Bus IDLE for 100 ms (not ideal).
3. Writing 0 to LOCK_REQ.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
23 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
10. State machines
!M0-lock_req &
M1-lock_req
Bus_connect &
!bus_init
M0_CONNECT
!bus_init_fail
M0_INIT
bus_connect &
Master 0
bus_init
Bus_init_fail
M0_GRANT
bus_req &
!bus_connect
!M0-bus_req &
!M1-bus_req
!M0-lock_req
!M0-lock_req &
M1-lock-req
M0-lock_grant
reset
(M0-lock_req &
!M1-lock_req) ||
(M0-lock_req &
M1-lock_req & priority)
!smbus_swrst
POR
SWITCH
CIDLE
smbus_swrst
SMBUS_
RESET
smbus_done = 1
!M1-lock_req
M1-lock_grant
!M1-lock_req &
M0-lock_req
(!M0-lock_req &
M1-lock_req) ||
(M0-lock_req &
!M1-lock_req &
!M0-lock_req
M1-lock_req & priority)
bus_connect &
!bus_init
M1_GRANT
bus_connect &
bus_init
Master 0
bus_init_fail
M1_INIT
init_done &
!init_fail
lock_req &
!bus_connect
M1_CONNECT
!M1-lock_req &
M0-lock_req
aaa-008553
Fig 10. State machine of downstream bus ownership
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
24 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
11. Request grant examples
In the waveform shown in Figure 11, Master 0 initiated a START first. Master 1 was at a
higher clock speed and wrote the request bit first, so Master 1 won the arbitration.
winner
grant
none
M1
none
M1
Master 0
M0 SCL
M0 SDA
ACK
Master 1
M1 SCL
M1 SDA
ACK
aaa-008554
Fig 11. Request grant example
The effects of the arbitration do not take effect until the winning master issues a STOP
condition. If the winning master were to continue to write to the next register using
auto-incrementing addresses, it would delay the grant until the STOP. The master has
‘won’ the arbitration, though.
Two masters request the bus at the same time (close enough that the logic cannot tell the
difference). See Figure 8 for the waveform. In this case the PRIORITY bits are used to
determine the winner. The truth table, Table 9, is for winner selection.
12. Characteristics of the I2C-bus
The information in this section pertains to both M0 and M1 I2C-bus interfaces.
The I2C-bus interface is used to access the device programmable registers. This interface
runs as Fast-mode Plus (Fm+) speeds with a general call software reset. The I2C core is
composed of the I2C State Machine, shift register, and the start/stop detection logic.
The I2C-bus is for 2-way, 2-line communication between different ICs or modules. The two
lines are a serial data line (SDA) and a serial clock line (SCL). Both lines must be
connected to a positive supply via a pull-up resistor when connected to the output stages
of a device. Data transfer may be initiated only when the bus is not busy.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
25 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
12.1 Bit transfer
One data bit is transferred during each clock pulse. The data on the SDA line must remain
stable during the HIGH period of the clock pulse as changes in the data line at this time
will be interpreted as control signals (see Figure 12).
SDA
SCL
data line
stable;
data valid
change
of data
allowed
mba607
Fig 12. Bit transfer
12.2 START and STOP conditions
Both data and clock lines remain HIGH when the bus is not busy. A HIGH-to-LOW
transition of the data line, while the clock is HIGH is defined as the START condition (S).
A LOW-to-HIGH transition of the data line while the clock is HIGH is defined as the
STOP condition (P) (see Figure 13).
SDA
SCL
S
P
STOP condition
START condition
mba608
Fig 13. Definition of START and STOP conditions
12.3 System configuration
A device generating a message is a ‘transmitter’, a device receiving is the ‘receiver’. The
device that controls the message is the ‘master’ and the devices which are controlled by
the master are the ‘slaves’ (see Figure 14).
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
26 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
SDA
SCL
2-CHANNEL
MASTER
TRANSMITTER/
RECEIVER
SLAVE
TRANSMITTER/
RECEIVER
2
I C-BUS
SLAVE
RECEIVER
MASTER ARBITER
PCA9641
SLAVE
RECEIVER
SLAVE
RECEIVER
SDA 0
SCL 0
SDA 1
MASTER 0
TRANSMITTER/
RECEIVER
MASTER 1
TRANSMITTER/
SCL 1
RECEIVER
aaa-012277
Fig 14. System configuration
12.4 Acknowledge
The number of data bytes transferred between the START and the STOP conditions from
transmitter to receiver is not limited. Each byte of eight bits is followed by one
acknowledge bit. The acknowledge bit is a HIGH level put on the bus by the transmitter,
whereas the master generates an extra acknowledge related clock pulse.
A slave receiver which is addressed must generate an acknowledge after the reception of
each byte. Also a master must generate an acknowledge after the reception of each byte
that has been clocked out of the slave transmitter. The device that acknowledges has to
pull down the SDA line during the acknowledge clock pulse, so that the SDA line is stable
LOW during the HIGH period of the acknowledge related clock pulse; set-up and hold
times must be taken into account.
A master receiver must signal an end of data to the transmitter by not generating an
acknowledge on the last byte that has been clocked out of the slave. In this event, the
transmitter must leave the data line HIGH to enable the master to generate a STOP
condition.
data output
by transmitter
not acknowledge
data output
by receiver
acknowledge
SCL from master
1
2
8
9
S
clock pulse for
START
condition
acknowledgement
002aaa987
Fig 15. Acknowledgement on the I2C-bus
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
27 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
12.5 Bus transactions
data
Control register
(CONTR)
data
Status register
(STATUS)
data
Reserve Time register
(RT)
slave address
command code register
S A6 A5 A4 A3 A2 A1 A0 0
A
1
0
0
0
0
0
0
1
A
A
A
A
P
START condition
R/W
acknowledge
from slave
auto
increment
acknowledge
from slave
acknowledge
from slave
acknowledge
from slave
acknowledge
from slave
STOP
condition
aaa-008571
Fig 16. Write to the Interrupt Enable and Control registers using the Auto-Increment (AI) bit
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
28 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
12.6 Auto-increment
Writing to each register carries an overhead of a total of 3 bytes: slave address,
command, and data. Auto-increment allows the user to send or receive data continuously
where the slave will auto-increment and wrap around on the registers.
The auto-increment is bit 8 of the command byte (see Figure 5).
By setting the AI bit to 1, the master can send or read N data bytes to or from
incrementing addresses that wrap around to 0x0. For example, a write to register address
0x4 will write data byte 1 to address 0x4, data byte 2 to address 0x5 data byte 3 to
address 0x6, data byte 4 to address 0x7, data byte 5 to address 0x0, data byte 6 to
address 0x1, data byte 7 to address 0x2 and data byte 8 to address 0x3. The read occurs
in much the same way. When write to read register only, the write will not affect the value.
The master stops an auto-increment write by sending a STOP bit after the final slave
ACK. The master stops a read by NACKing the final byte and sending a STOP bit.
command code register
access to register
xxx = 000, 001, 010, 011,
100, 101, 110 or 111
slave address
slave address
first data byte
S A6 A5 A4 A3 A2 A1 A0 0
A
1
0
0
0
0
x
x
x
A
Sr A6 A5 A4 A3 A2 A1 A0 1
A
A
START condition
R/W
acknowledge
from slave
auto
increment
acknowledge re-START
from slave condition
R/W
acknowledge
from slave
acknowledge
from master
second data byte
third data byte
eighth data byte
A
A
A P
acknowledge
from master
acknowledge
from master
no acknowledge
from master
STOP
condition
aaa-008572
Refer to Table 15.
Fig 17. Read the five registers using the Auto-Increment (AI) bit
Remark: If an eighth data byte is read, the first register will be accessed.
Table 15. Read/write the registers using Auto-Increment
Command First
Second
Third
Fourth
Fifth
Sixth
Seventh
Eighth
code
data byte
data byte
data byte
data byte
data byte
data byte
data byte
data byte
1000 0000 ID
CONTR
STATUS
RT
STATUS
RT
RT
INT_
STATUS
INT_MASK MB_LO
MB_HI
ID
1000 0001 CONTR
1000 0010 STATUS
1000 0011 RT
INT_
STATUS
INT_MASK MB_LO
MB_HI
ID
INT_
STATUS
INT_MASK MB_LO
MB_HI
ID
CONTR
STATUS
RT
INT_
STATUS
INT_MASK MB_LO
MB_HI
MB_HI
ID
CONTR
STATUS
1000 0100 INT_
STATUS
INT_MASK MB_LO
CONTR
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
29 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 15. Read/write the registers using Auto-Increment …continued
Command First
code data byte
Second
data byte
Third
data byte
Fourth
data byte
Fifth
data byte
Sixth
data byte
Seventh
data byte
Eighth
data byte
1000 0101 INT_MASK MB_LO
MB_HI
ID
CONTR
STATUS
RT
STATUS
RT
INT_
STATUS
1000 0110 MB_LO
1000 0111 MB_HI
MB_HI
ID
ID
CONTR
STATUS
RT
INT_
STATUS
INT_MASK
CONTR
INT_
INT_MASK MB_LO
STATUS
13. General call software reset
The Software Reset Call allows all the devices in the I2C-bus to be reset to the power-up
state value through a specific formatted I2C-bus command. To be performed correctly, it
implies that the I2C-bus is functional and that there is no device hanging the bus.
The Software Reset sequence is defined as following:
1. A START command is sent by the I2C-bus master.
2. The reserved General Call I2C-bus address ‘0000 000’ with the R/W bit set to 0 (write)
is sent by the I2C-bus master.
3. The device(s) acknowledge(s) after seeing the General Call address ‘0000 0000’
(00h) only. If the R/W bit is set to 1 (read), no acknowledge is returned to the I2C-bus
master.
4. Once the General Call address has been sent and acknowledged, the master sends
1 byte. The value of the byte must be equal to 06h. The device acknowledges this
value only. If the byte is not equal to 06h, the device does not acknowledge it. If more
than 1 byte of data is sent, the device does not acknowledge any more.
5. Once the right byte has been sent and correctly acknowledged, the master sends a
STOP command to end the Software Reset sequence: the slave device then resets to
the default value (power-up value) and is ready to be addressed again within the
specified bus free time. If the master sends a Repeated START instead, no reset is
performed.
6. PCA9641 will issue the bus recovery procedure.
The I2C-bus master must interpret a non-acknowledge from the slave device (at any time)
as a ‘Software Reset Abort’. Slave device does not initiate a reset of its registers.
2
SWRST Call I C-bus address
SWRST data = 06h
S
0
0
0
0
0
0
0
0
A
0
0
0
0
0
1
1
0
A
P
START condition
R/W
acknowledge
from slave(s)
acknowledge
from slave(s)
PCA9641 is reset.
Registers are set to default power-up values.
aaa-008555
Fig 18. Software Reset sequence
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
30 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
14. Device ID (PCA9641 ID field)
The Device ID field is a 3-byte read-only (24 bits) word giving the following information:
• The first 12 bits are for the manufacturer name, unique per manufacturer (for
example, NXP).
• The next 9 bits are for the part identification, assigned by manufacturer.
• The last 3 bits are for the die revision, assigned by manufacturer (for example,
Rev X).
The Device ID is read-only, hardwired in the device and can be accessed as follows:
1. START command.
2. The master sends the Reserved Device ID I2C-bus address ‘1111 100’ with the R/W
bit set to 0 (write).
3. The master sends the I2C-bus slave address of the slave device it needs to identify.
The LSB is a ‘Don’t care’ value. Only one device must acknowledge this byte (the one
that has the I2C-bus slave address).
4. The master sends a Re-START command.
Remark: A STOP command followed by a START command will reset the slave state
machine and the Device ID read cannot be performed.
Remark: A STOP command or a Re-START command followed by an access to
another slave device will reset the slave state machine and the Device ID read cannot
be performed.
5. The master sends the Reserved Device ID I2C-bus address ‘1111 100’ with the R/W
bit set to 1 (read).
6. The device ID read can be done, starting with the 12 manufacturer bits
(first byte + 4 MSB of the second byte), followed by the 9 part identification bits and
then the 3 die revision bits (3 LSB of the third byte).
7. The master ends the reading sequence by NACKing the last byte, thus resetting the
slave device state machine and allowing the master to send the STOP command.
Remark: The reading of the Device ID can be stopped anytime by sending a NACK
command.
Remark: If the master continues to ACK the bytes after the third byte, the PCA9641
rolls back to the first byte and keeps sending the Device ID sequence until a NACK
has been detected.
Table 16. PCA9641 ID field
Byte 3
Byte 2
Byte 1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
1
0
0
0
Bits [23:11]
Manufacturer ID
Bits [10:3]
Part ID
Bits [2:0]
Revision
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
31 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
15. Shared mailbox
Shared mailbox contains two 8-bit bidirectional mailboxes used for communication
between the two masters. Each master has MB_HI and MB_LO registers on their address
map. The mailbox uses a MBOX_FULL and MBOX_EMPTY status to assist in the flow of
data and prevent data loss or corruption.
When a master is sending data via the mailbox, it must check the MBOX_EMPTY status
bit. If the MBOX_EMPTY status bit is zero (not EMPTY), then it contains data for the other
master that has not been read, and writing at this time would result in data loss/corruption.
When the MBOX_EMPTY status bit is one (EMPTY), the master may write to the mailbox.
In order to send data through the mailbox, the master must write the entire 16 bits, starting
with MB_LO and finishing with MB_HI. If the mailbox is written in reverse order, it will not
activate the FULL flag on the receiving master. Once the mailbox has been written, the
transmitting master’s MBOX_EMPTY status bit is cleared (0), and the receiving master’s
MBOX_FULL status bit is set (1).
When a master’s MBOX_FULL status bit is set, it means that there is data in the mailbox
from the other master that has not been read. The master may read the mailbox in any
order, but the FULL flag will not be cleared until both MB_LO and MB_HI have been read.
When they have been read, the sending master’s MBOX_EMPTY status bit is set,
indicating the data has been read and the mailbox is ready for more data. When they have
been read, the receiving master’s MBOX_FULL status bit is cleared, indicating there is no
new data in the mailbox to be read.
When a master writes the mailbox registers, it is sending data to the other master’s
mailbox. When a master reads the mailbox, it is reading from its own mailbox. It is not
possible to write data into the mailbox and read it back.
MB_LOW
MB_HI
D7 D6 D5 D4 D3 D2 D1 D0
A
D15 D14 D13 D12 D11 D10 D9 D8
A
aaa-008573
Fig 19. Shared mailbox byte arrangement
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
32 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
16. Application design-in information
SLAVE CARD
3.3 V
2.5 V
V
DD
V
DD
MASTER 0
SCL0
SCL_MST0
SDA_MST0
SDA0
3.3 V
RESET0
PCA9641
SLAVE 2
INT
INT0
INT0
INT_IN
SDA SCL
V
SS
SDA_SLAVE
SCL_SLAVE
RESET
SDA SCL
SLAVE 1
SDA SCL
SLAVE 3
1.8 V
V
DD
MASTER 1
SCL1
SCL_MST1
SDA_MST1
SDA1
RESET1
INT1
INT1
V
SS
A3
A2
A1
A0
V
SS
002aag819
Fig 20. Typical application
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
33 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
16.1 Specific applications
2
Master 0
M0-Trans3
M0-Trans2
M0-Trans1
I C M0
Slave 0
Slave 2
t
1
PCA9641
ARBITER
M0-Trans3
M1-Trans2
M0-Trans2
M0-Trans1
M0-Trans1
t
1
Slave 1
Slave 3
Slave 4
2
I C M1
Master 1
M1-Trans2
M0-Trans1
aaa-009751
Fig 21. Arbitration application
The PCA9641 is a 2-to-1 I2C-bus master arbiter designed for dual masters sharing the
same downstream slave devices. Any master can request the downstream bus at any
time and PCA9641 will let the master know when it is its turn to control the downstream
bus. The master will not overwrite the other master’s transactions, and no advance
software is needed. In high reliability I2C-bus applications, the PCA9641 will switch
between masters when the downstream bus is free and clear. If the downstream bus
hangs, PCA9641 will remotely recover the bus by multiple ways, such as smart
initialization, SMBus time-out, remote toggling of SCL and SDA.
16.2 High reliability systems
In a typical multipoint application, shown in Figure 22, the two masters (for example,
primary and back-up) are located on separate I2C-buses that connect to multiple
downstream I2C-bus slave cards/devices via a PCA9641 for non-hot swap applications to
provide high reliability of the I2C-bus.
SCL0
SDA0
SCL1
SDA1
002aag820
Fig 22. High reliability backplane application
I2C-bus commands are sent via the primary or back-up master and either master can take
command of the I2C-bus. Either master at any time can gain control of the slave devices if
the other master is disabled or removed from the system. The failed master is isolated
from the system and will not affect communication between the on-line master and the
slave devices located on the cards.
For even higher reliability in multipoint backplane applications, two dedicated masters can
be used for every card as shown in Figure 23.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
34 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
SCL0
SDA0
SCL1
SDA1
SCL0
SDA0
SCL1
SDA1
SCL0
SDA0
SCL1
SDA1
SCL0
SDA0
SCL1
SDA1
002aag821
Fig 23. Very high reliability backplane application
16.3 Masters with shared resources
Some masters may not be multi-master capable or some masters may not work well
together and continually lock up the bus. The PCA9641 can be used to separate the
masters, as shown in Figure 24, but still allow shared access to slave devices, such as
Field Replaceable Unit (FRU) EEPROMs or temperature sensors.
ASSEMBLY A
SDA/SCL
MASTER A
PCA9641
SLAVE A1
SLAVE A2
SLAVE A0
MAIN
MASTER
ASSEMBLY B
SLAVE B1
SDA/SCL
SLAVE B2
MASTER B
PCA9641
SLAVE B0
002aag822
Fig 24. Masters with shared resources application
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
35 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
16.4 Gatekeeper multiplexer
The PCA9641 can act as a gatekeeper multiplexer in applications where there are
multiple I2C-bus devices with the same fixed address (for example, EEPROMs with
address of ‘Z’ as shown in Figure 25) connected in a multipoint arrangement to the same
I2C-bus. Up to 112 hot-swappable cards/devices can be multiplexed to the same bus
master by using one PCA9641 per card/device. Since each PCA9641 has its own unique
address (for example, ‘A’, ‘B’, ‘C’, and so on), the EEPROMs can be connected to the
master, one at a time, by connecting one PCA9641 (Master 0 position) while keeping the
rest of the cards/devices isolated (off position).
The alternative, shown with dashed lines, is to use a PCA9548A 1-to-8 channel switch on
the master card and run eight I2C-bus devices, one to each EEPROM card, to multiplex
the master to each card. The number of card pins used is the same in either case, but
there are seven fewer pairs of SDA/SCL traces on the printed-circuit board if the
PCA9641 is used.
A
Z
B
Z
C
Z
D
Z
E
Z
F
Z
G
H
Z
Z
002aag823
Fig 25. Gatekeeper multiplexer application
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
36 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
16.5 Bus initialization/recovery to initialize slaves without hardware reset
If the I2C-bus is hung, I2C-bus devices without a hardware reset pin (for example, Slave 1
and Slave 2 in Figure 26) can be isolated from the master by the PCA9641. The PCA9641
disconnects the hung bus if IDLE_TIMER_DIS was set or over 500 ms, restoring the
master's control of the rest of the bus (for example, Slave 0). The bus master can then
command the PCA9641 to send nine clock pulses/STOP condition to reset the
downstream I2C-bus devices before they are reconnected to the master or leave the
downstream devices isolated.
SDA/SCL
MASTER
SLAVE 1
SLAVE 2
SDA
SCL
2
slave I C-bus
PCA9641
SLAVE 0
RESET
002aag824
Fig 26. Bus initialization/recovery application
16.6 Power-on reset requirements
In the event of a glitch or data corruption, PCA9641 can be reset to its default conditions
by using the power-on reset feature. Power-on reset requires that the device go through a
power cycle to be completely reset. This reset also happens when the device is
powered on for the first time in an application.
The two types of power-on reset are shown in Figure 27 and Figure 28.
V
DD
ramp-up
ramp-down
re-ramp-up
t
d(rst)
time
time to re-ramp
when V drops
(dV/dt)
(dV/dt)
(dV/dt)
r
r
f
DD
aaa-013905
below 0.7 V or to V
SS
Fig 27. VDD is lowered below 0.7 V or 0 V and then ramped up to VDD
V
DD
ramp-down
ramp-up
t
d(rst)
V drops below POR levels
I
time
time to re-ramp
(dV/dt)
(dV/dt)
r
f
when V
drops
DD
to V
− 50 mV
POR(min)
002aah330
Fig 28. VDD is lowered below the POR threshold, then ramped back up to VDD
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
37 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 17 specifies the performance of the power-on reset feature for PCA9641 for both
types of power-on reset.
Table 17. Recommended supply sequencing and ramp rates
amb = 25 C (unless otherwise noted). Not tested; specified by design.
T
Symbol
Parameter
Condition
Figure 27
Figure 27
Min
0.1
0.1
1
Typ
Max
2000
2000
-
Unit
ms
ms
s
(dV/dt)f
(dV/dt)r
td(rst)
fall rate of change of voltage
rise rate of change of voltage
reset delay time
-
-
-
Figure 27; re-ramp time when
VDD drops to VSS
Figure 28; re-ramp time when
1
-
-
s
VDD drops to VPOR(min) 50 mV
[1]
[1]
VDD(gl)
tw(gl)VDD
VPOR(trip)
glitch supply voltage difference
supply voltage glitch pulse width
power-on reset trip voltage
Figure 29
Figure 29
falling VDD
rising VDD
-
-
-
-
-
-
1
V
-
10
-
s
V
0.7
-
1.8
-
V
tREC;STA
recovery time to START condition refer to Figure 33
155
s
[1] Glitch width and VDD voltage that will not cause a functional disruption.
Glitches in the power supply can also affect the power-on reset performance of this
device. The glitch width (tw(gl)VDD) and glitch height (VDD(gl)) are dependent on each
other. The bypass capacitance, source impedance, and device impedance are factors that
affect power-on reset performance. Figure 29 and Table 17 provide more information on
how to measure these specifications.
V
DD
∆V
DD(gl)
time
002aah331
t
w(gl)VDD
Fig 29. Glitch width and glitch height
VPOR is critical to the power-on reset. VPOR is the voltage level at which the reset condition
is released and all the registers and the I2C-bus/SMBus state machine are initialized to
their default states. The value of VPOR differs based on the VDD being lowered to or from
0 V. Figure 30 and Table 17 provide more details on this specification.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
38 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
V
DD
V
(rising V
(falling V
)
)
POR
DD
DD
V
POR
time
POR
time
002aah332
Fig 30. Power-on reset voltage (VPOR
)
17. Limiting values
Table 18. Limiting values
In accordance with the Absolute Maximum Rating System (IEC 60134).
Voltages are referenced to VSS (ground = 0 V).[1]
Symbol
VDD
VI
Parameter
Conditions
Min
0.5
0.5
20
25
100
100
-
Max
+4.0
+4.0
+20
Unit
V
supply voltage
input voltage
V
II
input current
mA
mA
mA
mA
mW
C
IO
output current
+25
IDD
supply current
+100
+100
400
ISS
ground supply current
total power dissipation
storage temperature
ambient temperature
Ptot
Tstg
Tamb
60
40
+150
+85
operating in free air
C
[1] The performance capability of a high-performance integrated circuit in conjunction with its thermal
environment can create junction temperatures which are detrimental to reliability. The maximum junction
temperature of this integrated circuit should not exceed 125 C.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
39 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
18. Static characteristics
Table 19. Static characteristics
VDD = 2.3 V to 3.6 V; VSS = 0 V; Tamb = 40 C to +85 C; unless otherwise specified.
Symbol Parameter
Conditions
Min
Typ
Max
Unit
Supply
VDD
supply voltage
supply current
2.3
-
3.6
V
IDD
Operating mode; no load;
VI = VDD or VSS; fSCL = 1 MHz;
[6]
RESET VDD
VDD = 2.3 V
VDD = 3.6 V
-
-
127[4]
184[2]
210[5]
325
A
A
Istb
standby current
Standby mode; no load; VI = VDD or VSS;
[6]
fSCL = 0 kHz; RESET VDD
VDD = 2.3 V
-
-
-
110[4]
148[2]
1.5
160[5]
275
A
A
V
VDD = 3.6 V
[1]
VPOR
power-on reset voltage
no load; VI = VDD or VSS
2.1
Input SCL_MSTn; input/output SDA_MSTn (upstream and downstream channels)
VIL
VIH
IOL
IL
LOW-level input voltage
0.5
0.7VDD
20
-
+0.3VDD
V
HIGH-level input voltage
-
3.6
-
V
LOW-level output current VOL = 0.4 V
38[2]
mA
A
leakage current
VI = VDD or VSS
VI = VSS
VDD = 2.3 V to 3.6 V[5]
1
-
+1
Ci
input capacitance
-
6
-
10
+1
10
pF
A
pF
Select inputs A0 to A3[3]
ILI
Ci
input leakage current
input capacitance
VI = VDD or VSS
VI = VSS
VDD = 2.3 V to 3.6 V[5]
1
-
4
Select inputs INT_IN, RESET
VIL
VIH
ILI
LOW-level input voltage
HIGH-level input voltage
input leakage current
input capacitance
0.5
0.7VDD
1
-
-
-
+0.3VDD
3.6
V
V
VI = VDD or VSS
VI = VSS
+1
A
Ci
VDD = 2.3 V to 3.6 V[5]
-
4
10
pF
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
40 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 19. Static characteristics …continued
VDD = 2.3 V to 3.6 V; VSS = 0 V; Tamb = 40 C to +85 C; unless otherwise specified.
Symbol Parameter
Pass gate
Conditions
Min
Typ
Max
Unit
Ron
Vo(sw)
IL
ON-state resistance
VO = 0.4 V; IO = 20 mA
VDD = 3.0 V to 3.6 V
VDD = 2.3 V to 2.7 V
Io(sw) = 100 A
-
-
7.9[2]
9.9[4]
11.5
14.5
switch output voltage
leakage current
Vi(sw) = VDD = 3.6 V
Vi(sw) = VDD = 2.3 V
VI = VDD or VSS
1.6
1.1
1
2.0[2]
1.4[4]
-
2.8
2.2
+1
V
V
A
INT0 and INT1 outputs
IOL LOW-level output current VOL = 0.4 V
3
-
-
mA
[1] VDD must be lowered to 0.7 V in order to reset part
[2] Typical VDD = 3.0 V at room temperature
[3] See Table 4
[4] Typical VDD = 2.3 V at room temperature, nominal device
[5] Guaranteed by characterization
[6] When RESET = VSS, IDD and Istb increase approximately 4.5 mA
19. Dynamic characteristics
Table 20. Dynamic characteristics
Symbol
Parameter
Conditions
Standard-mode
I2C-bus
Fast-mode
I2C-bus
Fast-mode Plus Unit
I2C-bus
Min
Max
Min
Max
Min
Max
[1]
tPD
propagation delay (SDA_MSTn to
SDA_SLAVE) or
-
0.3
-
0.3
-
0.3 ns
(SCL_MSTn to
SCL_SLAVE)
fSCL
SCL clock
frequency
20
18
100
50
20
18
400
50
20
18
1000 kHz
50 kHz
[8]
fSCL(init/rec)
SCL clock
frequency
(bus initialization/
bus recovery)
tBUF
bus free time
between a STOP
and START
condition
4.7
4.0
-
-
1.3
0.6
-
-
0.5
-
-
s
s
[2]
tHD;STA
hold time
0.26
(repeated)
START condition
tLOW
tHIGH
LOW period of
the SCL clock
4.7
4.0
-
-
1.3
0.6
-
-
0.5
-
-
s
s
HIGH period of
the SCL clock
0.26
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
41 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Table 20. Dynamic characteristics …continued
Symbol
Parameter
Conditions
Standard-mode
I2C-bus
Fast-mode
I2C-bus
Fast-mode Plus Unit
I2C-bus
Min
Max
Min
Max
Min
Max
tSU;STA
set-up time for a
repeated START
condition
4.7
-
0.6
-
0.26
-
s
s
tSU;STO
set-up time for
STOP condition
4.0
-
0.6
-
0.26
-
tHD;DAT
tSU;DAT
tr
data hold time
0[3]
250
-
3.45
-
0[3]
100
20
0.9
-
0[3]
50
-
-
-
s
data set-up time
ns
rise time of both
SDA and SCL
signals
1000
300
120 ns
tf
fall time of both
SDA and SCL
signals
-
300
20
(VDD / 3.3 V)
300
20
(VDD / 3.3 V)
120 ns
[4]
Cb
capacitive load
for each bus line
-
-
400
50
-
-
400
50
-
-
500 pF
50 ns
tSP
pulse width of
spikes that must
be suppressed by
the input filter
[5]
tVD;DAT
tVD;ACK
data valid time
-
-
1
1
-
-
1
1
0.05
0.05
0.45 s
0.45 s
data valid
acknowledge
time
INT
tv(INT_IN-INTn) valid time from
pin INT_IN to
-
4
-
-
4
-
-
4
-
s
s
pin INTn signal
tw(rej)L
LOW-level
INT_IN input
SDA clear
0.05
0.05
0.05
rejection time
RESET
tw(rst)L
LOW-level reset
time
10
-
10
-
10
-
ns
trst
reset time
500
90
-
-
500
90
-
-
500
90
-
-
ns
[6][7]
tREC;STA
recovery time to
START condition
s
[1] Pass gate propagation delay is calculated from the 20 typical Ron and the 15 pF load capacitance.
[2] After this period, the first clock pulse is generated.
[3] A device must internally provide a hold time of at least 300 ns for the SDA signal (referred to the VIH(min) of the SCL signal) in order to
bridge the undefined region of the falling edge of SCL.
[4] Cb = total capacitance of one bus line in pF.
[5] Measurements taken with 1 k pull-up resistor and 50 pF load.
[6] Resetting the device while actively communicating on the bus may cause glitches or errant STOP conditions.
[7] Upon reset, the full delay will be the sum of trst and the RC time constant of the SDA bus.
[8] Guaranteed by characterization.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
42 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
0.7 × V
0.3 × V
DD
SDA
DD
t
r
t
f
t
t
SP
t
HD;STA
BUF
t
LOW
0.7 × V
0.3 × V
DD
SCL
DD
t
t
t
SU;STO
HD;STA
SU;STA
t
t
t
SU;DAT
HD;DAT
HIGH
P
S
Sr
P
002aaa986
Fig 31. Definition of timing on the I2C-bus
START
condition
(S)
bit 7
MSB
(A7)
STOP
condition
(P)
bit 6
(A6)
bit 0
(R/W)
acknowledge
(A)
protocol
t
t
t
HIGH
SU;STA
LOW
1 / f
SCL
0.7 × V
DD
SCL
SDA
0.3 × V
DD
t
t
f
BUF
t
r
0.7 × V
0.3 × V
DD
DD
t
t
t
t
t
t
HD;DAT
VD;DAT
VD;ACK
SU;STO
HD;STA
SU;DAT
002aab175
Rise and fall times, refer to VIL and VIH.
Fig 32. I2C-bus timing diagram
ACK or read cycle
START
SCL
SDA
30 %
t
rst
RESET
INTn
50 %
50 %
50 %
t
REC;STA
t
w(rst)L
t
rst
50 %
002aae735
Fig 33. Definition of RESET timing
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
43 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
20. Test information
6.0 V
open
V
SS
V
R
500 Ω
DD
L
V
V
O
I
PULSE
DUT
GENERATOR
C
50 pF
L
R
T
002aab393
Definitions test circuit:
RL = Load resistance.
CL = Load capacitance including jig and probe capacitance.
RT = Termination resistance should be equal to the output impedance Zo of the pulse generator.
Fig 34. Test circuitry for switching times
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
44 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
21. Package outline
76623ꢁꢆꢇꢀSODVWLFꢀWKLQꢀVKULQNꢀVPDOOꢀRXWOLQHꢀSDFNDJHꢈꢀꢁꢆꢀOHDGVꢈꢀERG\ꢀZLGWKꢀꢉꢊꢉꢀPPꢀ
627ꢉꢋꢃꢌꢁꢀ
'ꢉ
(ꢉ
$ꢉ
;ꢉ
Fꢉ
\ꢉ
+ꢉ
(ꢉ
Yꢉ 0ꢉ
$ꢉ
=ꢉ
ꢍꢉ
ꢅꢈꢉ
4ꢉ
ꢊ$ꢉꢉꢋꢉ
ꢄꢉ
$ꢉ
ꢀꢉ
$ꢉ
$ꢉ
ꢅꢉ
SLQꢉꢅꢉLQGH[ꢉ
șꢉ
/ꢉ
Sꢉ
/ꢉ
ꢅꢉ
ꢇꢉ
GHWDLOꢉ;ꢉ
Zꢉ 0ꢉ
Eꢉ
Sꢉ
Hꢉ
ꢌꢉ
ꢀꢁꢂꢉ
ꢂꢉPPꢉ
VFDOHꢉ
',0(16,216ꢀꢄPPꢀDUHꢀWKHꢀRULJLQDOꢀGLPHQVLRQVꢅꢀ
$ꢀ
ꢄꢁꢅꢀ
ꢄꢂꢅꢀ
ꢄꢁꢅꢀ
81,7ꢀ
PPꢉ
$ꢀ
ꢁꢀ
$ꢀ
ꢂꢀ
$ꢀ
ꢃꢀ
Eꢀ
Sꢀ
Fꢀ
'ꢀ
(ꢀ
Hꢀ
+ꢀ
/ꢀ
/ꢀ
Sꢀ
4ꢀ
Yꢀ
Zꢀ
\ꢀ
ꢌꢁꢅꢉ
=ꢀ
șꢉ
(ꢀ
PD[ꢊꢀ
Rꢉ
ꢌꢁꢅꢂꢉ ꢌꢁꢍꢂꢉ
ꢌꢁꢌꢂꢉ ꢌꢁꢇꢌꢉ
ꢌꢁꢄꢌꢉ
ꢌꢁꢅꢍꢉ
ꢌꢁꢀꢉ
ꢌꢁꢅꢉ
ꢂꢁꢅꢉ
ꢆꢁꢍꢉ
ꢆꢁꢂꢉ
ꢆꢁꢄꢉ
ꢈꢁꢈꢉ
ꢈꢁꢀꢉ
ꢌꢁꢃꢂꢉ
ꢌꢁꢂꢌꢉ
ꢌꢁꢆꢉ
ꢌꢁꢄꢉ
ꢌꢁꢆꢌꢉ
ꢌꢁꢌꢈꢉ
ꢇꢉ
ꢅꢁꢅꢉ
ꢌꢁꢈꢂꢉ
ꢅꢉ
ꢌꢁꢀꢉ ꢌꢁꢅꢄꢉ
ꢌꢁꢀꢂꢉ
Rꢉ
ꢌꢉ
1RWHVꢀ
ꢅꢁꢉ3ODVWLFꢉRUꢉPHWDOꢉSURWUXVLRQVꢉRIꢉꢌꢁꢅꢂꢉPPꢉPD[LPXPꢉSHUꢉVLGHꢉDUHꢉQRWꢉLQFOXGHGꢁꢉ
ꢀꢁꢉ3ODVWLFꢉLQWHUOHDGꢉSURWUXVLRQVꢉRIꢉꢌꢁꢀꢂꢉPPꢉPD[LPXPꢉSHUꢉVLGHꢉDUHꢉQRWꢉLQFOXGHGꢁꢉ
ꢀ5()(5(1&(6ꢀ
ꢀ-('(&ꢀ ꢀ-(,7$ꢀ
ꢉ02ꢎꢅꢂꢄꢉ
287/,1(ꢀ
9(56,21ꢀ
(8523($1ꢀ
352-(&7,21ꢀ
,668(ꢀ'$7(ꢀ
ꢀ,(&ꢀ
ꢍꢍꢎꢅꢀꢎꢀꢃꢉ
ꢌꢄꢎꢌꢀꢎꢅꢇꢉ
ꢉ627ꢆꢌꢄꢎꢅꢉ
Fig 35. Package outline SOT403-1 (TSSOP16)
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
45 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
+94)1ꢁꢆꢇꢀSODVWLFꢀWKHUPDOꢀHQKDQFHGꢀYHU\ꢀWKLQꢀTXDGꢀIODWꢀSDFNDJHꢈꢀQRꢀOHDGVꢈꢀ
ꢁꢆꢀWHUPLQDOVꢈꢀERG\ꢀꢃꢀ[ꢀꢃꢀ[ꢀꢋꢊꢏꢎꢀPPꢀ
627ꢍꢎꢏꢌꢁꢀ
$ꢉ
%ꢉ
'ꢉ
WHUPLQDOꢉꢅꢉ
LQGH[ꢉDUHDꢉ
$ꢉ
(ꢉ
$
ꢅꢉ
Fꢉ
GHWDLOꢉ;ꢉ
H
&ꢉ
ꢅꢉ
ꢅꢏꢀꢉHꢉ
\ꢉ
\
Yꢉ 0ꢉ
Zꢉ 0ꢉ
&ꢉ $ꢉ %ꢉ
&ꢉ
&ꢉ
ꢅꢉ
Hꢉ
Eꢉ
ꢎꢀ
ꢏꢀ
/ꢉ
(
ꢉꢀ
ꢁꢀ
ꢐꢀ
Hꢉ
H
ꢀꢉ
Kꢉ
ꢅꢏꢀꢉHꢉ
ꢁꢂꢀ
ꢁꢆꢀ
ꢁꢃꢀ
WHUPLQDOꢉꢅꢉ
LQGH[ꢉDUHDꢉ
'
Kꢉ
;ꢉ
ꢌꢉ
ꢀꢁꢂꢉ
ꢂꢉPPꢉ
VFDOHꢉ
',0(16,216ꢀꢄPPꢀDUHꢀWKHꢀRULJLQDOꢀGLPHQVLRQVꢅꢀ
ꢄꢁꢅ
$
ꢀ
ꢄꢁꢅꢀ
ꢄꢁꢅꢀ
81,7ꢀ
$
Eꢀ
Fꢀ
(
Hꢀ
ꢌꢁꢂꢉ
H
H
'ꢀ
'
(ꢀ
/ꢀ
\
ꢁꢀ
Yꢀ
Zꢀ
\ꢀ
ꢁꢀ
Kꢀ
ꢁꢀ
ꢂꢀ
Kꢀ
PD[ꢊꢀ
ꢌꢁꢌꢂꢉ ꢌꢁꢄꢌꢉ
ꢌꢁꢌꢌꢉ ꢌꢁꢅꢇꢉ
ꢄꢁꢅꢉ ꢅꢁꢃꢂꢉ ꢄꢁꢅꢉ ꢅꢁꢃꢂꢉ
ꢀꢁꢍꢉ ꢅꢁꢆꢂꢉ ꢀꢁꢍꢉ ꢅꢁꢆꢂꢉ
ꢌꢁꢂꢉ
ꢌꢁꢄꢉ
PPꢉ
ꢌꢁꢌꢂꢉ ꢌꢁꢅꢉ
ꢅꢉ
ꢌꢁꢀꢉ
ꢅꢁꢂꢉ
ꢅꢁꢂꢉ
ꢌꢁꢅꢉ ꢌꢁꢌꢂꢉ
1RWHꢀ
ꢅꢁꢉ3ODVWLFꢉRUꢉPHWDOꢉSURWUXVLRQVꢉRIꢉꢌꢁꢌꢃꢂꢉPPꢉPD[LPXPꢉSHUꢉVLGHꢉDUHꢉQRWꢉLQFOXGHGꢁꢉꢉ
ꢀ5()(5(1&(6ꢀ
287/,1(ꢀ
9(56,21ꢀ
(8523($1ꢀ
352-(&7,21ꢀ
,668(ꢀ'$7(ꢀ
ꢀ,(&ꢀ
ꢀ-('(&ꢀ
02ꢎꢀꢀꢌꢉ
ꢀ-(,7$ꢀ
ꢌꢀꢎꢌꢄꢎꢀꢂꢉ
ꢌꢀꢎꢅꢌꢎꢀꢅꢉ
ꢉ627ꢃꢂꢇꢎꢅꢉ
ꢎꢉꢎꢉꢎꢉ
ꢎꢉꢎꢉꢎꢉ
Fig 36. Package outline SOT758-1 (HVQFN16)
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
46 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
22. Soldering of SMD packages
This text provides a very brief insight into a complex technology. A more in-depth account
of soldering ICs can be found in Application Note AN10365 “Surface mount reflow
soldering description”.
22.1 Introduction to soldering
Soldering is one of the most common methods through which packages are attached to
Printed Circuit Boards (PCBs), to form electrical circuits. The soldered joint provides both
the mechanical and the electrical connection. There is no single soldering method that is
ideal for all IC packages. Wave soldering is often preferred when through-hole and
Surface Mount Devices (SMDs) are mixed on one printed wiring board; however, it is not
suitable for fine pitch SMDs. Reflow soldering is ideal for the small pitches and high
densities that come with increased miniaturization.
22.2 Wave and reflow soldering
Wave soldering is a joining technology in which the joints are made by solder coming from
a standing wave of liquid solder. The wave soldering process is suitable for the following:
• Through-hole components
• Leaded or leadless SMDs, which are glued to the surface of the printed circuit board
Not all SMDs can be wave soldered. Packages with solder balls, and some leadless
packages which have solder lands underneath the body, cannot be wave soldered. Also,
leaded SMDs with leads having a pitch smaller than ~0.6 mm cannot be wave soldered,
due to an increased probability of bridging.
The reflow soldering process involves applying solder paste to a board, followed by
component placement and exposure to a temperature profile. Leaded packages,
packages with solder balls, and leadless packages are all reflow solderable.
Key characteristics in both wave and reflow soldering are:
• Board specifications, including the board finish, solder masks and vias
• Package footprints, including solder thieves and orientation
• The moisture sensitivity level of the packages
• Package placement
• Inspection and repair
• Lead-free soldering versus SnPb soldering
22.3 Wave soldering
Key characteristics in wave soldering are:
• Process issues, such as application of adhesive and flux, clinching of leads, board
transport, the solder wave parameters, and the time during which components are
exposed to the wave
• Solder bath specifications, including temperature and impurities
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
47 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
22.4 Reflow soldering
Key characteristics in reflow soldering are:
• Lead-free versus SnPb soldering; note that a lead-free reflow process usually leads to
higher minimum peak temperatures (see Figure 37) than a SnPb process, thus
reducing the process window
• Solder paste printing issues including smearing, release, and adjusting the process
window for a mix of large and small components on one board
• Reflow temperature profile; this profile includes preheat, reflow (in which the board is
heated to the peak temperature) and cooling down. It is imperative that the peak
temperature is high enough for the solder to make reliable solder joints (a solder paste
characteristic). In addition, the peak temperature must be low enough that the
packages and/or boards are not damaged. The peak temperature of the package
depends on package thickness and volume and is classified in accordance with
Table 21 and 22
Table 21. SnPb eutectic process (from J-STD-020D)
Package thickness (mm) Package reflow temperature (C)
Volume (mm3)
< 350
235
350
220
< 2.5
2.5
220
220
Table 22. Lead-free process (from J-STD-020D)
Package thickness (mm) Package reflow temperature (C)
Volume (mm3)
< 350
260
350 to 2000
> 2000
260
< 1.6
260
250
245
1.6 to 2.5
> 2.5
260
245
250
245
Moisture sensitivity precautions, as indicated on the packing, must be respected at all
times.
Studies have shown that small packages reach higher temperatures during reflow
soldering, see Figure 37.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
48 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
maximum peak temperature
= MSL limit, damage level
temperature
minimum peak temperature
= minimum soldering temperature
peak
temperature
time
001aac844
MSL: Moisture Sensitivity Level
Fig 37. Temperature profiles for large and small components
For further information on temperature profiles, refer to Application Note AN10365
“Surface mount reflow soldering description”.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
49 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
23. Soldering: PCB footprints
)RRWSULQWꢀLQIRUPDWLRQꢀIRUꢀUHIORZꢀVROGHULQJꢀRIꢀ76623ꢁꢆꢀSDFNDJH
627ꢉꢋꢃꢌꢁ
+[
*[
3ꢀ
ꢊꢌꢁꢅꢀꢂꢋ
ꢊꢌꢁꢅꢀꢂꢋ
+\ *\
%\ $\
&
'ꢀꢉꢊꢆ[ꢋ
'ꢅ
3ꢅ
*HQHULFꢉIRRWSULQWꢉSDWWHUQꢉ
5HIHUꢉWRꢉWKHꢉSDFNDJHꢉRXWOLQHꢉGUDZLQJꢉIRUꢉDFWXDOꢉOD\RXW
VROGHUꢉODQG
RFFXSLHGꢉDUHD
',0(16,216ꢉLQꢉPP
3ꢅ 3ꢀ $\
%\
&
'ꢅ
'ꢀ
*[
*\
+[
+\
ꢌꢁꢈꢂꢌ ꢌꢁꢃꢂꢌ ꢃꢁꢀꢌꢌ ꢆꢁꢂꢌꢌ ꢅꢁꢄꢂꢌ ꢌꢁꢆꢌꢌ ꢌꢁꢈꢌꢌ ꢂꢁꢈꢌꢌ ꢂꢁꢄꢌꢌ ꢂꢁꢇꢌꢌ ꢃꢁꢆꢂꢌ
VRWꢅꢁꢃꢀꢂBIU
Fig 38. PCB footprint for SOT403-1 (TSSOP16); reflow soldering
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
50 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
)RRWSULQWꢀLQIRUPDWLRQꢀIRUꢀUHIORZꢀVROGHULQJꢀRIꢀ+94)1ꢁꢆꢀSDFNDJH
627ꢍꢎꢏꢌꢁ
+[
*[
3
'
ꢌꢁꢌꢀꢂ
ꢌꢁꢌꢀꢂ
&
ꢊꢌꢁꢅꢌꢂꢋ
63[
Q63[
63\
Q63\
+\
*\
6/\ %\
$\
63[ꢉWRW
6/[
%[
$[
VROGHUꢉODQG
VROGHUꢉSDVWHꢉGHSRVLW
VROGHUꢉODQGꢉSOXVꢉVROGHUꢉSDVWH
RFFXSLHGꢉDUHD
Q63[ Q63\
ꢀ
ꢀ
'LPHQVLRQVꢉLQꢉPP
3
$[
$\
%[
%\
&
'
6/[
6/\ 63[ꢉWRW 63\ꢉWRW 63[
ꢅꢁꢂꢌ ꢌꢁꢍꢌ ꢌꢁꢍꢌ ꢌꢁꢄꢌ
63\
ꢌꢁꢄꢌ
*[
*\
ꢄꢁꢄꢌ
+[
+\
ꢌꢁꢂꢌ
ꢆꢁꢌꢌ
ꢆꢁꢌꢌ
ꢀꢁꢀꢌ
ꢀꢁꢀꢌ
ꢌꢁꢍꢌ
ꢌꢁꢀꢆ
ꢅꢁꢂꢌ
ꢄꢁꢄꢌ
ꢆꢁꢀꢂ
ꢆꢁꢀꢂ
ꢅꢀꢎꢌꢄꢎꢌꢃ
ꢅꢀꢎꢌꢄꢎꢌꢇ
,VVXHꢉGDWH
VRWꢆꢇꢈꢀꢂBIU
Fig 39. PCB footprint for SOT758-1 (HVQFN16); reflow soldering
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
51 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
24. Abbreviations
Table 23. Abbreviations
Acronym
AI
Description
Auto Increment
CDM
DUT
Charged Device Model
Device Under Test
EEPROM
ESD
Electrically Erasable Programmable Read-Only Memory
ElectroStatic Discharge
FRU
Field Replaceable Unit
HBM
I2C-bus
IC
Human Body Model
Inter Integrated Circuit bus
Integrated Circuit
POR
Power-On Reset
RC
Resistor-Capacitor network
System Management Bus
SMBus
25. Revision history
Table 24. Revision history
Document ID
PCA9641 v.2.1
Modifications:
PCA9641 v.2
• Modifications:
PCA9641 v.1
Release date
Data sheet status
Change notice
Supersedes
20151027
Product data sheet
-
PCA90641 v.2
• Table 20: Corrected tREC;STA from 155 ms to 90 us
Product data sheet
20141010
20141008
-
PCA90641 v.1
• Corrected Figure 1, Figure 2, Figure 3, Figure 21 and Figure 26
Product data sheet
-
-
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
52 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
26. Legal information
26.1 Data sheet status
Document status[1][2]
Product status[3]
Development
Definition
Objective [short] data sheet
This document contains data from the objective specification for product development.
This document contains data from the preliminary specification.
This document contains the product specification.
Preliminary [short] data sheet Qualification
Product [short] data sheet Production
[1]
[2]
[3]
Please consult the most recently issued document before initiating or completing a design.
The term ‘short data sheet’ is explained in section “Definitions”.
The product status of device(s) described in this document may have changed since this document was published and may differ in case of multiple devices. The latest product status
information is available on the Internet at URL http://www.nxp.com.
Suitability for use — NXP Semiconductors products are not designed,
26.2 Definitions
authorized or warranted to be suitable for use in life support, life-critical or
safety-critical systems or equipment, nor in applications where failure or
malfunction of an NXP Semiconductors product can reasonably be expected
to result in personal injury, death or severe property or environmental
damage. NXP Semiconductors and its suppliers accept no liability for
inclusion and/or use of NXP Semiconductors products in such equipment or
applications and therefore such inclusion and/or use is at the customer’s own
risk.
Draft — The document is a draft version only. The content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Semiconductors does not give any
representations or warranties as to the accuracy or completeness of
information included herein and shall have no liability for the consequences of
use of such information.
Short data sheet — A short data sheet is an extract from a full data sheet
with the same product type number(s) and title. A short data sheet is intended
for quick reference only and should not be relied upon to contain detailed and
full information. For detailed and full information see the relevant full data
sheet, which is available on request via the local NXP Semiconductors sales
office. In case of any inconsistency or conflict with the short data sheet, the
full data sheet shall prevail.
Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
representation or warranty that such applications will be suitable for the
specified use without further testing or modification.
Customers are responsible for the design and operation of their applications
and products using NXP Semiconductors products, and NXP Semiconductors
accepts no liability for any assistance with applications or customer product
design. It is customer’s sole responsibility to determine whether the NXP
Semiconductors product is suitable and fit for the customer’s applications and
products planned, as well as for the planned application and use of
customer’s third party customer(s). Customers should provide appropriate
design and operating safeguards to minimize the risks associated with their
applications and products.
Product specification — The information and data provided in a Product
data sheet shall define the specification of the product as agreed between
NXP Semiconductors and its customer, unless NXP Semiconductors and
customer have explicitly agreed otherwise in writing. In no event however,
shall an agreement be valid in which the NXP Semiconductors product is
deemed to offer functions and qualities beyond those described in the
Product data sheet.
NXP Semiconductors does not accept any liability related to any default,
damage, costs or problem which is based on any weakness or default in the
customer’s applications or products, or the application or use by customer’s
third party customer(s). Customer is responsible for doing all necessary
testing for the customer’s applications and products using NXP
Semiconductors products in order to avoid a default of the applications and
the products or of the application or use by customer’s third party
customer(s). NXP does not accept any liability in this respect.
26.3 Disclaimers
Limited warranty and liability — Information in this document is believed to
be accurate and reliable. However, NXP Semiconductors does not give any
representations or warranties, expressed or implied, as to the accuracy or
completeness of such information and shall have no liability for the
consequences of use of such information. NXP Semiconductors takes no
responsibility for the content in this document if provided by an information
source outside of NXP Semiconductors.
Limiting values — Stress above one or more limiting values (as defined in
the Absolute Maximum Ratings System of IEC 60134) will cause permanent
damage to the device. Limiting values are stress ratings only and (proper)
operation of the device at these or any other conditions above those given in
the Recommended operating conditions section (if present) or the
Characteristics sections of this document is not warranted. Constant or
repeated exposure to limiting values will permanently and irreversibly affect
the quality and reliability of the device.
In no event shall NXP Semiconductors be liable for any indirect, incidental,
punitive, special or consequential damages (including - without limitation - lost
profits, lost savings, business interruption, costs related to the removal or
replacement of any products or rework charges) whether or not such
damages are based on tort (including negligence), warranty, breach of
contract or any other legal theory.
Terms and conditions of commercial sale — NXP Semiconductors
products are sold subject to the general terms and conditions of commercial
sale, as published at http://www.nxp.com/profile/terms, unless otherwise
agreed in a valid written individual agreement. In case an individual
agreement is concluded only the terms and conditions of the respective
agreement shall apply. NXP Semiconductors hereby expressly objects to
applying the customer’s general terms and conditions with regard to the
purchase of NXP Semiconductors products by customer.
Notwithstanding any damages that customer might incur for any reason
whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards
customer for the products described herein shall be limited in accordance
with the Terms and conditions of commercial sale of NXP Semiconductors.
Right to make changes — NXP Semiconductors reserves the right to make
changes to information published in this document, including without
limitation specifications and product descriptions, at any time and without
notice. This document supersedes and replaces all information supplied prior
to the publication hereof.
No offer to sell or license — Nothing in this document may be interpreted or
construed as an offer to sell products that is open for acceptance or the grant,
conveyance or implication of any license under any copyrights, patents or
other industrial or intellectual property rights.
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
53 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
Export control — This document as well as the item(s) described herein
may be subject to export control regulations. Export might require a prior
authorization from competent authorities.
own risk, and (c) customer fully indemnifies NXP Semiconductors for any
liability, damages or failed product claims resulting from customer design and
use of the product for automotive applications beyond NXP Semiconductors’
standard warranty and NXP Semiconductors’ product specifications.
Non-automotive qualified products — Unless this data sheet expressly
states that this specific NXP Semiconductors product is automotive qualified,
the product is not suitable for automotive use. It is neither qualified nor tested
in accordance with automotive testing or application requirements. NXP
Semiconductors accepts no liability for inclusion and/or use of
Translations — A non-English (translated) version of a document is for
reference only. The English version shall prevail in case of any discrepancy
between the translated and English versions.
non-automotive qualified products in automotive equipment or applications.
26.4 Trademarks
Notice: All referenced brands, product names, service names and trademarks
are the property of their respective owners.
In the event that customer uses the product for design-in and use in
automotive applications to automotive specifications and standards, customer
(a) shall use the product without NXP Semiconductors’ warranty of the
product for such automotive applications, use and specifications, and (b)
whenever customer uses the product for automotive applications beyond
NXP Semiconductors’ specifications such use shall be solely at customer’s
I2C-bus — logo is a trademark of NXP Semiconductors N.V.
27. Contact information
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
PCA9641
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2015. All rights reserved.
Product data sheet
Rev. 2.1 — 27 October 2015
54 of 55
PCA9641
NXP Semiconductors
2-channel I2C-bus master arbiter
28. Contents
1
General description. . . . . . . . . . . . . . . . . . . . . . 1
13
14
15
General call software reset. . . . . . . . . . . . . . . 30
Device ID (PCA9641 ID field) . . . . . . . . . . . . . 31
Shared mailbox . . . . . . . . . . . . . . . . . . . . . . . . 32
2
Features and benefits . . . . . . . . . . . . . . . . . . . . 2
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Ordering information. . . . . . . . . . . . . . . . . . . . . 3
Ordering options. . . . . . . . . . . . . . . . . . . . . . . . 3
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3
4
4.1
5
16
Application design-in information. . . . . . . . . 33
Specific applications. . . . . . . . . . . . . . . . . . . . 34
High reliability systems . . . . . . . . . . . . . . . . . 34
Masters with shared resources . . . . . . . . . . . 35
Gatekeeper multiplexer . . . . . . . . . . . . . . . . . 36
Bus initialization/recovery to initialize slaves
16.1
16.2
16.3
16.4
16.5
6
6.1
6.2
Pinning information. . . . . . . . . . . . . . . . . . . . . . 5
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
without hardware reset. . . . . . . . . . . . . . . . . . 37
Power-on reset requirements. . . . . . . . . . . . . 37
7
Functional description . . . . . . . . . . . . . . . . . . . 6
Device address. . . . . . . . . . . . . . . . . . . . . . . . . 6
Address maps. . . . . . . . . . . . . . . . . . . . . . . . . . 7
Command Code . . . . . . . . . . . . . . . . . . . . . . . 10
Power-on reset . . . . . . . . . . . . . . . . . . . . . . . . 11
Reset input (RESET) . . . . . . . . . . . . . . . . . . . 11
Software reset. . . . . . . . . . . . . . . . . . . . . . . . . 11
Voltage translation . . . . . . . . . . . . . . . . . . . . . 12
16.6
17
7.1
7.2
7.3
7.4
7.5
7.6
7.7
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 39
Static characteristics . . . . . . . . . . . . . . . . . . . 40
Dynamic characteristics. . . . . . . . . . . . . . . . . 41
Test information . . . . . . . . . . . . . . . . . . . . . . . 44
Package outline. . . . . . . . . . . . . . . . . . . . . . . . 45
18
19
20
21
22
Soldering of SMD packages. . . . . . . . . . . . . . 47
Introduction to soldering. . . . . . . . . . . . . . . . . 47
Wave and reflow soldering. . . . . . . . . . . . . . . 47
Wave soldering . . . . . . . . . . . . . . . . . . . . . . . 47
Reflow soldering . . . . . . . . . . . . . . . . . . . . . . 48
8
Register descriptions . . . . . . . . . . . . . . . . . . . 13
Register 0: ID register ([B2:B0] = 000b) . . . . . 13
Register 1: Control register ([B2:B0] = 001b) . 13
Register 2: Status register ([B2:B0] = 010b). . 16
Register 3: Reserve Time register
([B2:B0] = 011b) . . . . . . . . . . . . . . . . . . . . . . . 18
Register 4: Interrupt Status register
([B2:B0] = 100b) . . . . . . . . . . . . . . . . . . . . . . . 20
Register 5: Interrupt Mask register
22.1
22.2
22.3
22.4
8.1
8.2
8.3
8.4
23
24
25
Soldering: PCB footprints . . . . . . . . . . . . . . . 50
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 52
Revision history . . . . . . . . . . . . . . . . . . . . . . . 52
8.5
8.6
8.7
26
Legal information . . . . . . . . . . . . . . . . . . . . . . 53
Data sheet status . . . . . . . . . . . . . . . . . . . . . . 53
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 54
([B2:B0] = 101b) . . . . . . . . . . . . . . . . . . . . . . . 21
Registers 6 and 7: MB registers
26.1
26.2
26.3
26.4
([B2:B0] = 110b and 111b) . . . . . . . . . . . . . . . 21
Operating cycle of the downstream bus . . . . . 22
Request the downstream bus. . . . . . . . . . . . . 22
Acquire the downstream bus . . . . . . . . . . . . . 22
Give up the downstream bus . . . . . . . . . . . . . 22
8.8
8.8.1
8.8.2
8.8.3
27
28
Contact information . . . . . . . . . . . . . . . . . . . . 54
Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9
9.1
9.2
Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Disconnect events . . . . . . . . . . . . . . . . . . . . . 23
10
11
State machines. . . . . . . . . . . . . . . . . . . . . . . . . 24
Request grant examples . . . . . . . . . . . . . . . . . 25
12
Characteristics of the I2C-bus . . . . . . . . . . . . 25
Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
START and STOP conditions . . . . . . . . . . . . . 26
System configuration . . . . . . . . . . . . . . . . . . . 26
Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 27
Bus transactions. . . . . . . . . . . . . . . . . . . . . . . 28
Auto-increment . . . . . . . . . . . . . . . . . . . . . . . . 29
12.1
12.2
12.3
12.4
12.5
12.6
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
© NXP Semiconductors N.V. 2015.
All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 27 October 2015
Document identifier: PCA9641
相关型号:
©2020 ICPDF网 联系我们和版权申明