2020-10-13 06:24 PM
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.
2020-10-19 01:36 PM
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 ?