- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What's the slave address of CCG3' I2C2 port(GPIO3.4、GPIO3.5),when used as slave I2c?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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