Skip to main content
TKuo.1
Associate III
January 31, 2023
Solved

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

  • January 31, 2023
  • 1 reply
  • 1820 views

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

This topic has been closed for replies.
Best answer by FBL

Hello @TKuo.1​ ,

I think this thread may help you!

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

1 reply

FBLBest answer
Technical Moderator
February 1, 2023

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.Best regards,FBL
TKuo.1
TKuo.1Author
Associate III
February 2, 2023

Thanks! I will take a look at it.