Post Go back to editing

AD777x Dev kit with AD7771 SPI readout always 0

Thread Summary

The user was trying to configure the AD7771 to read out all 8 channels via SPI at a 250Hz ODR. The issue was resolved by correctly setting the gain-corr register, which should not be set to 0 but relative to the default value of 0x555555. The EVAL-AD777xFMCZ rev. D dev board was used for this configuration.
AI Generated Content
Category: Hardware
Product Number: AD7771

Hello, I'm trying to configure AD7771 to read out all 8 channels via SPI at a ~250hz ODR 

I'm pretty sure I'm setting the decimation rate correctly, as I can see with logic analyzer that I get DRDY at ever ~4ms which is correct (I set the dec rate int to 4095 and dec rate dec to 99 ) 

Here's the readout to some of the relevant registers ( I saw they were needed on other thread) Numbers are HEX, but withouth the 0x 
[00:00:00.541,595] <inf> adi_ad7779: gen usr 1: 34 ( This I also configured to be 0x24, but same result) 
[00:00:00.541,687] <inf> adi_ad7779: gen usr 2: 9
[00:00:00.541,778] <inf> adi_ad7779: gen usr 3: 80
[00:00:00.541,839] <inf> adi_ad7779: reg err 0: 0
[00:00:00.541,931] <inf> adi_ad7779: reg err 1: 0
[00:00:00.542,022] <inf> adi_ad7779: reg err 2: 0
[00:00:00.542,114] <inf> adi_ad7779: reg err 3: 0
[00:00:00.542,175] <inf> adi_ad7779: reg err 4: 0
[00:00:00.542,266] <inf> adi_ad7779: reg err 5: 0
[00:00:00.542,358] <inf> adi_ad7779: reg err 6: 0
[00:00:00.542,449] <inf> adi_ad7779: reg err 7: 0
[00:00:00.542,541] <inf> adi_ad7779: AD7779_REG_CHX_ERR_REG_EN: fe
[00:00:00.542,633] <inf> adi_ad7779: AD7779_REG_GEN_ERR_REG_1: 0
[00:00:00.542,724] <inf> adi_ad7779: AD7779_REG_GEN_ERR_REG_1_EN: 3e
[00:00:00.542,816] <inf> adi_ad7779: AD7779_REG_GEN_ERR_REG_2: 0
[00:00:00.542,907] <inf> adi_ad7779: AD7779_REG_GEN_ERR_REG_2_EN: 3c
[00:00:00.542,999] <inf> adi_ad7779: AD7779_REG_STATUS_REG_1: 0
[00:00:00.543,090] <inf> adi_ad7779: AD7779_REG_STATUS_REG_2: 0
[00:00:00.543,182] <inf> adi_ad7779: AD7779_REG_STATUS_REG_3: 10
[00:00:00.543,182] <inf> adi_ad7779: AD7779_REG_CH_DISABLE 0

According to this the configuration is sort of correct, But when I try to read out the channels all I get is 0 for the data, and it seems a bunch of errors for the header 
Here's the data readout for the first 2 channels, rest are similar. 
Is there anything to guide me further?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.