Callback functions of HAL Lib with QSPI and DMA in Double Buffer Mode TxCplt / TxHalfCplt for every Buffer??
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-13 2: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
Labels:
- Labels:
-
DMA
-
QSPI
-
STM32Cube MCU Packages
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
