Post Go back to editing

SPI SDO Readback using Eval board

Thread Summary

The user encountered issues with SDO readback on two ADAR1000 Eval boards when sharing SPI lines. The problem was resolved by installing 0-ohm jumpers on R36 to tie together the SDO lines on both boards, allowing proper readback from Board 1 without enabling Board 0 SDO.
AI Generated Content
Category: Hardware
Product Number: ADAR1000

I am trying to implement the SDO readback using two Eval boards. I have a Board 0 connected to the device running an in-house SPI software via the SPI lines on P3. I then I have a cable going from Board 0 P2 going to Board 1 P1. This way, both boards are sharing the same SPI lines. (Board 1 has address one by connected P10 P4 to P6). 

I was trying to understand the readback errata as I will be reading data from the BFICs occasionally. I have found something curious in the setup I have. After writing to the 0A scratchpad of Board 1 and trying to read back the data, I do not get any data unless Board 0 also has SDO activated. The data stream looks something like this (I am always sending 48 bits, with a CS_N toggle after the first 24 bits, with first 24 addressed to board 0 and second 24 addressed to board 1). When CS_N is 'toggled' it goes from low to high, and stays high for about 50ns between writes.

000018 (CS_N toggle) 200018

000a00 (CS_N toggle) 200a33 

000a00 (CS_N toggle) a00a44

Here, I get back 0x33. However, if I tell Board 0 0x00000 at the beginning, I don't get back 0x33 (line stays high).

This behavior is not at all what is described in the datasheet or the errata. I realize that this error could be for always writing to both chips, but I was curious to know if this behavior has been witnessed before with the eval boards. 

wiki.analog.com/.../adar1000_si_errata_preliminaryv0.pdf

  • I was reading through the documentation and looking through the setup and noticed that neither Eval board we are working with has the 0 ohm resistor jumper on R36.  I see that all the P1/P2 Pin 19 SPI_MISO will end up connected via the cable connecting the two boards, so is this connection necessary?

  • We were able to find and install some jumpers on the R36 of both boards. It appears this was the issue. I am able to readback from Board 1 without having to enable Board 0 SDO. So code looks like this. 

    000000 (CS_N toggle) 200018

    000a00 (CS_N toggle) 200a33 

    000a00 (CS_N toggle) a00a44

    Here, I am able to receive back 0x33 properly.

  • Hi Elvis,

     

    I'm glad to see you were able to resolve your issue. For clarity, I will mention that the ADAR1000 user guide mentions to install a 0-ohm jumper on R36 to tie together the SDO lines. On closer inspection, the schematic shows that R36 series resistor connected to pin 15, and if you connect your SPI SDO line to pin 15, R36 is needed.

     

     

    Thanks,

    Joe