Post Go back to editing

unable to access AD5270 RDAC by SPI

Thread Summary

The user encountered issues with the AD5270 where setting the RDAC value via SPI resulted in a constant 25kΩ resistance between A and W, and reading the RDAC value returned the default value instead of the set value. The final answer suggested adding an external pull-up resistor to the SDO pin, which the user implemented but still observed the default RDAC value. The user's schematic and SPI waveforms were provided for further analysis.
AI Generated Content
Category: Hardware
Product Number: AD5270

Dear Sir,

 I try to use AD5270 in my project, my schematic is in figure 1. however, when i send C3C2C1C0=b'0001' and D9~D0=b'0000000000' to set RDAC=0x000, the measured resistance  between A and W is always 25KOhm. The waveform of my sending command/data is in figure 2.

On the other hand, when i send C3C2C1C0=b'0010' to read RDAC in the next 16 bit SPI communication on SDO, there is no answer on SDO,  the waveform is in figure 3.

Please help me to solve this problem, thank you

Best Regards

P.S. the VDD=3.3V, VSS=GND=0V

Ctchan

figure1.

figure 2 

figure 3 

  

  • Hi  ,

    Thank you for using AD5270.
    The SDO pin is an open-drain output and requires an external pull-up resistor. 
    Kindly try and check if this solves your issue.

    Regards,
    Flynn

  • HI, Flynn

    thank you for your suggestion, I have connected a pull-up resistor on the SDO pin, and i send serval commands to observe the waveform of SPI in AD5270.

    here is my steps and its waveform

    Step1. I send command C3C2C1C0=b'0001' and D9~D0=b'0000001100' to set the RDAC= b'0000001100' 

    Step2. I send command C3C2C1C0=b'0010' and D9~D0=b'0000000000' to read the RDAC in the next 16-bit SPI transform

    Step3. I send the same command and data as Step 2.

    Here, I should read the value from the SDO, which is expected to be b'0000001100'. However, I observed that the SDO pin is displaying RDAC = b'0111111111'. This value does not match what I wrote in Step 1; instead, it is the default value when the power is turned on.

    Please help me to figure out this problem

    Best Regards

    Ctchan