2020-05-07 01:57 PM
I'm trying TouchGFX on a STM32H7B3I-DK board and managed to have it running with RGB565 pixel format. The first screen has an image has background and one image, one text area and one button on it. If the background image is specified with the default RGB565 format everything is fine but if I make it L8_RGB565 the drawing engine hangs and never return from backPorchExited() in TouchGFXHAL::taskEntry() function.
When using default RGB565 for background image I may change the image with a SetBitmap using an L8_RGB565, I may also switch to a second screen that has a L8 background image, so the problem is limited to the setup of the first screen.
Has someone encountered the same problem, or did I forget some initialisation of CLUT or ...
2020-05-11 04:16 AM
Hi @PJEN,
You shouldn't need to do any CLUT initialization manually. Just to get you right, are you saying that it works when you use setBitmap() at run-time (not during setup)?
/Martin
2020-05-11 06:45 AM
2020-05-12 06:56 AM
Okay, before i dive into this i'd like to ask if you've done any debugging to see where the application is hanging?
/Martin
2020-05-12 09:41 AM
2020-05-13 01:57 AM
Okay, thanks @PJEN ! Does this also happen on the simulator?
/Martin
2020-05-13 01:58 AM
2020-05-13 02:05 AM
Okay, great - I'll see what i can find. Is it possible for you to share your project, or part of it that shows the issue? That'll save me some time.
/Martin
2020-05-13 02:12 AM
2020-05-13 03:12 AM