Hello!
I’m fairly used to do my embedded projects using the STM32 boards, but some colleagues suggested to investigate also the TI Launchpads.
In particular I understand that some of the supported MCUs (F28P65x) have CLA coprocessors inside.
My question is: Does PLECS Coder support task offloading to the CLA (e.g. for PID blocks), or is all code generation limited to the main C28x CPU? I’ve reviewed the TI C2000 Target Support User Manual, but found no mention of the CLA.
Assuming CLA is not supported, is there a benefit in using top-tier C2000 boards when strictly programming in PLECS?
Thanks as always, and sorry if the information is somewhere in the documentation and I missed it.
Hello Gabriele,
PLECS can currently only generate code for the main CPU and not the CLA. This is because the CLA compiler only supports a limited subset of the C programming language. Therefore, code for the CLA needs to be handwritten. There are unofficial approaches of mixing handwritten & separately compiled CLA code with the PLECS Coder workflow. Let’s chat off the forum if that’s something you want to pursue.
Even without direct CLA support the higher-end C2000 devices have more advanced and flexible peripherals, higher CPU clocks, multiple CPU cores, and more memory. Interestingly, the latest C29x core based C2000 devices don’t include a CLA at all!
Regards,
Bryan
1 Like
Thank you very much Bryan!