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 ... 23 24 [25] 26 27 ... 60
361
Discussion - Hardware / Re: UM245R baud rate
« on: January 19, 2021, 11:07:06 AM »
Hello,

The FT245R of which the UM245R is based upon provides a parallel FIFO interface as a COM port on the host machine, however as this IC implements a FIFO interface the baud rate settings are ignored.

It is curious that with your chosen terminal emulator the behaviour seems to vary with baud rate setting, what terminal are you using? And have you tried any other terminal emulators?

Best Regards,
FTDI Community

362
Hello,

Although the FT4222H uses a data byte of 8 bits, most SPI peripherals can still use this so long as you keep CS asserted as they still see this as one transfer.

It looks like this particular device has some kind of timeout if the clock sits low for more than 28ms but beyond that was there any other reason why it could not accept multiple bytes so long as CS is kept asserted?

MPSSE (for example the FT232H) would have been another option but can only do SPI modes 0 and 2 and it looks like this ADC may need mode 1.

Best Regards, FTDI Community

363
Hello,

Unfortunately we don't have any experience with impact or Quartus (Altera) package.
These packages require specific hardware to program FPGAs as mentioned in an external forum that you have created:

https://forums.xilinx.com/t5/FPGA-Configuration/Programming-CPLD-XC95108-using-FT232H/m-p/1192066

If no-one else on this FTDI community website can help, it may be worthwhile contacting Altera.
Another community user already replied to one of your posts on this:

“Try UrJTAG

If you are trying to clone FPGA programmers that’s not something we can support.

The FT232H uses our standard VCP Drivers or D2XX Drivers.

Best Regards,
FTDI Community

364
Discussion - Software / Re: FT4222 Python Interface
« on: January 13, 2021, 04:33:19 PM »
Hello,

The LibFT4222 API return code 1000 is FT4222_DEVICE_NOT_SUPPORTED.

Which revision of silicon are you using?

Which mode are you using the device in? Which hardware are you using?

Which version of the D2xx driver are you using and which version of LibFT4222?
Note the following versions for the 64bit dlls and libs:

.\CDM v2.12.28 WHQL Certified\amd64
.\LibFT4222-v1.4.4\imports\LibFT4222\dll\amd64

This issue has never been reported before.
Have you tried the 32bit and 64bit dlls with the standard examples provided with LibFT4222? This would take the python aspect out of the equation, if you say that it’s a problem with our dll:

.\LibFT4222-v1.4.4\samples

Unfortunately we have no support for Python, but you can check out the following information with respect to the D2xx driver (not specifically LibFT4222):

It is possible implement the D2XX driver in python scripts.

The following imports are required:

import os
import sys
import ctypes

And the library can be loaded in the following manner:

class D2XXTest(object):
    def __init__(self):
        #Load driver binaries
        if sys.platform.startswith('linux'):
            self.d2xx = ctypes.cdll.LoadLibrary("libftd2xx.so")
        elif sys.platform.startswith('darwin'):
            self.d2xx = ctypes.cdll.LoadLibrary("libftd2xx.1.1.0.dylib")
        else:
            self.d2xx = ctypes.windll.LoadLibrary("ftd2xx")
        print 'D2XX library loaded OK'
        print
        sys.stdout.flush()

Also see some other Third Party Implementations:

http://bleyer.org/pyusb/
https://pypi.org/project/pylibftdi/
https://pypi.org/project/pyftdi/
https://learn.adafruit.com/adafruit-ft232h-breakout/mpsse-setup
https://iosoft.blog/category/ftdi/ 
 
ctypes Wrapper for D2XX:
https://pypi.org/project/ftd2xx/

I found one for LibFT4222 also:
https://pypi.org/project/ft4222/

There also may be other FTDI Community users with Python knowledge and LibFT4222 who may be able to help you further.

Best Regards,
FTDI Community

365
Discussion - Drivers / Re: VCP driver on macOS 11
« on: January 12, 2021, 02:06:10 PM »
Hello,

Unfortunately there hasn't been any updates from our driver team as of yet, but I will be sure to post any updates when I receive them.

