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.

CC2650STK: Change Accelerometer Threshold

Part Number: CC2650STK


TI's app for the SimplinkLink  cc2650DTK device can set the Wake On Motion flag.  From the Wiki page - http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User%27s_Guide- I see how to set the flag and the accelerometer thresholds.

What I am looking to do is to be able to change the settings in the device from the phone app namely:

#define GYR_SHAKE_THR 10.0
#define WOM_THR 10

Is this possible? Or are these the same conditions as described in the Wiki page?

Thank you

  • Hi Don,

    The phone app won't be able to do this. You'll have to directly modifying the value in the code.

    However, one thing you may try is editing the project to use the pre-existing sensor period slider to modify the thresholds instead?

    This is where the slider is modifying period in the project (sensortag_mov.c):

      case SENSOR_PERI:
        Movement_getParameter(SENSOR_PERI, &newValue8);
        sensorPeriod = newValue8 * SENSOR_PERIOD_RESOLUTION;
        Util_rescheduleClock(&periodicClock,sensorPeriod);
        break;

    -Sy Su