Resurrect the state machine of frozen IS31FL3731 ICs by toggling SCL and SDA.

This commit is contained in:
László Monda
2017-09-30 20:34:35 +02:00
parent cec8bbfe01
commit b87042a44a
2 changed files with 68 additions and 0 deletions
+2
View File
@@ -15,10 +15,12 @@
#define I2C_MAIN_BUS_BAUD_RATE 100000 // 100 kHz works even with a 20 meter long bridge cable.
#define I2C_MAIN_BUS_MUX kPORT_MuxAlt7
#define I2C_MAIN_BUS_SDA_GPIO GPIOD
#define I2C_MAIN_BUS_SDA_PORT PORTD
#define I2C_MAIN_BUS_SDA_CLOCK kCLOCK_PortD
#define I2C_MAIN_BUS_SDA_PIN 3
#define I2C_MAIN_BUS_SCL_GPIO GPIOD
#define I2C_MAIN_BUS_SCL_PORT PORTD
#define I2C_MAIN_BUS_SCL_CLOCK kCLOCK_PortD
#define I2C_MAIN_BUS_SCL_PIN 2