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.

CC26xx Sensor Controller Task Language



I'm attempting to write some "Task" code for the Sensor Controller.

The Sensor Controller Studio (version 1.1.0.38192) has the online "Task Code Language Reference" help section, but it leaves out the detail I think I need to accomplish what I'd like to attempt to do.

For example the Language Reference mentions the ability to define a pointer (ie. U16*).   Can this be implemented as a "state" variable?  If so, how?  The data structure editor doesn't seem to permit this.  The reference also mentions using the '#' operator to create a pointer to a data structure member.  

I'm assuming that a pointer to a buffer variable in the output structure can be defined in the state structure...

The reference manual also mentions the Multi-Buffered Output Data Exchange.  The resource GUI allows one to select the number of buffers it controls, and the manual discusses fwSwitchOutputBuffer(),  but I couldn't find anything that discussed the buffers themselves.

Is there a more complete document that describes the Language?

Thanks!

  • Hello Ed,

    This is the only documentation reference available. I will check on your other inquires.

    Best wishes
  • Hello Ed,
    The pointers can be assigned to RAM variables (Data structures) in the following way. This also includes state variables:
    U16* aPointer = a;
    S16* signedPointer = #input.inputTest;
    U16* unsignedPointer = (#input.inputTest) + 2;

    If you press F1 in SCS you will get the complete help guide. Go to the "System CPU Communication : Multi-Buffered Output Data Exchange" tab for more details.