MPSSE FTDI Konfiguration

Gast #816746
Lesenswert?

Hallo,

ich beschäftige mich mit dem FTDI 2232D und soll ein USB-SPI Interface 
vom Rechner aufbauen. Der 2232D hat einen Mode der nennt sich MPSSE, mit 
dem soll man einfach und schnell einen Konverter USB ->SPI aufbauen 
können. Meine Frage zielt nun hinsichtlich der Aktivierung dieses Modes. 
Kann ich mit einem Terminal Programm die Aktivierungsdaten einfach über 
die Datenschnittstelle des USB Interfaces schicken um den IC für den 
Mode MPSSE zu konfigurieren. Oder geschieht das aussschließlich über die 
DLL Datei.

Vielen Dank
#821058
Lesenswert?

Hi, im Datenblatt kann man dazu folgendes finden:
Entweder per EEPROM oder mit der DLL Funktion

FT_SetBitMode


Enhanced Asynchronous and Synchronous Bit-Bang modes, MPSSE, and MCU 
Host Bus Emulation modes are enabled using the driver command set bit 
mode

Enhanced Asynchronous and Synchronous Bit-Bang modes, MPSSE, and MCU 
Host Bus Emulation modes are enabled using the D2XX driver command 
FT_SetBitMode.

The hex values used with this command to enable these modes are as 
follows-
Mode                       Value (hex)
Reset the IO bit Mode           0
Asynchronous Bit Bang Mode      1
MPSSE                           2
Synchronous Bit bang Mode       4
MCU Host bus Emulation          8
Fast Opto-Isolated Serial Mode  10



See application note AN2232L-02 “Bit Mode Functions for the FT2232D” for 
more details and examples.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren