how to average samples from adc?

Discussion in 'VHDL' started by samsom, Jun 20, 2009.

  1. samsom

    samsom

    Joined:
    Jun 20, 2009
    Messages:
    1
    Likes Received:
    0
    hi, i'm a vhdl beginner and i've just finished implementing & connecting an external 8-bit ADC to my spartan fpga board. I'm currently sampling with a very high frequency which can cause me a problem later (with LCD display). What i need to do next is to take like 1000 (ad conversion 8-bit) results, sum them and average them to get a new result (output). Any idea how could i do it? With a counter or maybe with a loop? Thanks for your answers.
     
    samsom, Jun 20, 2009
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.