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

Pages: [1] 2 3 ... 10
 1 
 on: Today at 10:25:35 AM 
Started by TonySH - Last Post by TonySH
Hi experts,
    I got a FTDI device module UMFT4222EV-D, my target are using a GPIO pin and a channel SPI with clock running as 40M Hz.
    So, I looked up the data sheet of the module UMFT4222EV and chipset FT4222, and found it supports different maximum clock frequency.

    In the "UMFT4222EV - USB2.0 to QuadSPI/I2C Bridge Development Module Datasheet Version 1.4" from the FTDI website.
   
Quote
3 FT4222H Features and Enhancement
...
The max SPI interface operating clock can be set up to 30MHz in master mode and 20MHz in slave mode.
...

    In the "FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC Datasheet Version 1.5" from the FTDI website.
   
Quote
4.1 Key Features
...
The maximum SPI interface operating clock can be set up to 40MHz in master mode and 20MHz in slave mode.
...

    There is 10MHz lost on UMFT4222EV-D device in master mode, what's going on the device? and for my target, which device I can use? Is there a suggestion?
   
Thanks
TonySH

 2 
 on: May 16, 2024, 02:52:49 PM 
Started by Arsen - Last Post by Arsen
According to the documentation, after FT_SetChipConfiguration the device should reboot. “The device will restart after the chip configuration is written to the device.” (AN_379 D3XX Programmers Guide, page 45, Remarks). But it does not reboot, so it doesn't open again.(FT_DEVICE_NOT_FOUND)
Where can I get the source code for the "FT60x Chip Configuration Programmer"
Thanks everyone.

 3 
 on: May 10, 2024, 09:57:44 AM 
Started by Arsen - Last Post by Arsen
Hello.
After the FT_SetChipConfiguration command, I cannot close and reopen the FT600 device connected via USB 2. What could be the reason? Thank you.

FT_CreateDeviceInfoList(&numDevs);
FT_Create(ptDest->SerialNumber, FT_OPEN_BY_SERIAL_NUMBER, &HandleFtdi)
FT_GetChipConfiguration(HandleFtdi, &oConfigurationData);
oConfigurationData.FIFOClock = CONFIGURATION_FIFO_CLK::CONFIGURATION_FIFO_CLK_66;
oConfigurationData.ChannelConfig = CONFIGURATION_CHANNEL_CONFIG_1;                 //CONFIGURATION_CHANNEL_CONFIG_1
oConfigurationData.FIFOMode = CONFIGURATION_FIFO_MODE_600;  //CONFIGURATION_FIFO_MODE_600
oConfigurationData.PowerAttributes &= 0xBF;   //0x40 is the flag of Self/Bus powered
res = FT_SetChipConfiguration(HandleFtdi, &oConfigurationData);
res = FT_Close(HandleFtdi);  //res = 0: good!
res = FT_Create(ptDest->SerialNumber, FT_OPEN_BY_SERIAL_NUMBER, &HandleFtdi);  //error :: FT_DEVICE_NOT_FOUND

 4 
 on: April 22, 2024, 01:44:42 PM 
Started by AndreiBu - Last Post by FTDI Community
Hello,

This issue has been root caused.

Device manager can show “FTDI CHIP” as the driver provider.
This means that, this driver can be installed by the installer provided in the package.
 
In most of the cases, the installer is not required and WinUSB driver gets installed automatically.

What we have observed is, the issue happens when the installer in the package is executed. The issue is due to GUID mismatch.
The installer package is using a different ID, and this was causing the issue.
 
We have updated the installer files to use the Microsoft default GUID so that the application can work independent of driver version.

The updated package has been uploaded to our SFTP server.
 
1.   Please uninstall the existing drivers from device manager.
2.   Use the drivers from updated package.
3.   Install the drivers either from device manager or by using the installer in the package.

Please contact us if you would like to receive a beta of this update.

Best Regards,
FTDI Community

 5 
 on: April 19, 2024, 12:06:32 PM 
Started by Slava - Last Post by cioma
I believe you can switch between UART and MPSSE (I2C/SPI/JTAG) modes in software using set_bit_mode USB control request but I don't know if it's exposed in FTDI drivers.

 6 
 on: April 19, 2024, 12:01:34 PM 
Started by jaypdx - Last Post by cioma
I worked with FT2232H directly through libusb, without FTDI drivers.

Here are notes from my code regarding latency timer:

Set receive buffer latency timer (vendor-specific command)
Latency Timer is used as a timeout to flush short packets of data back to the host
The default is 16 ms, but it can be altered between 0 ms and 255 ms
At 0 ms latency packet transfer is done on every high speed microframe (every 125 us)
For MPSSE it's recommended to set it to the default 16 ms and use "send_immediate" command to send bytes back to host when required
This approach seems to be working fine for FT2232H but with FT232H there seems to be a latency delay present on the first small packet transfer therefore latency is set to 1
This was observed while programming SPI flash and checking its status register value

 7 
 on: April 19, 2024, 11:49:21 AM 
Started by sagar - Last Post by cioma
I've been working with FT2232H a lot but I don't use FTDI drivers, instead I work directly through libusb.

Quote
1. Does FT2232H support 30MHz at JTAG-TCK?

IIRC, yes, I think I measured it at some point.


Quote
2. Is it required for platform to provide 60MHz clock to FTDI or 12MHz crystal is sufficient? Or any other hardware change required?

12 MHz crystal is sufficient, nothing else is needed in HW.


Quote
3. Any reference driver/test to enable FT2232H JTAG TCK operating at 30MHz?

These are notes from my code:

Master clock is 60 MHz after /5 clock divider is disabled
required_clock = master_clock / (2 * (divider + 1))
divider = master_clock / required_clock / 2 - 1

If you set it to 30 MHz but actually measure 6 MHz then the /5 clock divider is enabled.


 8 
 on: April 17, 2024, 05:22:09 AM 
Started by sagar - Last Post by sagar
Hi

I was trying to use FT2232H Channel A as JTAG and configured it. I have enabled JTAGHiSpeed API's from driver and disabled divide_by_5, to get 30MHz as TCK. But when I probe, I see 6MHz at TCK Pin.

1. Does FT2232H support 30MHz at JTAG-TCK?
2. Is it required for platform to provide 60MHz clock to FTDI or 12MHz crystal is sufficient? Or any other hardware change required?
3. Any reference driver/test to enable FT2232H JTAG TCK operating at 30MHz?

 9 
 on: April 12, 2024, 02:59:01 AM 
Started by TonySH - Last Post by TonySH
Hi,
  I got it, thank you.

Best Regards
Tony

 10 
 on: April 11, 2024, 02:45:46 PM 
Started by TonySH - Last Post by FTDI Community
Hi Tony,

Your only option would be to add some external pulldown on the GPIOH pins. Even if they have been set as low and input, if there is no connection they will be pulled high by the internal pullups.

Best Regards
FTDI Community

Pages: [1] 2 3 ... 10