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.

DDC11XEVM-PDK: USB interface library

Part Number: DDC11XEVM-PDK
Other Parts Discussed in Thread: DDC264

Tool/software:

Hi,

I am using the DDC11XEVM-PDK eval board and am building a desktop app to interface with it. I found what looks like the interface dll to talk to the eval board via USB (USB_IO_for_VB6.dll). I was able to reference this dll and tested calling the function ReadDeviceDescriptors.

Is there any document or reference guid on how to use the library in order to interface with the DDC11X eval board? Any guidance on connecting to a USB device, setting parameters, taking measurements. 

Just trying to understand how I can use this library to take measurements with the eval board from my own desktop application.

Thanks,

Jack

  • Jack,

    Thanks for reaching out! I'll get back to you tomorrow with more information!

    Shane

  • Jack,

    We're currently checking for documentation on our end regarding this. Expect a response by early next week.

  • I have an update. So I've been working my way through using the library (USB_IO_for_VB6.dll). I found a document called 0216.USB_IO_for_VB6_DLL_User_Guide.pdf in the forums. Not sure if this document is the latest. I also am not sure if the dll I am using is the latest version.

    I'm able to write the FPGA registers and configure the behavior I would like. One thing I am noticing, however, is I don't appear to be getting all of the data I am expecting when I request a measurement from the library.

    I am using the function FastAllDataCap. I have the registers and my function call setup to read 1 channel and 16 samples. When i execute the function the data array that I get back (AllData), only has 16 measurements. From my understanding and the document it should return 32 measurements. Since I am taking 16 samples, it should contain an A and B reading for one channel for all 16 samples.

    Am I missing something here? Does 16 samples mean I am actually capturing 8 readings on A and B?

    Also, let me know if you can provide the latest dll, latest User Guide PDF and any DDC11X specific documentation. I noticed that document has some information specific to DDC264 device and am wondering if I am looking at the wrong document.

    Thanks,

    Jack

  • Hey Jack,

    Have you seen this post?

    https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/929343/ddc11xevm-pdk-communication-through-labview?tisearch=e2e-sitesearch&keymatch=USB_IO_for_VB6_DLL_User_Guide#

    Also, to answer your questions:

    1)

    Side A and Side B for the same channel count as separate captures, so in 16 samples, 8 are A, 8 are B. Comments in the driver source appear to corroborate this. The capture order for 16 samples on a single channel should be:

    0(A), 1(B), 2(A), 3(B), 4(A) .... 15(B)

    2)

    I'm looking for any newer documentation. So far, the linked posts from the above thread are the most recent I've seen on E2E. I'll follow up if and when I find anything more up-to-date.

    Regards,

    Shane

  • Ahh gotcha thanks! Yeah I was a bit confused on that part. So then it sounds like I'm capturing data correctly.

    Thanks for the help.