Difference between revisions of "I2C-RPT-08"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 33: | Line 33: | ||
* [https://github.com/land-boards/lb-Arduino-Code/tree/master/libraries/LandBoards_I2CRPT08 Github repo] - Driver code | * [https://github.com/land-boards/lb-Arduino-Code/tree/master/libraries/LandBoards_I2CRPT08 Github repo] - Driver code | ||
− | * [https://github.com/land-boards/lb-Arduino-Code/ | + | * [https://github.com/land-boards/lb-Arduino-Code/blob/master/LBCards/I2CRPT08/I2CIO8X8wMux/I2CIO8X8wMux.ino Github repo] - Example code |
=== Programming Note === | === Programming Note === |
Revision as of 13:09, 1 August 2020
Contents
Features
- I2C Hub / Repeater / Replicator / Multiplexer / De-multiplexer
- PCA9548A
- Eight I2C Ports
- 100KHz/400KHz operation
- Host port
- Controlled via I2C
- 3.3V or 5V host operation
- 3.3V or 5V slave ports operation
- Voltage translation between the ports
- Ex: a Raspberry PI which runs 3.3V can control I2C devices which run at 5V
- On-board termination resistors
- 49x49mm form factor
- 4 solid 4-40 mounting holes
- Arduino Based Test Station
- Connects directly to I2C port on the Blue Pill Hub
- I2C address offset = 0x0
- Blue Pill Hub is set to offset=0x1 so it does not conflict
- Uses 8x of I2CIO-8 cards
- ODAS Tester Github Repo
Schematic
Drivers/Example Code
- Github repo - Driver code
- Github repo - Example code
Programming Note
- The mux chip allows multiple or single I2C ports to be written at the same time
- To only enable one port at a time make sure you disable a channel after use or disable last channel used before enabling new channel
Testing
- Arduino Based Test Station
- 9600 baud, no hardware handshake
- Uses 8x of I2CIO-8 cards
- On UUT
- Install jumpers into A0-A2
- I2C address offset = 0x0
- BLUE-PILL-HUB is set to offset=0x1 so it does not conflict
- Install jumpers into A0-A2
- Connect directly to I2C port on the BLUE-PILL-HUB
- ODAS Tester Github Repo
Issues
- Silkscreen shows SCK, should be SCL