2024-02-05 08:20 AM
Hey,
I use stm32h745, I want to use FDCAN1 communication with both cores.
What is the effect of the decision on which core to perform initializer in the CubeMX?
Solved! Go to Solution.
2024-02-05 08:57 AM - edited 2024-02-05 08:58 AM
Selecting the core will determine which core's startup code will initialize the peripheral. Either core can do initialization, just need to make sure:
Generally, the second point is tricky as the initialization initializes the state machine. But you can set this manually.
The third point is also tricky unless you use a hardware semaphore or other mechanism to ensure exclusive access.
It's going to be a lot more straightforward to dedicate FDCAN to a single core if you can.
2024-02-05 08:57 AM - edited 2024-02-05 08:58 AM
Selecting the core will determine which core's startup code will initialize the peripheral. Either core can do initialization, just need to make sure:
Generally, the second point is tricky as the initialization initializes the state machine. But you can set this manually.
The third point is also tricky unless you use a hardware semaphore or other mechanism to ensure exclusive access.
It's going to be a lot more straightforward to dedicate FDCAN to a single core if you can.
2024-02-05 09:54 AM
>>It's going to be a lot more straightforward to dedicate FDCAN to a single core if you can.
Yeah, This..
If you can't get this to work efficiently / effectively on a single core, your problems with simply compound if you add more.