PCA9541A All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 5 — 24 April 2014 13 of 45
NXP Semiconductors
PCA9541A
2-to-1 I
2
C-bus master selector with interrupt logic and reset
Current status of the I
2
C-bus is determined by the bits MYBUS, NMYBUS, BUSON and
NBUSON is one of the following:
The master reading its Control Register does not have control and the I
2
C-bus is off.
The master reading its Control Register does not have control and the I
2
C-bus is on.
The master reading its Control Register has control and the I
2
C-bus is off.
The master reading its Control Register has control and the I
2
C-bus is on.
‘I
2
C-bus off’ means that upstream and downstream channels are not connected together.
‘I
2
C-bus on’ means that upstream and downstream channels are connected together.
Remark: Only the 4 LSBs of the Control Register are described in Table 12
since only
those bits control the I
2
C-bus control. The logic value for the 4 MSBs is specific to the
application and are not discussed in the table.
The read sequence is performed by the master as:
S - 111xxxx0 - 000x0001 - Sr - 111xxxx1 - DataRead - P
The write sequence is performed by the master as:
S - 111xxxx0 - 000x0001 - DataWritten - P
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx x x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xx xx xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxx x x
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxx
PCA9541A All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 5 — 24 April 2014 14 of 45
NXP Semiconductors
PCA9541A
2-to-1 I
2
C-bus master selector with interrupt logic and reset
[1] Only the 4 LSBs are shown.
[2] x0x0 in binary = 0, 2, 8 or A in hexadecimal
x0x1 in binary = 1, 3, 9 or B in hexadecimal
x1x0 in binary = 4, 6, C or E in hexadecimal
x1x1 in binary = 5, 7, D or F in hexadecimal
[3] x can be either ‘0’ or ‘1’ since those bits are read-only bits.
Table 12. Bus control sequence
Read Control Register performed by the master Write Control Register performed by the master
Byte
read
[1]
(h)
Status NBUSON BUSON NMYBUS MYBUS Byte
written
[1][2]
(h)
Action performed
to take mastership
NBUSON
[3]
BUSON NMYBUS
[3]
MYBUS
0 bus off has control 0 0 0 0 4 bus on x 1 x 0
1 bus off no control 0 0 0 1 4 bus on, take control x 1 x 0
2 bus off no control 0 0 1 0 5 bus on, take control x 1 x 1
3 bus off has control 0 0 1 1 5 bus on x 1 x 1
4 bus on has control 0 1 0 0 - no change no write required
5 bus on no control 0 1 0 1 4 take control x 1 x 0
6 bus on no control 0 1 1 0 5 take control x 1 x 1
7 bus on has control 0 1 1 1 - no change no write required
8 bus on has control 1 0 0 0 - no change no write required
9 bus on no control 1 0 0 1 0 take control x 0 x 0
A bus on no control 1 0 1 0 1 take control x 0 x 1
B bus on has control 1 0 1 1 - no change no write required
C bus off has control 1 1 0 0 0 bus on x 0 x 0
D bus off no control 1 1 0 1 0 bus on, take control x 0 x 0
E bus off no control 1 1 1 0 1 bus on, take control x 0 x 1
F bus off has control 1 1 1 1 1 bus on x 0 x 1
PCA9541A All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 5 — 24 April 2014 15 of 45
NXP Semiconductors
PCA9541A
2-to-1 I
2
C-bus master selector with interrupt logic and reset
7.4 Interrupt Status registers
The PCA9541A provides 4 different types of interrupt:
To indicate to the former I
2
C-bus master that it is not in control of the bus anymore
To indicate to the new I
2
C-bus master that:
The bus recovery/initialization has been performed and that the downstream
channel connection has been done (built-in bus recovery/initialization active).
A ‘bus not well initialized’ condition has been detected by the PCA9541A when the
switch has been done (built-in bus recovery/initialization not active). This
information can be used by the new master to initiate its own bus
recovery/initialization sequence.
Indicate to both I
2
C-bus upstream masters that a downstream interrupt has been
generated through the INT_IN
pin.
Functionality wiring test.
7.4.1 Bus control lost interrupt
When an upstream master takes control of the I
2
C-bus while the other channel was using
the downstream channel, an interrupt is generated to the master losing control of the bus
(INT
line goes LOW to let the master know that it lost the control of the bus) immediately
after disconnection from the downstream channel.
By setting the BUSLOSTMSK bit to ‘1’, the interrupt is masked and the upstream master
that lost the I
2
C-bus control does not receive an interrupt (INT line does not go LOW).
7.4.2 Recovery/initialization interrupt
Before switching to a new upstream channel, an automatic bus recovery/initialization can
be performed by the PCA9541A. This function is requested by setting the BUSINIT bit to
‘1’. When the downstream bus has been initialized, an interrupt to the new master is
generated (INT
line goes LOW).
By setting the BUSINITMSK bit to ‘1’, the interrupt is masked and the new master does
not receive an interrupt (INT
line does not go LOW).
When the automatic bus recovery/initialization is not requested, if the built-in bus sensor
function (sensing permanently the downstream I
2
C-bus traffic) detects a non-idle
condition (previous bus channel connected to the downstream slave channel, was
between a START and STOP condition), then an interrupt to the new master is sent (INT
line goes LOW). This interrupt tells the new master that an external bus
recovery/initialization must be performed. By setting the BUSOKMSK bit to ‘1’, the
interrupt is masked and the new master does not receive an interrupt (INT
line does not
go LOW).
Remark: In this particular situation, after the switch to the new master is performed,
a read of the Interrupt Status Register is not possible if the switch happened in the
middle of a read sequence because the new master does not have control of the SDA
line.

PCA9541AD/01,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
I/O Controller Interface IC MSTR SLCTR W/INTRPT LOGIC AND RESET
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union