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.

TMS320F28388D: Sharing SPI Between Cores

Part Number: TMS320F28388D


Tool/software:

Hello,

I want to be able to access a SPI bus from all three (Core1, Core2, and CM) processors. The examples all show single core access, and I cannot tell if we can switch ownership dynamically (programmatically) to access the external device. Is this possible?

If not, then allowing one of the processors (say, CM) to control the SPI peripheral, can I then use DMA to indirectly access the external device? This approach would be something similar to the dma_ex1_shared_periph_cpux example. Although this approach may work, it is more cumbersome than just coordinating the sharing a the SPI bus.

Thanks for the advice!