FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: ft2232h spi 30Mhz  (Read 14095 times)

logcat00

  • Newbie
  • *
  • Posts: 2
    • View Profile
ft2232h spi 30Mhz
« on: August 14, 2023, 05:07:19 PM »

hi ~
May I ask if using the 0x13 command and 0x11 command can achieve an SPI speed of 30 MHz?
I have found that 3-line SPI (9-bit) cannot achieve 30 MHz. Is there a 9-bit command available?
see AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes .
thank you so mcuh!!
« Last Edit: August 15, 2023, 02:17:26 AM by logcat00 »
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 897
    • View Profile
Re: ft2232h spi 30Mhz
« Reply #1 on: August 15, 2023, 04:16:01 PM »

Hello,

According to LibMPSSE-SPI User Guide when using our MPSSE library it's possible to run at 30Mhz:

uint32 ClockRate
This parameter takes the value of the clock rate of the SPI bus in hertz. Valid range for ClockRate is 0 to 30MHz.

So you can maybe try with our library which has source code provided for reference.

These also may be useful to you:

AN_114 Interfacing FT2232H Hi-Speed Devices To SPI Bus
AN_180 FT232H MPSSE Example – USB Current Meter using the SPI Interface

Other software examples exist:

https://ftdichip.com/software-examples/mpsse-projects/#usb-to-spi-interface

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.

We also have a support office in Taiwan.

Best Regards,
FTDI Community
Logged