Hello,
I am trying to send SPI data from an Aardvark host adapter to the DAC60096. When I use the SDM-USB-DIG to connect from my PC to the DAC, data is sent fine. Additionally, I can see the 16 bit strings necessary to write to the PTR register and select a DAC, and then the 12 bit twos complement voltage setting on the next data cycle. I am working in LabVIEW and I am confused because my code is not outputting a from the DAC. I have all the power inputs correct and SPI pins connected to the Aardvark. My question involves how data should be sent to the DAC.
Right now I have an unsigned 8 bit array of 24 binary values being sent to the DAC at a time. The first write is to the PTR register and to select which DAC to write to. Then the next write is to the BUFA register and that gives the DAC a twelve bit two's complement number. However, my DAC is not changing voltage with this code. I am wondering if there is a different format the data needs to be sent in? Or any other tips/help would be greatly appreciated. I can send you my LabVIEW code as well. Aardvark has a set of VI for writing SPI, I just need to send it the data. My script should write a voltage to the D1_G1 DAC, but it is not.
Thanks for any help/input.