From 8e8f424922509444f0f9ac5e8dce4f4f9906c4ce Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 12 Jun 2023 21:10:27 +0200 Subject: [PATCH] boards/qn9080dk: fix periph conflict - Document which I2C/SPI/UART peripheral maps to which FLEXCONN IP block to easily detect potential overlap - Switch conflict between SPI and I2C peripheral by using a different FLEXCONN for I2C --- boards/qn9080dk/include/periph_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/qn9080dk/include/periph_conf.h b/boards/qn9080dk/include/periph_conf.h index a36ca750b8..c4896b7dcc 100644 --- a/boards/qn9080dk/include/periph_conf.h +++ b/boards/qn9080dk/include/periph_conf.h @@ -68,7 +68,7 @@ static const adc_conf_t adc_config[] = { */ static const i2c_conf_t i2c_config[] = { { - .dev = I2C1, + .dev = I2C0, /* Flexcomm 1 */ .pin_scl = GPIO_PIN(PORT_A, 6), .pin_sda = GPIO_PIN(PORT_A, 7), .speed = I2C_SPEED_FAST, @@ -105,7 +105,7 @@ static const spi_conf_t spi_config[] = { */ static const uart_conf_t uart_config[] = { { - .dev = USART0, + .dev = USART0, /* Flexcomm 0 */ .rx_pin = GPIO_PIN(PORT_A, 17), .tx_pin = GPIO_PIN(PORT_A, 16), },