***please help, urgent, daisy chaining two AD5204***

We have a question regarding daisy chaining multiple AD5204 together. The way we were doing is concatenating 22 bits and sending that to two AD5204s. The clock SPI mode was set to mode2. Only one CS line was used and is initially set to low until all the data are send to the AD5204. The ship work with out daisy chaining but when daisy chained with another ship, we seem to get the wrong output. We used arduino to control it. Bellow is our code snippet:

#include <SPI.h>

const int slaveSelectPin = 10;
const int SDIPin = 11;
const int CLKPin = 13;

void setup() {
  pinMode(slaveSelectPin, OUTPUT);
  //pinMode(SDIPin, OUTPUT);
  //pinMode(CLKPin, OUTPUT);
  SPI.setDataMode(SPI_MODE2);
  SPI.setClockDivider(SPI_CLOCK_DIV128);
  SPI.setBitOrder(MSBFIRST);
  SPI.begin();

  digitalWrite(slaveSelectPin,LOW);
  SPI.transfer(7);
  SPI.transfer(248);
  SPI.transfer(255);
  digitalWrite(slaveSelectPin,HIGH);

}

void loop() {

}

By the way, we do have a pullup resistor

You've posted this in three places - once is enough. Please delete 2 of them.

Moderator