Other Parts Discussed in Thread: HALCOGEN, TMDS570LS31HDK, TMS570LS3137
Hi,
I am having a little trouble using DMA and SPI. I used to get it to work on a TMDS570LS31HDK, but I seem to be missing a detail on the TMDX570LC43HDK. I configured SPI2 and SPI3 in loopback mode, and 8 Bit character length. There are two buffers, rxBuf and txBuf. I am trying to feed the SPI-TX-Register with the content of the txBuf trough DMA. The output data is looped back to the SPI-RX-Register and another dma channel is set up to move the data from there to rxBuf. The BTC interrupts of the DMA are being fired, but something seems to be wrong on the tx side, I can't see the data being transfered from txBuf to the SPI-TX-Register. I'll attach a little CSS example along with the Halcogen file. Maybe someome can take a look at it and help?
Best Regards,
Juergen