Difference between revisions of "I2C-RPT"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 22: | Line 22: | ||
* Arduino driver and example code | * Arduino driver and example code | ||
* Raspberry Pi example code | * Raspberry Pi example code | ||
+ | |||
+ | == Connectors == | ||
+ | |||
+ | === J1-J4 - I2C Slave ports ==== | ||
+ | |||
+ | # GND | ||
+ | # VCC | ||
+ | # SDA | ||
+ | # SCL | ||
+ | # INT* | ||
+ | |||
+ | === J5 - I2C Host port ==== | ||
+ | |||
+ | # GND (G) | ||
+ | # VCC (V) | ||
+ | # SDA (D) | ||
+ | # SCL (C) | ||
+ | # INT* (I) | ||
== Drivers/Example Code == | == Drivers/Example Code == |
Revision as of 00:46, 1 April 2022
Contents
Features
- I2C Hub / Repeater / Replicator / Multiplexer / De-multiplexer
- Four I2C Ports
- Host port Controlled via I2C
- PCA9544A IC Multiple vendors
- 3.3V or 5V host operation
- 3.3V or 5V slave ports operation
- Voltage translation between the ports
- Example: A Raspberry PI which runs 3.3V can control an I2C device which runs at 5V
- Interrupt line on each channel and host
- 100KHz/400KHz operation
- On-board termination resistors
- 49x49mm form factor
- 4 solid 4-40 mounting holes
- Arduino driver and example code
- Raspberry Pi example code
Connectors
J1-J4 - I2C Slave ports =
- GND
- VCC
- SDA
- SCL
- INT*
J5 - I2C Host port =
- GND (G)
- VCC (V)
- SDA (D)
- SCL (C)
- INT* (I)
Drivers/Example Code
- GitHub Repo - Arduino Driver code
- Github Repo - Example code
Schematic
Testing
Test Station Hardware
- Arduino Based Test Station
- Built in I2C mux on BLACK-PILL-HUB is set to offset=0x1 so it does not conflict
- Uses 4x of I2CIO-8 cards
- Unit Under Test (UUT)
- I2C address offset = 0x0
- UUT J5 connects directly to I2C port (J7) on the BLACK-PILL-HUB
- Install H1-H4 shunts
- Powers I2CIO-8 cards from UUT
Test Station Software =
Test Procedure
- Connect I2C