Hi All
I am using i2c for transfer data.
Solved! Go to Solution.
Hi,
1 & 2 . address1 is an alternate slave 7-bit address; The usage based on addressMatchMode:
/*! @brief LPI2C slave address match options. */
typedef enum _lpi2c_slave_address_match
{
kLPI2C_MatchAddress0 = 0U, /*!< Match only address 0. */
kLPI2C_MatchAddress0OrAddress1 = 2U, /*!< Match either address 0 or address 1. */
kLPI2C_MatchAddress0ThroughAddress1 = 6U, /*!< Match a range of slave addresses from address 0 through address 1. */
} lpi2c_slave_address_match_t;
In general, the default setting is match only address 0.
3. I checked the SDK only support slave 7-bit address so far.
Mike
Hi,
1 & 2 . address1 is an alternate slave 7-bit address; The usage based on addressMatchMode:
/*! @brief LPI2C slave address match options. */
typedef enum _lpi2c_slave_address_match
{
kLPI2C_MatchAddress0 = 0U, /*!< Match only address 0. */
kLPI2C_MatchAddress0OrAddress1 = 2U, /*!< Match either address 0 or address 1. */
kLPI2C_MatchAddress0ThroughAddress1 = 6U, /*!< Match a range of slave addresses from address 0 through address 1. */
} lpi2c_slave_address_match_t;
In general, the default setting is match only address 0.
3. I checked the SDK only support slave 7-bit address so far.
Mike
Hi @Hui_Ma
Thanks for your reply.