Hi,
I want to use in the same time 2 SPI devices with my TMS320F28335 Experimenter kit board : an ADC and a DAC, with their own Evaluation modules (ADS8365 and DAC8568).
How can I do the link? this 3 peripherals?
Thank you!
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 want to use in the same time 2 SPI devices with my TMS320F28335 Experimenter kit board : an ADC and a DAC, with their own Evaluation modules (ADS8365 and DAC8568).
How can I do the link? this 3 peripherals?
Thank you!
Alessandro,
You really have two options here. You can put both devices on the same SPI bus and connect their chip select lines to seperate GPIOs on the F28335 OR you can connect one device to the SPI peripheral and another to the McBSP. The McBSP can be used in a SPI mode to interface with a standard SPI peripheral. This is documented in the McBSP users guide.
Regards,
Trey
Thanks for the reply!
Have you got a sample code for connect two (or at least one) SPI devices like ADC,DAC with the F283xxx series?
Thank you!
Alessandro,
Yes, example code for how to use each of the peripheral can be found in controlSUITE, our software support package. Go to ti.com/controlsuite to download and install the software. Once you get the software look in C:\ti\controlsuite\device_support\F283xx\examples and you should find what you are looking for.
Trey
Unfortunately I have already searched, but there is only a spi_loopback program. I would have a practical example of using external ADCs\DACs!
Alessandro,
The controlSUITE software is meant to give basic examples of how to use each peripheral. When we write this software we intend for it to be run on a controlCard. ControlCards do not have external ADC or DACs present, but if they did we would put examples of how to use them in controlSUITE.
Also of note, no two ADCs are the same. It doesn't make sense for us to spend our time writing software for use with one ADC or DAC when there is a whole market full of other ADCs and DACs. Where would we stop? Would we write software for every piece of hardware out there? Its just not practical from our perspective.
Sorry I can't be more helpful. My only advice would be read the datasheet for both the ADC/DAC and the Delfino device and implement it yourself. You might learn something :)
Regards,
Trey
Yes, you have right, I don't want that you spend your life writing code for every ADCs\DACs,
in fact I was not meaning that you have to write code for all the ACDs and DACs, that I know that are a lot,
but at least write an interface program only for one of them! Becouse for the F2833x there is neither a program!
Ok, thank you..