Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32G050/I2C1/I2C_PECR#0x0
PEC register
Packet error checking register
https://github.com/cmsis-svd/cmsis-svd-data