Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C not finding addresses and touch not working in example #9

Open
AbidingOhmsLaw opened this issue Nov 22, 2023 · 1 comment
Open

Comments

@AbidingOhmsLaw
Copy link

After getting the Example to to compile and upload on the Round display with the CS820 touch chip, I get the display and graph however the "StandBy" button does not seem to work. Looking at the serial monitor in PlatformIO I have the following


--- Terminal on COM6 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
Init T-RGB device. Bootcount:1 
Found xl9535
Register setup complete        
Register display driver to LVGL
Chip: ESP32-S3
ChipRevision: 0
Psram size: 8188KB
Flash size: 16384KB
CPU frequency: 240MHz
Scanning for I2C devices ...
I2C device found at addre11111111111111111111

The 1 will just keep repeating until the unit is disconnected. If I touch the screen anywhere I get:

[ 40280][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40311][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40341][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40372][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40402][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40432][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40463][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40494][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40524][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
[ 40554][E][Wire.cpp:513] requestFrom(): i2cRead returned Error -1
@ThomasSlowhand
Copy link

I have the same problem with CST820, and with GT911 the touch function does not work at all. Basic setup with libs and platformio.ini is the same as the "factory" example from LilyGo. Differing from Ian's platfromio.ini I have registered ESP32S3box instead of ESP32devkit-1, because that setting is causing endless reboots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants