AnsweredAssumed Answered

AD7172-2 Sample rate not updating

Question asked by Allsetgo on Apr 4, 2017
Latest reply on Apr 11, 2017 by JellenieR

Hello

I have mounted an AD7172-2 on my board and trying to vary it's sample rate but I am not able to.

AVDD1 = AVDD2=5V

IOVDD = 5V

ATMEGA164P Micro= 5V

 

Using Single-Ended Channel

AIN1 = + input

AIN4= gnd

 

Using Internal Oscillator

Using AVDD1-AVSS as reference by setting bit (5:4) = (11) of SETUP CONFIG 0

 

I have set the following values to the registers

ADC MODE REGISTER = 0x0000 (for internal oscillator and continuous mode)

INTERFACE MODE REGISTER = 0x0100 (setting DOUT_RESET)

CHANNEL REGISTER 0 = 0x8024 ( setting AIN1 as +ve i/p and AIN4 as -ve i/p)

SETUP CONFIG0= 0x0030 (setting AVDD1-AVSS as reference)

FILTER CONFIG 0= 0x0000 

 

When I apply a 1Hz Sine-wave (offset applied) to the input i.e. AIN1 , the sampling rate is around 20SPS. How can I change the sampling rate. I tried couple of configurations for FILTER CONFIG0 but none give me satisfying result.

 

Thank you

Outcomes