Code sample for stm32l451xx SPI DMA unavailable - HAL_SPI_RxCpltCallback not called
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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().
Labels:
- Labels:
-
DMA
-
SPI
-
STM32Cube MCU Packages
-
STM32L4 Series
0 REPLIES 0
