1. ansarirahim

    Thread Starter New Member

    Apr 1, 2008
    1
    0
    Dear All,
    can any one suggest , how to read the 24-bit adc output interfaced to my ARM9 board..please do urgent...and provide code and circuit diag. if necessary..
    with thanks
    Ansari
     
  2. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
    Connect the output of the ADC to some pins of the ARM (with some resistors if necessary) and define these pins as inputs. Then write the appropriate code to read the specific inputs on the ARM when you want.
     
  3. scubasteve_911

    Senior Member

    Dec 27, 2007
    1,202
    1
    If you have the board, then why would you need circuit diagrams?

    From experience, you should get aquainted with the ARM library reference manual along with the reference guide for the processor. When writing code, I have these two PDFs open at all times.

    There are a lot of steps for setting up the hardware,

    1) Ensure you clock the peripherals
    2) Enable the pin as an Alternate function input (since used by ADC)
    3) Setup the structure to initialize the ADC, then enable it,
    4) read the values on interrupt or flag monitoring

    Steve

    PS. What software are you using? What device? You have a debugger?
     
Loading...