Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

A/D converter-FPGA-USB

Hello,

can anybody provide some basic idea to get digital data from A/D converter(HSMC) into cyclone IVE fpga and pass it into computer via USB port.

Thanks in advance

23 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    A couple of suggestions:

    1) Look at the 2's compliment data and sign-magnitude data values. Is your conversion logic correct?

    2) Create a Modelsim simulation and check your logic.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    When I want to capture a block of samples from an ADC, I'll typically write my own code to capture to a RAM block or multiple RAM blocks. The RAMs are configured as dual-ported, with one side connected to the ADC, and the other connected to an Avalon-MM system. I then read the captured samples from RAM using the JTAG interface, via the method described in this tutorial

    http://www.alterawiki.com/wiki/using...aster_tutorial

    --- Quote End ---

    In this tutorial, in "software version" section It is mentioned that:The tutorial was developed using Quartus II 11.1sp1 (full edition) under Windows XP Professional 32-bit.

    Quartus II 11.1sp1 (full edition)--> means "Subscription Edition"

    am I right? and that means it doesn't work with Web Edition (free) or it also works with web edition?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    In this tutorial, in "software version" section It is mentioned that:The tutorial was developed using Quartus II 11.1sp1 (full edition) under Windows XP Professional 32-bit.

    Quartus II 11.1sp1 (full edition)--> means "Subscription Edition"

    am I right? and that means it doesn't work with Web Edition (free) or it also works with web edition?

    --- Quote End ---

    Read the tutorial - Appendix A lists all the versions I tested the scripts under - including Web Editions.

    Cheers,

    Dave