Showing results for 
Search instead for 
Did you mean: 

Traveo II

New Contributor

We have two variables , 1 is being updated by one Core (FBL-CM4) and are being used by other core (FBL-CM0).

2nd variable is common to both FBL CM4 and CM0.

But these variables should not be updated by other cores such as APPL CM4 and APPL CM0 ( for 1st variable FBL CM0 too ).

Could you please provide a sample code to protect these 2 variables using IPC. 

1. volatile uint32 TempState1;

2. static TempStatetype TempState2;

typedef struct


       Statevalue; //Holds enum value        

       DataFeild; //Holds uint32 value


1 Reply