-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
in state connected by ble5.0, backlight of st7789 lcd is blink. (IDFGH-9076) #10479
Comments
Maybe you need to attach an oscilloscope to the GPIO7 to see what happens on that GPIO. Is it possible that the power supply is not sufficient? |
@suda-morris when i use oscilloscope, this image was shown Interval is 100ms then if i disconnect ble, graph indicated 0V. i don't know why it's 3.3v if it's connected ble. I think power is sufficient. It shows the same symptoms when i use power supply or usb. when i use esp32-arduino, though it connected, lcd did not blink. |
what's the log output? is your program crashed somehow? are you sure GPIO7 is not used by other purpose in your program? |
@suda-morris there is no shut down and crash ,disconnection, other config of GPIO7. though it blink st7789 lcd, BLE work well .the issus is st7789 lcd and if i except for code related to BLE and upload, display work well without blink. this log is in vscode monitor.
this log is in nRFConnect app
when i add this code, st7789 LCD no longer blink.
but i don't know what role SLP_SEL play. I'm not sure if it's okay to use this function. |
when i add but, current cumsumption is increasing. ( about 10mA -> about 30mA ) |
Okay, now I see it's expected behavior because you enabled the |
if so i tested to reduce current consumption without i found that when connection interval is in 10~35ms, it is work well without at this time, there is no blink. but when connection interval is over than 40ms, it blink again. and i want to increase interval to reduce power consumption. |
@hyu7000 Does this issue still exist in the latest IDF version? |
Answers checklist.
IDF version.
v5.0 7f5ecbe
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32s3 wroom 1 devkit
Power Supply used.
USB
What is the expected behavior?
in state connected by ble5.0, st7789 lcd remains turned off.
What is the actual behavior?
in state connected by ble5.0, st7789 lcd repeat turn on and turn off.
if i change connection interval, repeat cycle of onoff was changed.
the below video show when connection interval is 500ms.
https://user-images.githubusercontent.com/82933946/210317688-ec8c64f7-82db-4036-a15f-87244e0df73a.mp4
the below video show when connection interval is 100ms.
https://user-images.githubusercontent.com/82933946/210318034-95402d35-cacc-4f5e-9063-18e3167a3ef5.mp4
if it not connected ble, lcd completly turn off.
Steps to reproduce.
in ble50_security_server project, set bluetooth modem sleep
and add this code at
gatts_profile_event_handler()
connect st7789 lcd by spi connection.
and add this code at
app_main()
try to connect to a phone
Debug Logs.
No response
More Information.
gpio7 of esp32s3 was connected backlight pin(BLK) like below image
i can't find solution to solve this issue in the document and esp32 forum, git.
is there keyword to find solution?
The text was updated successfully, but these errors were encountered: