-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basics of inter core communication on STM32 #386
Conversation
Inter core communication on STM32The exchange of signals and data across the two cores of the H7 can be implemented using the available peripherals of the MPU: the HSEM with associated IRQHandler and a bank of shared memory. In here I present the inter core communication utilities of the The simplest utility is the
erDiagram
"embot::hw" ||..|| MTX : contains
"embot::hw" ||..|| "embot::hw::icc" : contains
"embot::hw::icc" ||..|| SIG : contains
"embot::hw::icc" ||..|| MEM : contains
"embot::hw::icc" ||..|| LTR : contains
Figure. The inter core communication utilities inside erDiagram
STM32 ||..|| "embot::hw::MTX" : allows
STM32 {
HSEM thirtytwo
IRQHandler two
}
"Shared RAM" ||..|| "embot::hw::icc::MEM" : allows
Figure. Their HW requirements Finally, I will show the first application: the CM4 sends strings to the CM7 core which prints them over SWO. We need one object on each core, the The
|
This PR adds the basics of communication between the two cores of our dual core boards.
In the following post I attach a document which explains how everything works. The document also shows how I have used inter core communication to implement the request from the CM4 core to the CM7 core to print a string.
The features have been tested using a dedicated application in
board\amc\examples\appl-test
which exchanges data with the projectboard\amc2c\application
with a specific dedicated macro.