From 030ac020048b7e9b9a5cb2fd0ba199331e4186f9 Mon Sep 17 00:00:00 2001 From: Raimund Oude Hengel Date: Sat, 3 Apr 2021 05:32:15 +0200 Subject: [PATCH] boards/nucleo-f303re: fix I2C[1] sda_pin and scl_af settings --- boards/nucleo-f303re/include/periph_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/nucleo-f303re/include/periph_conf.h b/boards/nucleo-f303re/include/periph_conf.h index 7e9abb1663..2519800bc9 100644 --- a/boards/nucleo-f303re/include/periph_conf.h +++ b/boards/nucleo-f303re/include/periph_conf.h @@ -195,8 +195,8 @@ static const i2c_conf_t i2c_config[] = { .dev = I2C3, .speed = I2C_SPEED_NORMAL, .scl_pin = GPIO_PIN(PORT_A, 8), - .sda_pin = GPIO_PIN(PORT_A, 5), - .scl_af = GPIO_AF5, + .sda_pin = GPIO_PIN(PORT_B, 5), + .scl_af = GPIO_AF3, .sda_af = GPIO_AF8, .bus = APB1, .rcc_mask = RCC_APB1ENR_I2C3EN,