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.

TI-RTOS I2C Light Sensor Address

Other Parts Discussed in Thread: CC2650, OPT3001, CC2650STK

Hi all,

I followed the tutorial I2C_Light_Sensor for Sensor Controller Studio in which you will run and debug the full example code with the Sensor Controller Interface Driver (SCIF) on the CC2650 SensorTag + Debug DevPack in Code Composer Studio (CCS). 

Everything works well but I don't understand this: when I am in CCS and I open the file scif.h under driver folder, I can read that the optical sensor address is:

#define SCIF_I2C_LIGHT_SENSOR_ALS_I2C_ADDR 138     

tha is equal to 0x8A

If, instead, I open the file board.h I can read:

#define     Board_OPT3001_ADDR      (0x45)

So my question is: which one is the correct optical sensor address? Why there is this discrepancy? 

The I2C address of a sensor should be independent from the rtos version used, am I right?

Thank you very much.

Regards,

Alessandro