Part Number: LAUNCHXL-F28377S
Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Two-part question.
I previously create a simple ring-buffer class that I was using to share a queue between the CPU and CLA. The class header contains the c struct definition used to store it. However, the CLA tasks were never able to access anything inside the struct ( variable->buffer ). So I split the various parts of the ring buffer into individual variables, and this works just fine. However, I'm curious if there was something else I could test, or if structs are just too opaque for the CLA compiler.
Second part. The above struct (and now variables) are stored in the CPUtoCLA message ram (since the CLA only needed to read, not write to the queue). However, I just realized that the CLA data space is read/write accessible from the CPU - and I can make it as large as I like. I'm curious if there are any downsides to using the CLA data space, as I have other large variables elsewhere that are very constrained by the message rams.