martinberlin / cale-idf

CalEPD is an Epaper component driver for the ESP-IDF framework with GFX and font support, optional touch interface, compatible with ESP32 / S2 / S3 / C3

Home Page:https://fasani.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class to send SPI data to T-Con eink dot com/ GD GDEW101C01

martinberlin opened this issue · comments

Change of strategy here: First focus is communicating with the existing Waveshare eink dot com T-Con raw epapers. GxEPD 2 has already the right commands:
https://github.com/ZinggJM/GxEPD2/tree/master/src/it8951
iC controller is IT8959 that converts SPI to parallel. Needs 4 wire SPI and optimizing existing implementation will be a great way to get familiar with this controllers.

Model: Goodisplay GDEW101C01 10.1 inch epaper display DES full color
Resolution: 2232x1680
Buffer is different from other color epapers: 12 bit per pixel
Red: 4 bits Green: 4 bits Blue: 4 bits

This will not communicate with the epaper directly. A Waveshare HAT will be in the middle that will act as an SPI to 16 parallel bus converter.

Note due to the big buffer:
2232*1680 * 12 bit / 8 (bits per byte): 5624640 bytes it won't fit in PSRAM.

If that is the case then reduce height to a more appropriate number and send and empty buffer for the rest of the data.
Ex. 2232*1180: 3950640 bytes buffer

Note: The buffer can be wrongly calculated. Here a new theory after comparing with the Kaleido technology that is similar to DES.

Images for the Wiki
it8951_einkdotcom

ED078KC2
ED078KC2

Additional research:

SPI Preamble before data
IT_preamble_before_data

It works as expected using @lovyan03 library. Supported him as sponsor!