2021-04-09 06:25 AM
Hi,
For a new project, We have our custom board with STM32L4R9ZI IC. In our hardware setup, we don't have an external RAM to use Double Buffer. So we are using Single Buffer for rendering purpose.
we have our UI with transitions like Carousel, Cover. And also we are using TextureMapper to Rotate Image. We implemented above functionalities in our UI.
When we use PC Simulator, Transitions and animations are looking great. But As we test the code in our hardware display refresh is too slow.
Could you please let us know, if there is any way to setup the hardware features in PC simulator to test as the hardware?
Or If you have any Emulator to test the Hardware features please let us know.
Thanks and Regards,
Bala
2021-04-09 07:03 AM
Hi,
It is one of the downsides of the simulator, it does not simulate the hardware limitations. We have no solution for that for now but if anyone has some inputs, a custom solution or emulator please share :grinning_face_with_sweat:.
Be aware that some of the animations will not work without enough space for the animation storage, like the cover transitions for example. You can definitely do nice graphics with a STM32L4R9ZI, try to optimize the code by for example having as less blocks of the screen to refresh as a time (there is no need to refresh the entire display if you just rotate an image of change text for example).
/Romain
2021-04-15 04:00 AM
Hi,
Thank you so much for the details.
To overcome this issue, is it possible to Change the bit depth dynamically. Like, by default we will be using 24 bit rendering and can we change to 16 bit in some of the screens where we are getting refresh issue. And again change back to 24 bit.
Thanks and Regards,
Bala
2021-04-20 03:46 AM
Hi Romain,
Could you please help on above.
regards,
Bala
2021-04-20 06:08 AM
I would rather have someone more confident answer this but I really doubt it is possible. This would require pin reconfiguration, ltdc reconfiguration and more. This seems like a nightmare for something not that worth it.
/Romain