Post Go back to editing

AD5370 Eval - Software Development API - CYPRESS USB (EZUSB CYUSB)

I would like to be able to write my own software to interface to a EVAL-AD5370 DAC board. Does anyone know if Analog Devices has a published software document that describes how to interface to their (many) USB/EVAL devices? I know that they use the CYUSB family of USB products from CYPRESS, but I can't divine a way to get from the USB port to the output pins and make it to the SPI interface. This could really qualify as more of a general question, as Analog Devices produces has many EVAL boards that have a USB interface. One of the tougher parts about trying to do this on my own is the fact that a HEX file is downloaded to the CYPRESS part right as the AD EVAL software starts. Who knows how that changes the USB Interface? The current EVAL app look like a Visual Studio app and uses ADI_CYUSB_USB4.dll. Any insight welcome - especially from an AD Software type!

(WINDOWS 8, Visual Studio V6, V10 or V11 C++ or C# / .NET)

Thanks!

  • Hi jyeary,

    The Cypress chip is not being used in eval boards (for DACs anyway) anymore due to lack of support for Win 7 and later. We have switched to the System Demonstration Platform (SDP) for new developments. It is probably easier to use the SDP and a breakout board to connect signals to the J3 connector of the AD5370 eval board. I'm not an expert on the SDP but I believe it is possible to write code in the languages you mention above to control the board.

    The eval board software for the AD5370 was written in Visual Basic 6 and the HEX file is written in C. If this is any help to you I can send you the source code.

  • Hi KenK

    Thanks for the response!  If you could send the software, that would be great, that will give me something to do while I wait for an SDP module. Sometimes no matter how hard you look, it's always good to ask a question. I didn't know AD was producing an SDP line ( i had actually searched, but didn't know what I was looking for), and I am glad to know it! The other neat thing was the "More Like This" side bar produced answers I didn't find on my own, although again, I had searched. This article may be of some use to me or others: https://ez.analog.com/message/40763#40763

    Since my dual goal was to do/learn a usb  interface and I needed a DAC with a lot of channels, your 40 channel EVAL Board seemed a logical choice. I bought what digikey had. I knew from previous experience with an AD DDS eval board that it wasn't going to be easy (I failed with the usb and DDS that time but didn't have the time I have now).

    Thanks again so much!

  • Ken, I am also trying to develop software for the 5370.  If you could please send me the source code that would be most helpful.  Thanks in advance,

    Chris

  • Hi Chris,

    I've tried to send you the software but it keeps getting bounced back. Is the email address in your profile correct?

    Ken

  • Hi Ken, the email in my profile is correct.  Try sending me an email without the software to see if it goes through.

  • Hi,

    I could use the CYusb software source too.

    This is cross-posted from a different thread to rbrennan:

    Your MSWindows implementation is far ahead of your Linux implementation, but your CYusb library appears to not have the same API names as the Cypress cyusb and usblib libraries.

    I would like to reverse engineer the calls to make it work.

    In particular, I am trying to figure out what "connectedDevice.ControlEndPt.XferData" in the console writer program you posted corresponds to what in the cyusb or libusb library call.

    My employer is planning to purchase at least 100 ADF4351's for a project funded by the NSF (and possibly the US Airforce -> another 400+ or so units) to revolutionize radio astronomy, but we (MIT) may not purchase your parts if I cannot get the software to work.

    Any assistance?

  • Hi jyeary,

    I would like to implement my own VB6 code for AD5370 evaluation board. Could you please help me to complete the coding

    Regards,

    Obulesu

  • Hi Ken,

    Could you please send the VB6 code for AD5370 evaluation board.I am new to VB,so please help me in completing my job.

    Best Regards,

    Obulesu

  • Hi Obulesu,

    The software is attached but I'm afraid Analog Devices cannot provide support for source code.

    KenK

    AD5370code.zip
  • Hi KenK,

    Thank you very much for your support. AD5370 code is working fine.

    Regards,

    Obulesu