File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
targets/TARGET_STM/TARGET_STM32G4 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ extern "C" {
2525/* Define I2C Device */
2626#if DEVICE_I2C
2727
28- // Common settings: I2C clock = 64 MHz, Analog filter = ON, Digital filter coefficient = 0
29- #define TIMING_VAL_160M_CLK_100KHZ 0xC0311319 // Standard mode with Rise Time = 400ns and Fall Time = 100ns
30- #define TIMING_VAL_160M_CLK_400KHZ 0x10B1102E // Fast mode with Rise Time = 250ns and Fall Time = 100ns
31- #define TIMING_VAL_160M_CLK_1MHZ 0x00710B1E // Fast mode Plus with Rise Time = 60ns and Fall Time = 100ns
28+ // Common settings: I2C clock = 160 MHz, Analog filter = ON, Digital filter coefficient = 0
29+ #define TIMING_VAL_160M_CLK_100KHZ 0x90A13E56 // Standard mode with Rise Time = 400ns and Fall Time = 100ns
30+ #define TIMING_VAL_160M_CLK_400KHZ 0x30D2153A // Fast mode with Rise Time = 250ns and Fall Time = 100ns
31+ #define TIMING_VAL_160M_CLK_1MHZ 0x10830F28 // Fast mode Plus with Rise Time = 60ns and Fall Time = 100ns
3232#define I2C_PCLK_160M 160000000 // 160 MHz
3333
3434/* Define IP version */
You can’t perform that action at this time.
0 commit comments