Resolved! stm32h7 uart i2c GPIO_InitStruct.Pull = GPIO_PULLDOWN;
para aplicar i2c alternate function open-drain GPIO_InitStruct.Pull = GPIO_PULLDOWN o should be GPIO_PULLUP (what diferencetween both) and uart alternate function push-pull should be pull-up or pull-down what diferencetween both?