I want to use the QSPI interface in full QSPI mode via the XDMAC.
So far I have configured:
- the QSPI for serial memory transfer in full QSPI mode
- XDMAC channels for Tx as well as Rx tranfsers (memory to memory)
- ISR for XDMAC to handle channel interrupts
I can send and receive data via the QSPI, but within the XDMAC_Handler I have to manually set the QSPI_CR.LASTXFER bit in order to get the QCS (QSPI chip select) de-asserted. Otherwise it would remain asserted.
Is there some configuration missing, in order to get the QCS line automatically de-asserted after the XDMAC transfer completed?