Hello,
Unfortunately we don’t have any support for MATLAB.
However there may be other FTDI Community users who can help you.
As for SPI Master communication with FTDI C232HD-DDHSP-0 (contains FT232H) see the following information:
To use I2C/SPI, see
AN_135 FTDI MPSSE Basics and our existing MPSSE Example projects:
https://ftdichip.com/software-examples/mpsse-projects/
There are two options to use I2C/SPI modes with the MPSSE engine:
a. Use LibMPSSE libraries. Example code is provided with the download.
b. Use D2XX drivers direct. Example code is shown at
I2C /
SPI. [urlhttp://www.ftdichip.com/Support/Documents/AppNotes/AN_108_Command_Processor_for_MPSSE_and_MCU_Host_Bus_Emulation_Modes.pdf]AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes[/url] provides the necessary information.
Option b is the best option to use the D2XX drivers direct (no dependency on libMPSSE library).
Best Regards,
FTDI Community