Issue resolved. The I2C writes needed two bytes at a time, address and data value, instead of sequential writes with one byte at a time, alternating between register address and value. Stated in the datasheet but I just took the wrong implementation with the Nordic SDK I2C write function.
Hello Value_Judgement,
Good news.
Yes, I2C write and read had different time sequence.
Hi, I've got the same problme. Please, could you share the commn.c file where you have written the read write i2c functions?
I'm sorry to ask, but I cannot resolve the problem.
Thanks
Your common.c should be something similar to the API example but the problem is likely in your I2C write/read functions. Make sure you're actually writing and reading the right data to and from the right registers in the right format (page 46 in the datasheet).
Yeah, I have looked at pag 46 of the datasheet and I think I respect what they ask, but still not working.
Could you let me see your bme68x_i2c_write and bme68x_i2c_read functions, please? I do not know how to make them in a different way