AnsweredAssumed Answered

Hello,  I'm trying to  use a library of AD7734 by analog to get a data of a voltage measure  between -10V and +10V. For this application i am using a AIN0 port , and the Channel1. I created the SPI function ( SPI_READ, SPI_INIT and SPI_SEND) using the inf

Question asked by bmalbusca on May 28, 2016
Latest reply on Jun 2, 2016 by bmalbusca

Hello,

I'm trying to  use a library of AD7734 by analog to get a data of a voltage measure  between -10V and +10V. For this application i am using a AIN0 port , and the Channel1. I created the SPI function ( SPI_READ, SPI_INIT and SPI_SEND) using the information on Datasheet of microcontroller. In the main program of my code , i tried put the initialization of spi ( SPI_INIT), Set_registervalue_AD7734(...) and after Getregsitervalue_AD7734(...) but doesn't work at all. To test and debug i am using a logic analyzer and a oscilloscope.  Data ConvertersPrecision ADCs@

 

The source code  are attached.

Thanks.

Attachments

Outcomes