PaHUB, is a expander for I2C GROVE PORTA(red port on M5Core). 1-to-6. If you want connect mutiple I2C slave devices and some of them may sharing the same address, this unit can resolve I2C address conflicts.
At the Unit PaHUB's heart is an TCA9548A produced by TI. The TCA9548A device has eight bidirectional translating switches that can be controlled through the I2C bus. The SCL/SDA upstream pair fans out to downstream pairs, or channels. Any individual SCn/SDn channel or combination of channels can beselected, determined by the contents of the programmable control register.
Technically this Unit allows mutiple levels of nesting, for example you can wire PaHUBs to the root PaHUB to get more seats for your I2C slave devices, if you have 7 of them you can have up to 36 I2C GROVE ports, which makes it easier to get your project more organized.
The I2C address of this unit is 0x77 (changable by resistors).
Notice: Please pay attention to the channel order while programing
- I2C GROVE PORTA Expander
- Two Lego-compatible holes
- Nested allowed
- 1x PaHUB Unit
- 1x Grove Cable
- Datasheet - TCA9548A
Driver firmware -
Test code -
protovol type - I2C
address - 0x77