Hi,
I'm trying to code a DAC using SSI for my circuit to work. How do I program the SSI part? I already have a DAC chip
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.
Hi,
I'm trying to code a DAC using SSI for my circuit to work. How do I program the SSI part? I already have a DAC chip
Hi,
You can review the SSI example codes at "\examples\peripherals\ssi". In order for forum members here to help you better, provide relevant details. See, my link "Information to provide when asking for help. Also post a link to the datasheet of that DAC.
Besides resources at TI research elsewhere in the internet.
- kel
Hi,
I'm currently using AD7304 as my DAC.
http://www.analog.com/static/imported-files/data_sheets/AD7304_7305.pdf
I've looked through the example codes but I'm not really sure on how to do this still. I need to make a digital signal that is continuously being sent out from my launchpad to the DAC chip, giving an output from the DAC to be an analogue signal of 3.3Vpp in order for my circuit to work.
Since it will only be transmitting and not receiving, only Tx, FSS and CLK will be used. I'm using SSI3 as the other SSI modules have pins being used by a LCD display.
Will be thankful for any help I can get.
Hi,
Depends on the "analog" signal requirement - its frequency is the most restrictive one. You do not provide details, so little chance to be helped. Neither if you need to make some calculations between samples.
But basically, if your signal is deterministic and periodic (some sine for instance) you can make a table with values of samples, use a timer configured with interrupts and at each interrupt send to SSI a new sample read from the table.
Petrei