Skip to content

Commit 908dcea

Browse files
committed
Test commit for OLED issues
Issues Ralim#666 and Ralim#698 suggest there're some communication issues with OLEDs on certain units. So trying to lower I2C speed for testing.
1 parent 30be5e0 commit 908dcea

File tree

1 file changed

+1
-1
lines changed
  • workspace/TS100/Core/BSP/Miniware

1 file changed

+1
-1
lines changed

workspace/TS100/Core/BSP/Miniware/Setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ static void MX_ADC2_Init(void) {
231231
/* I2C1 init function */
232232
static void MX_I2C1_Init(void) {
233233
hi2c1.Instance = I2C1;
234-
hi2c1.Init.ClockSpeed = 75000;
234+
hi2c1.Init.ClockSpeed = 50000;
235235
// OLED doesnt handle >100k when its asleep (off).
236236
hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2;
237237
hi2c1.Init.OwnAddress1 = 0;

0 commit comments

Comments
 (0)