This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am relatively new to the CLA but starting to catch the hang of it.
As of now, I am running the CLA in parallel to the CPU and able to handle peripheral interrupts with the CLA tasks.
While the CLA handle the real time critical tasks, the CPU will handle all the background operation such as updating control parameters, communications, etc.
My question is regarding shared data between the CPU and CLA, lets assume one of my background tasks (CPU) is updating my PI controller's gain, this gain is defined in the "CpuToCla1MsgRAM" because I want the CLA to operate based on the updated parameters.
What would happen if the CLA will try to access this variable right when the CPU is updating it to a new value? can this cause the CLA to receive "garbage" data? If so, what's the solution for that?
Thanks in advance.
Hello Tal,
The CLA and CPU arbitration is documented in the device Technical Reference Manual (TRM). You can find this document on the product folder here:
F2837xD Product Folder. Refer to the CLA chapter, section 6.4.
You may find the C2000 Academy information helpful. https://www.ti.com/tool/download/C2000-ACADEMY
Select "evaluate in the cloud".
CLA is in the advanced section.
Regards
Lori