Post Go back to editing

ADC count values are always Zero and unable to clear error bits from Header.

Category: Hardware
Product Number: AD7779

Hi Team,

Unable to get the ADC conversion values from the AD7779 and it is always Zero with errors in header.

If I disable all the channel using register Channel Disable register 0x08. then DRDY signal is not generated.

and if I enable single channel, then DRDY is generated as per Sampling frequency programmed using SRC registers 0x60 to 0x63

After putting ADC in SD conversion mode from internal register mode,

and triggered the SPI read operation on the falling edge of DRDY interrupt.

I am getting below fixed data, this I've tested on two evaluation board AD7779.

rx_buf[31][0] volatile uint8_t 0x5 (Hex)
rx_buf[31][1] volatile uint8_t 0x0 (Hex)
rx_buf[31][2] volatile uint8_t 0x0 (Hex)
rx_buf[31][3] volatile uint8_t 0x0 (Hex)
rx_buf[31][4] volatile uint8_t 0x12 (Hex)
rx_buf[31][5] volatile uint8_t 0x0 (Hex)
rx_buf[31][6] volatile uint8_t 0x0 (Hex)
rx_buf[31][7] volatile uint8_t 0x0 (Hex)
rx_buf[31][8] volatile uint8_t 0x2d (Hex)
rx_buf[31][9] volatile uint8_t 0x0 (Hex)
rx_buf[31][10] volatile uint8_t 0x0 (Hex)
rx_buf[31][11] volatile uint8_t 0x0 (Hex)
rx_buf[31][12] volatile uint8_t 0x3f (Hex)
rx_buf[31][13] volatile uint8_t 0x0 (Hex)
rx_buf[31][14] volatile uint8_t 0x0 (Hex)
rx_buf[31][15] volatile uint8_t 0x0 (Hex)
rx_buf[31][16] volatile uint8_t 0x44 (Hex)
rx_buf[31][17] volatile uint8_t 0x0 (Hex)
rx_buf[31][18] volatile uint8_t 0x0 (Hex)
rx_buf[31][19] volatile uint8_t 0x0 (Hex)
rx_buf[31][20] volatile uint8_t 0x5f (Hex)
rx_buf[31][21] volatile uint8_t 0x0 (Hex)
rx_buf[31][22] volatile uint8_t 0x0 (Hex)
rx_buf[31][23] volatile uint8_t 0x0 (Hex)
rx_buf[31][24] volatile uint8_t 0x6c (Hex)
rx_buf[31][25] volatile uint8_t 0x0 (Hex)
rx_buf[31][26] volatile uint8_t 0x0 (Hex)
rx_buf[31][27] volatile uint8_t 0x0 (Hex)
rx_buf[31][28] volatile uint8_t 0x72 (Hex)
rx_buf[31][29] volatile uint8_t 0x0 (Hex)
rx_buf[31][30] volatile uint8_t 0x0 (Hex)
rx_buf[31][31] volatile uint8_t 0x0 (Hex)

NOTE : For default ad7779_init(), Alert bit was set, this alert bit is resetted after disabling self diagnostic by clearing register bits of 0x58, 0x5A and 0x5C after ad7779_init() function.

I am using external Vref and it is checked it 2.5V proper.

Please help me in reading the ADC values.

Thanks,

Darshan.

Parents Reply
  • Hi DPK,

    The configuration registers seem to be ok, unless I missed something.  

    Could you check that all the voltages are generated properly and they are getting to the ADC?  

    and could you also provide me the position of all jumpers?

    Have been you able to test the EVAL with the SDP-K1 and the EVAL SW?

    Regards

    Joan 

Children
No Data