Post Go back to editing

How to read voltage from AD5535B software

Category: Software
Product Number: AD5535B

The AD5535B software takes DAC Code to set the voltage for the 32 channels. I don't know the relationship between the DAC Code and the voltage on the channel. In the datasheet ( https://www.analog.com/media/en/technical-documentation/data-sheets/AD5535B.pdf), there is an equation (page12) that technically should show this relation but in reality, it doesn't. I tested this for V_ref=1 and the following is the output voltage of channel 28 which doesn't follow the equation. Could you help?

Furthermore, at DAC code 0, I would imagine all channels should have a zero voltage but they don't. They are in the range of 0.1-0.3, is this within the accuracy of this board?

#channel 28

DACCode voltage(V)
0 0.116
10 0.119
50 0.182
100 0.834
200 1.900
300 2.936
400 3.995
600 6.105
800 8.22
900 9.29
1000 16.69
1500 21.98
2000 33.62
2500 38.94
3000 49.91
3500 49.94

  • Hi  ,

    Can you share how the evaluation board is currently setup? Link positons, supplies,etc? 

    Are you using the on-board ~1V reference or is it an external one?

    What you measure is still within the Zero code voltage specification which is as expected:

    I've tried plotting your data, as you've mentioned, the expected voltage and the linearity isn't what you expect.

    Can you monitor your SPI lines (SCLK, DIN, /SYNC) and compare if the data written to the part is correct?

    Cheers,

    Ivan

  • Thanks for the reply! Ok about the zero voltage, apparently this is the precision of the board.
    About the DAC cod and voltage:

    Can you share how the evaluation board is currently setup? Link positons, supplies,etc? 

    I am using the onboard Vref 1V. Noting on the board is changed other than this.
    I am using a 5V power supply for DVcc, AVcc, and V+ and a 51V power for Vpp.

    Can you monitor your SPI lines (SCLK, DIN, /SYNC) and compare if the data written to the part is correct?

    I am not an expert and I am not sure what you mean by this. Could you please explain?

  • Hi  ,

    Apologies, what I meant was to use an oscilloscope and capture the SPI signals (through SCLK, DIN, and /SYNC pins) while you are writing to the part (e.g. writing DAC code = 3500 to Ch 28).
    With the oscilloscope shot, we could see if the part receives the correct information (data bits, voltage level, timings, etc).

    Cheers,

    Ivan

  • I checked that. It is working well. I attached some photos for different values of DAC: 3500, 3000, 100, 50