2020-03-05 03:48 AM
1. Array of bytes? Read and write between CPUs.
2. Peripheral allocations to CPU1 or CPU2? Should allocation of peripherals handled by only one CPU? What will happen if both CPU's are asking for same peripheral. How to handle this scenario.
2020-03-05 05:57 AM
Dual core work generally requires a solid understanding of single core and threaded programming. Have some concept about how you're going to partition your design across the cores.
Consider the Hardware Semaphore, several
STM32Cube_FW_H7_V1.7.0\Projects\STM32H747I-DISCO\Examples\HSEM\HSEM_ResourceSharing
The majority of the RAM spaces can be accessed from both cores, you should use fencing and caching commands to ensure the memory is coherent. Look at the memory mapping in the manuals, familiarize yourself with peripherals and resources time to specific cores.
You'd generally design your code better so only one needs to access/use a specific peripheral, if sharing you'd want an ownership mutex/semaphore to arbitrate/control access. Also have an awareness that two thing can happen at once, so if operations need to be sequenced, serialized or owned that you manage them.