2019-04-13 11:05 PM
I have SPI2 set up to access external flash - and it works well without DMA.
Setting up SPI2 to access flash with DMA, a read correctly fills the buffer provided - but my callback functions (overriding their __WEAK counterparts) aren't called (HAL_SPI_RxCpltCallback, HAL_SPI_TxRxHalfCpltCallback, HAL_SPI_ErrorCallback). Please help resolve issue. Please provide source code example for this. See my code attached - flash_read_dma().