There are external 10K pull-ups resistors, and I've tried a few different boards including connecting DEV-KIT-C to an Adafruit and SparkFun boards with simple copper traces.
Code: Select all
int i2c_master_port = I2C_NUM;
i2c_config_t conf;
conf.mode = I2C_MODE_MASTER;
conf.sda_io_num = I2C_SDA_IO;
conf.scl_io_num = I2C_SCL_IO;
conf.sda_pullup_en = GPIO_PULLUP_DISABLE; //GPIO_PULLUP_ENABLE;
conf.scl_pullup_en = GPIO_PULLUP_DISABLE; //GPIO_PULLUP_ENABLE;
conf.master.clk_speed = 100000; //100000; //SHT31_FREQ_HZ;
ESP_ERROR_CHECK(i2c_param_config(i2c_master_port, &conf));
ESP_ERROR_CHECK(i2c_driver_install(i2c_master_port, conf.mode, I2C_RX_BUF_DISABLE, I2C_TX_BUF_DISABLE, 0));
vTaskDelay(100 / portTICK_PERIOD_MS);
Is there a hardware setting I've missed for this?
Thanks in Advance!