pca9541bs/03 NXP Semiconductors, pca9541bs/03 Datasheet - Page 8

no-image

pca9541bs/03

Manufacturer Part Number
pca9541bs/03
Description
2-to-1 I2c Master Selector With Interrupt Logic And Reset
Manufacturer
NXP Semiconductors
Datasheet
NXP Semiconductors
PCA9541_5
Product data sheet
8.3 Interrupt Enable and Control registers description
Only the 2 least significant bits are affected by the AI flag.
Unused bits must be programmed with zeros. Any command code (write operation)
different from ‘000AI 0000’, ‘000AI 0001’, and ‘000AI 0010’ will not be acknowledged. At
power-up, this register defaults to all zeros.
Table 4.
Each system master controls its own set of registers, however they can also read specific
bits from the other system master.
When a master seeks control of the bus by connecting its I
PCA9541 downstream channel, it has to write to the Control Register (Reg#01).
Bits MYBUS and BUSON allow the master to take control of the bus.
The MYBUS and the NMYBUS bits determine which master has control of the bus.
Table 9
master can take control of the bus when it wants regardless of whether the other master is
using it or not.
The BUSON and the NBUSON bits determine whether the upstream bus is connected or
disconnected to/from the downstream bus.
connected or disconnected.
Internally, the state machine does the following:
B1
0
0
1
1
Fig 7. Internal register map
During a write operation, the PCA9541 will acknowledge bytes sent to the IE and
CONTROL registers, but will not acknowledge a byte sent to the Interrupt Status
Register since it is a read-only register. The 2 LSBs of the Command Code do not roll
over to ‘00’ but stay at ‘10’.
If the combination of the BUSON and the NBUSON bits causes the upstream to be
disconnected from the downstream bus, then that is done. So in this case, the values
of the MYBUS and the NMYBUS do not matter.
CONTROL
ISTAT
IE
SDA_MST0
SCL_MST0
MASTER 0
explains which master gets control of the bus and how. There is no arbitration. Any
B0
0
1
0
1
Command Code register
REG#00
REG#01
REG#10
Register name
IE
CONTROL
ISTAT
not allowed
Rev. 05 — 1 October 2007
2-to-1 I
CONTROL 0
ISTAT 0
2
C-bus master selector with interrupt logic and reset
IE 0
Type
R/W
R/W
R only
PCA9541
Table 10
Register function
interrupt enable
control switch
interrupt status
CONTROL 1
ISTAT 1
explains when the upstream bus is
IE 1
002aab392
2
C-bus channel to the
REG#00
REG#01
REG#10
PCA9541
© NXP B.V. 2007. All rights reserved.
SCL_MST1
SDA_MST1
MASTER 1
CONTROL
ISTAT
IE
8 of 43

Related parts for pca9541bs/03