1 Reply Latest reply on Mar 31, 2019 4:59 PM by ShifangZ_26

    CCG3 I2C address

    duli_3411451

      What's the slave address of CCG3' I2C2 port(GPIO3.4、GPIO3.5),when used as slave I2c?

        • 1. Re: CCG3 I2C address
          ShifangZ_26

          Hi ,

           

          If your question is I2C bootloader for this two pin and working as I2C slave via HPI SPEC, the I2C slave address is 0x40, 0x42, and 0x08 with difference state on I2C_CFG pin (Pin#16 GPIO P2[1]).

          /**

          * @brief I2C slave address to be used for HPI interface, when the I2C_CFG pin is sensed as LOW.

          */

          #define HPI_ADDR_I2C_CFG_LOW            (0x40)

           

           

          /**

          * @brief I2C slave address to be used for HPI interface, when the I2C_CFG pin is sensed as HIGH.

          */

          #define HPI_ADDR_I2C_CFG_HIGH           (0x42)

           

           

          /**

          * @brief I2C slave address to be used for HPI interface, when the I2C_CFG pin is sensed as FLOATING.

          */

          #define HPI_ADDR_I2C_CFG_FLOAT          (0x08)

           

          Best Regards,

          Lisa