Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

QSPI with DMA problem on TC234

$
0
0
I'm trying to use the QSPI with DMA, and as usual, the IfxQspi and IfxDMA libraries are extremely buggy.
I have fixed all the bugs I have found so far, and this is the current situation:

o QSPI triggers DMA to fill the TXFIFO and drain the RXFIFO
o DMA reads the transmit data and writes the receive data to the correct addresses
o DMA generates an end-of-transfer service request when TCOUNT = 0.
o Verified by checking DMA_CHCSR001.ICH = 1.
o The interrupt router is ignoring the request and does not generate an interrupt
o The service request is reaching the IR, because I can see SRC_DMACH1.SRR = 1
o The interrupt is winning arbitration, because INT_LWSR0.PN = 0x3d, and DMA1 is using interrupt 61

I'm trying to understand why the interrupt handler isn't being called even though the interrupt is winning arbitration?
What registers should I check?

Toshi

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>