I2C problem | Thales IoT Developer Community
July 20, 2021 - 1:28pm, 570 views
Hi! I have problem with i2c communication. I need write 0x2E into reg 0xF4 than read reg 0xF6.
I know how to read from reg F6 <aEEF6><bEF0002> but how can i write 2E into F4?
Hi,
Read and write operations' syntax for I2C protocol should be described in the datasheet of the device, which you want to access. Please refer to that documentation for specifics.
In general writing to a specific register could look like: <aEEF42E> but it really depends on the syntax expected by your device. What peripheral do you try to connect to?
BR,
Ida