Am trying to interface Atmega328 with AD7124-8, Am using the CN0391 sample code which has provided in an analog device link. Unfortuly it is not communicating properly. So I want to ensure that my communication is working properly for that I need a simple basic code which master is writing to a certain register and readback the same register.
So anyone can help me to get the sample code. And am using Arduino ide and my board is Arduino Uno. For temperature measurement application I made the PCB in that microcontroller is atmega328 Au SMD package hardware is similar to Arduino UNO board and ADC section is similar to CN3091.
schismatic is attached below please have a look.
SCHEMATIC1 - PAGE5.tif
The answer to this question is discussed here. We should keep the discussion in one place.