This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem in writing data to a register of my bmp388 sensor using I2C.

I am facing an issue in writing data to a register of my bmp388 sensor using I2C.

If I fill my transmit buffer of 2 bytes in following way , tx_buf[] = {register_address , value}, where both are of uint8_t data types then register address is taken properly but in case of value only half byte is transmitted. 

Can you please help me with my problem?

Thanks in advance.

Related