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.

Compiler/CC2650: I2C Pin Configuration

Part Number: CC2650

Tool/software: TI C/C++ Compiler

Hi all,

We are using Bluetooth stack version 2.2 development environment for CC2650. 

We are currently using pins DIO_12 and DIO_13 as SDA and SCL.

We want to use DIO_5 and DIO_6 as SDA and SCL.

How to configure and use this pins for I2C?

Regards,

Ankita Tayade

  • Hi Ankita,

    If you have a look at the files in <BLE-SDK>/src/boards/<BOARD>, this is where the pin definitions and driver HW attributes are defined.

    The SDA and SCL pins for I2C are configured in <BOARD>_LAUNCHXL.c, and you can find the pin definitions Board_I2C0_SDA0 and Board_I2C0_SCL0 in the corresponding header file <BOARD>_LAUNCHXL.h.

    Best regards,

    Vetle