Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi TI
is it possible to access the same GS RAM Block from both CPUs (specifically: can the same RAM area be accessed from both (CPU1 and CPU2) DMAs)?
Regarding the memory address table from the controller datasheet, it looks like this.
In contrast to the Dx (D2,D3, D4, D5) RAM blocks, which are only assignable to one specific CPU, the GSx RAM blocks are discribed as "Shared between CPU supsystems"
Therefore, I`m a little bit confused by these options in the SysConfig
What I intend to do:
Let`s say, on GS0 RAM, CPU1 has (to keep it simple) only one structure which serve as a "data collection point (CPU1 view)" and "data source (CPU2 view)".
In This structure, CPU1 collects data from several modules from the CPU1 controlled space.
Per period: Than when all data is collected, CPU1 uses the IPC to send a command (inclusive the address of the GS0 RAM structure where to copy from) to CPU2, to copy this data via CPU2-DMA to another structure located on GS1 RAM.
The structure on GS1 RAM will be double bufferd and serves as a container for a snapshot of the latest CPU1 data, for further processing on CPU2.
The same concept will be true for data from CPU2 to CPU1.
But in this cenario the "data collection point"/"data source" will be located on GS2 RAM and CPU2 commands CPU1 to copy this data (via CPU1-DMA) to a double buffered structure on GS0 RAM.
Would this be possible to implement?
With best regards
Martin