1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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
This commit is contained in:
Marian Buschsieweke 2023-06-12 21:10:27 +02:00
parent 0e09b43f6d
commit 8e8f424922
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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),
},