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 ... 47
1
General Discussion / Re: Font L2 format
« on: January 21, 2022, 12:11:19 PM »
Hi,

The L2 format uses two bits per pixel, giving four levels of grayscale per pixel. The stride is the number of bytes which contain one row of the image.  44 bytes will have the data for 176 pixels as you get four pixels per byte.

In general, a font converted (for example by our Asset Builder) will have the characters arranged as a vertical bitmap (one character wide by four tall if you have four letters) if you were to view it as an image (the asset builder outputs a png of the converted font where you can see this).

When displaying the font, make sure to set your format to L2 so that EVE knows how to display it.
If you look through the data then each pixel will be two bits and so look at pairs of bits for each pixel.

What settings did you use in the Asset Builder to convert it and what code were you using to display it?

p.s. We have a new forum for EVE on our BRT Community and so we recommend to post any EVE questions there http://www.brtcommunity.com/index.php?board=7.0

Best Regards, FTDI Community




2
Discussion - Software / Re: FT260 - how to read serial number?
« on: January 14, 2022, 08:38:45 AM »
Hi Joseph,
You have already contacted us by email.
Feel free to post any resolution here to help other community users

Regards
FTDI Community

3
Discussion - Software / Re: FT260 - how to read serial number?
« on: January 11, 2022, 04:57:26 PM »
Hi
You can use the FT Prog utility to read/ program the serial for these parts
https://ftdichip.com/wp-content/uploads/2021/05/FT_Prog_v3.12.11.594%20Installer.zip

Regards
FTDI Community


4
Hi,

Channel B can only be opened using LibMPSSE when being used as SPI.

if both devices work fine if you open FT4232H first, then the device seems to be operating fine. Are FT4232H and SIGMA 2 connected in any way or are they just both connected to the PC?

one other thing that could be causing the issue is that FT4232H is a hi speed device and SIGMA 2 is a full speed device. But this should'nt really matter if the two devices are not connected to each other.

Best regards,

FTDI Community

5
Hi
I need to check with colleagues but i believe that URB would be accessing the device without/rather than the FTDI driver. 
Have you looked at the D2xx programmers guide to see if there is a relevant function within D2xx?
https://ftdichip.com/wp-content/uploads/2020/08/D2XX_Programmers_GuideFT_000071.pdf

Regards
FTDI Community

6
hello,

Could you clarify if you are using the SIGMA 2 or the OMEGA 2, as you say both in the post. The SIGMA 2 is a full speed device, whilst the OMEGA 2 is a Hi speed device. the FT4232H is also a Hi speed device.

Is the only time the issue occurs when the SIGMA/OMEGA is connected before FT4232H is opened? And when it is just the FT4232H connected or it is opened before the other device is connected, everything works fine?

Here is some helpful documentation:

http://www.ftdichip.com/Support/Documents/AppNotes/AN_111_Programmers_Guide_for_High_Speed_FTCSPI_DLL.pdf

http://www.ftdichip.com/Support/Documents/AppNotes/AN_135_MPSSE_Basics.pdf

Best regards

FTDI Community

7
Discussion - Software / Re: FT4222H - Clock rate issues and pauses. Again?
« on: December 03, 2021, 11:40:19 AM »
Hello,

I'm not 100% sure but I was wondering if the MPSSE-based FT232H might be suitable but it would depend if the system needs to check ACK as if so it would definitely have gaps.

Note that any of the devices could have gaps (at the very least where data is split across USB packets and frames) and the timing could also vary depending on USB bus conditions. For high throughput devices, they use bulk USB transfers and these have their latency and assigned bandwidth determined by the host and by the bus conditions (other devices connected) and so I would say that it isn't possible to have a 100% guaranteed gap or latency.

For specifc cases where the gaps are important, having additional processing on the device end may be one consideration(for example an MCU or logic device with an FT232H in async FIFO mode feeding data at up to 8MBytes/sec) and the MCU then outputting the I2C data and even checking the ACK.

If you definitely dont need to check the ACK, we could do a basic check with a UM232H (acting as USB-I2C via MPSSE in place of the UMFT4222H) to see how writing a stream of 100 bytes etc. looks if it would help you determine if it is worth pursuing,

Best Regards, FTDI Community



8
Hi,

We do have some other documentation that will be able to help you. the draft application note about optimizing USB device communication goes over transfer sizes and data transfer optimization for both reads and writes.

if you email me at support4@ftdichip.com I will be able to send it to you.

here is some more documentation that may be able to help:

https://ftdichip.com/wp-content/uploads/2020/08/AN232B-04_DataLatencyFlow.pdf
https://www.ftdichip.com/Support/Documents/AppNotes/AN232B-03_D2XXDataThroughput.pdf

the D2XX driver has a function called FT_Purge which can be used to clear the buffers. This is shown in section 3.32 of the D2XX programmers guide

https://ftdichip.com/wp-content/uploads/2020/08/D2XX_Programmers_GuideFT_000071.pdf

Also, thank you for your feedback concerning our documentation. i assure you we have a review system for all of our documentation and we will take your feedback under consideration.

Please let me know if you have anymore questions.

Best Regards,

FTDI Community

9
Hi,

Setting the timeout to 0 just means that the timeout is infinite, or until the task has been completed. There should be no real consequences to dong this.

Best Regards,

FTDI Community 

10
Discussion - Drivers / Re: Relinkable object files for libft4222
« on: November 29, 2021, 10:40:06 AM »
Hi,
The libftd2xx distribution has the object files needed to recompile with as required by the libusb license.   You should bundle the object files for libftd2xx as well as the .a/.so file with your libft4222 object files. There‚Äôs no general need to provide a Makefile or internal headers.   This can be done using the Jenkins as you already take the tar.gz file for each platform.

Regards
FTDI Community

11
Discussion - Software / Re: FT4222H - Clock rate issues and pauses. Again?
« on: November 26, 2021, 06:22:51 PM »
Hello,

We checked with our dev team on this and it is not possible to completely avoid the small gaps between the bytes.

The start-up byte for the full-speed is fixed at 100Kbps and is enabled when you go above 1M and so if you run at 1M or less you can avoid it. However, you would not be able to change the speed of this byte.

I'm not sure if it will be possible to reduce those short pauses any further than what you had seen at 1MHz unfortunately.

Does your target device need the interface to check the ACK/NAK status which it returns?

Best Regards, FTDI Community

12
Discussion - Software / Re: FT201X - How to purge the FX-Buffer
« on: November 26, 2021, 03:10:49 PM »
Hi ,
Can you try FT_Purge? This function purges receive and transmit buffers in the device.

Regards
FTDI Community

13
Discussion - Drivers / Re: VCP driver on macOS 11
« on: November 18, 2021, 04:00:49 PM »
Hello,

We have received your email and are in contact with our R&D team about this.

Please continue to work with us on email as the forum is maybe not the best medium to get the quickest support.

Best Regards,
FTDI Community

14
Discussion - Drivers / Re: Windows (Universal) D2XX driver
« on: November 16, 2021, 12:48:52 PM »
Hi,

The Universal Windows Driver (Windows 10 and Windows 11 only) enables developers to create a single driver package that runs across multiple different device types, from embedded systems to tablets and desktop PCs.

The Windows Desktop driver will suit most users who want to use our products on a Windows PC.

We have just updated the website to include this information.

Best Regards,

FTDI Community

15
Hi,

we were able to recreate the high CPU load on the raspberry pi. you can add the following setting at the beginning of your code which will resolve this issue: ftStatus = FT_SetTimeouts(ftHandle, 5000,0);

concerning the gaps between bytes, sorry this is a firmaware limitation so there is no way to resolve it.

Best Regards

FTDI Community

Pages: [1] 2 3 ... 47