AnsweredAssumed Answered

BF-606 shared memory

Question asked by _volt on Sep 30, 2017
Latest reply on Nov 22, 2017 by pfeifferc

Hi, everyone.

There is an array or some data in shared memory declared like this:

#pragma section("L2_sram")
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?

Thanks.

Outcomes