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 ... 51 52 [53] 54 55 ... 60
781
Discussion - Software / Re: FT813 CRC calculating and adressing
« on: July 30, 2018, 03:11:46 PM »
Hi Gokhan,

For Q1,
Yes, some commands such as CRC and GetPtr use the RAM_CMD FIFO to return the result. In these cases, you should still respect the rollover and should not try to get the result from an address beyond the end of the FIFO.

When you write the command, send the parameters replacing any result fields with dummy 0h values of the same size (in this case, all 3 parameters are 32-bit values including the result). Whilst CS is low, FT8xx will wrap the data around at (RAM_CMD+4095). Your own MCU's count of the offset should also perform a wrap-around.
void cmd_memcrc( uint32_t ptr, uint32_t num, uint32_t result );

Then update the write pointer and await the pointers being equal i.e. REG_CMD_READ == REG_CMD_WRITE.

Once equal, check the ending address WritePointer = REG_CMD_WRITE    This would be the 12th address as you mentioned in this example. (4092 plus 4 byte command plus 12 bytes of parameter)

Now you can do a 32-bit memory read of address (RAM_CMD + WritePointer - 4) & (4095) and you will be going back by 4 bytes taking account of rollover and reading the result. Therefore, you would do a read of the 8th address as you mentioned.

The REG_CMD_READ and REG_CMD_WRITE would still be pointing at the 12th address. You would use a memread32 to retrieve the 32-bit result value beginning at the 8th address.

For Q2,
You should always use the buffer as a true circular buffer. You should start your 3012 bytes of command from the current pointer position and should not write them back to 0.

Do you use burst writes? (keeping CS asserted and streaming the commands)?

If so, as you stream the data, the FT8xx will wrap around internally at 4095 back to 0 and so the commands will stay within the buffer.

Your own MCU code should also perform the rollover so that you can write the correct value to REG_CMD_WRITE at the end of the new list. e.g. MCU would track offset as ((2048+3012) & 4095)

Best Regards,
FTDI Community

782
Discussion - Software / Re: FT60X Isochronous Endpoint
« on: July 30, 2018, 11:45:58 AM »
Hello,

The FT60x supports Control, Bulk and Interrupt USB Transfer Types with up to 8 configurable endpoints, or PIPEs. This is detailed in the FT600-FT601 Datasheet:

http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT600Q-FT601Q%20IC%20Datasheet.pdf

Regards,
FTDI Community

783
Discussion - Drivers / Re: FTDI devices not shown in Device Manager
« on: July 27, 2018, 11:21:08 AM »
Hi,

Please email FTDI Support on support1@ftdichip.com where we will assist you further.

Regards,
FTDI Community




784
Discussion - Drivers / Re: Mini Module FT2232H has incorrect PID code
« on: July 23, 2018, 03:10:35 PM »
Hi,

The FT2232H Mini Module allows configuration with both USB Bus-powered and USB Self-powered designs. Can I ask you to double check that you having properly configured the module for your design. Have a look at page 7 of the Datasheet for assistance:

http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_FT2232H_Mini_Module.pdf

Regards,
FTDI Community

785
Hi,

The example may have an older version of the libFT4222H library (targeted to FT4222H rev B) inside. The FT81x modules use the revision C of the FT4222H

Please see the imports\LibFT4222H\lib folder inside this download.
http://www.ftdichip.com/Support/SoftwareExamples/LibFT4222-v1.4.1.zip
If you copy these updated DLL/lib files to your sample app folder replacing the existing ones then this should resolve the issue.

Regards,
FTDI Community



786
Hello,

Ft_Gpu_Hal_Wr8() - will immediately perform a direct SPI write to the desired register.

Ft_Gpu_CoCmd_MemWrite() - places the command into the co-processor list which the API will package into an SPI transfer.

The overheard of waiting on the API to perform the SPI write, versus manually performing the SPI write with Ft_Gpu_Hal_Wr8() is likely the cause of the issue.

Best Regards,
FTDI Community

787
Hello,

Can you try writing the REG_ROTATE register with the Ft_Gpu_Hal_Wr8() function and not via the Ft_Gpu_CoCmd_MemWrite(), and let me know how you get on?


Best Regards,
FTDI Community

788
Hi Jack,

Yes, Vertex2F can handle the full range of coordinates so that you can use the full width of the 800x480 screen.

You can use VERTEX_TRANSLATE_X and _Y to add an offset to Vertex2II too which normally goes up to 511. If you call the VERTEX_TRANSLATE_X command as shown below, it will add an offset of 250 to any following VERTEX2II commands. You can call VERTEX_TRANSLATE_X again after this to set a different offset or to set the offset back to 0 as shown below.

