Other Parts Discussed in Thread: CC2650, , TMP102
Hi
I am trying to use the source code for launchpad in cc2650 sensortag and extend the code to get temperature value using I2C library. The example "i2ctmp007_cc2650STK_TI_CC2650f128" works fine when I build it and upload it to the sensortag. But it doesn't work when I use same procedure to get temperature in a task that is triggered by SimpleBLEPeripheral_taskFxn. It seems I2C_transfer() function causing the problem here though I2C_open() returns true. I have changed priority of SBP_TASK_PRIORITY to 3, my created task to 2.
I would be grateful if anyone help me out with this problem. I just want to get the temperature and humidity reading. What could go wrong?
Thanks in advance