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.

DAC81416EVM: Using USB2ANY for SPI control

Part Number: DAC81416EVM

I am trying to use a USB2ANY to control a DAC81416EVM via SPI from a PC. I have installed the DACX1416 EVM GUI and the USB2ANY Explorer software (v2.8.2.0). I am able to connect the USB2ANY and the DACX1416 EVM GUI displays “HARDWARE CONNECTED” in green at the bottom of the application.

In the DACX1416 EVM GUI I am able to read and write individual registers in the Low Level Configuration page, and use the graphical buttons on the High Level Configuration page to turn SYNC on and off, etc.

My ultimate goal is to send the samples of a stored arbitrary waveform to the DAC in an automated fashion so that the analog output of the DAC can replicate that waveform. The arbitrary waveform is currently stored in a .wav file, but I can manipulate the data into another format if/as needed. (Basically, I am trying to play an audio file with the DAC.)

I don’t see any way to interface with either the DACX1416 EVM GUI or the USB2ANY with any sort of script that could send the appropriate write commands to the USB2ANY. However, given the USB2ANY has a maximum clock rate of 8Mhz, I’m inclined to think that there should be a way to use it other than manually entering values to be written.

Here are my questions:

Is there a way for me to automate the write commands sent by the DACX1416 EVM GUI and/or the USB2ANY? Or should I be using a different SPI controller?

 

I’m happy to provide any clarifying information, and I appreciate any insights as to how to go about this.

  • Hi Leif,

    Here is the main issue: TI has not published a customer facing API for the USB2ANY.  There are some scripting tools that exist, but they are all software-timed utilities, meaning that you would have a fast and regular sample rate, but rather a sample rate that will be limited by how often the USB host can send an individual SPI command to the U2A. 

    I do not think that even with the TI API, you would be able to acheive what you are trying.  I recommend an off-the-self solution that has more customer facing hooks, like an MSP430 LaunchPad, or a utility board like FT4232 Mini Modules.

    Thanks,
    Paul

  • Thanks Paul - That answers my question!