-
Notifications
You must be signed in to change notification settings - Fork 221
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
ST7789V2 support on M5StickC-Plus #93
Comments
Wild guess is that
|
Thanks for the reply... some good pointers... note (at least in my code) the PIN_NUM_TCS is used (and the gpio config'd) only if USE_TOUCH != 0 (TOUCH_TYPE_NONE)... ensured that gpio code isn't called... on the PIN_NUM_BCKL that looks for the #define (#ifdef) so commented that out to skip the gpio config for BCKL (as on M5StickCs that's in the power chip). Still have the same behavior (trying tweaking some other settings on a lark). Next step for me will be to create a new project just isolating this code and getting it to run on the M5StickC-Plus... hopefully can come back with some positive results soon |
You could also check if the AXP192 is initialised properly. It provides power both for the display driver chip and the backlight. Are you using ESP-IDF? |
Yeah... I am... the backlight actually works (can turn it on and off)... Note one thing I found in another library was this in setup:
Added that to no avail... still working on creating a clean project with just the basic init and TFT code and going from there (will be a weekend project)... thanks again for the feedback |
If you don't mind testing with another graphics library you could rule out possibility of broken display with one of my apps. Is just tested and it runs fine on two of my M5StickC Plus boards. If it also works for you the you could then compare the settings etc.
Or if you prefer using the new
|
Thanks for that... installed the latest ESP-IDF and got your (very cool) project running... Just FYI I had an issue as follows when running:
which is mentioned in this issue: espressif/esp-idf#6293 The solution mentioned of setting conf.clk_flags = 0; in the init worked My M5StickC Plus is running your (cool) demo fine, so now I can use that to figure out what's up. Thanks again |
Trying to get ST7789V2 support for the M5StickC-Plus running (new version of the M5StickC so assume it'll be a popular device)... backlighting on/off works, but display still doesn't show anything.
Of course assuming ST7789V will work for the ST7789V2 (will be checking the data sheets just in case).
I'm debugging this so if I find a solution will submit it.. in the meantime if anyone has any pointers, feedback would of course be appreciated.
added to CONFIG_EXAMPLE_DISPLAY_TYPE options in tftspi.h:
The text was updated successfully, but these errors were encountered: