Hi Abdurahman,
Only 8 bits seen: Your Simulink I2C Write block is likely configured to send just 1 byte (the address), not all 24 bits (3 bytes).Fix: Set the "Data size" in the block to 3, and input a 3-byte array.Status 516: This is not a standard Simulink code; it may mean "bus busy" or an error from the STM32 HAL library.You can check the following to resolve the issue:
- Check your I2C Write block settings: send 3 bytes, not 1.
- Make sure your I2C wiring and pull-ups are correct.
- Adjust your oscilloscope to capture the full transmission.
- Try updating your STM32 support package.

