Transport Layer

The transport layer (L1) provides the physical communication interface with the TROPIC01 chip. PyTropicSquare supports multiple transport options to accommodate different platforms and use cases.

Available Transports

tropicsquare.transports.spi.SpiTransport

L1 transport for MicroPython machine.SPI.

tropicsquare.transports.spidev.SpiDevTransport

L1 transport for Linux spidev interface with manual GPIO CS control.

tropicsquare.transports.ftdi_mpsse.FtdiMpsseTransport

L1 transport for FTDI MPSSE SPI bridges.

tropicsquare.transports.uart.UartTransport

L1 transport for UART

tropicsquare.transports.network.NetworkSpiTransport

L1 transport for network-based SPI bridge.

tropicsquare.transports.tcp.TcpTransport

L1 transport for TCP connection to libtropic model/simulator.

Transport Selection Guide

  • SPI Transport - Direct hardware connection via SPI bus (MicroPython ESP32)

  • SPIDev Transport - Linux spidev interface with manual GPIO CS (Raspberry Pi / Linux)

  • FTDI MPSSE Transport - USB-to-SPI bridge via FTDI MPSSE (CPython)

  • UART Transport - Serial communication via UART (CPython, MicroPython Unix only - NOT ESP32)

  • Network-SPI Transport - SPI over network for remote chips (MicroPython ESP32)

  • TCP Transport - TCP connection to Tropic01 model server (development/testing)

Detailed Documentation