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.

Dac8562 hook-up to TMS570LC4357 SPI module

Other Parts Discussed in Thread: DAC8562

Hi,

Can anyone offer an example hook-up between DAC8562 and TMS579LC4357 MiBSPI module?

The naming convention is confusing. 

Also, is there an example MCU code in CCS out there?

Thanks

  • Hi Ning,

    Sorry for the delay. I did not see this post come through.
    Unfortunately, we do not have any MCU code for the DAC8562.

    I would encourage you to ping the MCU team for a sample code to initialize the SPI interface. The DAC8562 has a 24-bit buffer that is falling edge triggered. You can give them this information to help you get started with the MCU.

    Essentially you should ask them for help setting up a writeSPI() function that will abstract the details of the MCU SPI module. This function will take a binary or hexadecimal value to communicate with the DAC. i.e 0x19FFFF (This will write code 0xFFFF to the DAC register and update the output)

    I can help with the rest of the DAC functions if you need.