cancel
Showing results for 
Search instead for 
Did you mean: 

Callback functions of HAL Lib with QSPI and DMA in Double Buffer Mode TxCplt / TxHalfCplt for every Buffer??

Stefan M�ller
Associate II

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​

0 REPLIES 0