kopia lustrzana https://github.com/mobilinkd/NucleoTNC
Set I2C timing to 400kHz for EEPROM access.
rodzic
0da7939f15
commit
c8767e7eb5
|
@ -603,7 +603,7 @@ static void MX_I2C3_Init(void)
|
|||
{
|
||||
|
||||
hi2c3.Instance = I2C3;
|
||||
hi2c3.Init.Timing = 0x00000107;
|
||||
hi2c3.Init.Timing = 0x0010061A;
|
||||
hi2c3.Init.OwnAddress1 = 0;
|
||||
hi2c3.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
|
||||
hi2c3.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
|
||||
|
|
Ładowanie…
Reference in New Issue