Skip to main content

Peripherals

A bench learns what's attached to it from one YAML file, peripherals.yaml. Each entry in the file declares one peripheral: which driver talks to it (its kind), where to find it, and which interfaces to expose.

The configuration file page covers the structure every entry shares: the fields common to all drivers, how interfaces get their addresses, configs and setups, and validation. Each driver page below then lists the settings that one driver accepts. To deploy the file or switch setups, see Peripherals & interfaces.

Drivers​

kindHardwareInterfaces
linux-ttyUSB-to-serial adapters, USB CDC devices, and on-board UARTsUART, raw character device, interactive terminal (TTY)
ftdi-ft232hFTDI FT232H, FT2232H and FT4232H USB chipsSPI, GPIO, relay, UART, interactive terminal (TTY)
mimick-hwiMIMICK HWI v1 and v2 hardware interface boardsGPIO, relay, and on an HWI v2, UART and TTY
relay-usbCH340-based 4-channel USB relay boardRelay
relay-esphomeNetwork relay board running ESPHomeRelay
stepper-pd1180Trinamic PD-1180 (TMCM-1180) stepper motor moduleStepper
network-interfaceThe bench's own Ethernet ports and WiFi radiosEthernet, WiFi
network-bridgeTwo or more bench network ports joined into one networkEthernet
softwareA container you supply that stands in for a hardware busSoftware (scripted read and write)

One physical board can need more than one driver. The MIMICK HWI v1 board, for example, carries its GPIO controller and three USB-to-UART bridges on one USB hub: mimick-hwi drives the GPIO, and each UART is its own linux-tty entry. The HWI v2 is a single USB device, so one mimick-hwi entry covers both its GPIO and its DUT console.