Hi,
We don't have any references for doing SPI communication using Bit-Bang. I would recommend that you use the MPSSE for SPI communication instead.
To use I2C/SPI as a master (no slave functionality), see AN_135 MPSSE Basics and our existing MPSSE Example projects:
MPSSE Examples There are two options to use I2C/SPI modes with the MPSSE engine:
a. Use LibMPSSE libraries. Example code is provided with the download. Source code is also provided.
b. Use D2XX drivers direct. Example code is shown at I2C / SPI. AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes provides the necessary information.
Option b is the best option to use the D2XX drivers direct (no dependency on libMPSSE library).
Also please also note, SPI modes 1 and 3 are not supported with our MPSSE engine.
So please check that your SPI device doesn’t work with these modes.
You can find all the referenced documentation above,
here