This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB-SPI converter on DAC5687EVM

Other Parts Discussed in Thread: DAC5687

Hi,

I wanted to start working with the DAC5687 EVM and encountered a problem with the included USB-SPI Adapter.

This adapter features FTDI's FT245R (0403:6001) which is not supported by the provided (CD) driver. Therefore, the DAC's programming software cannot communicate with the EVM.

Is there a never driver version for the FT245R based USB-SPI adapter?

 

Thank you

 

  • Hello,

    The driver in the CD should be able to work with the USB-SPI adapter. I would suggest you unplug the USB cable and plug it in again to initiate the driver setup process for proper installation of the USB-SPI adapter. Also, on the top right hand corner of the DAC5687 GUI, you will need to select "USB" instead of "Parallel Port" to control from the USB port.

    I have attached again the drivers needed for the FT245R USB-SPI adapter. This should be able to work in Windows XP systems. 

    -KH

     

    USB_SPI Drivers.zip
  • Hello Kang,

    Thank you for your reply and the driver. However, this driver also does not include the FT245R.

    As you can see at the bottom of the *.inf file, there is only support for FTDI's FT2332 device (VID_0403&PID_6010) but not the FT245R (VID_0403&PID_6001):

    ...

    [FtdiHw]
    %USB\VID_0001&PID_1000.DeviceDesc%=FTD2XX, USB\VID_0001&PID_1000
    %USB\VID_0403&PID_6010&MI_00.DeviceDesc%=FTD2XX, USB\VID_0403&PID_6010&MI_00
    %USB\VID_0403&PID_6010&MI_01.DeviceDesc%=FTD2XX, USB\VID_0403&PID_6010&MI_01

    ... snip ...

    [Strings]
    Ftdi="FTDI"
    USB\VID_0001&PID_1000.DeviceDesc="Texas Instruments USB SPI Adapter"
    USB\VID_0403&PID_6010&MI_00.DeviceDesc="FT2232C Channel A"
    USB\VID_0403&PID_6010&MI_01.DeviceDesc="FT2232C Channel B"
    FTD2XX.SvcDesc="FTD2XX.SYS FT8U2XX device driver"
    WINUN="Software\Microsoft\Windows\CurrentVersion\Uninstall"
    DriversDisk="FTDI FTD2XX Drivers Disk"

    I am wondering if the provided USB-SPI adapter actually works since -AFAIK- the FT245R does not contain FTDI's Multi-Protocol Synchronous Serial Engine (MPSSE) that might be used for the USB2SPI interface.

    Do you know what device description the GUI software is looking for? - Maybe, we can tweak the driver.


    Thank you,


    ND

  • Andy,

    All of the TI USB SPI adapter should have the FTDI245R programmed with VID of 0001 and PID of 1000. This is why the driver I have attached before would work with the USB SPI adapter.

    As for your question regarding MPSSE, we have configured the FTDI chip to bit-bang the SPI bus. Therefore, the MPSSE is not being used. The driver I have attached should work and is tested on several freshly installed Windows XP system. Please try to install the driver again with Windows Driver Installation Process. 

    -KH

  • Kang,

    On the TI USB SPI adapter I have received the FTDI245R still has the default  VID of 0403 and PID of 6001. This would explain why the driver provided earlier will not work with this USB SPI adapter.

    Does this also mean that the chip has not been configured  to bit-bang the SPI bus? - Despite the fact that after I have changed the *inf file and the system detects the adapter now as "Texas Instruments USP to SPI adapter" I still cannot establish a communication with the EVM

    Thank you,

    ND

  • Kang,

    A brief update:

    Here is the ROM content of the FT245R

    0000: 0140 0304 0160 0006 A02D 0800 0000 980A
    0008: A220 C212 2310 0500 0A03 4600 5400 4400
    0010: 4900 2003 4600 5400 3200 3400 3500 5200
    0018: 2000 5500 5300 4200 2000 4600 4900 4600
    0020: 4F00 1203 4100 3800 5500 4B00 3400 3600
    0028: 5100 4F00 7B60 2080 0000 0000 0000 0000
    0030: 0000 0000 0000 0000 0000 0000 0000 0000
    0038: 0000 0000 0000 0000 0000 0000 0000 B362
    0040: 3A04 C5FB 0100 7B60 2080 4200 0000 0000
    0048: 0000 0000 0000 0000 3841 3352 414C 3549

    After I changed the VID to 0001 and the PID to 1000, the device is correctly detected w/o any changes to the driver.

    However, there is still no communication to the EVM.

     

    ND

  • Andy,

    I found the problem. It turns out the USB SPI interface board was not programmed at the board shop. 

    I have attached a program that you can use to program the adapter board. The instruction will be send on a separate post.

    If you still have problems with the board, we can exchange the board with a known working board. I can contact you offline regarding the exchange.

    -KH

    USB Serializer Installer.zip
  • Andy,

    Programming Instruction is attached.

    -KH

    USB SPI Programming Instruction.ppt
  • Kang,

    After flashing everything seems to work just fine.

    Thank you for your help.

    ND