Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32wb0/STM32WB06/I2C2/I2C2_OAR2#0x0
I2C2_OAR2 register
Interface address bits 7:1 of address Note: These bits can be written only when OA2EN=0.
Own Address 2 masks
Own Address 2 enable
https://github.com/modm-io/cmsis-svd-stm32