cancel
Showing results for 
Search instead for 
Did you mean: 

Code sample for stm32l451xx SPI DMA unavailable - HAL_SPI_RxCpltCallback not called

ZOvna
Associate

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().

0 REPLIES 0