1
Discussion - Software / 30MHz SPI CLOCK Frequency in FT2232H mini module
« on: May 11, 2022, 01:58:22 PM »
Hello,
I am using FT2232H mini module with lib-MPSSE file for SPI.
We want 30MHz SPI Clock. we tried to change clockrate function from lib-MPSSE example code so we entered frequency which we want but not able to achieve 30MHz clockrate.
channelConf.ClockRate = 5000;
channelConf.LatencyTimer= 255;
channelConf.configOptions = \
SPI_CONFIG_OPTION_MODE0 | SPI_CONFIG_OPTION_CS_DBUS3;
channelConf.Pin = 0x00000000;/*FinalVal-FinalDir-InitVal-InitDir (for dir 0=in, 1=out)*/
We tried to change above example. so can anyone help me with this code and how to get 30MHz clock rate.
I am using FT2232H mini module with lib-MPSSE file for SPI.
We want 30MHz SPI Clock. we tried to change clockrate function from lib-MPSSE example code so we entered frequency which we want but not able to achieve 30MHz clockrate.
channelConf.ClockRate = 5000;
channelConf.LatencyTimer= 255;
channelConf.configOptions = \
SPI_CONFIG_OPTION_MODE0 | SPI_CONFIG_OPTION_CS_DBUS3;
channelConf.Pin = 0x00000000;/*FinalVal-FinalDir-InitVal-InitDir (for dir 0=in, 1=out)*/
We tried to change above example. so can anyone help me with this code and how to get 30MHz clock rate.