GxEPD2 deep sleep partial update questions

I'm attempting to use GxEPD2 with partial updates and deep sleep on an ESP32. I've found and read this here: GxEPD2 - Partial update with deep sleep . I have implemented something similar to pass the correct "initial" variable for the init call after deep sleep.

I am basically drawing some basic boxes and graphics using the Adafruit GFX library. I want those graphics to persist and then do partial updates on other portions of the screen, which works fine before I go into and then wake up from a deep sleep.

I'm guessing GxEPD2 loses the original bitmap on the deep sleep. Is it possible to not do a full screen refresh and provide the original bitmap data and then go straight into partial updates? If it is possible, can I still use the Adafruit GFX somehow to create the bitmap, but not update the screen, or would I need to switch to just passing a bitmap instead using something like display.writeImage()?

Thanks ahead of time.

--Chris

@laminar, Hi Chris, welcome to the forum again!

I had not asked you if you already read How to get the best out of this forum.

I can take a look at your profile to find your previous posts, to find background information.

But it is preferable for any poster to provide complete information in any new post.

I need complete information, display used, processor used, connection module if applicable, to try to give an answer.

And sometimes I need a code example, to understand what a poster tries to do.

The handling for partial update after processor deep sleep as described in the link you quoted only deals with continuation of partial updates to the display. The graphics buffer content on the processor is not retained. It may contain random data, garbage; may need to be cleared.

I did not test this feature, but I believe it works. You can provide an example (needs to be compile-able) if it doesn't work for you.

Jean-Marc

I've written an example that sort of works. It looks like I need to somehow know the difference between the modified bitmap after I have made the first partial update and the original, because subsequent partial updates get garbled up.

I would probably need my example second200x200 bitmap modified with the partial changes and then pass that to writeImage for subsequent partial updates to work correctly?

Is it possible to get the current bitmap so I can diff that with my main bitmap, which is second200x200 in this example. Alternatively, is it possible to get a hex array or partial bitmap from my partial update call, so I can then modify the original secon200x200 with the partial update data? I may be able to store the partial data in RTC Clock memory, which has an 8K limit.

Here is the example:

#include <GxEPD2_BW.h> 
#include <Fonts/FreeSansBold9pt7b.h>

GxEPD2_BW<GxEPD2_154_D67, GxEPD2_154_D67::HEIGHT> display(GxEPD2_154_D67(/*CS=D8*/ SS, /*DC=D3*/  GPIO_NUM_27, /*RST=D4*/ GPIO_NUM_14, /*BUSY=D2*/ GPIO_NUM_4)); // GDEH0154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F,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,};

RTC_DATA_ATTR int bootCount = 0;

#define uS_TO_S_FACTOR 1000000
#define TIME_TO_SLEEP  5    

int partialTestData = 0;

void setup()
{ 
  const GFXfont* f = &FreeSansBold9pt7b; 
  
  Serial.begin(115200);

  // Initialize the screen differently depending on if this is the first boot
  if( bootCount == 0 )
  {
    display.init(0, true, 2);
    Serial.println("init with true, first boot");
  }
  else
  {
    display.init(0, false, 2);
    Serial.println("init with false, all other boots");
  }

  display.setFont(f);

  // Draw the bitmap with a full screen refresh on first boot
  if(bootCount == 0)
  {
    display.firstPage();
    do
    {
      display.fillScreen(GxEPD_WHITE);
      display.drawInvertedBitmap(0, 0, second200x200, 200, 200, GxEPD_BLACK);      
    }
    while (display.nextPage());
  }
  else // Load the bitmap back into memory, but don't write it on subsequent boots
  {
    display.writeImage(second200x200, 0, 0, 200, 200);
  }

  randomSeed(analogRead(0));
  partialTestData = random(500000); 

  // Perform our partial updates anytime after the first deep sleep
  if(bootCount > 0)
  {
     // Partial update for when the bottle was last opened
    display.firstPage();
    display.setPartialWindow(8, 8, 184, 32);
    do
    {      
      display.setCursor(8, 24);
      display.setTextColor(GxEPD_BLACK);
      display.println(partialTestData);          
    }  
    while (display.nextPage()); 
  }

  ++bootCount;

  // Take a nap (5 secs, but based on TIME_TO_SLEEP)
  esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);  

  //Go to sleep now
  esp_deep_sleep_start();    
}

void loop() {};


I am also not sure if my implementation is really taking full advantage of partial updates or not. I recently ran across this here: E-paper and deep sleep

This should not be needed.

The sequence should be changed. Don't know if it has an influence.

I am busy today. Will check your example tomorrow.

Jean-Marc

What's interesting is now that I have the GDEW0154M09 panel working with the DESPI-C02 board, all my issues are resolved and it works perfectly.. I can indeed ditch the display.writeImage(second200x200, 0, 0, 200, 200); .

I am curious if the difference is the screen or the board I am using. I will have to test the GDEH0154D67 with the DESPI-C02 board instead vs the Waveshare board.

Yes, this might help. I didn't notice you used the HAT. The "clever" reset circuit removes power from the panel, which looses memory...

The GDEH0154D67 panel also works great with the DESPI-C02 board.

I have no idea what is going on with the Waveshare board that causes issues, but I am certainly happy everything seems to work well with the DESPI-C02 board. ** Edit ** Like ZinggJM said, my issue was the waveshare board causing the panel to lose power and memory.

Thanks again for your help. My problem appears to be solved now with this board and either panel.