SWRU439M October 2015 – April 2022
Sensor Controller Studio is project-based. All data associated with a Sensor Controller project is stored in one file (*.scp). Each project may contain one or more Sensor Controller tasks (for example, capacitive sensing and ADC measurement). The output of a project is one SCIF driver.
The task code programming language uses a syntax that is similar to C, but has limited features compared to C because it specifically targets the instruction set and architecture of the Sensor Controller Engine. For example, there is only support for 16-bit variables.
Hardware peripherals and software algorithms are available as resources. For each task, a set of resources must be selected and configured to enable different types of functionality, such as:
Each task resource enable a set of procedures (equivalent to functions in C), with associated constants and variables. The task code can call these procedures to access hardware modules, firmware framework features, and optimized software algorithms.
It is possible to add user-specified constants and variables that can be linked to resource configuration values (for example, the number of ADC input pins).
The programming model and firmware framework are optimized for low overhead when communicating with the System CPU application, low AUX RAM memory footprint, and efficient use of the Sensor Controller's instruction set. To minimize power consumption, the Sensor Controller enters standby mode when it is idle.