Skip to content

POSIX

We provide the following ports, which should be compatible with most POSIX compliant operating systems:

HALs for these ports are available in the libtropic/hal/posix/ directory.

TCP

We use this port with the TROPIC01 Python Model, which acts as a server, to which Libtropic connects via the specified TCP port. See our TROPIC01 Model Tutorials to quickly get started.

Disclaimer

The TCP HAL is implemented with consideration of the following:

  1. It is primarily targeted for use with the TROPIC01 Python Model.
  2. To ensure reproducibility of randomized functional tests, the rand function is used in the lt_port_random_bytes function with a known random seed instead of more cryptographically secure solutions.

Interrupt Pin Support

The TCP HAL does not support TROPIC01's interrupt pin.

TROPIC01 USB Devkit

Libtropic communicates with our USB Devkits using the USB protocol. See our TROPIC01 USB Devkit Tutorials to quickly get started.

Raspberry Pi 4 Issues

When testing with Raspberry Pi 4, we have encountered issues with its USB, which seems to lose some of the USB packets sent to it.

Raspberry Pi 5

Fortunately, Raspberry Pi 5 fixes these issues and the USB Devkit works without any issues.

Interrupt Pin Support

The USB Devkit port does not support TROPIC01's interrupt pin.