Post Go back to editing

AD4853: SPI CSDO communication issue when reading test pattern

Thread Summary

The user is experiencing an issue where the fourth byte of the test pattern register read via the CSDO line on the AD4853 is always 0x00 instead of the expected 0x2A. The support engineer confirmed this is a known issue due to the 16-bit device's digital block forcing the last byte to 0x00, which will be corrected in future datasheet revisions. The user verified the issue across all channels and with different SPI masters, confirming the behavior post-reset and power cycle.
AI Generated Content
Category: Hardware
Product Number: AD4853

Hi,

We are experiencing a communication issue with the AD4853 when attempting to read the test pattern register of any channel.

  • The first three bytes match the expected values, but the fourth byte is always 0x00 instead of 0x2A as specified in the datasheet.
  • We are able to write and read from single-byte registers (e.g., the scratchpad register) and correctly read multi-byte registers (e.g., the vendor ID or product ID registers).
  • However, the test pattern readout on the CSDO line does not match the datasheet for the fourth byte. See the attached logic analyzer screenshot for details.
  • If we continue reading more bytes, the returned values then align with the datasheet as expected.

Setup:

  • Supplies: +/-15V for VCC/VEE, +5V for VDD/VDDH/VIO
  • After boot, the only configuration applied is: enable CSDO line and set packet size to 16 bits

Do you have any suggestions on what could cause this issue when reading the test pattern ?

Thanks for your support.

Best regards

  • Thank you for your inquiry.  Mentioning  for assistance. - Thank you

  • Hi PiR,

    Have you tried reading the other channel's TESTPAT?

    If so, is the last byte correct in other channels?

    Regards,

    Lluis.

  • Hi  ,

    Thank you for your answer.

    Yes, I have tried reading the TESTPAT register from all channels (sorry for not mentioning this earlier).

    Here is what I consistently observe on the logic analyzer and oscilloscope:

    • Channel 0: 0x0A 0xCE 0x3C 0x00
    • Channel 1: 0x1A 0xCE 0x3C 0x00
    • Channel 2: 0x2A 0xCE 0x3C 0x00
    • Channel 3: 0x3A 0xCE 0x3C 0x00

    This is strange because the first byte changes as expected (according to the datasheet), but the fourth byte is always 0x00 instead of 0x2A.

    I tested with two different SPI masters (Raspberry Pi 4B and Arduino Uno, sending the exact same command sequence). In both cases, the result is the same, the fourth byte is always read as 0x00.

    I also confirmed that this behavior is consistent after both a full power cycle (supplies removed and reapplied) and a software reset.

    Could this be caused by a configuration issue on my side ?

    Best regards

  • Hi PiR,

    I'd need to check this on my bench when available, but I am surprised you don't see the default value in the memory map after a reset o power cycle.

    When reading on SDO lines, note that as per Figure 72 you would only be able to read bits [31:8] using the 24-bit packet format though. You would not have access to these bits anyway when using this feature.

    Regards,

    Lluis.

  • Hi Lluis,

    Just to clarify: I am not reading the test pattern through the SDOx data lines, but via the configuration bus on the CSDO line.

    From my understanding, in this case the full 32 bits of the test pattern should be accessible. Could you please confirm if that is correct ?

    Thank you for your support.

  • Hi  

    Please find attached a screenshot of the logic analyzer directly after boot.

    Best regards

  • Hi PiR,

    I have verified this in my bench. You are right, the last byte is always 0x00 so that means a typo in the datasheet we should correct in future revisions. 

    Because this is a 16-bit device, there are only 16-bit and 24-bit packet options available…. Because of this, the digital block is forcing the last byte in the TESPAT registers to 0x00 (as these will never be clocked out in SDO lines).

    Regards,

    Lluis.

  • Hi Lluis,

    Thank you very much for your answer.

    Best regards

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.