Other Parts Discussed in Thread: CONTROLSUITE
How to communicate TI DAC 7568 with C2000 MCU using CCS code composer v5? Need help on programming and wiring.
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.
Other Parts Discussed in Thread: CONTROLSUITE
How to communicate TI DAC 7568 with C2000 MCU using CCS code composer v5? Need help on programming and wiring.
Hi Pranav,
Which C2000 device are you using?
The DAC uses a 3-wire SPI interface, so connect the data input to the C2000 SPI output (I think MOSI in 3-wire mode), the SPI CLK to the DAC data clock input, and the C2000 SPI chip select to the chip select of the DAC.
To determine the wiring for the rest of the DAC pins, you will have to read the datasheet for the DAC 7568 device and understand what all the pins are used for.
For the software, start with the DAC example for your C2000 device (check ControlSUITE). It looks like the DAC needs 24-bit data commands, so set the C2000 SPI for something like 12-bit data length, and then send two words (you can read the DAC datasheet to determine how to pack the bits in each command).
I would recommend getting an oscilloscope and connecting it to all the SPI pins for initial debug to make sure you are getting SPI signals out of the expected pins.