2026-04-20 3:19 AM - last edited on 2026-04-30 3:29 AM by Andrew Neil
Hello,
I am working with the STM32H7B3I-EVAL board
I have I2C slave model work properly the default adress used by contoller given in schematich work on 84 aand 85 adress but the other peripheral adress not get give me the roadmap for the coding of communication protocols
didnt solve the issue.
Thank you
2026-04-24 3:44 AM
Hello @vijayajangam ,
0x84 and 0x85 are not two different device addresses. They are the write/read forms of the same 7-bit I2C slave address, 0x42. In STM32 HAL, you normally pass the 7-bit address shifted left by 1, so 0x42 becomes 0x84.
The MFX expander is an I2C slave device itself. It does not detect, translate, or proxy other I2C slave addresses. To communicate with other peripherals, you must address each peripheral directly using its own I2C address from the board schematic or datasheet.
Recommended roadmap:
Kind regards,
DHIF Khaled
2026-04-24 3:57 AM
And to add :
> Recommended roadmap: ...
Consult the I2C specification, which is freely available on the internet.
> I have I2C slave model work properly the default adress used by contoller given in schematich work on 84 aand 85 adress
The idea to have a separate I2C_ADDR pin is obviously to "add" this bit to the default address, depending on it being pulled high or low. But needs to be done in your firmware.