moving data variable from one core to another core

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User14049
Level 3
Level 3
Hi ,


I want to move data variable value from one core to another core, can anyone help me how to do that in Aurix

From core0 to core1 and core0 to core2
0 Likes
1 Reply
ScottW
Employee
Employee
10 sign-ins First solution authored First like received
In the default configuration, all cores can access each other's RAM (DSPR in the case of a variable) as well as the common (LMU) RAM areas. It should just be a matter of mapping a volatile variable on core1 and core2 to the location in memory where core0's variable is located.

The location of the variable in RAM will have implications with regard to access time, caching, etc. and this must be considered if using the variable in a data-sharing context.
0 Likes