Prasanth, I'm not sure I understand what the logic analyzer output shows. There's still a lot on MOSI, so I'm not sure what it is that you are writing to the device. Also, it doens't look like there is any triggering from the /DRDY (I assume that is Channel 5 from the logic analyzer). If there is an SDATAC issued, then you could use the RDATA command to get the data, but I don't see that either. I'm not an expert at reading code, but I don't see an SDATAC in the code and in the logic analyzer output. In the logic analyzer output only shows one SDATA command. If you can send me the Saleae file, I can read it (I have a Saleae also). However I'd like a bit of explanation as to what you are writing to the device. Joseph Wu
↧