Skip to main content
yuri CH
Senior
August 9, 2021
Question

How to generate SEV between cores in the STM32h745 / 747?

  • August 9, 2021
  • 1 reply
  • 888 views

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.

This topic has been closed for replies.

1 reply

TDK
August 9, 2021

This goes into some detail about it (the most I've seen anywhere):

https://www.st.com/resource/en/application_note/dm00771441-stm32h745755-and-stm32h747757-lines-interprocessor-communications-stmicroelectronics.pdf

__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:

https://github.com/search?q=CM4_SEV_IRQHandler+repo%3ASTMicroelectronics%2FSTM32CubeH7+extension%3Ac&type=Code

"If you feel a post has answered your question, please click ""Accept as Solution""."