# SIB header The SIB header is a 3 rows and 32 pins header that connect the SIB to the MIB. ![SIB header](/_images/hardware/sib-header.jpg){align=center} ## Header pinout The SIB header pinout is defined as below: | | A | B | C | |----|-------------|---------------|-----------------| | 1 | GND | GND | GND | | 2 | +12V_SW | +12V_SW | +12V_SW | | 3 | GND | GND | GND | | 4 | +12V_SW | +12V_SW | +12V_SW | | 5 | GND | GND | GND | | 6 | +5V_SW | +5V_SW | +5V_SW | | 7 | GND | GND | GND | | 8 | +5V_SW | +5V_SW | +5V_SW | | 9 | GND | GND | GND | | 10 | +3V3_SW | +3V3_SW | +3V3_SW | | 11 | GND | GND | GND | | 12 | +1V8_SW | +1V8_SW | +1V8_SW | | 13 | +12V | +3V3 | +1V8 | | 14 | GND | GND | GND | | 15 | DUT_OPTO_4C | +5V | I2C_SIB_3V3_SCL | | 16 | DUT_OPTO_3C | GND | I2C_SIB_3V3_SDA | | 17 | DUT_OPTO_2C | MIB_VIO | DUT_OPTO_2E | | 18 | DUT_OPTO_1C | GND | DUT_OPTO_1E | | 19 | DUT_RST | DDT_CS | I2C_MIB_VIO_SCL | | 20 | DUT_PWR | DDT_SCK | I2C_MIB_VIO_SDA | | 21 | GND | DDT_MISO | GND | | 22 | DDT_GPIO_9 | DDT_MOSI | SIB_UART1_CTS | | 23 | DDT_GPIO_8 | GND | SIB_UART1_RTS | | 24 | DDT_GPIO_7 | SIB_USB_H2_DM | SIB_UART1_TX | | 25 | DDT_GPIO_6 | SIB_USB_H2_DP | SIB_UART1_RX | | 26 | GND | GND | GND | | 27 | DDT_GPIO_5 | SIB_USB_H1_DM | SIB_UART3_TX | | 28 | DDT_GPIO_4 | SIB_USB_H1_DP | SIB_UART3_RX | | 29 | DDT_GPIO_3 | GND | GND | | 30 | DDT_GPIO_2 | DDT_CAN_L | SIB_UART4_TX | | 31 | DDT_GPIO_1 | DDT_CAN_H | SIB_UART4_RX | | 32 | GND | GND | GND | :::{admonition} Header orientation :class: warning When using hardware design tools, the model for the SIB header is labeled the over way around! ::: ## Software usage ### Optocouplers Some optocouplers are available to toggle on and off virtual buttons. The buttons can be controlled with: ```shell laacli button 1 on laacli button 1 off ``` The different buttons are: * `DUT_OPTO_1C` and `DUT_OPTO_1E`: virtual button `1` * `DUT_OPTO_2C` and `DUT_OPTO_2E`: virtual button `2` * `DUT_RST`: `reset` button * `DUT_PWR`: `power` button :::{admonition} Unused pins :class: note `DUT_OPTO_3C` and `DUT_OPTO_4C` are not used. ::: ### Power rails The power pins, flagged with `_SW`, are managed power rails that can be controlled by laacli: ```shell laacli power 12v on laacli power 12v off laacli power 12v reset ``` The header provides 4 power rails: 1v8, 3v3, 5v and 12v. ### Serials The header provides 3 set of serials: * `SIB_UART1` as `/dev/ttycmx0`: DUT serial with hardware flow control * `SIB_UART3` as `/dev/ttycmx2`: LAA serial * `SIB_UART4` as `/dev/ttycmx3`: DUT serial `SIB_UART4` is also available via telnet: ```shell telnet localhost 2000 ``` ### USBs The header provide 2 USB ports that are always on at: * `SIB_USB_H1_DM` and `SIB_USB_H1_DP` * `SIB_USB_H2_DM` and `SIB_USB_H2_DP`