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 ... 20 21 [22] 23 24 ... 60
316
Discussion - Drivers / Re: FT231X and Synchronous Bit Bang
« on: April 02, 2021, 04:25:38 PM »
Hello,

Which version of the .net library are you using? The latest can be found here:

https://ftdichip.com/software-examples/code-examples/csharp-examples/

Can you please confirm why you believe the function is not working?

What is the return code after calling the function?

Please note that other function GetBitMode does not actually get the bit mode.
It actually returns the pin state of the I/O pins (used in bit bang mode).
This can be deceiving with the function name.

Please refer to AN_373 Bit-Bang Modes for the FT-X Series which should help you.

Best Regards,
FTDI Community

317
Hello,

Yes, that is correct the ucMask variable in the FT_SetBitMode() call will control which pins are input and which are outputs. If this is the last call you execute to the IC using a ucMask value = 0x0 should ensure that all of the pins remains inputs, at least until a subsequent call which will alter their state.

It is also correct that if "Pull down I/O Pins in USB Suspend" is not set when the IC gets placed into suspend mode by the USB host controller the ADBUS pins will maintain their last previous configuration, such as defining these pins as inputs with FT_SetBitMode().

Best Regards,
FTDI Community

318
Hello,

We recommend to enable the RTS_CTS flow control when using MPSSE, you can do this when configuring the device after opening the port and before entering MPSSE mode.

As you mentioned, there are no RTS or CTS lines on the device in this mode and so using RTS/CTS mode in MPSSE does not require any special connections or signals.

But enabling RTS/CTS mode also enables the flow control features in the driver itself, and so the driver wont try to read data from the chip if it does not have room for the data. Without flow control enabled, this data would otherwise have been lost. You may see the MPSSE wait until space is available if the driver buffer fills and the driver stops taking data over USB and the chip buffer then fills.

Best Regards, FTDI Community

319
General Discussion / Re: Synchronous 245 application project files
« on: March 26, 2021, 05:54:21 PM »
Hello,

You have already contacted us by email and we have supplied the file.

For other users, our website will be updated here:

https://ftdichip.com/products/morph-ic-ii/

However in the meantime, the files can be downloaded from our FTP server:

Synchronous 245 Morph-IC-II Application.zip

Note please use Internet Explorer on Windows 10 to download from our FTP server. The application is included as standard on Windows 10. Simply search for 'Internet Explorer' in Windows 10 search and paste the FTP link into the browser. Windows 10 behaviour has changed as now Edge and Chrome browsers do not allow FTP download without an external FTP Client.

Best Regards,
FTDI Community

320
Hello,

Yes that is correct the ucMask variable addresses the ADBUS0 -> ADBUS7 pins on the IC.

Please note the FT_SetBitmode(ftHandle, 0x0, 0x0) command resets the MPSSE, so you would issue a second command to enable MPSSE with 0x0 as the mask value:
Code: [Select]
ftStatus |= FT_SetBitMode(ftHandle, 0x0, 0x00);
//Reset controller
ftStatus |= FT_SetBitMode(ftHandle, 0x0, 0x02);
//Enable MPSSE mode with all pins as input

Please have a look at the following application note:
MPSSE Basics

And please also be aware of the initial pin states of the device:
FTDI Device Input Output pin States

Best Regards,
FTDI Community

321
Discussion - Drivers / Re: USB Continually Reconnecting
« on: March 19, 2021, 05:04:46 PM »
Hello,

Can you please contact your local support team by email?
We need to get more information to help you recover the device.

https://ftdichip.com/technical-support/

Best Regards,
FTDI Community

322
Hello,

This is not a known issue with our product with our Linux drivers and the IC and driver is widely used.

There is no difference in the behaviour of the 4 ports (COM1 to COM4 ) regarding USB communications.

The nature of USB communication has to be taken into account.
The communication with USB devices depends on multiple factors such as other USB devices on the bus, USB Host scheduling, USB latency, OS processing, etc.

You attached your setup. Is this all inclusive on custom hardware or are the elements separate?

Is your COM2 operating much differently from the other COM Ports? For example, is there more traffic?
What is each of the FT4232H ports connected to externally and what is the expected throughput of each?
Are you using flow control on all the FT4232H ports?

Could there be issues with the Linux board running out of CPU resources to access more than one device concurrently?

You could perform tests with our known good hardware and maybe connect that to a different Linux system to see what the results are like:

USB-COM485-PLUS4
USB-COM422-PLUS4
USB-COM232-PLUS4
FT4232H-56 Mini-Module
FT4232H Mini-Module
FT-MOD-4232HUB

The FT-MOD-4232HUB might be useful as the ST60 2230-PU Wifi+ Bluetooth device can be connected to one of the ports.

Can you also test with our D2XX Drivers (rather than VCP drivers) to see if the results are the same? See the Linux Driver Installation Guide and D2XX Programmer’s Guide for more information.

Maybe there are other FTDI Community users who can help you further.

Best Regards,
FTDI Community

323
Hello,

We have suggested in your previous forum posts that we can't support this as Altera tools require Altera hardware.

However, here is some information on using JTAG with our product which may help you:

The only JTAG support can be found here:

https://ftdichip.com/software-examples/mpsse-projects/

