cancel
Showing results for 
Search instead for 
Did you mean: 

DMA QSPI transmit and receive complete

Ehill.16
Senior

I need to know when a DMA QSPI flash transmit and receive are complete. How do I use the QSPI_DMATxCplt and QSPI_DMARxCplt functions. 

10 REPLIES 10
Ehill.16
Senior

I am seeing a 1.6 MB/s transfer rate for writing the QSPI flash using HAL_QSPI_Transmit_DMA, and 38.7 MB/s reading the QSPI flash using HAL_QSPI_Receive_DMA. This seems about right.

But I can't measure the transfer rate using HAL_QSPI_Transmit and HAL_QSPI_Receive because the HAL_QSPI_TxCpltCallback and HAL_QSPI_RxCpltCallback are not triggered.

What do I need to do to get the callbacks to work with HAL_QSPI_Transmit and HAL_QSPI_Receive ?