Both cores with same communication
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?
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?
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.