mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/same54-xpro: use 48 MHz GCLK6 for I2C
We can't run I2C off the 120 MHz main clock as the availiable dividers are too small. Use the 48 MHz GCLK 6 instead which offers an appropriate frequency. fixes #12037
This commit is contained in:
parent
1496149bba
commit
4fbca251bc
@ -131,7 +131,7 @@ static const i2c_conf_t i2c_config[] = {
|
||||
.scl_pin = GPIO_PIN(PD, 9),
|
||||
.sda_pin = GPIO_PIN(PD, 8),
|
||||
.mux = GPIO_MUX_C,
|
||||
.gclk_src = 0,
|
||||
.gclk_src = 6,
|
||||
.flags = I2C_FLAG_NONE
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user