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.

DAC63204: Writing DAC0_DATA, DAC1_DATA and LDAC in one SPI package

Part Number: DAC63204

Tool/software:

  • Is there a possibility when using SPI of writing the DAC0 value, DAC1 value and the load dac value at once, without changing the CS pin? I do want them to update simultaneously and not use a ldac pin.

To have an as fast as possible handling from the MCU side, I'd like to compule a package with all this information and push it out at once. so something like:

CS (pin low)

Adr dac0 data write value (24bit)

Adr dac1 data write value (24bit)

Adr commom_trigger LDAC (24bit)

CS (pin high)

  • Hi Devon, 

    This will not work as you have shown. The DAC accepts either the first or last 24-bits, depending on the configuration of the SDO pin, so you can't update more than one register in the same SPI transaction. 

    You'd need to do:

    CS (pin low)

    Adr dac0 data write value (24bit)

    CS (pin high)

    Delay

    CS (pin low)

    Adr dac1 data write value (24bit)

    CS (pin high)

    Delay

    CS (pin low)

    Adr commom_trigger LDAC (24bit)

    CS (pin high)

    Make sure both channels are configured in synchronous mode first in the DAC-X-FUNC-CONFIG registers:

    Best,

    Katlynne Jones