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: Customized devpack data acquisition through I2C

Part Number: CC2650STK
Other Parts Discussed in Thread: CC2650, FDC2214, , OPT3001

Dear TI experts,

I designed a PCB that connects to the CC2650STK via the onboard lss-110-01-f-dv-a connector. There is an FDC2214 on the PCB which will communicate with the CC2650 via I2C.

Currently, I plan to modify the files in the sensortag_cc2650stk_app example project directly.
Since OPT3001 will not be used in my project, I plan to modify the SensorOpt3001.c source file.
The defined register addresses and values ​​will be modified. The planned modified functions include SensorOpt3001_init(), SensorOpt3001_enable(), SensorOpt3001_read(), SensorOpt3001_test().

Unlike OPT3001, FDC needs to write values ​​to multiple registers during initialization. When reading, it is necessary to read the outputs of four 16-bit registers, and the read values ​​of two registers form a raw data. So there are two raw data to be output separately. In addition, the DIO23, 24 and 25 pins of the CC2650 also need to be set to configure the FDC2214. Can they be configured in the SensorOpt3001.c file?

Or is there any other method? Sorry, I'm not very good at programming, these questions may not be very specific.

Best regards,

Will