summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/HAL_Drivers/drivers/drv_spi.c
AgeCommit message (Collapse)Author
2026-09-16[bsp][stm32] Add stm32n657-st-nucleo BSP (#11799)yans6666
* [bsp][stm32] Add stm32n657-st-nucleo BSP * style: format STM32 HAL drivers and STM32N657 BSP with clang-format
2026-09-14[bsp][stm32] Add SPI BDMA support and unify DMA/BDMA/GPDMA configmoment-NEW
- Unify DMA/BDMA/GPDMA descriptors in drv_dma (common fields + per-type union) - Support BDMA in SPI driver with h7 dma/spi config header updates - Add SPI6 TX/RX BDMA Kconfig options for H7
2026-06-15fix[STM32][SPI]: keep async route decision stable per messagewdfk-prog
snapshot scheduler and interrupt state once per SPI message reuse the message-level async route decision for all split chunks disable DMA and interrupt paths consistently when async transfer is unavailable avoid mixed async and polling policies within one logical SPI transfer
2026-05-20fix[STM32][SPI]: preload receive-only dummy bufferwdfk-prog
preload the actual HAL receive buffer with 0xFF for receive-only transfers rename spi_dma_flag to spi_xfer_flags to match DMA and interrupt flags clarify SPI async completion and transfer-mode comments add Doxygen comments for STM32 SPI runtime structures and handlers
2026-05-20fix[STM32][SPI]: ignore benign Tx-only OVR after async completionwdfk-prog
2026-05-20feat[STM32][SPI]: add interrupt transfer scaffolding for spi driverwdfk-prog
introduce interrupt transfer route selection and SPI IRQ visibility macros unify DMA and INT completion handling with timeout-triggered abort recovery keep short transfers on polling and use DMA or INT only when eligible refine STM32 SPI init and IRQ registration paths for mixed transfer backends
2026-05-20feat[STM32][SPI]: refine dma config hierarchy for hard spiwdfk-prog
refine the stm32 hard spi dma configuration hierarchy with shared feature macros align dma flag usage with rt-device dma flags and gate dma-only fields and paths make the dma transfer threshold configurable through BSP_SPI_DMA_TRANS_MIN_LEN
2026-05-06refactor[STM32][DMA]: add common DMA helper layer for HAL driverswdfk-prog
- add drv_dma common helpers and stm32_dma_config descriptors for STM32 series - refactor i2c, spi, usart, qspi, and sdio DMA setup and deinit paths to reuse the common layer - unify DMA IRQ enable, rollback handling, and const board-level DMA configuration usage
2026-04-19Fix SPI DMA timeout units and free temporary bufferswdfk-prog
2026-04-19fix:[STM32][SPI]Refactor spixfer to fix DMA reception bug, correct timeout ↵wdfk-prog
calculation
2026-03-16fix[stm32][spi]: add usage_freq and compute transfer timeout by frequencywdfk-prog
2026-01-20update:更新维护者信息PeakRacing
2025-09-25feat[SPI]: Add SPI device detach functionwdfk-prog
2025-02-09[drivers/spi]统一软件SPI配置Rbb666
2024-07-02[bsp][stm32]fix stm32h7 spi transmit fail probelm.Rbb666
2024-04-22[STM32][SPI-DMA]特定条件下接收错误wdfk-prog
2024-03-31[bsp][stm32][spi] 优化H7 DMA数据非字节对齐的处理流程wdfk-prog
2024-01-27[bsp][stm32]完善stm32g0系列部分外设中断处理 (#8509)yangpengya
2023-12-03[stm32] split stm32 drivers as normal and nano driversMeco Man
- move all normal drivers (devices framework drivers) into drivers folder. - create nano folder for nano drivers nano drivers are only for a simply wrap of the HAL function, and not seek for adopting rt-thread devcies framework. - provide unified nano console and GPIO drivers.