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.

DAC60508: Configuration of DAC60508 via SPI

Guru 10050 points
Part Number: DAC60508
Other Parts Discussed in Thread: MSPM0L1306

Hi,

I want to configure the DAC60508 via SPI on the MSPM0L1306. Looking at the DAC60508 website, it seems that there is no sample code released to do the configuration on TI's MCU, is there any information that I can refer to? Below is the register map for the DAC60508.

I am also going to refer to the SPI of MSP Academy and M0 SDK sample code.

Thanks,

Conor

  • Hi Conor, 

    We do not have any sample code for this device. Refer to the timing diagrams and SPI programming sections in the datasheet to understand the SPI write structure. 

    The DAC captures data on the falling edge, so make sure the SPI mode on your MCU is configured so that the data is shifted out on the rising edge:

    The write frame is 24 bits total:

    If you need help configuring the register settings for your application, please let us know. 

    Best,

    Katlynne Jones