Best Regards,
FTDI Community

366
Hello,

The following function should help:

USBH_device_get_descriptor(hDev, USB_DESCRIPTOR_TYPE_REPORT, index, offset, buffer)

USB_DESCRIPTOR_TYPE_REPORT comes from ft900_usb_hid.h.

Best Regards,
FTDI Community

367
Hello,

There's a function USBH_device_get_descriptor() in usbh.c which allows you to get a descriptor.
It will get a device, config or report descriptor.

The type of descriptor to get is defined in ft900_usb.h:

/**
    @name USB Descriptor Types
    @brief Table 9-5. Descriptor Types.
    Used for wValue high byte in 9.4.3 Get Descriptor, 9.4.8 Set Descriptor.
 */

You'll have to decode the report descriptor yourself.

In the file ft900_usb_hid.h all the constituent parts of a report descriptor are defined. These can be decoded when looking through the report descriptor. So, it is a case of all the possible values already typed into the header file.

Even better there are loads of online ones to check the results against.

Best Regards,
FTDI Community

368
Discussion - Hardware / Re: FT230XS
« on: January 06, 2021, 04:47:15 PM »
Hello,

Can you please email your local support team and we can look into this issue further?

https://www.ftdichip.com/FTContact.htm

Then you can post any resolution here to help other community users.

Best Regards,
FTDI Community

369
Hello,

If there are 3 endpoints to monitor then the USBH_transfer_async is good way to do it.

You pass in a unique ID (one for each endpoint) and a callback function (the parameters are in the ft900_usbh.h header file).

typedef int8_t (*USBH_callback)(uint32_t id, int8_t status, size_t len, uint8_t *buffer);

There are no examples but it is the same as USBH_transfer except that you get your buffer filled and your callback called during the USBH_Process call. The ID will be used to differentiate the endpoints.

Best Regards,
FTDI Community

370
Discussion - Software / Re: USB3.0 communication error on FT601
« on: January 06, 2021, 04:43:54 PM »
Hello,

You have already emailed our support team on this issue.

Feel free to post any resolution here to help other FTDI Community users.

Best Regards,
FTDI Community

371
Discussion - Hardware / Re: FT232H Module not detecting
« on: January 05, 2021, 05:58:17 PM »
Hello,

Glad you have managed to get a board working now!
Please let us know if you have any further issues.

Best Regards,
FTDI Community

372
Discussion - Software / Re: FT4222 FT_OpenEx with FT_OPEN_BY_LOCATION
« on: January 05, 2021, 05:55:21 PM »
Hello,

Glad you have managed to resolve the issue.

Best Regards,
FTDI Community

373
Discussion - Software / Re: USB data transfer stuck
« on: December 22, 2020, 04:31:39 PM »
Hello,

It's difficult to figure out exactly what could cause your problem with the description of your hardware configuration.

Why are there two USB ports?

There should only be one USB port for FT4222H to be connected to the Host PC.

You can use our UMFT4222EV for test, evaluation and reference. Schematics are provided.

Also note the latest version of LibFT4222 is 1.4.4.44:

https://www.ftdichip.com/Products/ICs/FT4222H.html

You could also send an email to your local support contact as this type of issue may not be suited to a forum:

You can use our https://www.ftdichip.com/FTContact.htm

Best Regards,
FTDI Community

374
Discussion - Hardware / Re: FT312 Woes
« on: December 22, 2020, 04:31:07 PM »
Hello,

Please check the status of the USB_ERROR# pin.
Refer to the FT312D Datasheet for more information on this.

Also, where is your 3.3V supply originating from?
As per the datasheet, this should originate from the 5V USB Host Supply with a 3.3V regulator.

The crystal load capacitors need the correct capacitance value for your chosen crystal. is 5pF the correct value?
You can speak to the crystal manufacturer about this.

Best Regards,
FTDI Community

375
Hello,

Yes you can find details of the behaviour of the Port B lines in chapter 4.13 of this datasheet below:

https://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf

Hope it helps,

Best Regards, FTDI Community

Pages: 1 ... 23 24 [25] 26 27 ... 60