Alright I've figured out. Will post the findings here if someone has the same problem.
Firstly I was wrong. The allocation attempt causing the problem wasn't the one allocating for the bus handle, but the one allocating for the format buffer. Here's the call:
#if SOC_I2S_TRANS_SIZE_ALIGN_WORD ...
Search found 6 matches
- Fri Jun 27, 2025 1:59 am
- Forum: Hardware
- Topic: ESP32 heap management and the esp_lcd_new_i80_bus API
- Replies: 1
- Views: 280
- Tue Jun 24, 2025 11:37 pm
- Forum: Hardware
- Topic: I2C Master Bus multiple peripherals with same address
- Replies: 6
- Views: 527
Re: I2C Master Bus multiple peripherals with same address
Awesome, thank you very much for the help!
- Tue Jun 24, 2025 11:35 pm
- Forum: Hardware
- Topic: ESP32 heap management and the esp_lcd_new_i80_bus API
- Replies: 1
- Views: 280
ESP32 heap management and the esp_lcd_new_i80_bus API
Greetings everyone!
I am trying to use a LCD TFT display using the esp-idf environment and I stumbled across a problem that I don't know how to solve.
The example I'm following is the i80_controller_example_main.c ( https://github.com/espressif/esp-idf/blob/master/examples/peripherals/lcd/i80 ...
I am trying to use a LCD TFT display using the esp-idf environment and I stumbled across a problem that I don't know how to solve.
The example I'm following is the i80_controller_example_main.c ( https://github.com/espressif/esp-idf/blob/master/examples/peripherals/lcd/i80 ...
- Sun Jun 22, 2025 7:19 am
- Forum: Hardware
- Topic: I2C Master Bus multiple peripherals with same address
- Replies: 6
- Views: 527
Re: I2C Master Bus multiple peripherals with same address
Hi, thank you for your response, apologies on my delay.
I am aware that we have two I2C ports available, but I'm trying to use 3 (or more) devices.
However I was able to make it work using your suggestion to connect/disconnect the GPIO pins.
After implementing the solution I had to change my ...
I am aware that we have two I2C ports available, but I'm trying to use 3 (or more) devices.
However I was able to make it work using your suggestion to connect/disconnect the GPIO pins.
After implementing the solution I had to change my ...
- Wed Jun 18, 2025 5:16 pm
- Forum: Hardware
- Topic: I2C Master Bus multiple peripherals with same address
- Replies: 6
- Views: 527
Re: I2C Master Bus multiple peripherals with same address
EDIT: I was able to read the 3 sensors by deleting/creating the master bus, I was using TX/RX as GPIO for one of the sensors and it was messing with the monitor.
I'm still curious if we can do it setting the pins with "i2c_master.h". Recreating the bus every read is not the most efficient thing.
I'm still curious if we can do it setting the pins with "i2c_master.h". Recreating the bus every read is not the most efficient thing.
- Wed Jun 18, 2025 1:13 am
- Forum: Hardware
- Topic: I2C Master Bus multiple peripherals with same address
- Replies: 6
- Views: 527
I2C Master Bus multiple peripherals with same address
Greetings friends.
I am currently working on a project where I want to connect 3 environment sensors to the same board.
The peripheral is the AHT21 + ENS160 which consists of two sensors, the AHT21 temperature and relative humidity sensor and the ENS160 "air quality" sensor. Both sensors works via ...
I am currently working on a project where I want to connect 3 environment sensors to the same board.
The peripheral is the AHT21 + ENS160 which consists of two sensors, the AHT21 temperature and relative humidity sensor and the ENS160 "air quality" sensor. Both sensors works via ...