1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

fix(core): change touch i2c clock speed to 200 kHz

fixes #1519
This commit is contained in:
Pavol Rusnak 2021-03-06 20:02:11 +01:00
parent 97b43499e5
commit efac5d56f5
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -97,7 +97,7 @@ static void _i2c_init(void) {
}
i2c_handle.Instance = I2C1;
i2c_handle.Init.ClockSpeed = 400000;
i2c_handle.Init.ClockSpeed = 200000;
i2c_handle.Init.DutyCycle = I2C_DUTYCYCLE_16_9;
i2c_handle.Init.OwnAddress1 = 0xFE; // master
i2c_handle.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;