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/CC2650: Humidity data stucks when acceleration sensor read period too low

Part Number: CC2650

Tool/software: Code Composer Studio

Hello,

I have successfully adapted the firmware of the CC2650 SensorTag to send acceleration data in 10ms interval. 

But, as soon as I change #define SENSOR_DEFAULT_PERIOD     10 in "sensortag_mov.c" to 10 ms, the humidity sensor (and also the temperature) only updates its data every 3 minutes. So the value stucks for 3 minutes, sometimes forever at one value.

How does the acceleration sensor update interfer with the humidity sensor?

Thanks for your help.

  • I have to look closer to this next week but I assume that this interval is too short causing the device not to finish a task before a new request comes. Exactly which code are you running ?

    Please try to debug the code and see how long time the various tasks take on an unmodified code. I'm assuming that this code is using BLE, how will the BLE interval fit with the interval you are requesting new data?