I purchased Adafruit FT232H Breakout - General Purpose USB to GPIO+SPI+I2C from Amazon
- First, check if device is detected
$ lsusb
Bus 003 Device 018: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
Library information from Adafruit available here.
- D0 through D7: ADBUS pins on FT232H
- C0 through C9: ACBUS pins on FT232H. C8, C9 are not controlled by software.
Out of the box, FT232H is configured to act as USB to serial UART controller. Use serial device /dev/tty*.
Adafruit offers a Python library for this.
- D0: SCK / Clock
- D1: MOSI / Data out
- D2: MISO / Data in
- D3: CS (not sure? document states there is no explicit chip select or enable pin and to use gpio)
- D0: TCK
- D1: TDI
- D2: TDO
- D3: TMS