geomatsi / ftdi-embedded-hal-archive

Check https://github.com/ftdi-rs project for the up-to-date implementation of FTDI MPSSE embedded HAL.
MIT License
31 stars 6 forks source link
embedded-hal ft2232 ft232h ftdi gpio i2c rust spi

NOTE

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.

Devices

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:

Features, limitations, TODO

Brief list of features supported out of the box:

Limitations:

TODO:

Circuit examples

SPI nRF24L01+ breakout board

alt text

I2C EEPROM at24c04

alt text

Useful documents and links

Projects

Data sheets for FTDI chips and development modules:

Application notes provided by FTDI: