Advice on adding a new QSPI panel #660
Replies: 4 comments 5 replies
-
hi, The QSPI branch was an attempt to integrate changes from a qspi-dedicated fork but it is based on older versions of LovyanGFX and esp-idf core. This branch is kept as is because the originating fork has been deleted. arduino-esp32 3.1.x was supposed to get native support for QSPI through the SPI library, but it hasn't happened yet. Arduino_GFX is currently the best model to follow because it uses esp-idf functions instead of trying to inherit from arduino-esp32 SPI API. |
Beta Was this translation helpful? Give feedback.
-
So qspi is a no go atm with LGFX? Guess I'll have to wait for proper qspi support or figure out how to adapt the project i wanted to use which uses LGFX (TFT ESPI) functions to work which I don't think Arduino GFX has. :( Thanks for the reply. :) |
Beta Was this translation helpful? Give feedback.
-
hmm that didn't seem to make a difference. Setting cfg.spi_mode to 3 results in backlight on but no other screen life, cfg.spi_mode 1 and 2 result in the partial life above. It's fun tinkering with things and making even a tiny bit of progress. haha |
Beta Was this translation helpful? Give feedback.
-
So after some messing around with this and arduino gfx it seems the key to success is the "canvas (framebuffer i guess?)" thing arduino gfx uses. |
Beta Was this translation helpful? Give feedback.
-
Messing around with the QSPI branch trying to add a new panel / screen config but it seems to be way above my pay grade and I can't figure out where to go from here tbh.
It compiles and "seems" to sort of wake the screen but i get no output. I copied another panel that was a similar setup and eyeballed the hell out of Arduino_GFX to try and figure out what's going on (it works with that library).
I'm just banging my head against a wall atm it seems so thought I'd see if anyone can help get it going.
Screen in question is the JC3248W535EN with the AXS15231B controller.
Here's a mess of things I've put together. https://gist.github.com/Shadowtrance/d69e91671e1b77b7c66624279decc71b
Beta Was this translation helpful? Give feedback.
All reactions