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.

DAC088S085: Communicating with DAC over spi help

Part Number: DAC088S085

Hi All,

I am pretty new to SPI and could use help trying to write a C++ interface with this chip.

What signals are needed to set up proper communications with the chip? The set up is a Raspberry Pi 3 and Qt code. 

Main questions are:

- What are the variables I need to set?

- Do these need to be called every time I communicate?

Does anyone have any examples I could see? 

  • Hi Charles,

    Thank you for your query. I won't be able to help you with Raspberry Pi and Qt. However, I am putting down the generic setting in any SPI driver, You can configure this and get started with some example code:

    1. SPI Mode: 01

    2. CS Polarity: ACTIVE LOW

    3. Speed: Any allowed value less than 30MHz

    4. Word/packet size: 16 bits

    5. CS type: Per Packet

    Noe that this is an exhaustive list. Many drivers may not have exposed all of them. So, just configure the necessary ones and send the data as mentioned in the datasheet of the DAC.

    Hope that answers your question.

    Regards,

    Uttam Sahu

    Applications Engineer, Precision DACs