2021-08-09 05:44 AM
Hello!
Currently i am working with the STM32h745 dual core MCU, i am tring to create some
kind of synchonization between the m4 and the m7 cores.
for that i want to utilize the SEV. i already enabled the proper iterrupts in both cores.
my question is how to generate the interrupt from M7 to M4 or the other way? what is the code i have to write? (couldnt find any documantaion regarding this).
Please advise and thankis in advance.
2021-08-09 07:06 AM
This goes into some detail about it (the most I've seen anywhere):
__SEV will call the SEV assembly instruction to generate the interrupt.
Enable and implement the appropriate interrupt handlers (CM7_SEV_IRQHandler/CM4_SEV_IRQHandler) on each core.
There don't appear to be any usages of this in the CubeH7 repo: