Hello,
I am trying to read multiple registers from a slave of i2c. The values that I capture are the first value repeated in all the buffer. The number of readed reg is correct but the values are not.
Hello,
I am trying to read multiple registers from a slave of i2c. The values that I capture are the first value repeated in all the buffer. The number of readed reg is correct but the values are not.
You can use the I2C driver from EHAL. It's a lot simpler. There is an use case example from this blog https://devzone.nordicsemi.com/blogs/1223/writing-ble-firmware-with-a-few-lines-of-code-part/
You need to post some code showing how you setup TWI and how you read the registers, to get any help. Details on what the slave devices is (link to datasheet and model) is also useful.