The CLA is supported by a subset of the ANSI ‘C’ Compiler. You will learn the features, and more importantly, the limitations, of this compiler in this video. The video also covers the changes in the linker command file needed to support operations on the CLA
In this video we get into the actual workshop. I will take an existing project for the C28x, a simple example that samples an EPWM, runs it through a low pass filter, and then an FFT to get the frequency spectrum, and migrate it over to the CLA. You can download the project files here and I encourage to follow along as I go through the different steps and considerations during the migration process.
Once you have ported your code over to the CLA and successfully built your executable, it’s time to debug. The CLA pipeline is unprotected and is debugged through the main CPU; you cannot debug code on the CLA in the same manner you would on the C28x. This module goes over the different aspects of setting breakpoints, single stepping and setting up CCS views when debugging the CLA.
In the previous modules you would have learned the workings of the CLA, the implementation of the ‘C’ language, and its unique method of debugging. This video deals with some of the common issues users face when writing code for the CLA. It is a compilation, and investigation, of some of the most commonly asked questions on the forums and should help you get to working code quickly.
Click here to find SimpleLink Wi-Fi MCUs labs, modules and lectures.
SimpleLink Academy for CC3x20 SDK is applicable for any devices within the CC3220 and CC3120 product families.