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 ... 10 11 [12] 13 14 ... 60
166
Hi,

the captures don't look as if it is mode0, which is weird because you seem to have set it right in the code. what version of LibMPSSE are you using?


Best Regards,

FTDI Community

167
Discussion - Software / Re: FT232H Configuration
« on: May 24, 2022, 03:16:32 PM »
Hi,

Yes, to enable MPSSE mode you need to set the bit mode to 0x02 using the FT_SetBitMode function. the MPSSE basics document i linked previously explains this. the set up the MPSSE. the LibMPSSE-SPI user guide explains the API and how it is built on the D2XX driver.

You can run the example code i linked on visual studio.

Best Regards

FTDI Community 

168
Discussion - Software / Re: FT232H Configuration
« on: May 23, 2022, 04:15:05 PM »
Hi,

To use the FT232H with SPI, the MPSSE engine is used. We have an example application using the FT232H with SPI. https://ftdichip.com/wp-content/uploads/2020/07/AN_180_FT232H-MPSSE-Example-USB-Current-Meter-using-the-SPI-interface.pdf.

Also, have a look at https://ftdichip.com/wp-content/uploads/2020/08/AN_135_MPSSE_Basics.pdf this shows the basics of how to activate and use the MPSSE engine.

Here some helpful documentation for MPSSE:

https://ftdichip.com/wp-content/uploads/2020/08/AN_108_Command_Processor_for_MPSSE_and_MCU_Host_Bus_Emulation_Modes.pdf
https://ftdichip.com/wp-content/uploads/2020/08/AN_178_User-Guide-for-LibMPSSE-SPI.pdf

LibMPSSE-SPI is the dedicated API for using the engine for SPI communication. we have a number of software examples to get you started. they can be found here https://ftdichip.com/software-examples/mpsse-projects/libmpsse-spi-examples/.

Best Regards,

FTDI Community

169
Hello,

from the wave forms it looks like the data is changing on the rising edge of the clock. you are using SPI mode 0, in this mode the data should be changing on the falling edge of the clock.

it looks like you have the set configuration mode correctly, so this shouldn't be happening. could you run your original code that you first posted and send the wave forms of that please? just so we can compare.

Best Regards
FTDI Community   

170
Hi,

are you able to send a scope capture of the FT2232H end and at the SPI device end to see if the waveform timing and signal integrity looks ok? 

it may be also worth checking if the SPI device you are using is also in mode0 as the MPSSE engine in the FT2232H isn't compatible with SPI modes 1 and 3


Best Regards,

FTDI Community 

171
Hello,

have you made sure to initialize the states of the MPSSE pins? command 0x11 makes the clock start low and command 0x10 makes the clock start high.

section 3.3 of https://www.ftdichip.com/Support/Documents/AppNotes/AN_108_Command_Processor_for_MPSSE_and_MCU_Host_Bus_Emulation_Modes.pdf explains this further.

Best Regards

FTDI community

172
Hello,

you can try the following:

channelConf.ClockRate = 30000000; // 30 MHz;
channelConf.LatencyTimer = 2; //2ms
channelConf.configOptions = SPI_CONFIG_OPTION_MODE0 | SPI_CONFIG_OPTION_CS_DBUS3 | SPI_CONFIG_OPTION_CS_ACTIVELOW;
channelConf.Pin = 0x00000000;

this should set the clock rate to 30MHz.


here is some useful documentation for you:

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

Best Regards,

FTDI Community

173
Discussion - Software / Re: Issues using FT260 to communicate over I2C
« on: April 28, 2022, 04:51:07 PM »
Hello Matt,

You can find the error codes in LibFT260.h which is included with LibFT260:

Code: [Select]
enum FT260_STATUS
{
                FT260_OK,
                FT260_INVALID_HANDLE,
                FT260_DEVICE_NOT_FOUND,
                FT260_DEVICE_NOT_OPENED,
                FT260_DEVICE_OPEN_FAIL,
                FT260_DEVICE_CLOSE_FAIL,
                FT260_INCORRECT_INTERFACE,
                FT260_INCORRECT_CHIP_MODE,
                FT260_DEVICE_MANAGER_ERROR,
                FT260_IO_ERROR,
                FT260_INVALID_PARAMETER,
                FT260_NULL_BUFFER_POINTER,
                FT260_BUFFER_SIZE_ERROR,
                FT260_UART_SET_FAIL,
                FT260_RX_NO_DATA,
                FT260_GPIO_WRONG_DIRECTION,
                FT260_INVALID_DEVICE,
                FT260_INVALID_OPEN_DRAIN_SET,
                FT260_INVALID_OPEN_DRAIN_RESET,
                FT260_I2C_READ_FAIL,
                FT260_OTHER_ERROR
};

