On page E-10 of the sprt547 manual, the structure PIVars is allocated in CpuToCla1MsgRAM
// File main.c
#include “CLAShared.h”
#pragma DATA_SECTION(PIVars,"CpuToCla1MsgRAM");
struct PI_CTRL PIVars;
However, on the following page, variable PIVars.I is being written by the CLA task 2. Aren't writes to CpuToCla1MsgRAM by the CLA ignored? What would be a better way to accomplishthe intended assignment to PIVars.I?
; File: cla.asm
_Cla1Task2:
MDEBUGSTOP ; breakpoint
..
; Write to memory or register
MMOV32 @_PIVars.I, MR3
MMOV32 @_EPwm1Regs.CMPA.all, MR2
..
; End of task
MSTOP