Top Banner
Doc. No. 4P008-00 Rev.: 03 Page: 1 of 31 Date: 2013/07/24 This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential ) 本資料為龍亭新技專有之財產,非經許可,不得複製、翻印或轉變成其他形式 使用。 E-paper Display COG Driver Interface Timing Description Detailed information to design a timing controller for 1.44”, 2”, and 2.7” E-paper panels Date 2013/07/24 Doc. No. 4P008-00 Revision 03 Design Engineering Approval Check Design No.71, Delun Rd., Rende Dist., Tainan City 71743, Taiwan (R.O.C.) Tel: +886-6-279-5399 Fax: +886-6-279-5300 昭文 2013.07.24 欣達 2013.07.24 欣達 2013.07.24 PERVASIVE DISPLAYS INC.
31

4P008-00 03 COG Driv~[1] - Glyn Store · the constant voltage, ... 5 SI I Tcon Serial input from Timing Controller to EPD ... VGH VGH VDH VCOM BORDER BORDER Q3 2N7002KW 1 2 3

Jul 30, 2018

Download

Documents

dotuong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • Doc. No. 4P008-00

    Rev.: 03 Page: 1 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    E-paper Display COG Driver Interface Timing

    Description Detailed information to design a timing controller for 1.44, 2, and 2.7 E-paper panels

    Date 2013/07/24

    Doc. No. 4P008-00

    Revision 03

    Design Engineering

    Approval Check Design

    No.71, Delun Rd., Rende Dist., Tainan City 71743, Taiwan (R.O.C.)

    Tel: +886-6-279-5399 Fax: +886-6-279-5300

    2013.07.24

    2013.07.24

    2013.07.24

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 2 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Copyright

    Pervasive Displays Incorporated All rights reserved.

    This document is the exclusive property of Pervasive Displays Inc. (PDI) and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. (PDI Confidential)

    Pervasive Displays Inc.

    No.71, Delun Rd., Rende Dist., Tainan City 71743, Taiwan (R.O.C.)

    Tel: +886-6-279-5399

    http://www.pervasivedisplays.com

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 3 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Table of Contents

    Revision History ................................................................................................. 4

    Glossary of Acronyms ......................................................................................... 5

    1 General Description ....................................................................................... 6

    1.1 Overview............................................................................................ 6

    1.2 Input Terminal Pin Assignment .............................................................. 8

    1.3 Reference Circuit ............................................................................... 10

    1.4 EPD Driving Flow Chart ...................................................................... 11

    1.5 Controller ......................................................................................... 12

    1.6 SPI Timing Format ............................................................................. 14

    2 Write to the Memory .................................................................................... 17

    3 Power On COG Driver .................................................................................. 18

    4 Initialize COG Driver .................................................................................... 19

    5 Write data from the memory to the EPD ......................................................... 21

    5.1 Data Structure .................................................................................. 21

    5.2 Store a line of data in the buffer .......................................................... 23

    5.3 Writing to the display in stages ............................................................ 29

    6 Power Off COG Driver .................................................................................. 31

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 4 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Revision History

    Version Date Page

    (New) Section Description

    Ver. 01 2012/05/08 All All Approval specification first issued

    Ver. 02 2012/07/27

    6 1.1 Modify Overview description

    8 1.2 Add Input Terminal Pin Assignment section and description

    10 1.3 Add Reference Circuit section

    11 1.4 Modify Flash to memory in the flow chart

    12 1.5 Modify Controller and description

    13 1.6 Modify SCL to SCLK, SDI to SI in the sheet

    16 2 Modify the section name Write to the Flash to Write to the Memory

    16 2 Modify the description of section 2

    17 3 Modify Border control to BORDER

    Add PWM toggle before VCC/VDD turn on

    18 4 Modify the flow chart and description

    Modify the setting of register 0x06 from 0x1F to 0xFF

    20 5 Modify the section name Write data from the flash to the EPD to Write data from the memory to the EPD

    20 5.1 Modify the description of section 5

    21 5.1 Add 1.44 frame time for V110 FPL

    22 5.2 Add 1.44 and 2.7 flow chart

    26 5.3 Modify the flow chart and description

    Ver. 03 2013/07/24

    All All Modify some description in the document

    All All Add New border control function for 1.44

    10 1.3 Modify Reference Circuit

    Modify the voltage proof (16v -> 25v)

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 5 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Glossary of Acronyms

    EPD Electrophoretic Display (e-Paper Display)

    EPD Panel EPD

    Tcon Timing Controller

    FPL Front Plane Laminate (e-Paper Film)

    SPI Serial Peripheral Interface

    COG Chip on Glass

    PDI, PDi Pervasive Displays Incorporated

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 6 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    1 General Description

    1.1 Overview

    This document explains the interface to the COG Driver to operate the EPD for a MCU based solution using two pages of memory buffer. This document applies to 1.44, 2.0, and 2.7 EPDs.

    Both new and previous display images are stored in memory buffer, then the COG Driver is powered on, initialized, panel updated in stages and then the COG Driver is powered off. Refer to the EPD controller in section 1.5 to see the complete update cycle from Power On, Initialize, Update and Power off. To operate the EPDs for the best sharpness and performance, each update of the panel is divided into a series of stages before the display of the new image pattern is completed. During each stage, frame updates with intermediate image patterns are repeated for a specified period of time. The number of repeated frame updates during each stage is dependent on the Timing Controller speed. After the final stage, the new pattern is displayed.

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 7 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Around the active area of the EPD is a 0.5mm width blank area called the border. When connected to VDL (-15V) to keep the border white. After approximately 10,000 updates with the constant voltage, the border color may degrade to a gray level that is not as white as the active area. To prevent this phenomenon, PDI recommends turn on and off border to avoid the degradation.

    Section 1 is an overview and contains supporting information such as the overall theory for updating an EPD, SPI timing for PDIs EPDs, as well as current profiles.

    Section 2 describes a method to write to memory buffer. Previously updated and new patterns are stored in the memory buffer to compare the old and new image patterns during the update.

    Section 3 describes how to power on the COG Driver which consists of applying a voltage and generating the required signals for /CS and /RESET.

    Section 4 describes the steps to initialize the COG Driver.

    Section 5 describes the details on how to update the EPD from the memory buffer, create a line of data, update in stages, and also power down housekeeping steps.

    Section 6 describes how to power off the COG Driver, and discharge voltage from EPD to ground, make sure there is not any voltage keep in EPD.

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 8 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    1.2 Input Terminal Pin Assignment

    No Signal I/O Connected to Function

    1 /CS I Tcon Chip Select. Low enable

    2 BUSY O Tcon When BUSY = HIGH, EPD stays in busy state that EPD ignores any input data from SPI

    3 ID I Ground Connect ID to ground

    4 SCLK I Tcon Clock for SPI

    5 SI I Tcon Serial input from Timing Controller to EPD

    6 SO O Tcon Serial output from EPD to Timing Controller

    7 /RESET I Tcon Reset signal. Low enable

    8 ADC_IN - BORDER or

    Not connected

    For 1.44, connect to BORDER

    For 2 & 2.7, Not connected

    9 VCL C Capacitor -

    10 C42P C Charge-Pump

    Capacitor

    -

    11 C42M C -

    12 C41P C Charge-Pump

    Capacitor

    -

    13 C41M C -

    14 C31M C Charge-Pump

    Capacitor

    -

    15 C31P C -

    16 C21M C Charge-Pump

    Capacitor

    -

    17 C21P C -

    18 C16M C Charge-Pump

    Capacitor

    -

    19 C16P C -

    20 C15M C Charge-Pump

    Capacitor

    -

    21 C15P C -

    22 C14M C Charge-Pump

    Capacitor

    -

    23 C14P C -

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 9 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    No Signal I/O Connected to Function

    24 C13M C Charge-Pump

    Capacitor

    -

    25 C13P C -

    26 C12M C Charge-Pump

    Capacitor

    -

    27 C12P C -

    28 C11M C Charge-Pump

    Capacitor

    -

    29 C11P C -

    30 VCOM_DRIVER RC Resistor & Capacitor The signal duty cycle can drive VCOM voltage from source driver IC

    31 VCC P VCC Power supply for analog part of source driver

    32 VDD P VDD Power supply for digital part of source driver

    33 VSS P Ground -

    34 VGH C Capacitor -

    35 VGL C Capacitor -

    36 VDH C Capacitor -

    37 VDL C Capacitor -

    38 BORDER I -

    For 1.44, connect to ADC_IN

    For 2 & 2.7, connect to VDL via control circuit for white frame border

    39 VST P VCOM_PANEL -

    40 VCOM_PANEL C Capacitor VCOM to panel

    Note:

    I: Input

    O: Output

    C: Capacitor

    RC: Resistor and Capacitor

    P: Power

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 10 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    1.3 Reference Circuit

    Note.1 D21N4148W

    12

    2.2u/25V/Y5VC14

    2.2u/25V/Y5VC13

    C16MC16PC15MC15PC14MC14P

    C21P

    C13MC13PC12MC12PC11MC11P

    VCC

    VDD

    C31MC41MC41P

    VCL

    C21MC31P

    VCOM_DRIVER

    /RESETSOSISCLK

    /CS

    VST

    BORDER

    VCOM

    BUSY

    DISCHARGEVDL

    VCCBORDER_CONTROL

    VGL

    VGH

    VGH

    VDH

    VCOM

    BORDER

    BORDER

    2N7002KWQ3

    1

    32

    2.2u/16V/Y5VC11

    2.2u/16V/Y5VC8

    100K/5%R3

    2.2u/16V/Y5VC3

    2.2u/16V/Y5VC10

    2.2u/25V/Y5VC16

    EPD PANEL PCB SIDE40PIN 0.5mm PITCH CONNECTOR/PAD

    J1

    ZIF-40-0.5

    C21M16 C31P15 C31M14 C41M13 C41P12 C42M11 C42P10 VCL9 ADC_IN8 /RESET7 SO6 SI5 SCLK4 ID3 BUSY2 /CS1

    C21P17

    C16M18

    C16P19

    C15M20

    C15P21

    C14M22

    C14P23

    C13M24

    C13P25

    C12M26

    C12P27

    C11M28

    C11P29

    VCOM_DRIVER30

    VCC31

    VDD32

    VSS33

    VGH34

    VGL35

    VDH36

    VDL37

    BORDER38

    VST39

    VCOM_PANEL40

    2.2u/25V/Y5VC6

    2.2u/16V/Y5VC9

    1u/10V/X7RC12

    2N7002KW

    Q21

    32

    BSS84WQ41

    32

    2.2u/25V/Y5VC5

    2.2u/25V/Y5VC15

    2.2u/10V/Y5VC1

    2.2u/25V/Y5VC4

    100K/5%R5

    2K/5%

    R2

    100K/5%

    R4

    2.2u/25V/Y5VC7

    Connect to Timing Controller GPIO

    Connect to Timing Controller SPI

    2N7002KW

    Q11

    32

    Connect to Timing Controller GPIO

    Connect to Timing Controller SPI

    Connect to Power Switch

    Connect to Timing Controller SPIConnect to Timing Controller SPI

    Connect to Timing Controller GPIO

    Connect to Timing Controller GPIO

    Connect to Power Ground

    INPUT

    DISCHARGE: set high for EPDdischarge when EPD power off

    VGL

    PWM

    BAT54SW

    D1

    1

    32

    Connect to Timing Controller GPIO

    100n/16V/X7RC17

    PWM: 100~300KHz, 50% duty cycle,square wave

    C42PC42M

    2.2u/16V/Y5VC2

    VDH

    BORDER_CONTROL : Square Pulsewhen power on

    Connect to a MOS Switch toprevent leakage current

    0RR1

    Note.1

    Note.1

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 11 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    1.4 EPD Driving Flow Chart

    The flowchart below provides an overview of the actions necessary to update the EPD. The steps below refer to the detailed descriptions in the respective sections.

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 12 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    1.5 Controller

    The diagram below provides a signal control overview during an EPD update cycle. The diagram is segmented into 3. Power On COG Driver, 4. Initialize COG Driver, 5. Write data from the memory to the EPD, and 6. Power Off COG Driver. The segment number and title matches a section title in this document which contain the details for

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 13 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    each segment.

    SI

    /CS

    4. Initialize COG Driver

    VCC/VDD

    SCLK

    BORDER*2

    5. Write Data from the memory to the EPD6. Power Off

    COG Driver3. Power On

    COG Driver

    PWM*1

    DISCHARGE

    /RESET

    Ground

    Note:

    1. PWM: 100~300 KHz Duty= 50% Square wave. The PWM signal starts before VCC/VDD input and stops during the initialization of the COG Driver to ensure there is a negative VGL on the COG Driver. Our reliability testing shows that with low temperature that the COG Driver has the possibility of VCC/VDD generating a slightly positive voltage, and the PWM is an effective solution for this condition. Refer to the section 4 of this spec.

    2. BORDER: For implement this function, Developer needs to use a pin from Microcontroller to control. BORDER is used to keep a sharp border while taking care of the electronic ink particles. (This function is only used in 2" & 2.7" EPD)

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 14 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    1.6 SPI Timing Format

    SPI commands are used to communicate between the MCU and the COG Driver. The SPI format used differs from the standard in that two way communications are not used, and CS is pulled high then low between clocks. When setting up the SPI timing, PDI recommends verifying the control signals for the overall waveform in Section 1.5, next verify the SPI command format and SPI command timing both in this section.

    The maximum clock speed that the display can accept is 12MHz. The SPI mode is 0.

    Below is a description of the SPI Format:

    SPI(0xI1I2, 0xD1D2D3D4, D5D6D7D8)

    Where:

    ImIn is the Register Index and the length is 1 byte Dm~n is the Register Data. The Register Data length varies from 1, 2, to 8 bytes depending on which Register Index is selected.

    Register Index Number Bytes of

    Register Data

    0x01 8

    0x02 1

    0x03 1

    0x04 1

    0x05 1

    0x06 1

    0x07 1

    0x08 1

    0x09 2

    Before sending the Register Index, the SPI (SI) must send a 0x70 header command.

    Likewise, the SPI (SI) must send a 0x72 is the header command prior to the Register Data. The flow chart and detailed description can be found on the next page.

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 15 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    SPI command signals and flowchart:

    SI

    /CS

    7

    SCLK

    0 7 2

    For example: To send two SPI commands: SPI((0x08,0x9D) and SPI(0x09, 0xD010)

    If register data is larger than two bytes, you must input data continuously without setting Register Index again.

    SPI(0xI1I2,0xD1D2)

    Header0x70

    /CS = 1

    Delay 10us

    /CS = 0

    Register Index(0xI1I2)

    Header0x72

    Send data (0xD1D2)

    /CS = 1

    Delay 10us

    /CS = 0

    Yes

    No

    /CS = 1

    Data sendComplete?

    RegisterIndex

    RegisterData

    Header Header

    SI

    /CS

    7 0 0 8 7 2 9 D 7 0 0 9 7 2 D010

    SCLK

    /CS must be set High then Low between Register Index and Register Data

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 16 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    SPI command timing

    SI

    /CS

    SCLK 0.9VDD 0.1VDD

    tCSS tCHS

    tCYS

    tWHStWLS

    tDSS tDHS

    Serial clock cycle

    SCLK high pulse width

    SCLK low pulse width

    Data setup time

    Data hold time

    CSB hold time

    CSB setup time

    VCC = 2.7 to 3.3V Temp = 0 to +50

    Item Signal Symbol Min. Typ. Max. Unit RemarktCYS

    tWHS

    tWLS

    tDSS

    tDHS

    tCHS

    tCSS

    80

    40

    40

    20

    20

    24

    16

    -

    -

    -

    -

    -

    -

    -

    -

    -

    -

    -

    -

    -

    -

    ns

    ns

    ns

    ns

    ns

    ns

    ns

    SCLK

    SCLK

    SCLK

    SI

    SI

    /CS

    /CS

    PE

    RVAS

    IVE

    DISP

    LAYS

    INC.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 17 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    2 Write to the Memory

    Before powering on COG Driver, the developer should write the new pattern to image buffer, either SRAM or flash memory. The image pattern must be converted to a 1 bit bitmap format (Black/White) in prior to writing.

    Two buffer spaces should be allocated to store both previous and new patterns. The previous pattern is the currently displayed pattern. The new pattern will be written to the EPD. The COG Driver will compare both patterns before updating the EPD. The table below lists the buffer space size required for each EPD size.

    EPD size Image resolution(pixels) Previous + new image Buffer

    (bytes)

    1.44 128 x 96 3,072

    2" 200 x 96 4,800

    2.7 264 x 176 11,616

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 18 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    3 Power On COG Driver

    Start*1*3

    PWM toggle 10ms

    PWM toggle 5ms

    Section 4Initialize COG

    Driver

    PWM*2 start to toggle

    /CS = 1

    /RESET = 1

    /RESET = 0

    /RESET = 1

    PWM toggle 5ms

    PWM toggle 5ms

    PWM toggle 5ms

    This flowchart describes power sequence for the COG Driver.

    1. Start :

    Initial State:

    VCC/VDD, /RESET, /CS, BORDER, SI, SCLK = 0

    2. PWM:

    100~300KHz, 50% duty cycle, square wave to eliminate the potential negative voltages that could occur at low temperature. Keeping PWM toggling until VGL & VDL is on (SPI(0x05,0x03)).

    3. BORDER:

    For implement this function, developer needs to use a pin from microcontroller to control. BORDER is used to keep a sharp border while taking care of the electronic ink particles.(This function is only used in 2" & 2.7" EPD)

    VCC/VDD voltage2.7 to 3.3V

    PWM stop to toggle and set =

    0

    BORDER*3 = 1

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 19 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    4 Initialize COG Driver

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 20 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Note:

    1. SPI(0x01, Data):

    Different by each size

    1.44: SPI(0x01, (0x0000,0000,000F,FF00))

    2: SPI(0x01, (0x0000,0000,01FF,E000))

    2.7: SPI(0x01, (0x0000,007F,FFFE,0000))

    Take 2 for example, to send first byte protocol (0x70) before Register Index (0x01), and then send second byte protocol (0x72) before Register Data (0x0000,0000,01FF,E000).

    2. Set DC/DC Frequency setting by each size.

    3. Set Vcom level. If register data is larger than two bytes, the developer must finish sending the data prior to sending another Register Index command.

    4. Gate and Source Voltage Level is different by each size:

    Different by each size

    Panel Size Data

    1.44 0x03

    2 0x03

    2.7 0x00

    5. Should measure VGH >12V and VDH >8V

    Should measure VGL

  • Doc. No. 4P008-00

    Rev.: 03 Page: 21 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    5 Write data from the memory to the EPD

    This section describes how data should be sent to the COG Driver which will update the display. The COG Driver uses a buffer to store a line of data and then writes to the display.

    5.1 Data Structure

    EPD Resolutions

    EPD size Image resolution(pixels) X Y

    1.44 128 x 96 128 96

    2" 200 x 96 200 96

    2.7 264 x 176 264 176

    Data components

    - One Bit A bit can be W (White), B (Black) or N (Nothing) bits. Using the N bit mitigates ghosting.

    - One Dot/pixel is comprised of 2 bits.

    - One line is the number of dots in a line. For example:

    The 1.44 uses 128 Dots to represent 1 Line.

    The 2 uses 200 Dots to represent 1 Line.

    The 2.7 uses 264 Dots to represent 1 Line.

    The COG Driver uses a buffer to write one line of data (FIFO) - interlaced

    Data Bytes Scan bytes Data Bytes

    1st 25th (Even) 1st - 24th 26th 50th (Odd)

    2 Example: Because method to write is interlaced, write

    the even data bytes for a line {D(200,y),D(198,y),D(196,y),D(194,y)}.

    {D(8,y),D(6,y),D(4,y),D(2,y)}

    2 Example: Write bytes for every scan line

    {S(1),S(2),S(3),S(4)}. {S(93),S(94),S(95),S(96)}

    2 Example: Write the odd data bytes for a line {D(1,y),D(3,y),D(5,y), D(7,y)}.

    {D(193,y),D(195,y),D(197,y),D(199,y)}

    - One frame of data is the number of lines * rows. For example:

    The 1.44 frame of data is 96 lines * 128 dots.

    The 2 frame of data is 96 lines * 200 dots.

    The 2.7 frame of data is 176 lines * 264 dots.

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 22 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    - One stage is the number of frames used to write an intermediate pattern. This can vary

    based on the MCU choice. PDIs design writes 6 frames of data per stage, and then 4 stages for 2 and 1.44 to update the display from the previous to the new pattern. 2.7 need 3 frames of data per stage.

    Panel Size FPL Stage Time (ms) MCU Frame Time

    (ms)(Recommend)

    1.44 V110 480 < 50ms

    2 V110 480

    2.7 V110 630 < 80ms

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 23 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    5.2 Store a line of data in the buffer

    This section describes the details of how to send data to the COG Driver. The COG Driver uses a buffer to update the display line by line.

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 24 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    1.44 Input Data Order

    Frame start

    1st Data Byte{D(128,y),D(126,y),D(124,y), D(122,y)}

    1st Scan Byte{S(1),S(2),S(3), S(4)}

    24th Scan Byte{S(93),S(94),S(95), S(96)}

    16th Data Byte{D(8,y),D(6,y),D(4,y), D(2,y)}

    17th Data Byte{D(1,y),D(3,y),D(5,y), D(7,y)}

    (1,1) (2,1) (3,1) (128,1)

    x

    y(1,2) (2,2) (3,2)(1,3)

    (1,96 ) ( 128 , 96)

    32nd Data Byte{D(121,y),D(123,y),D(125,y), D(127,y)}

    y = 97

    No

    Frame endYes

    Example:D(128,y) = Black (B) = 11D(126,y) = White (W)= 10D(124,y) = Nothing(N) = 01D(122,y) = Black (B) = 11

    1st Data Byte= 11,10,01,11

    Total displayed data in a line: (128+96)x2 bits

    Sending Data SPI(0x0A, Data)

    Output data from COG driver to panel.

    The operation of SPI(0x0A,Data) is same asthat when Initialize Driver.0x0A: index of data register

    Turn on Output EnableSPI(0x02, 0x2F)

    bit1 bit0 Input

    1 1 Black (B)1 0 White (W)0 0/1 Nothing (N)

    Data

    D(x,y)x = 1~128y = 1~96

    1 1 Scan on0 0 Scan off

    Scan

    S(1) ~S(96)

    Example:When y = 2,

    Only S(2) is Scan on (11) while others are Scan off (00). The image represented by Data Bytes will be displayed on 2nd horizontal line(i.e. Dot(1,2) ~ Dot(128,2)).

    S(1) = Scan off = 00S(2) = Scan on = 11S(3) = Scan off = 00S(4) = Scan off = 00

    :S(96) = Scan off = 00

    1st Scan Byte = 00,11,00,002nd ~ 24th Scan Byte = 00,00,00,00

    bit1 bit0 Input

    Note :

    1. When start transfer each Data Byte, users need to check BUSY pin.

    2. If users cannot check BUSY pin, use delay at least 1 usec (10-6 second) Between byte-byte data for transfer image data.

    BUSY

    SCLK

    Example :

    Border Byte0x00

    Line endy ++

    Set Chargepump voltage level reduce

    voltage shiftSPI(0x04, 0x03)

    Line starty = 1

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 25 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    2 Input Data Order

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 26 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Frame start

    1st Data Byte{D(200,y),D(198,y),D(196,y), D(194,y)}

    1st Scan Byte{S(1),S(2),S(3), S(4)}

    24th Scan Byte{S(93),S(94),S(95), S(96)}

    25th Data Byte{D(8,y),D(6,y),D(4,y), D(2,y)}

    26th Data Byte{D(1,y),D(3,y),D(5,y), D(7,y)}

    (1,1) (2,1) (3,1) (200,1)

    x

    y(1,2) (2,2) (3,2)(1,3)

    (1,96 ) ( 200 , 96)

    50th Data Byte{D(193,y),D(195,y),D(197,y), D(199,y)}

    y = 97

    No

    Frame endYes

    Example:D(200,y) = Black (B) = 11D(198,y) = White (W)= 10D(196,y) = Nothing(N) = 01D(194,y) = Black (B) = 11

    1st Data Byte= 11,10,01,11

    Total displayed data in a line: (200+96)x2 bits

    0x00

    Sending Data SPI(0x0A, Data)

    Output data from COG driver to panel.

    The operation of SPI(0x0A,Data) is same asthat when Initialize Driver.0x0A: index of data register

    Add eight bits 0 to complete a line.

    Turn on Output Enable SPI(0x02, 0x2F)

    bit1 bit0 Input

    1 1 Black (B)1 0 White (W)0 0/1 Nothing (N)

    Data

    D(x,y)x = 1~200y = 1~96

    1 1 Scan on0 0 Scan off

    Scan

    S(1) ~S(96)

    Example:When y = 2,

    Only S(2) is Scan on (11) while others are Scan off (00). The image represented by Data Bytes will be displayed on 2nd horizontal line(i.e. Dot(1,2) ~ Dot(200,2)).

    S(1) = Scan off = 00S(2) = Scan on = 11S(3) = Scan off = 00S(4) = Scan off = 00

    :S(96) = Scan off = 00

    1st Scan Byte = 00,11,00,002nd ~ 24th Scan Byte = 00,00,00,00

    bit1 bit0 Input

    Note :

    1. When start transfer each Data Byte, users need to check BUSY pin.

    2. If users cannot check BUSY pin, use delay at least 1 usec (10-6 second) Between byte-byte data for transfer image data.

    BUSY

    SCLK

    Example :

    Line endy ++

    Set Chargepump voltage level reduce

    voltage shiftSPI(0x04, 0x03)

    Line starty = 1

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 27 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    2.7 Input Data Order

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 28 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Frame start

    1st Data Byte{D(264,y),D(262,y),D(260,y), D(258,y)}

    1st Scan Byte{S(1),S(2),S(3), S(4)}

    44th Scan Byte{S173),S(174),S(175), S(176)}

    33rd Data Byte{D(8,y),D(6,y),D(4,y), D(2,y)}

    34th Data Byte{D(1,y),D(3,y),D(5,y), D(7,y)}

    (1,1) (2,1) (3,1) (264,1)

    x

    y(1,2) (2,2) (3,2)(1,3)

    (1,176 ) ( 264 ,176)

    66th Data Byte{D(257,y),D(259,y),D(261,y), D(263,y)}

    y = 177

    No

    Frame endYes

    Example:D(264,y) = Black (B) = 11D(262,y) = White (W)= 10D(260,y) = Nothing(N) = 01D(258,y) = Black (B) = 11

    1st Data Byte= 11,10,01,11

    Total displayed data in a line: (264+176)x2 bits

    0x00

    Sending Data SPI(0x0A, Data)

    Output data from COG driver to panel.

    The operation of SPI(0x0A,Data) is same asthat when Initialize Driver.0x0A: index of data register

    Add eight bits 0 to complete a line.

    Turn on Output Enable SPI(0x02, 0x2F)

    bit1 bit0 Input

    1 1 Black (B)1 0 White (W)0 0/1 Nothing (N)

    Data

    D(x,y)x = 1~264y = 1~176

    1 1 Scan on0 0 Scan off

    Scan

    S(1) ~S(176)

    Example:When y = 2,

    Only S(2) is Scan on (11) while others are Scan off (00). The image represented by Data Bytes will be displayed on 2nd horizontal line(i.e. Dot(1,2) ~ Dot(264,2)).

    S(1) = Scan off = 00S(2) = Scan on = 11S(3) = Scan off = 00S(4) = Scan off = 00

    :S(176) = Scan off = 00

    1st Scan Byte = 00,11,00,002nd ~ 44th Scan Byte = 00,00,00,00

    bit1 bit0 Input

    Note :

    1. When start transfer each Data Byte, users need to check BUSY pin.

    2. If users cannot check BUSY pin, use delay at least 1 usec (10-6 second) Between byte-byte data for transfer image data.

    BUSY

    SCLK

    Example :

    Line endy ++

    Set Chargepump voltage level reduce

    voltage shiftSPI(0x04, 0x00)

    Line starty = 1

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 29 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    5.3 Writing to the display in stages

    This section contains the method to write to the display in stages. Each of the 4 stages should be the same use the same number of frames. Rewrite the frame during each stage.

    The flow chart that follows describes how to update an image from a previous displayed image stored in memory buffer to a new image also stored in memory buffer. See the sample previous and new images below.

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 30 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    Initialize Driver

    Sense Temperatureto determine

    Temperature Factor (TF)

    Stage 2*1White

    (Stage Time * TF) ms

    Stage 3*2Inverse

    (Stage Time * TF) ms

    Stage 1*1Compensate

    (Stage Time * TF) ms*4

    bit1 bit0 Input

    1 1 Black (B)1 0 White (W)

    0 0/1 Nothing (N)Data

    W B

    1. The image stored in memoryis used to determine how to write the data for both Stage 1 and Stage 2.

    2. The image stored in memory is used to determine how to write the data for both Stage 3 and Stage 4.

    3. Optional: The optical performance is dependent on Stage Time. If theghosting is at unacceptable level, theEPD can be rewritten and then Stage 4repeated to write the New image.

    4. It needs (Stage Time * TF) ms to finish a stage.

    Panel Size (Stage Time * TF) ms

    5. The TF below 0 is for reference only. PDI does not guarantee the performance and functionality below 0.

    6. To redeuce the current consumption, definition of Nothing is different at Stage 2 and Stage 3.

    Stage 2 Nothing(00)Stage 3 Nothing(01)

    N*6 W

    N*6 B

    Stage 4*2*3Normal

    (Stage Time * TF) msB W

    New*2 B WStage 4 Data

    Input

    New*2 B WStage 3 Data

    Input

    Previous*1 B WStage 2 Data

    Input

    Previous*1 B WStage 1 Data

    Input

    W BNew*2 B W

    Stage R Data

    Input

    Optional StageRepeat

    (Stage Time * TF) ms

    Power Off

    Ghosting level is acceptable*3

    Yes

    No

    Temperature ()

    -10-5 T > -105 T > -5

    10 T > 515 T > 1020 T > 15

    TF*5

    40 T > 20> 40

    W BDisplay

    W WDisplay

    W BDisplay

    B WDisplay

    W BDisplay

    1

    1

    White

    2

    2

    2

    Previous Display

    Display

    Display

    Display

    New Display

    Display

    1712

    43210.7

    V110

    8

    1.44"(V110)2"(V110)

    2.7"(V110)

    480480630

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.

  • Doc. No. 4P008-00

    Rev.: 03 Page: 31 of 31 Date: 2013/07/24

    This document is the exclusive property of PDI and shall not be reproduced or copied or transformed to any other format without prior permission of PDI. ( PDI Confidential )

    6 Power Off COG Driver

    Turn off osc SPI(0x07,0x0D)

    Power off chargepump Vcom

    SPI(0x05,0x0E)

    Latch reset turn on SPI(0x03,0x01)

    Output enable off SPI(0x02,0x05)

    Input Display Data

    Write a Nothing Frame*1

    Write a Dummy Line*2

    Delay 25ms

    Discharge internal SPI(0x04,0xA0)

    Discharge internal SPI(0x04,0x00)

    Delay 40 ms

    Set Powers and Signals = 0 (VCC, VDD,

    /RESET, /CS, SI, SCLK,

    BORDER*3)

    External Discharge*4= 1

    External Discharge*4*5 = 0

    Delay 150 ms

    Finish

    1. Nothing Frame : A frame, 96 lines/1.44"&2", 176 lines/2.7", whose all D(x,y) are N(01). Scan Bytes operate normally. Scan lines are still turned on sequentially. This Frame will make the image more uniform. Turn on OE SPI(0x02, 0x2F) at the end of each line.For 1.44", need to set Border Byte(0x00) before 1stData Byte.

    2. Dummy Line : A line whose all Data Bytes are 0x55 and Scan Bytes are 0x00. Turning on OE SPI(0x02, 0x2F) tocomplete this Dummy Line. Clear the register data before power off. Detail of data input is on page 23 ~ page 25.(This function is only used in 2" & 2.7" EPD)

    3. BORDER : For implement this function, users need to use a pinto control from microcontroller. When = 0, the BORDER is ON and write to white. When = 1,the BORDER is OFF. The reason for using BORDER is to keep a sharp border and not have a charge on the particles of FPL. Voltage too long on these will produce a gray effect which is the optimal for long term operation.(This function is only used in 2" & 2.7" EPD)

    4. External Discharge : For implement this function, users need to use a pin from microcontroller to control. This is important to avoid vertical lines.

    5. If you use the flash memory for pattern store, please recheck flash in this phase and verify the old image flash is erased.

    6. BORDER Dummy Line : Set Border Byte = 0xAA and write to white. A line whose a Border Byte is before 1st Data Byte and all Data Bytes are 0x55 and Scan Bytes are 0x00. Then must to set SPI(0x02,0x2F) in the end of line for turn on output enable by COG control border and clear the register data before power off. Detail of data input is on page 23 ~ page 25.(This function is only used in 1.44" EPD)

    Power off Negative Chargepump

    SPI(0x05,0x02)

    Discharge SPI(0x04,0x0C)

    Turn off all chargepumps

    SPI(0x05,0x00)

    Delay 120 ms

    Discharge internal SPI(0x04,0x50)

    Delay 40 ms

    BORDER*3 = 0

    BORDER*3 = 1

    Delay 200~300ms

    Write a BORDER Dummy

    Line*6

    Is EPD size 1.44" ?

    No Yes

    Delay 200~300ms

    PERV

    ASIV

    E DI

    SPLA

    YS IN

    C.