Post Go back to editing

AD5313R spi programming problem

I am testing a board that has a AD5313R DAC by bit banging the SPI signals.  I have LDAC and Gain tied to ground.  I am clocking the part at about 200 Hz (very low speed).  My problem is that occasionally when I set a value the output will go to zero or the output will turn off.  I can consistently program the DACB to 32 dec and then program it to 64 dec and the DACB output will turn off.  If I send a command to turn DACB on it has the correct output voltage for value of 64 dec.

 

I have a logic analyzer on the SPI bus and it does not show any issues.  Except when this happens the output voltages I program are correct.  I have some similar issues when programming DACA but I have repeated the above sequence many times.

 

I am using command 3 (Write to and update DAC Channel n) to program the DACs.

Parents
  •  

    Mark

     

    I am trying to reply again. The previous reply never made it.  The email reply feature does not work for me.

     

    Supply Voltage 3.3 VDC.

     

    I moved to my lab computer and repeated the result I had before.

     

    I sent a 32d value to DAC B and then recorded sending 64d to DAC B which also turns DAC B off.  When I send a command to turn DAC B on it has the correct voltage for a 64d value.

     

    I have also tried it with the clock nominally high with the same result.

     

    This is really weird.

     

    Paul

     

Reply
  •  

    Mark

     

    I am trying to reply again. The previous reply never made it.  The email reply feature does not work for me.

     

    Supply Voltage 3.3 VDC.

     

    I moved to my lab computer and repeated the result I had before.

     

    I sent a 32d value to DAC B and then recorded sending 64d to DAC B which also turns DAC B off.  When I send a command to turn DAC B on it has the correct voltage for a 64d value.

     

    I have also tried it with the clock nominally high with the same result.

     

    This is really weird.

     

    Paul

     

Children
No Data