Search found 4 matches
- Wed Nov 28, 2018 8:06 am
- Forum: ESP-IDF
- Topic: ESP32 IDF extend I2C buffer size
- Replies: 6
- Views: 13215
Re: ESP32 IDF extend I2C buffer size
And here is the whole source file
- Wed Nov 28, 2018 8:00 am
- Forum: ESP-IDF
- Topic: ESP32 IDF extend I2C buffer size
- Replies: 6
- Views: 13215
Re: ESP32 IDF extend I2C buffer size
esp_err_t i2c_master_read_byte(i2c_cmd_handle_t cmd_handle, uint8_t* data, i2c_ack_type_t ack) { I2C_CHECK((data != NULL), I2C_ADDR_ERROR_STR, ESP_ERR_INVALID_ARG); I2C_CHECK(cmd_handle != NULL, I2C_CMD_LINK_INIT_ERR_STR, ESP_ERR_INVALID_ARG); I2C_CHECK(ack < I2C_MASTER_ACK_MAX, I2C_ACK_TYPE_ERR_STR...
- Tue Nov 27, 2018 11:51 am
- Forum: ESP-IDF
- Topic: ESP32 IDF extend I2C buffer size
- Replies: 6
- Views: 13215
Re: ESP32 IDF extend I2C buffer size
I'm using this functions.
i2c_master_read_byte, i2c_master_read
I'm reading a sensor, get info that 60 bytes available but read only 32.
i2c_master_read_byte, i2c_master_read
I'm reading a sensor, get info that 60 bytes available but read only 32.
- Mon Nov 26, 2018 3:48 pm
- Forum: ESP-IDF
- Topic: ESP32 IDF extend I2C buffer size
- Replies: 6
- Views: 13215
ESP32 IDF extend I2C buffer size
Hi to everyone.
I have such a problem.
As I understand the I2C buffer (master mode) in ESP32 is limited to 32 bytes.
I need to increase it for more big amounts of data (up to 64 bytes or even 128).
How can I implement this?
Kind regards.
Ivan.
I have such a problem.
As I understand the I2C buffer (master mode) in ESP32 is limited to 32 bytes.
I need to increase it for more big amounts of data (up to 64 bytes or even 128).
How can I implement this?
Kind regards.
Ivan.