Other Parts Discussed in Thread: CONTROLSUITE
Hi,
The Concerto C28 core supports DMA for McBSP peripheral. Does it support DMA when the McBSP peripheral is configured as SPI?
Thanks, Zeev
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,
The Concerto C28 core supports DMA for McBSP peripheral. Does it support DMA when the McBSP peripheral is configured as SPI?
Thanks, Zeev
Please go through the examples in controlSuite. There is a MCBSP as SPI with DMA example. This does just do loop back. You would essentially set up the DMA to "transmit" as many dummy words as needed. you could have it loop over a single dummy word to save memory, rather than making a memory buffer with dummy data of equal size. Another DMA channel would be set up to copy the received data from the DRRx registers and move them into a memory buffer.
Here is the path for the example I am referring to C:\ti\controlSUITE\device_support\f28m35x\v210\F28M35x_examples_Control\mcbsp_spi_loopback