hpm-hal
hpm-hal copied to clipboard
SPI finish interrupt is not working under DMA mode // Batch Async SPI Transfers with Bulk Data Exhibit Unreliable Behavior
It seems that Future returns before the SPI transfer has finished.
Only occurs when bulk data is transferred under slow SPI frequency.
UPDATE:
SPI finish interrupt is not working under DMA mode.
Bug in async fn transfer_inner().
DMA finish is awaited. No RX/TX finish signal is awaited.
Added busy-loop waiting to address the issue. This issue will remain open to document the hardware behavior.