Skip to content

Update procedure

COG Power On

Environment and PSR

  • TSSET is the temperature value (Celsius)

    The highest bit of the data represents positive/negative value

    • Positive means the data is equal to the temperature value
    • Negative means the data is a 2’s complement of the temperature value
TemperatureHex Value
25 C0x19
5 C0x05
-5 C0xFB
  • PSR: 2 bytes
EPD SizeData
4.2"0x0F, 0x890x89
Other sizes0xCF, 0x8D0x8D

Upload Image Data

This section describes how to send the image data into the COG driver which will update the display. EDP need to receive both First and Second frame data each updating. The index of the first frame is 0x10 and the second frame is 0x13.

The data of image frame, one bit represents 1 pixel. (e.g. the first byte represents the 1st ~ 8th pixels of the first line, the second byte represents the 9th ~ 16th pixels of the first line, …… and so on).

First Frame

The frame is the “black” frame. The data “1” represents the black color pixel and the data “0” represents the white color pixel.

Second Frame

The second frame need to be fed K bytes 0x00. (K: reference Total bytes/frame on previous page.)

COG Update

Warning

SPI(0x04) and SPI(0x12) both do not need data. Just the index.

Turn off DC/DC

Warning

SPI(0x02) only needs the register index. No data required.

BUSY should originally be configured as INPUT. But will need to be reconfigured as OUTPUT and then should be set to LOW.