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.

CCS/TMS320F28335: How to Interface SPI -DAC with TMS320f28335 DSP

Part Number: TMS320F28335
Other Parts Discussed in Thread: DAC7554, C2000WARE

Tool/software: Code Composer Studio

I am using DAC7554 IC to interface with SPI part of the DSP board. To configure SPI, we need to configure only GPIO16, 17, 18, 19 to generate the SCLK, SYNC and DIN singal for DAC7554.


How can i configure DAC setting when i use SPI as an interface source for DAC. 

  • 1) Configuring the pinmux to be SPI pins is not enough. You will need to setup and configure the SPI peripheral on F82335 (see examples in C2000ware, there is a sticky post on the Forum)
    2) Then you need to review the DAC datasheet details to understand the specific SPI format to talk to the DAC chip ( for example phase, polarity and data length)
    3) The DAC datasheet should also provide the memory map and sequence to write to specific registers (for example: Command then Address then Data)