Check new ftdi-embedded-hal project in the ftdi-rs organization for the up-to-date implementation of FTDI MPSSE embedded HAL.
ftdi-embedded-hal
Implementation of the embedded-hal traits for FTDI chips supporting Multi Protocol Synchronous Serial Engine (MPSSE).
This implementation of embedded-hal
allows you to work with various SPI/I2C devices over USB. If your Linux board has accessible I2C or SPI pins, then it is possible to connect I2C/SPI devices directly. For this purpose linux-embedded-hal
implementation of embedded-hal
traits can be used. However normal Linux workstations usually do not have direct access to SPI/I2C, but have enough USB ports. In this case ftdi-embedded-hal
can be used. For instance, this may come particularly handy for playing with various I2C/SPI devices, e.g. trying them out or working on driver development.
Currently support for GPIO/SPI/I2C on FT232H and FT2232H chips has been implemented. There are many development boards and modules for FTDI chips. The following modules have been used for development and testing:
Brief list of features supported out of the box:
Limitations:
TODO:
Projects
ftdi
- Rust wrapper over libftdi1 library for FTDI devicesembedded-hal
- Hardware Abstraction Layer (HAL) for embedded systemslinux-embedded-hal
- implementation of the embedded-hal
traits for Linux devicesembedded-hal
interfaceData sheets for FTDI chips and development modules:
Application notes provided by FTDI: