Search found 1 match

by shotkee
Mon Jun 08, 2020 9:15 am
Forum: ESP-ADF
Topic: i2c device on same bus with codec
Replies: 0
Views: 3205

i2c device on same bus with codec

Hi! Im trying to connect sdx1509 with lyra4 board i2c bus with no luck.
uint8_t data = 0;
uint8_t reg_add = SX1509_REG_INTERRUPTMASK;
i2c_bus_read_bytes(i2c_handle, 0x3E, &reg_add, sizeof(reg_add), &data, 1);

fails with /driver/i2c_bus/i2c_bus.c:155 (i2c_bus_read_bytes):I2C Bus ReadReg Error

But ...

Go to advanced search