PCA9547 8 channel I2C bus multiplexer
The PCA9547 is an octal bidirectional translating multiplexer controlled by the I2C-bus. The SCL/SDA upstream pair fans out to eight downstream pairs, or channels.
Hello World
Import programpca9547_Hello
HelloWorld program for PCA9547: an I2C bus multiplexer control library. PCA9547 is an I2C multiplexer which enables to select 1:8 multiplexed I2C bus. The multiplexer is useful for deviding I2C bus to avoiding slave address conflict and separating capacitive loads. For more information about PCA9547: http://www.nxp.com/documents/data_sheet/PCA9547.pdf
Library
Import libraryPCA9547
PCA9547: an I2C bus multiplexer control library. PCA9547 is an I2C multiplexer which enables to select 1:8 multiplexed I2C bus. The multiplexer is useful for deviding I2C bus to avoiding slave address conflict and separating capacitive loads. For more information about PCA9547: http://www.nxp.com/documents/data_sheet/PCA9547.pdf
Pinout
Datasheet
http://www.nxp.com/documents/data_sheet/PCA9547.pdfNotes
PCA9547

The PCA9547 is an octal bidirectional translating multiplexer controlled by the I2C-bus. The SCL/SDA upstream pair fans out to eight downstream pairs, or channels. Only one SCx/SDx channel can be selected at a time, determined by the contents of the programmable control register. The device powers up with Channel 0 connected, allowing immediate communication between the master and downstream devices on that channel.

The PCA9547has 8 slave side ports and one of those can be selected by command via I2C bus.

The PCA9547 can have 8 unique slave address. So 8 independent PCA9547 can be on the same I2C bus.
I2C multiplexer and switch family
| type | channels | mux or sw | interrupt | reset | I2C frequency | remark |
|---|---|---|---|---|---|---|
| PCA9540B | 1:2 | multiplexer | no | no | 400kHz | |
| PCA9541A | 2:1 | multiplexer | yes | yes | 400kHz | 2 master side mux |
| PCA9541 | 2:1 | multiplexer | yes | yes | 400kHz | 2 master side mux |
| PCA9542A | 1:2 | multiplexer | yes | no | 400kHz | |
| PCA9543A/B/C | 1:2 | switch | yes | yes | 400kHz | A, B and C have different slave address setting ranges |
| PCA9544A | 1:4 | multiplexer | yes | no | 400kHz | |
| PCA9545A/B/C | 1:4 | switch | yes | yes | 400kHz | A, B and C have different slave address setting ranges |
| PCA95456A | 1:4 | switch | no | yes | 400kHz | |
| PCA9646 | 1:4 | switch | no | yes | 1MHz | Buffered I/O |
| PCA95457 | 1:8 | multiplexer | no | yes | 400kHz | This library was written for this chip |
| PCA95458A | 1:8 | switch | no | yes | 400kHz |
You need to log in to post a discussion
Discussion topics
| Topic | Replies | Last post |
|---|---|---|
| C program example for PCA9547 8 channel I2C bus multiplexer | 0 |
11 Jun 2018
by
|
| C program example for PCA9547 8 channel I2C bus multiplexer | 0 |
31 May 2018
by
|
