This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC081S101: DAC DAC081S101 driver testing

Part Number: DAC081S101

I have a SOT-23 package of DAC081S101. 

I am connecting this to imx processor via SPI2 interface. SPI drivers are enabled in the processor. SPI loopback test is successful.

Connections are as described :

DAC081S101 pins imx Processor connection
Va  3.3V
GND GND
Din MOSI of imx
SCLK SPI clock of imx
SYNC GND

And finally the analog voltage will be measured from multimeter. 

I am unable to get the analog voltage corresponding to the digital value written via MOSI pin.  Is anything wrong in the test setup ?

Are there any available test case code which i can use to test ?  

Best Regards,

  • Hi Sandesh,

    I am not aware of any test code base for this device.

    First, the SYNC pin should not be statically grounded.  The device requires a falling edge of SYNC to begin latching the SPI data.  

    Next, you should use an oscilloscope or logic analyzer to verify that your SPI formatting is correctly (ensuring the data is being set up and latched on the correct edge).

    Thanks,

    Paul

  • Thank you Paul for your reply.

    However, i am not completely aware of this way of testing. Could you explain give some procedures or sample test codes which i can go through ?

    Best Regards

  • The most common problem when people are having difficulties communicating with a device is that SPI data is not formatted correctly.  The easiest way to confirm this is to evaluate the communication with a common lab oscilloscope.  

    It is critical that the DAC data is setup on the rising edge and the data latched on the falling edge.  In addition, you need a SYNC falling edge before the communication begins.