Hi,
I found an example (8004.Edma_spi.zip) of SPI with EDMA
from http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/211199
I can run once pass at first time, but I can't run this test again (Run->Restart). It would get struck on
void Setup_SPI (void) { while(!(((CSL_SpiRegsOvly) CSL_SPI_REGS)->SPIFLG & 0x00000100)); <== Struck here. }
If I reset the system (Run->Reset->System Reset + Run->Restart), the test would pass.
How can I fix it? Thanks you.
My project: SPI_test1.zip