You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Qualia ESP32-S3 board, equipped with PCA9554 I/O extender, connected to 3.4" 480x480 RGB565 TFT (no touchscreen) LCD (https://www.adafruit.com/product/5825#description), driven by ST7701 panel driver.
IDE Name
VSCode with Espressif-IDF extension
Operating System
Windows 11
Description
Begin code with trying to generate handle for TCA9554 extender. But code crashes and reboots after producing invalid handle error. Following errors are produced:
E (416) i2c: i2c_master_cmd_begin(1478): i2c driver not installed
E (426) tca9554: write_direction_reg(133): Write direction reg failed
E (436) tca9554: reset(151): Write dir reg failed
E (436) tca9554: esp_io_expander_new_i2c_tca9554(81): Reset failed
E (446) io_expander: esp_io_expander_set_dir(35): Invalid handle
E (446) io_expander: esp_io_expander_set_level(63): Invalid handle
Why do I get an invalid handle error for the I/O expander?
Schematics of Qualia ESP32-S3, I/O expander and LCD attached.
github-actionsbot
changed the title
Programming with ESP-IDF results in invalid handle for TCA9554 driver
Programming with ESP-IDF results in invalid handle for TCA9554 driver (BSP-562)
Oct 10, 2024
karunt
changed the title
Programming with ESP-IDF results in invalid handle for TCA9554 driver (BSP-562)
Programming with ESP-IDF results in invalid handle for TCA9554 driver
Oct 10, 2024
Thanks for catching that. I have now done that and the code is moving forward, but still aborting at a different point, probably unrelated to this driver. But another question - the readme document calls for setting pins 0 and 1 direction to output and levels to low. What's the purpose for doing that?
Board
Qualia ESP32-S3
Hardware Description
Qualia ESP32-S3 board, equipped with PCA9554 I/O extender, connected to 3.4" 480x480 RGB565 TFT (no touchscreen) LCD (https://www.adafruit.com/product/5825#description), driven by ST7701 panel driver.
IDE Name
VSCode with Espressif-IDF extension
Operating System
Windows 11
Description
Begin code with trying to generate handle for TCA9554 extender. But code crashes and reboots after producing invalid handle error. Following errors are produced:
Why do I get an
invalid handle
error for the I/O expander?Schematics of Qualia ESP32-S3, I/O expander and LCD attached.
Sketch
Other Steps to Reproduce
No response
I have checked existing issues, README.md and ESP32 Forum
The text was updated successfully, but these errors were encountered: