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.

DAC5311: Sample SPI Code

Part Number: DAC5311

Hi E2E,

Good day!

May I know if we have a code for interfacing DAC5311 to a microcontroller (e.g. MSP430 but any mcu will do)?

Thanks!

Best regards,

Franz

  • Franz,

    DAC5311 is a relatively straight forward interface both in terms of the frame structure / timing and the register map (there is only one register), so we have not made the decision to generate any sample code for this device.

    It is a simple 16-bit frame with falling SCLK edges at the critical edge and accepting either clock polarity 1 or 0. So you may use either CPOL = 0 and CPHA = 1 or CPOL = 1 and CPHA = 0 SPI configurations. With that information in mind the MSP430 SSI peripheral can be configured to support the interface directly.
  • Hi Kevin,

    Thank you for the answer.


    Best regards,

    Franz