cancel
Showing results for 
Search instead for 
Did you mean: 

What is the correct way to use a peripheral on both cores with HAL?

TKuo.1
Associate III

I'm using NUCLEO-H755ZI-Q and I want to use USART3 on both M7 and M4 cores. The initializer is set to M7 as shown in the screenshot below. However, I can only get USART working on M7 but not on M4.

On the other hand, If I set the initializer to M4, then USART only works on M4 but not M7. It seems like HAL cannot work without an initializer. I would like to know the correct way to use HAL that can work on both cores. Thanks!

0693W00000Y9cSgQAJ.png

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

Hello @TKuo.1​ ,

I think this thread may help you!

STM32 Dual Core using peripherals (UART) with both cores - best practice?

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.


I'm out of offce with limited access to my emails.
Happy New Year!

View solution in original post

2 REPLIES 2
FBL
ST Employee

Hello @TKuo.1​ ,

I think this thread may help you!

STM32 Dual Core using peripherals (UART) with both cores - best practice?

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.


I'm out of offce with limited access to my emails.
Happy New Year!
TKuo.1
Associate III

Thanks! I will take a look at it.