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.

Connecting C6748 SPI0 to multiple DACs using multiple Chip Selects

Hello,

I would like to use a single SPI port on C6748 to connect to multiple DACs using SPI0 multiple Chip Selects. I would also like to use EDMA channels to transfer the data from memory buffer to a specific SPI connected DAC, then move to the next DAC, and the next. Is this possible? Can EDMA channel be tied to a specific SPI Chip Select?

Thank you,

Alex

  • Alex,

    EDMA channels can not be tied to a specific SPI CS, however a EDMA channel(or the CPU) has the ability to write the upper 16bits of the SPIDAT1 register and change the Chip select (using the CSNR[n] bits).  Not fully sure how do implement that but its just an idea that might help you implement a solution to what you are trying to accomplish..

    regards,

    miguel

     

  • Miguel,

    1) How do we interface 18-24 bit ADC to a SPI bus on the C6748.  Is there a way to set up the SPI interface to be able to read 18-24 bits of data from an ADC

    2) How do we interface an 18-24 bit Parallel ADC to a C6748.  I only has a 16 bit external parallel interface.

    3) We would like to inteface C6748 to a host processor using eHPI interface, but our host processor only supports the following interface modes:

          Multiplexed 32-bit address and 32-bit data OR

          Multiplexed 32-bit address and 16-bit data or

          (non-multiplexed 16-bit address and 16-bit data)

          Non-multiplexed 32-bit address and 32-bit data busses

    Thanks,

    Alex