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 ... 50 51 [52] 53 54 ... 60
766
Discussion - Software / Re: something about FT232H in 245 FIFO mode
« on: September 03, 2018, 04:35:39 PM »
Hello,

Please see some simple Visual Basic examples here:

http://www.ftdichip.com/Support/SoftwareExamples/CodeExamples/VB.htm

We have not encountered this particular issue before, maybe someone else in this community will help if they have seen this issue before.

You may also be interested in TN_167 FTDI FIFO Basics.

Best Regards,
FTDI Community

767
General Discussion / Re: FT82x
« on: August 30, 2018, 03:41:38 PM »
Hello,

Sorry I ment to say "As previously mentioned the BT815/6 (like the previous FT80x) includes 1MByte of internal graphics RAM, and the same sized RAM_DL which will limit you to ~2000 instructions". I.e. that RAM_DL has not increased so the limit on instructions is the same.

Best Regards,
FTDI Community

768
General Discussion / Re: FT82x
« on: August 30, 2018, 10:57:30 AM »
Hello,

As previously mentioned the BT815/6 (like the previous FT80x) includes 1MByte of internal graphics RAM, which will limit you to ~2000 instructions. However these new ICs include support for external flash memory which can be used to store/offload graphics elements such as images. Alternately you could store images on an SD card if your MCU has support for this.

Best Regards,
FTDI Community

769
Discussion - Hardware / Re: handshaking, flow control
« on: August 28, 2018, 03:04:07 PM »
Hello,

The FT232BL flow control is handled automatically when configured by the application software.

For example, if you use a terminal program like PuTTY you can set the flow control to RTS/CTS or DSR/DTR.
Once this is set by the application, the flow control signals are automatically controlled by the IC.

Also, FT232B is quite an old IC and not recommended for new designs.
You should consider FT232R or FT-X

Best Regards,
FTDI Community

770
General Discussion / Re: FT82x
« on: August 27, 2018, 04:01:11 PM »
Hello,

Yes, the BT815/6 supports QSPI NOR flash chips with I believe a capacity of up to 265 MiB.

Best Regards,
FTDI Community

771
Hello,

The ESD4 functions are currently only available for the display aspects of the application. At the moment, you would need to edit the code after exporting it in order to pass values from other external peripherals.

You can use the method shown in 'Add User Functions' in the ESD user guide or just edit the code directly after export.

One example of interaction between ESD and other MCU features is the Blink LED demo provided with the ESD4 software. This allows the GUI created to interact with GPIO on the FT900.

Regards, FTDI Community

772
Discussion - Software / Re: FT81x Video with sound using CMD_VIDEOSTART
« on: August 22, 2018, 01:00:17 PM »
Hello

Unfortunately you cannot use sound with the CMD_VIDEOSTART / CMD_VIDEOFRAME commands.

However if you have a look at the following demo application, this covers video playback using CMD_PLAYVIDEO where the video doesn't consume the whole screen as well as having overlaid graphics:
ftp://ftp.ftdichip.com/CES/FT81xLiftDemoWithVideo/FT_App_Lift_EW2016.zip

Best Regards,

FTDI Community

773
Hello,

Please can you contact email support on support1@ftdichip.com and we will look into this, the outcome of which we will post here.

Regards,
FTDI Community

774
Hi Alexei,

I'm afraid that each individual port on the device can only be opened once / with one handle. As you mentioned any further attempts whilst already open will fail.

One thing you could consider is to have a 'routing' process open which talks to the port and then pass any data to this from any other processes and it can send to the device, and vice versa for reading. That way there is only one process opening the port.

Best Regards, FTDI Community

775
Discussion - Software / Re: Vinculum II programming interface
« on: August 13, 2018, 05:01:40 PM »
Hello,

I believe you also contacted email support with the same issue. Please continue to correspond via that support channel and we will post the resolution here.

Regards,
FTDI Community.

776
Discussion - Software / Re: Trouble appending data to an existing file
« on: August 13, 2018, 01:14:04 PM »
Hello,

Can you just clarify which product you are using?

Best Regards,
FTDI Community

777
Discussion - Software / Re: FT813 CRC calculating and adressing
« on: August 08, 2018, 11:58:18 AM »
Hi,

After adding commands or data to the co-processor RAM_CMD you must manually write the REG_CMD_WRITE to update it to point to the end of your data. In general, your application writes REG_CMD_WRITE and the co-processor writes the register REG_CMD_READ. Your MCU must keep an accurate count of the number of bytes sent and take account of the wrap around at RAM_CMD + 4095 (effectively it maintains an equivalent count to what the EVE device is doing internally)

If an error occurs, you should follow the steps shown in section 5.6 below:
http://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/EVE/FT81X_Series_Programmer_Guide.pdf
What cases do you see the pointers remain un-equal? The section mentioned above has some examples where it may happen such as an invalid image format, corrupted image, image de-compress where there isn't enough RAM_G space  to put the resulting data, a blocking call (such as calibrate), a command with invalid parameters (e.g. non multiple of 4 bytes) or it could be an error in the amount by which the MCU increments REG_CMD_WRITE.

For the transparent image, please ensure that the original one displays correctly in a program such as GIMP as the original image may have some non-transparent pixels (e.g. slightly different shade from the transparent colour) where you had expected transparency.

Regards,
FTDI Community

778
Discussion - Software / Re: Unable to allocate dynamic memory
« on: August 02, 2018, 09:25:29 AM »
Hello,

Please check AN_157 Vinculum II Memory Management for all available information on memory management.

The Thread Manager can also be useful. See the Help menu with in the IDE:



Have you considered our latest MCUs?
A more recent solution is to use the FT90x which allows more customisation than the Vinculum products.

There are significant benefits of FT90x:

-Eclipse based IDE
-Source code for API drivers is provided
-Significant performance improvement
-Actively in development by R&D
-Improved documentation and software examples

Best Regards,
FTDI Community

779
Discussion - Software / Re: FT4222 support in Raspberry Pi
« on: July 30, 2018, 04:44:58 PM »
Hello Carlos,

The LibFT4222 Linux Library is for i386, x86_64 and ARMv6-hf which implements the LibFT4222 API, with D2XX built-in.

Our standard Linux D2XX driver is 1.4.8 ARMv6 hard-float is suitable for Raspberry Pi.

So LibFT4222 should be suitable for RPi (ARMv6), though this has never been tested.

Best Regards,
FTDI Community

780
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

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