Hello,
I'm using an EFR32BG22 host from Silabs and I wrote a driver to communicate with the INA219 with a lot of inspiration from the Adafruit driver for Arduino.
It seems I'm able to write, because the INA219 is acknowledging my data. But when I read, it's always 0. I checked the datasheet and, from my point of view, my I2C communication seems OK.
Here is a process to reproduce the issue:
I write 0x8399 (to reset the device) in the configuration register (0x00)
Then I read the same register and I expect to find 0x399 but I read 0x0000.
Please find below the write sequence and then the read sequence.
Do you see any issue?
Thanks for your help