Search found 1 match

by sw-phung
Mon Nov 06, 2023 5:59 am
Forum: ESP-IDF
Topic: ESP32S3 I2C Configuration
Replies: 1
Views: 528

ESP32S3 I2C Configuration

I am attempting to configure GPIO4 and GPIO5 of the ESP32S3 for I2C communication. Based on ESPRESSIF's API, I have written the following code for the I2C set up: #define MST_TX_BUF_LEN 0 #define MST_RX_BUF_LEN 0 static esp_err_t i2c_conf_master(void) { i2c_config_t conf = { .mode = I2C_MODE_MASTER,...