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

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - FTDI Community

Pages: [1] 2 3 ... 61
1
Discussion - Hardware / Re: high power capabilities
« on: June 14, 2024, 12:06:48 pm »
Hi Arsen,

I will need to check with our R&D team for clarification. Could you please email in to support1@ftdichip.com and i can reply to you via email.

Best Regards
FTDI Community

2
Discussion - Hardware / Re: high power capabilities
« on: June 13, 2024, 04:10:49 pm »
Hi Arsen,

Are you referring to the high drive strength capability of the FIFO signals?

if so, you can set the pin drive strength using the FT60x configuration programmer. You can reference FT60X Configuration Programmer User Guide. The programmer can be downloaded from the utilities page on the FTDI website: utilities.

Best Regards
FTDI Community

3
General Discussion / Re: Does VNC2 support USB Smart Card class?
« on: June 13, 2024, 03:20:36 pm »
Hi Yvonne,

I don't believe so. However, you can try using the V2DAP firmware with our module, as a test.

So, unfortunately we don't have any example code for this.

You could also email your local support line at <tw.support1@ftdichip.com>. This is where the VNC2 team are located as well, so the support engineer can double check with them, if needed.

Best Regards
FTDI Community


4
Hello,

AN_373 contains example code only.

This code sets all to output:

UCHAR Mask = 0xFF; // all output (output (1) and input (0))

There is FT_GetQueueStatus/FT_Read code in AN_373 synchronous bit-bang that you can reference.

For FT_Read there should be no need to wait until 65536 bytes have been received. 
Just call FT_GetQueueStatus to see if there is any data to be read then perform FT_Read.

Code: [Select]
do
{
FT_GetQueueStatus(ftHandle, &RxBytes);
}
while (RxBytes != (w_data_len));

if (RxBytes > 0)
{
ftStatus = FT_Read(ftHandle, RxBuffer, RxBytes, &BytesReceived);
printf("%d bytes received\n \n", BytesReceived);
for (i = 0;i < BytesReceived;i++) printf("RxBuffer %d: %x\n", i,RxBuffer[i]);
.
.
.

If you have pins defined as input, you could get their current states from FT_GetBitMode API.

Maybe some other FTDI Community users can help you further.

Best Regards,
FTDI Community

5
Hello,

Sure if you try system clock to 60MHz, then use FT4222_SPIMaster_Init and set clock_div to CLK_DIV_2 (1/2 System Clock) which should give 30MHz on SCK.

Your issue could be weak SPI signals when you configure clock to 30MHz or 40MHz.
You can try adding pull high resistor on the SPI pins especially the clock.

If you are still having issues contact our Taiwan Support team:

tw.support1@ftdichip.com

Best Regards,
FTDI Community

6
Hello,

Yes you can use FT4222_SetClock to set the system clock to 80MHz, then use FT4222_SPIMaster_Init and set clock_div to CLK_DIV_2 (1/2 System Clock) which should give 40MHz on SCK.

Please make sure you are using the latest version of LibFT4222:

https://ftdichip.com/software-examples/ft4222h-software-examples/

And reference AN_329 User Guide for LibFT4222.

Best Regards,
FTDI Community

7
Hi,

Could you please contact your local support line at: cn.support@ftdichip.com. They will be able to help you.

Best Regards
FTDI Community

8
Hello,

I can confirmed that the maximum SCK in SPI Master mode is 40MHz.

We will update the UMFT4222EV datasheet.

Best Regards,
FTDI Community

9
Discussion - Software / Re: problem with FT_SetChipConfiguration
« on: May 17, 2024, 11:56:19 am »
Hi,

The source code for the FT60x Chip Configuration Programmer cannot be given out.

could you please email support1@ftdichip.com? we can then discuss your issue further.

Best Regards
FTDI Community

10
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

11
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

12
Hi Tony,

The default for these GPIO pins is TriSt-PU. See table 5.1 in FTDI Device Input Output pin States.

what are you planning on connecting the GPIOH pins to? have you tried connecting the pins to a slave device and performing a GPIO read?

Best Regards
FTDI Community

13
Discussion - Software / Re: FT2232hpq
« on: April 10, 2024, 10:20:45 am »
Hello,

When using LibMPSSE, GPIOL[0:3] can only be used as SPI chip selects.
 
When using LibMPSSE, there is no way to control GPIOL[0:3] as GPIO.
 
LibMPSSE demonstrates controlling the higher line bytes (GPIOH) while using SPI on the lower line bytes using the following functions:
 
FT_WriteGPIO
FT_ReadGPIO
 
If you want to control some of the unused lower line bytes on the same ADBUS as SPI then see AN_411 FTx232H MPSSE I2C Master Example in C which demonstrates GPIO usage with MPSSE using D2xx direct (not using LibMPSSE).
This could be used as a base to understand using both SPI/GPIO in the same code.
OK this example is for I2C but the same principles apply to SPI.

Best Regards
FTDI Community

14
Hello,

Please confirm which version of the D2xx driver and LibFT4222 that you are using?

Are you using custom FT4222H hardware? Do you see the same issue with our UMFT4222EV-D?

Could the I2C slave be at fault rather than the FT4222H I2C master?

When this happens maybe you can perform a software reset rather than having to force quit or restart?
See FT4222_ChipReset API. You can also try these D2xx based APIs:

FT_Purge
FT_ResetDevice
FT_ResetPort
FT_Rescan
FT_Reload
FT_CyclePort

Best Regards,
FTDI Community

15
Hello,

Unfortunately the LibFT4222 source code can't be shared as it's exposes secrets of our vendor class devices.

Please contact us via email on support1@ftdichip.com and we'll contact our R&D team to see if we can provide a 64 Bit (aarch64) build.

Best Regards,
FTDI Community

Pages: [1] 2 3 ... 61