Forum Discussion

PRiva1's avatar
PRiva1
Icon for New Contributor rankNew Contributor
6 years ago

How do you access live data from an Altera MAX 10 FPGA's built in ADC as a block diagram within Quartus?

Hi, I have an Altera MAX 10 FPGA and am trying to use the built in adc. More specifically, I have an analog signal connected to the ADC1IN6 input. I followed video tutorials which show the Altera ADC Core with PLL combination in order to create an instance of an ADC. Unfortunately, I can't seem to understand how to get the live 12-bit digital data of the analog signal. How can I access these bits using a block diagram for example? Do I need to send a specific command to the ADC in order to start reading data? I am very new to FPGA design and the Quartus software, so the more specific the answer, the better.

Thank you for your time.

3 Replies

  • AnandRaj_S_Intel's avatar
    AnandRaj_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Are you looking for ADC data for post processing?

    Please check below link

    https://www.youtube.com/watch?v=u7y5ZR1E8SU

    I can't seem to understand how to get the live 12-bit digital data of the analog signal. How can I access these bits using a block diagram for example?

    >>You can get access to ADC digital data by using some logic. use IP's or custom IP.

    Do I need to send a specific command to the ADC in order to start reading data?

    >> No,

    Let me know if you need any further assistance.

    Regards

    Anand

    • PRiva1's avatar
      PRiva1
      Icon for New Contributor rankNew Contributor

      Thanks so much for the response.

      I have looked at that video and am very confused by it because it says to code a sequencer block at 3:59, but I'm assuming I should be able to get the ADC up and running without doing this?

      This is where I am at:

      I've verified that my ADC works because I've attached my .sof file to the System Console - ADC Toolkit (Beta) 0 and I can see the Oscilloscope react to my analog signal changes. Now I want to take that ADC and use it in a simple block diagram attached to some LEDs (or find a way to test it using signal tap). In QSYS, I expect that I should export "response" as this is where my data is located? I seem to get no data in this response though.

      My ADC works perfectly in the System Console, how can I just get this data as 12 wires in a block diagram?