There are two options to use JTAG modes with the MPSSE engine:

1.            Use FTCJTAG DLL library. Example code is provided with the download (This code is no longer supported by FTDI)
2.            Use D2XX drivers direct. Example code is shown at the link above, further down the page (JTAG). AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes provides the necessary information.

Unfortunately we don’t have any experience with Altera Cyclone.

Best Regards,
FTDI Community

324
Discussion - Drivers / Re: VCP driver on macOS 11
« on: March 17, 2021, 03:09:50 PM »
Hello,

I have be liaising with the driver team recently and they are making good progress. We are currently establishing which features supported in our driver but not in the Apple driver are most pertinent for a beta release. For example, baud rate aliasing or latency timer settings.

If you are using any of these feature please let me know.

Best Regards,
FTDI community.

325
General Discussion / Re: Problem communicating PC and FPGA with UM245R
« on: March 16, 2021, 04:41:54 PM »
Hello,

Have you considered running a simple application like in TN_167 in Visual Studio?
This would take LabWindows/CVI out of the question which we don't support.

See TN_153 Instructions on Including the D2XX Driver in a Visual Studio Express 2013 Project.

Have you tried setting the latency timer to the minimum of 1ms?

Also ensure that you are sampling on the correct edge.

Best Regards,
FTDI Community

326
General Discussion / Re: Problem communicating PC and FPGA with UM245R
« on: March 12, 2021, 04:40:49 PM »
Hello,

Have you took a look at TN_167 FTDI FIFO Basics?

This also includes software examples.

You must monitor the TXE# and RXF# flags.

The TXE# and RXF# outputs are the buffer status pins (flags).
For both Asynchronous and Synchronous FIFO modes, the status of the internal transmit and receive buffers must be monitored by the external FPGA or microcontroller to avoid buffer over run and data loss.
The TX buffer is used by data sent from the FIFO pins back to the host (write operation)
The RX buffer is used by data sent from the host to the FIFO output pins (read operation)
When the TXE# flag is low, this indicates there is enough internal transmit buffer space available for writing data back to the host. The USB host application code (VCP or D2XX for Async FIFO, D2XX for Sync FIFO) must constantly read incoming data from the device to keep the buffer from filling up.
When the RXF# flag is low, this indicates there is still unread data in the internal receive buffer remaining to be read by the downstream FPGA or micro. Instead of interpreting this flag as “receive buffer full”, the RXF# flag can best be thought of as “receive buffer not empty yet”. When the RXF# flag stays high, the last byte of data in the buffer remains on the data bus and does not change.

Here is some other useful information:

The 245 FIFO interface should only be written to when the TXE# pin is logic 0.
The TXE# pin will go to logic 1 and back to logic 0 for every byte latched in.
If the application on the PC never reads any data the buffer on the PC (64kbytes) and the buffer on the chip will become full.
When these buffers are full the TXE# line should remain at logic 1 until the application on the PC does a read to free up some space.
Some users report TXE# goes back to logic 0 after a brief period (actually matches latency timer).
This can result in data loss due to overrun.
To prevent this from happening the application on the PC should have set flow control for RTS_CTS flow control.
Although the hardware does not have RTS/CTS pins the driver does not know this, but it is now forced to monitor certain status bits, which allows the TXE# pin to be kept at logic 1 until space is made available.

Maybe there are other FTDI Community users who can help you further.

Best Regards,
FTDI Community

327
Hello,

Yes this will be the default pin configuration until you enable MPSSE mode.

We have development modules available for test, evaluation and reference:

FT2232H-56 Mini-Module
FT2232H Mini-Module

The -56 module is easier to power with a single jumper in comparison to the other modules which needs multiple external connections to power it.

Best Regards,
FTDI Community

328
Hello,

The FT2232H ports will default to Async serial mode (UART) so you can check Table 3.1 FT2232H Pin Configurations for 64-pin QFN and LQFP package in the FT2232H Datasheet for the default pin functions.

Pins marked ** default to tri-stated inputs with an internal 75KΩ (approx.) pull up resistor to VCCIO.
This is the case for ACBUS1 that you mentioned.

Best Regards,
FTDI Community

329
General Discussion / Re: ESP32 + FT232H in 245 fifo mode
« on: March 05, 2021, 04:13:20 PM »
Hello,

This is something that you can test and evaluate using our development module for example:

https://ftdichip.com/products/um232h/

You can read more about 245 FIFO mode in:

TN_167 FTDI FIFO Basics

This is not something that we've specifically came across before but maybe there are other FTDI Community users who have done something similar.

Best Regards,
FTDI Community

330
General Discussion / Re: 1 USB to 3 UART using FT4232H
« on: March 05, 2021, 02:52:04 PM »
Hello,

I would suggest the simplest solution is to connect the UART channels of device 0 and device 1 together if you just require a simple UART bridge.

Assuming however, that you also require a USB connection to these devices, utilising the FT4232H you would be required to write a software application that echos data back and forth between the desired COM ports/interfaces on the FT4232H. You could achieve this using standard COM port programming techniques, or via our D2XX DLL.

Best Regards,
FTDI Community

Pages: 1 ... 20 21 [22] 23 24 ... 60