+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Member level 4
    Points: 1,391, Level: 8

    Join Date
    Aug 2010
    Location
    kerala
    Posts
    69
    Helped
    0 / 0
    Points
    1,391
    Level
    8

    How To Read Data From AD7714

    Hi
    For my data acquisition project i need to interface the external ADC AD7714 with my micro controller ATMEGA8A which is running in 16MHz. The ADC is running in 2.4576MHz. These two are interfaced by SPI protocol. i configured all the registers and when i am trying to read the data from the ADC and displays in LCD it shows always 255255255. I tried with different register values but still i am getting the above said one value. can anyone have any suggestion for this...please help..

    •   AltAdvertisment

        
       

  2. #2
    Advanced Member level 5
    Points: 8,498, Level: 22
    Easyrider83's Avatar
    Join Date
    Oct 2011
    Location
    Tallinn, Estonia
    Posts
    1,517
    Helped
    343 / 343
    Points
    8,498
    Level
    22

    Re: How To Read Data From AD7714

    Love me or hate me. All infractions will be ignored.



    •   AltAdvertisment

        
       

  3. #3
    Member level 4
    Points: 1,391, Level: 8

    Join Date
    Aug 2010
    Location
    kerala
    Posts
    69
    Helped
    0 / 0
    Points
    1,391
    Level
    8

    Re: How To Read Data From AD7714

    Hi
    I tried with that code also.But i didn't help me a lot.. Still the output is same.. what i have to do.. i am posting the code i had written...The SPI functions are defined in another header file.

    - - - Updated - - -

    Here is the code and the SPI header file.



--[[ ]]--