Is there a reset function (or pin) I can call

When my Giga R1 is rebooted, there are artefacts on the screen from the last thing displayed, before my boot sequence gets to the splash screen. Whilst this isn't the end of the world, it would be nice to reset the display as soon as it could.

So, is there a reset pin? I couldn't find one in the docs.

Many thanks

Your code in the setup function should clear the screen, along with everything else it does.

Why is your 'boot sequence' taking so long this is even noticable?

Probably time to post your code, in code tags please <CODE/>

1 Like

the major issue is having to bring up the USB host and mount mbed::FATFileSystem before I can start LVGL. This takes about 2s. After that, my main loop has a simple state machine to bring up everything else, whilst lv_event_handler() is already running (so I can update a splash-screen). This is a fixed order because I need to get image files from the USB stick and put them into SDRAM. Then I can start LVGL.

In this 2s, one sees whatever was left in the screen local buffer (probably a large capacitor or something else providing power for a while).

I know adafruit screens have a reset pin, so you can trigger this immediately on boot, so at least the screen isn't showing something confusing.

So, this is my dilemma.

Ok...
I don't understand why that prevents you from clearing the display right at the start of the setup function, it would take a few milliseconds I would think.

2 Likes

Hope I am not confusing matters, but it seems that the display does have a reset pin that points to PC6 from the J5 (DSI) header. How to access and utilize that pin is beyond my limited comprehension of this matter, but perhaps this helps. Then again, I could be wrong.

My library supports lcd.clear();, I run that ins setup() and it works great.

I forgot to mention I turn my display off until it is initialized.

Gil Can you share that. code or a link to your library? I've also noticed a lot of garbage is displayed from the frame buffer until all the graphics code gets initialized.

Also curious which technique you use to turn your display off. Backlight off or ????