2018-08-13 02:36 AM
Hi,
I use DMA in Dual Buffer mode to feed QSPI Interface. Now I need to know when DMA starts with second buffer so I can start to rewrite the first one.
I was checking
static void QSPI_DMATxHalfCplt(DMA_HandleTypeDef *hdma)
and
static void QSPI_DMATxCplt(DMA_HandleTypeDef *hdma)
functions.
Funny enough: TxCplt is called when BOTH buffers are finally transmitted and TxHalfCplt is called when first buffer is HALF transmitted.
So what did I do wrong...
Thanks in advance and best regards
Stefan