Hi,
I am working on communication with XBee S6B module through SPI.
The problem I have is that XBee module starts transmitting reply for API command before the transmission from master is completed.
This effect is most clear during the low bit rate communication.
The XBee module sets the first bit of data on the MISO line right after the front edge of clock pulse which samples last bit of last byte of command frame from master. On the falling edge of that pulse (clock goes to idle after transmitting the last byte from master) the XBee module sets the second bit on the MISO line and as a result the very first bit of reply message could not be sampled by master. The received start delimiter value for example is 0xFC instead of expected 0x7E.
Could anybody advise how to deal with this issue?