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.
Additional research:
- GxEPD2 7.8 class
- IT8951 datasheet
- Based on Demo Example from Waveshare for Raspberry PI https://github.com/waveshare/IT8951/archive/master.zip