cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add DMA to both cores on STM32H7 dual core MCUs

Mfail.1
Associate II

Hello Guys,

I am using a STM32H755ZI and I learned a lot about this MCU the past last months. However I am struggling with DMA.

I got DMA working on one core, but I would like to use DMA on the same peripheral on both cores. I got it kinda working, but it messes some things up. What I did, was that I initalized everyting the same on the both cores, so same Peripheral Interrupt, same Dma interrupt. It works actually, but it messes with my tasks, as I am running Freertos on both cores.

Could you please tell me, how I have to initialized it correctly, such that I have DMA working on both cores for the same Peripheral e.g UART or SPI

Thank you guys,

Marco

10 REPLIES 10

Yes and I am thankful for your answers. I do get that we made mistakes. Isn't this how learning goes. Making mistakes and improving and learning on those.

We are mostly out of CubeMX, we learned that the hard way. With HAL it is a different story. But I see your point and I'll take a look.