Other Parts Discussed in Thread: HDC1000, CC1310
Hi.
I am trying to communicate to BMP280 sensor in CC1350STK.
I have code in Sensor Controller that successfully reads Pressure data from the sensor and reports raw data back to application.
In the application, I would like to read the ID from the sensor before enabling the task, and also some I2C registers that holds calibration values that are later needed for calculations.
However, when I use I2C_open() and then I2C_close() before enabling the task, I see that the task does not wakes the CPU (probably does not running). When I remove the I2C_open() and I2C_close() code, the task wakes the CPU every X seconds as configured.
Is there a way to use the I2C in the task, then disable it before calling scifStartTasksNbl() for a SensorController task that also uses I2C??