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

Dependencies:   LM75B PCA9547 mbed

What is this?

This is a sample code to demonstrate the PCA9547. The PCA9547 is a 8 channel multiplexer for I2C bus.
The code shows how the bed can access the I2C device (LM75B) through PCA9547.

PCA9547_and_LM75B
Demo hardware block diagram

/media/uploads/okano/pca9547_connections.png
Connection between mbed and PCA9547

Information

For more information, please visit component page.

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.

History

Sample code update: instance declaration as global default tip

2015-02-23, by okano [Mon, 23 Feb 2015 06:28:51 +0000] rev 5

Sample code update: instance declaration as global


first published version

2014-07-01, by okano [Tue, 01 Jul 2014 00:41:00 +0000] rev 4

first published version


correction: typo in comment

2014-07-01, by okano [Tue, 01 Jul 2014 00:37:05 +0000] rev 3

correction: typo in comment


disable function test

2014-07-01, by okano [Tue, 01 Jul 2014 00:28:38 +0000] rev 2

disable function test


test program for first library

2014-07-01, by okano [Tue, 01 Jul 2014 00:10:44 +0000] rev 1

test program for first library


very first test code

2014-06-30, by okano [Mon, 30 Jun 2014 23:57:31 +0000] rev 0

very first test code