Solved
Hi, thers STM32G473CE datasheet error. in DS12712 Rev 4 (and some other G4 datasheets) PA10's AF4 is showen as I2C2_SDA in the AF table, but in the port AF lisst its I2C2_SMBA. cube also just shows I2C2_SMBA. And it is SMBA not SDA.
..
..
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.