Hi Katlynne, Thank you for your answer, today checking my code I realized I was using two i2c_write calls to send command byte + MSB + LSB, each call was 1 byte and 2 byte. Since Renesas OS controls first 8 bits I wasn't realizing everytime I was calling i2c_write method I was sending all over again device address. I tried sending all 3 bytes in the same call and I was able to write GENERAL_CONFIG register. Guess this solves the issue, thank you for your time!
↧