If you are seeing FT260_INCORRECT_CHIP_MODE then check the hardware configuration.
See FT260 – Full speed HID Class USB to UART/I2C Datasheet section 5.1 Device Interface Configuration. DCNF0 and DCNF1 are configured on hardware.
Ensure you have I2C enabled and are opening the correct interface number.

IO_ERROR may also be a hardware issue. I would advise test, evaluation and reference using the UMFT260EV1A if you are already using custom hardware.

Also refer to the examples provided with LibFT260.

The other alternative is not to use LiBFT260 and access the device with raw HID commands. See AN_394 User Guide for FT260.

Best Regards,
FTDI Community

174
Discussion - Software / Re: What is VCOM functionality exactly?
« on: April 22, 2022, 11:56:50 AM »
Hello,

Yes that is correct. Bit bang operation also requires the D2XX driver.

Best Regards,
FTDI Community

175
Discussion - Hardware / Re: FT232RL Unexplainable anomaly
« on: April 19, 2022, 05:07:15 PM »
Hi
Since this is not one of our products, we are unable to support it.
Product Manufacturers are responsible for supporting end-users of their products.
FTDI cannot control how the USB ICs are used and often has no knowledge of the entire product.
Please see the following document for reference:

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

You should contact Analog Devices with regard to their software

Regards
FTDI Community

176
Discussion - Software / Re: What is VCOM functionality exactly?
« on: April 19, 2022, 04:54:01 PM »
Hello,

Virtual COM port (VCP) drivers cause the USB device to appear as an additional COM port available to the PC.  Application software can access the USB device in the same way as it would access a standard COM port.

D2XX drivers allow direct access to the USB device through a DLL.  Application software can access the USB device through a series of DLL function calls.  The functions available are listed in the D2XX Programmer's Guide document which is available from the Documents section of this site.

Unfortunately you can't communicate over SPI through VCOM interface. LibMPSSE and the MPSSE Engine can only be configured via the D2XX drivers.

Best Regards,
FTDI Community

177
Discussion - Software / Re: VNCII Host Keyboard
« on: April 07, 2022, 03:51:07 PM »
Hello,

You are already in contact with us via email about this enquiry.

Please feel free to post any resolution here to help other community users.

Best Regards,
FTDI Community

178
Hello,

I believe this project will be able to help you https://www.ftdichip.com/Support/Documents/AppNotes/AN_195_Vinculum-II_UART_to_SPI_Master_Bridge.pdf.This demonstration application will bridge a VNC2 UART to the VNC2 SPI Master for controlling SPI slave devices. Data is transferrable in both directions.

The default SPI master parameters are SPI mode 0 with a 50kHz clock. Data will be sent MSB first.
The file may be used on 32, 48 or 64 pin packages.

also you should have a look at https://ftdichip.com/wp-content/uploads/2020/08/AN_142_Vinculum-II_Tool_Chain_Getting_Started_Guide.pdf.

all of our VNC2 documentation can be found on the product page, under the documents tab https://ftdichip.com/products/vnc2-48q1c/ .

Best Regards

FTDI Community

179
Hello,

Thank you for your post.

As a note, the http://www.brtcommunity.com/ forum is now available for any EVE related questions.

The image showing as a white box on the screen indicates that the bitmap is attempting to display, but the source for the image data is not being read correctly.

There are some notes on how to display images in the followi9ng application note (see section 7):
https://ftdichip.com/wp-content/uploads/2020/07/BRT_AN_014_FT81X_Simple_PIC_Library_Examples.pdf

Could you possibly provide the intended image to be displayed, and what settings you have utilized when converting the image?

Best Regards,
FTDI Community

180
Hi Gregg,

Don’t do this – OE needs to be controlled by a separate signal from the downstream FPGA.

RD# needs to be throttled by the FPGA according to the state of the RXF# flag.

could you please fill out the attached survey form?

Best Regards

FTDI Community


Pages: 1 ... 10 11 [12] 13 14 ... 60