2020-04-28 12:42 AM
I have transferred data from ADC-1/2/3 to M4, but i am unsure about how to transfer it to M7. There doesn't seem to be any reference anywhere. So if i want to do a DMA transfer from ADC-1/2 to M7, how should it be done ?
2020-04-28 01:53 AM
Examples for the STM32H743/H753/H750 would apply, because they are basically the same as the STM32H745 minus the M4 core (and some differences not relevant to ADC/DMA).
You can do it more or less the same way as you did it on the M4. Data is not actually transferred to the core, but to some on-chip memory which can be accessed by both cores.
Things to watch out for.
2020-04-28 06:30 AM
Can't you use the MDMA to transfer data from D2 SRAM into the M7 DTCM? It is my understanding the M4 can start the MDMA which can then interrupt the M7 when the transfer is complete. There are also hardware semaphones that can be used signal back and forth between the processors.