2023-11-15 02:32 AM
I am working with STM32H747i-DISCO discovery board, is it possible to switch between M7 and M4 core? like if I configure UART peripheral with M7 core and can I able to switch that peripheral to work with M4 core?
2023-11-15 03:13 AM
Hello @Pavankumar1_
Using CubeMX, you can simply switch the peripheral context between cores.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-11-15 06:16 AM - edited 2023-11-15 06:20 AM
Thank for the replay @FBL
By using CubeMX we can switch between the cores, But after code generation can we able to switch between cores dynamically as per the requirement.
2023-11-15 06:30 AM
The peripherals are accessible from both cores, you'd have to manage the transition of control between them.
2023-11-15 07:11 AM
Indeed, you can switch using HSEM semaphore. You can try the example from cube firmware to share resources for instance USART1 between cores STM32Cube\Repository\STM32Cube_FW_H7_V1.11.1\Projects\STM32H747I-DISCO\Applications\ResourcesManager\ResourcesManager_SharedResources
While debugging try to enable multiple core debug.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.