From aa0000a02a43765507b2aa41f8f79c5d385e40b4 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Wed, 7 May 2025 20:33:32 +0200 Subject: [PATCH] Removing pull-up from slave, master must do it --- motion controller code/src/i2c_slave.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/motion controller code/src/i2c_slave.c b/motion controller code/src/i2c_slave.c index d06c92c..960e194 100644 --- a/motion controller code/src/i2c_slave.c +++ b/motion controller code/src/i2c_slave.c @@ -70,9 +70,6 @@ void i2c_slave_init(void) gpio_set_function(I2C_SLAVE_SDA_PIN, GPIO_FUNC_I2C); gpio_set_function(I2C_SLAVE_SCL_PIN, GPIO_FUNC_I2C); - gpio_pull_up(I2C_SLAVE_SDA_PIN); - gpio_pull_up(I2C_SLAVE_SCL_PIN); - // Note: The I2C slave does clock stretching implicitly after a RD_REQ, while the Tx FIFO is empty. // There is also an option to enable clock stretching while the Rx FIFO is full, but we leave it // disabled since the Rx FIFO should never fill up (unless i2c_slave.handler() is way too slow).