Post Go back to editing

AD 7172-4 sampling rate not updating

Hello ,

I am using AD 7172-4 EVAL board with arduino uno , i am able to read and write to other registers , but the sampling rate is not changing after configuring the filter register

Thank you.

Parents
  • Hi,

    Can you provide more details about the register map settings? Have you tried to confirm the filter register by reading back the register value? Did you read the correct value?

    If you can monitor the DRDY upon power with /CS low and check if it is pulsing at default ODR. Then try to change the filter register, read back the same register to confirm value then monitor again the DRDY pin. Can you check this please and share the digital scope shot?

    Thanks,

    Jellenie

  • Hello,

    I tried reading back the register  value and it is correct  and also monitored DRDY pin with CS low , it is pulsing properly till 1007 S/S rate , but after that the sampling rate doesn't match the set filter value . 

    The register map settings are :-

    Using single ended mode.

    1. Interface mode register : ( 0x0041 ) data stat enabled

    2. channel 0 register : ( 0x8064 )       AIN3 as +ve  i/p   and  AIN4 as -ve  i/p  (gnd).

    3. Setup config 0 : ( 0x0010 ) External reference AIN0 and AIN1

    4.Filter config 0 :  0x0000 

    5.ADC Mode register : ( 0x0000 )  continous conversion mode.

    Thank you,

    Faiz.

  • Hi.

    Do you have exactly an example scope shot of your digital interface for example for a certain filter register settings (set ODR), how the DRDY is pulsing? If it is not pulsing at correct ODR, can you tell what ODR does it corresponds to? 

    What do you mean as well by 1007s/s rate? Is it for the default ODR of 31.25ksps? So you are monitoring the DRDY pin with 31.25ksps and it looks okay until the 1007 samples (conversions)? Is there any changes with setup when it happens, and again what ODR does it corresponds until that case?

    I would suggest if you can put in a table what's happening on your test setup it might be easy for us to understand. So for example. Put in a table the data you write to the filter register, the corresponding data you read back on the same register to confirm that they correct, then the corresponding ODR that you see in scope shot, etc.

    Thanks,

    Jellenie

Reply
  • Hi.

    Do you have exactly an example scope shot of your digital interface for example for a certain filter register settings (set ODR), how the DRDY is pulsing? If it is not pulsing at correct ODR, can you tell what ODR does it corresponds to? 

    What do you mean as well by 1007s/s rate? Is it for the default ODR of 31.25ksps? So you are monitoring the DRDY pin with 31.25ksps and it looks okay until the 1007 samples (conversions)? Is there any changes with setup when it happens, and again what ODR does it corresponds until that case?

    I would suggest if you can put in a table what's happening on your test setup it might be easy for us to understand. So for example. Put in a table the data you write to the filter register, the corresponding data you read back on the same register to confirm that they correct, then the corresponding ODR that you see in scope shot, etc.

    Thanks,

    Jellenie

Children