VERTEX_TRANSLATE_X(250*16);
VERTEX2II(500,100,30,0x43); // Letter C from font 30 at ((500+250),100)
VERTEX_TRANSLATE_X(0*16);
VERTEX2II(500,200,30,0x45); // Letter E at (500,200)

Vertex2F can be used in most cases but if you wanted to use bitmap cells then you would use VERTEX2II and the VERTEX_TRANSLATE might come in handy.

Best Regards,
FTDI Community

 

789
Discussion - Software / Re: Timing parameters for EVE modules?
« on: July 06, 2018, 01:56:05 PM »
Hi Rudolph,

The VM810C, ME812A and ME813A all use the WVGA settings.

Code: [Select]
//DISPLAY_RESOLUTION_WVGA
    /* Values specific to QVGA LCD display */
    #define DispWidth      800L
    #define DispHeight     480L
    #define DispHCycle     928L
    #define DispHOffset    88L
    #define DispHSync0     0L
    #define DispHSync1     48L
    #define DispVCycle     525L
    #define DispVOffset    32L
    #define DispVSync0     0L
    #define DispVSync1     3L
    #define DispPCLK       2
    #define DispSwizzle    0
    #define DispPCLKPol    1
    #define DispCSpread    0
    #define DispDither     1

The ME810A_HV35R uses the following settings:

Code: [Select]
//DISPLAY_RESOLUTION_HVGA_PORTRAIT
    /* Values specific to HVGA LCD display */
    #define DispWidth      320L
    #define DispHeight     480L
    #define DispHCycle     400L
    #define DispHOffset    40L
    #define DispHSync0     0L
    #define DispHSync1     10L
    #define DispVCycle     500L
    #define DispVOffset    10L
    #define DispVSync0     0L
    #define DispVSync1     5L
    #define DispPCLK       5
    #define DispSwizzle    2
    #define DispPCLKPol    1
    #define DispCSpread    1
    #define DispDither     1

Note that the ME810A-HV35R requires configuration of the ILI9488 inside the LCD panel via the dedicated serial interface on the LCD ribbon cable. You can find an example of this in the file ILI9488.h in our sample apps such as FT_App_Gradient.

Best Regards,
FTDI Community

790
Hello,

In General the wr8s function would do the following:
  • Bring CS low
  • Write the Address
  • Burst write the data buffer
  • Bring CS high when the data has been written

Best Regards,
FTDI Community

791
Hello,

Can you please have a look at the following application note:
http://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/AN_303-FT800-Image-File-Conversion.pdf

It covers using the EVE Image Convertor, the different output formats (L8, ARGB4, etc) and how to implement these in code.

Best Regards,
FTDI Community

792
Hi,

If you have a look at section 4.2 and 4.3 of the FT601 Datasheet you will get more detailed information on the FT245 (Synchronous FIFO mode Protocol) and FT600 (Multi-Channel FIFO Mode Protocol): http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT600Q-FT601Q%20IC%20Datasheet.pdf

If you want to contact support1@ftdichip.com I can assist you further over email.

Regards,
FTDI Community

793
Discussion - Software / Re: 3D Demo
« on: June 29, 2018, 11:29:05 AM »
Hi,

I'm afraid the source isn't available for this demo. However, we have a range of other demos with source code at the link below:

http://www.ftdichip.com/Support/SoftwareExamples/FT800_Projects.htm

Best Regards,
FTDI Community

794
Discussion - Software / Re: FT900 RTC Interrupt - Help needed
« on: June 28, 2018, 04:39:47 PM »
Hello,

There is no benchmark data available on this however we could contact R&D to request more information on this if it's critical to your needs.

Please contact us at support1@ftdichip.com.

Best Regards,
FTDI Community

795
Discussion - Software / Re: Question about FT4222 GPIO pin
« on: June 28, 2018, 10:18:31 AM »
Hello Josh,

The GPIO Library functions were not designed to provide specific pulse widths, there were design to be as general purpose as possible. In fact each Library function call is likely to be sent to the IC in a separate USB frame, of which the minimum frame time is 125uS for a High Speed Device. This will be the cause of the 200uS pulse you are seeing on your logic analyser.

The follow Application Notes may be helpful.
What is USB:
http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_110%20What%20is%20USB.pdf

FTDI USB Data Transfer Efficiency:
http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_103_FTDI_USB_Data_Transfer_Efficiency(FT_000097).pdf

Data Throughput, Latency & Handshaking:
http://www.ftdichip.com/Support/Documents/AppNotes/AN232B-04_DataLatencyFlow.pdf

Optimising D2XX Data Throughput:
http://www.ftdichip.com/Support/Documents/AppNotes/AN232B-03_D2XXDataThroughput.pdf

Best Regards,
FTDI Community

Pages: 1 ... 51 52 [53] 54 55 ... 60