i2c device on same bus with codec
Posted: Mon Jun 08, 2020 9:15 am
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, ®_add, sizeof(reg_add), &data, 1);
fails with
Can somebody provide any help/information? Thx.
uint8_t data = 0;
uint8_t reg_add = SX1509_REG_INTERRUPTMASK;
i2c_bus_read_bytes(i2c_handle, 0x3E, ®_add, sizeof(reg_add), &data, 1);
fails with
But es8388 readings is ok. Pullups only board 2k resistors.Default i2c bus(ESP-ADF) initialization provided./driver/i2c_bus/i2c_bus.c:155 (i2c_bus_read_bytes):I2C Bus ReadReg Error
Can somebody provide any help/information? Thx.