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.

CCS: Task Control Example in SCS

Tool/software: Code Composer Studio

HI ,

I am studying the task control function of the SCS

which it describes:

The following Sensor Controller tasks are implemented:

- ADC Sampler: Samples a single ADC input 500 times at 20 kHz. The application executes this task once each time the user presses the LaunchPad BTN-2.

However in both the code and the io ,

i dont need anything working on this,

can you explain >?

thanks

Jeff

  • If I understand you correctly you want the ADC to do conversions when you press a button but are not manage to get it to work.

    Can you share your code and describe a bit more on what does not work?
  • Hi TER,

    I just follow the example in SCS ,

    in this there ;s no input IO for the button and no task coontrol program

    thanks

    Jeff

  • Question: When opening SCS I don't see an example named ADC sample?

    The SCS examples are typically showcasing how the sensor controller can be used. The examples normally contains only a minimum of communication with the CM3/ CM3 part of the chip.

    For how to combine the Sensor Controller code with the rest, see the trainings here: dev.ti.com/.../

    Also see the pininterrupt example in the SDK to learn how to start something when giving an interrupt.