Skip to main content
BStud.1
Associate
November 21, 2021
Solved

How do I enable MDMA_IRQHandler using STM32CubeIDE?

  • November 21, 2021
  • 2 replies
  • 1354 views

Hello there.

I've setup simple transfer from SRAM4 to FMC NE1 on my STM32H750 board using MDMA. Write transfer itself complites, however no MDMA callbacks is ever called. After some digging i've found out that HAL_MDMA_IRQHandler is never called. On top of the HAL file I've spotted following text:

(+) Configure the MDMA interrupt priority using HAL_NVIC_SetPriority()
(+) Enable the MDMA IRQ handler using HAL_NVIC_EnableIRQ()

I've done in my main entry just that, but it did not help, becuase underlying function MDMA_IRQHandler is never redefined by the HAL.

I'm using freertos CMSIS_V1. I do not see any NVIC settings in CubeIDE like with UARTs, ETH and so on. I'm just wondering how are you supposed to setup that.

This topic has been closed for replies.
Best answer by BStud.1

Found the solution: https://community.st.com/s/question/0D53W00000iFgQh/stm32h745-mdmairqhandler-is-missing-in-stm32h7xxitc . Cannot delete this post, sorry.

2 replies

BStud.1
BStud.1AuthorBest answer
Associate
November 21, 2021
ST Technical Moderator
November 22, 2021

Hello @BStud.1​  and welcome to the Community :)

Glad to know that you were able to solve this problem.

It's not recommended to delete your post, it is better to share your problem and solution as well by marking your solution as "Best Answer".

This will be very helpful for Community users to find this solution more quickly.

Thanks for your contribution.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks