There is an array or some data in shared memory declared like this:
volatile TmyData myData;
Core1 writes data to variable myData and Core0 reads value of myData. My questions are:
1. What will happen if both cores try to get access to the shared memory (in my case Core1 writes myData and at this very moment Core0 reads myData) if I don't use DMA? Is this legal to do?
2. What is the right way to use shared memory or another resource for instance PORT?
3. What L2 memory controller is for?
4. What is the difference between DMA and L2 Memory Controller?