Skip to content

Testing a box hardware

About

Testing in a box hardware is a compact one-stop-shop solution that provides communication with a device under test via CAN, SPI, I2C and serial. It also allows users to connect up to 3 additional USB peripherals and is equipped with USB HID emulation and optocoupled GPIOs.

Product images:

TIAB hardware images - 1

TIAB hardware images - 2

Pin out diagram

 TIAB pinout diagram

FT232H's IDC breakout pin description:

IDC pin breakout out is same for FT232H with PID: 0x0A and 0x0C and VID: 0x27bd. Pin 0 is AC_0 and is marked with a on the silkscreen.

AC_1 AC_3 AC_5 AC_7 AC_9 +3v3 AD_6 AD_4 AD_2 AD_0
AC_0 AC_2 AC_4 AC_6 AC_8 GND AD_7 AD_5 AD_3 AD_1

Installing KiCAD 7:

Hardware is developed using kicad 7. Download instructions can be found here.

Project setup:

Project uses sub-modules to get symbols and footprints. To clone to repo run:

git clone --recurse-submodules -j4  git@gitlab.com:CodethinkLabs/testing-in-a-box/testing-in-a-box-hardware.git

How to use:

NOTE: Tools for TIAB hardware are currenly under development.

  • Documentation and info about USB switch can be found here.
  • TIAB hardware has 3x FT232Hs which can used as USB - FIFO, USB - serial, USB - I2C and USB - SPI. Docs for FT232H can be found here. Docs for pylibftdi can be found here.
  • Onboard esp32c3 allows to control status RGB LED and flash EEPROMs for the FE1.1s USB hubs. Firmware for esp32c3 can be found here. To flash FE232H's EEPROMs follow README.

How to connect I2C:

PORT ON THE IDC I2C PORT
GND GND
+3.3v VCC
AD_0 SCL
AD_1 SDA
AD_2 SDA

How to connect SPI:

PORT ON THE IDC SPI PORT
GND GND
+3.3v VCC
AD_0 SCK
AD_1 SDI
AD_2 SDO
AD_3 CS

How to connect serial:

PORT ON THE IDC SERIAL PORT
AD_0 TX
AD_1 RX
AD_2 RTS
AD_3 CTS
AD_4 DTR
AD_5 DSR
AD_6 DCD