Added the I2C clock speed parameter to the app_config.h file. Max working clock speed seems to be 300kHz
This commit is contained in:
parent
7329d86437
commit
22805a4e54
@ -43,6 +43,7 @@
|
|||||||
* @brief i2c
|
* @brief i2c
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
#define I2C_CLOCK_SPEED (300000) // 300 kHz seems to be the maximum achievable clock speed before the touch IC behaves funky
|
||||||
#define I2C_SCL WM_IO_PA_01
|
#define I2C_SCL WM_IO_PA_01
|
||||||
#define I2C_SDA WM_IO_PB_19
|
#define I2C_SDA WM_IO_PB_19
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user