STM32L476 HAL_QSPI_Receive_DMA() hangs intermittently.
While doing heavy activity with a NAND flash, the code is generally working, but occasionally I get hung up waiting for an operation to finish. I trapped it on the logic analyzer several times, and it's never at the same time. In every instance the QSPI CLK, it stops after 16 bytes of indirect DMA transfer. It gets worse when I run faster.
Is there any reason why it would do this?
What would a good recovery strategy be?
Here is the state when it happens:


And what a partial transfer looks like.

