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.

RTOS: TSW40RF8x: USB interface drivers support

Other Parts Discussed in Thread: TSW40RF80EVM

Tool/software: TI-RTOS

As the TSW40RF80EVM support USB interface for configuring DAC/ADC/LMK etc. instead a straight forward SPI interface. I would like to get access to USB drivers for configuring the chips on the TSW40RF80EVM. The reason I am asking is that we need to have access to all registers of the different devices on board. The provided GUI for TSW40RF80EVM does not enable full access and we cannot integrate it into our software platform. Is it possible to get access to USB interface drivers or source code of the above-mentioned GUI?

Thanks 

  • Ghafoor,

    We are looking into this.

    Regards,

    Jim
  • Jim,

    Thanks. I am looking forward to your cooperation.

    Regards

    Ghafoor
  • The source code for the GUI is not available; however, you do not need it for what you want. The data registers for each individual device are available in each respective datasheet. You can also use the GUI as a convenient tool for generating the configuration file for your specific application. If you double-click in the lower left of the GUI window you will open up a new window that shows all of the register writes performed by the GUI. You can engage that window and configure the device through the GUI as desired and then save the log file of all the register writes. Also, you can access the pre-created configuration files in the installation folder for the same purpose. Many of the register writes are commented to give insight into the register's function.

    --RJH
  • Thank your RJ Hopper for your reply. I agree that we can use the GUI for configuration in a static setup.

    However, we need access to read/write of any register on any device on board from our software platform. For instance, we need to continuously read the status of 0x76 (SYNCBOUT) register on DAC. This corresponds to the sync signal of the DAC which is not connected on our FPGA board. Therefore, we need to continuously monitor the above-mentioned register. I think we cannot do the above with the given GUI.

    It's OK if the source code of the GUI is not available. However, we would still need some info like the following:

    1) An architecture overview of register read/write on any device
    2) An example demonstrating read/write of any register on any device on board from the USB interface.

    Looking forward to your cooperation.

    Regards
    Ghafoor
  • Ghafoor:

    I do not have any specific documents discussing the architecture related to the GUI and EVM structure. If your goal is to program independent registers then you can still use the FTDI USB interface on the EVM and write the SPI commands with your program of choice (i.e. Matlab, LabVIEW, etc.) You can follow the write/read structure for each device as documented in the respective datasheets. The schematics for the TSW40RF80 will give you the information on which I/O pins are used for the SPI data, clock, and enable functions.
  • Hopper,

    Indeed our goal is to program independent registers. I will appreciate if you could give us at least something. For instance, how the payload of a command for programming (reading/writing) a register on a device look like? Thanks

    Regards

    Ghafoor

  • Unfortunately I do not have any further information outside the datasheet. That information should allow you to create a rudimentary SPI interface in the program of your choice to send and receive commands. --RJH