cancel
Showing results for 
Search instead for 
Did you mean: 

How do I enable MDMA_IRQHandler using STM32CubeIDE?

BStud.1
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
BStud.1
Associate II
2 REPLIES 2
BStud.1
Associate II
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen