AD7887

Hi,

I'm using an AD7887 (Vdd +5V) to read a 2 axis accelerometer. I'm following the datasheet, ma I can't read valid data.This is what I'm doing:

1) CS to low

2) delay 5us

3) on first clock cycle I give an HIGH state on DIN pin (DONTC)

4) on second clock cycle a LOW state (ZERO)

5) REF = HIGH

6) SIN/DUAL = HIGH

7) ZERO = LOW

8) PM1 = LOW;

9) PM0 = HIGH (for powered up mode)

10) LOW state for other 8 cycles

11) CS to HIGH

I repeat this loop continuously, but on DOUT I read strange values!

Can you help me?

PS

I'm using an oscilloscope as analyzer and I perfectly use other ICs with SPI (DAC, Temp sens, other ADC models)...

Parents
No Data
Reply Children
No Data