stm32h7xx_hal_driver icon indicating copy to clipboard operation
stm32h7xx_hal_driver copied to clipboard

Fix DMA callback references for memory buffers

Open M-Bab opened this issue 3 months ago • 2 comments

For the BDMA the order of the half completed interrupt calls seems in the wrong order.

If I am at a HALF interrupt I have also to call the corresponding interrupt of the SAME buffer (because it is obviously not completed yet). Compare with the Half Transfer Complete Interrupt management of the regular DMA.

Just stumbled upon this without further research. You might want to check your entire code base for the correct call assignment of Xfer*CpltCallback depending on DMA_SxCR_CT.

IMPORTANT INFORMATION

Contributor License Agreement (CLA)

  • The Pull Request feature will be considered by STMicroelectronics after the signature of a Contributor License Agreement (CLA) by the submitter.
  • If you did not sign such agreement, please follow the steps mentioned in the CONTRIBUTING.md file.

M-Bab avatar Dec 03 '25 13:12 M-Bab

Hello @M-Bab,

Thank you for your report, I'll log an internal tracker.

BR, Mohamed Chaker.

MKISTM avatar Dec 08 '25 15:12 MKISTM

ST Internal Reference: 223418

MKISTM avatar Dec 08 '25 15:12 MKISTM