LCD Module User Manual
LCD Module User Manual
Customer :
Approved By Customer:
Date:
                                TG12864L-04WA0_A00                 Page 1 of 31
                                Contents
1. Precautions in Use of LCD Module--------------------------------------P3
2. General Specification-------------------------------------------------------P3
3. Absolute Maximum Ratings-----------------------------------------------P3
4. Electrical Characteristics--------------------------------------------------P4
5. Backlight Information------------------------------------------------------P4
6. Optical Characteristics-----------------------------------------------------P5
7. Interface Description--------------------------------------------------------P6
8. Contour Drawing & Block Diagram--------------------------------------P7
9. Application circuit----------------------------------------------------------P8
                                 TG12864L-04WA0_A00                 Page 2 of 31
1. Precautions in Use of LCD Module
(1) Avoid applying excessive shocks to the module or making any alterations or modifications to it.
(2) Dont make extra holes on the printed circuit board, modify its shape or change the components of LCD
    Module.
(3) Dont disassemble the LCM.
(4) Dont operate it above the absolute maximum rating.
(5) Dont drop, bend or twist LCM.
(6) Soldering: only to the I/O terminals.
 Storage: please storage in anti-static electricity container and clean environment.
2. General Specification
           ITEM                          STANDARD VALUE                                UNIT
Interface Serial
                                         TG12864L-04WA0_A00                            Page 3 of 31
4. Electrical Characteristics
           ITEM            SYMBOL        CONDITION           MIN.           TYP.      MAX.      UNIT
5. Backlight Information
Absolute Maximum ratings ( Ta=25)
                    Item                  Symbol              Conditions              Rating        Unit
 Reverse voltage                                Vr                    -                 5.0          V
 Reverse Current                                Ir                    -                 20          uA
 Absolute maximum forward Current              Ifm                                     500          mA
 Peak forward current                          Ifp     I msec plus 10% Duty Cycle      120          mA
 Power dissipation                             Pd                                      165          mW
 Operating Temperature Range                   Toper                                  -30~+70        
                                        TG12864L-04WA0_A00                               Page 4 of 31
6. Optical Characteristics
       ITEM         SYMBOL CONDITION   MIN   TYP    MAX   UNIT
Contrast Ratio CR 5
                               TG12864L-04WA0_A00         Page 5 of 31
7.Interface Description
 Pin No.   Symbol    Level                         Description
7 VSS 0V Ground
                             TG12864L-04WA0_A00                      Page 6 of 31
8. Contour Drawing & Block Diagram
                       TG12864L-04WA0_A00   Page 7 of 31
9. Application circuit
                                       TG12864L-04WA0_A00                        Page 8 of 31
-High accuracy voltage regulator (temperature coefficient: -0.05%/C or external input)
-Electronic contrast control function (64 steps)
-Vref = 2.1V3% (V0 voltage adjustment voltage)
-High performance voltage follower (V1 to V4 voltage divider resistors and OP-Amp for
increasing drive capacity)
Operating Voltage Range
- Supply voltage (VDD): 2.4 to 3.6 V
- LCD driving voltage (VLCD = V0 - VSS): 4.5 to 13.0 V
Low Power Consumption
-Operating power: 400uA typical. (Condition: VDD = 3V, x 4 boosting(VCI is VDD),V0 = 11V,
internal power supply ON, display OFF and normal mode is selected)
-Standby power: 30uA maximum. (During power save [standby] mode)
Microprocessor interface
-High-speed 8-bit parallel interface with 6800-series or 8080-series. (These LCM masked).
-Serial interface (only write operation) available.                 (These LCM available).
Chip Select Input
There are /CS1 pins for chip selection. The LCM can interface with an MPU only when /CS is
"L" . When these pins are set to any other combination, RS, E_RDB, and RW_WRB inputs
are disabled and DB0 to DB7 are to be high impedance. And, in case of serial interface, the
internal shift register and the counter are reset.
Parallel / Serial Interface (These LCM use serial interface only)
LCM used ST7565P has three types of interface with an MPU, which are one serial and two
parallel interfaces.
This parallel or serial interface is determined by PS pin as shown in following table.
   PS         Type        CS1B        CS2           C68       Interface mode
                                                  H       6800-series MPU mode
   H       Parallel     CS1B         CS2
                                                  L       8080-series MPU mode
   L        Serial      CS1B         CS2          *            Serial-mode
                                                                   *: Don't care
Parallel interface (PS = "H")
The 8-bit bi-directional data bus is used in parallel interface and the type of MPU is selected
by C68 as shown in following table.
                       Microprocessor Selection for Parallel Interface
  C68       CS1B       CS2       RS E_RDB RW_WRB DB0 to DB7 Interface mode
   H        CS1B       CS2       RS        E          RW      DB0 to DB7        6800-series
    L       CS1B       CS2       RS      /RDB         /WR     DB0 to DB7        8080-series
The type of data transfer is determined by signals at RS, E_RDB and RW_WRB as following Table.
                                      Parallel Data Transfer
 Common            6800-series              8080-series
                                                                          Description
    RS        E_RDB RW_WRB E_RDB RW_WRB
      H           H            H           L           H             Display data read out
      H           H            L           H           L              Display data write
      L           H            H           L           H             Register status read
                                                                   Writes to internal register
      L           H            L           H           L
                                                                         (instruction)
                                     TG12864L-04WA0_A00                       Page 9 of 31
Figure 1. 6800-Series MPU Interface protocol (PS=H, MI=H)
                 TG12864L-04WA0_A00                 Page 10 of 31
Serial Interface (PS = "L")
When the ST7565P is active, serial data (DB7) and serial clock (DB6) inputs are enabled. And
not active, the internal 8-bit shift register and the 3-bit counter are reset. Serial data can be
read on the rising edge of serial clock going into DB6 and processed as 8-bit parallel data on
the eighth serial clock. Serial data input is display data when RS is high and control data
when RS is low. Since the clock signal (DB6) is easy to be affected by the external noise
caused by the line length, the operation check on the actual machine is recommended.
                                     TG12864L-04WA0_A00                      Page 12 of 31
POWER SUPPLY CIRCUITS
The Power Supply circuits generate the voltage levels necessary to drive liquid crystal driver
circuits with low power consumption and the fewest components. There are voltage converter
circuits, voltage regulator circuits, and voltage follower circuits. They are valid only in master
operation and controlled by power control instruction. For details, refers to "Instruction
Description".
Voltage Converter Circuits
These circuits boost up the electric potential between VCI and VSS to 2, 3, 4 or 5 times
toward positive side and boosted voltage is outputted from VOUT pin. These LCM fixed to 4
times.
Voltage Regulator Circuits
The function of the internal Voltage Regulator circuits is to determine liquid crystal operating
voltage, V0, by adjusting resistors, Ra and Rb, within the range of |V0| < |VOUT|. Because
VOUT is the operating voltage of operational-amplifier circuits, it is necessary to be applied
internally or externally. For the Eq. 1, we determine V0 by Ra, Rb and VEV. The Ra and Rb
are connected internally or externally by INTRS pin. And VEV called the voltage of electronic
volume is determined by Eq. 2, where the parameter a is the value selected by instruction,
"Set Reference Voltage Register", within the range 0 to 63. VREF voltage at Ta= 25C is
shown in table 1.
 V0 = ( 1 + Rb / Ra) x VEV [V] ------ (Eq. 1)
  VEV=(1-(63-a)/162) x VREF [V]-------(Eq. 2)
                                      TG12864L-04WA0_A00                        Page 13 of 31
In Case of Using Internal Resistors, Ra and Rb. (INTRS = "H") (LCM fixed to "L" )
When INTRS pin is "H", resistor Ra is connected internally between VR pin and VSS, and Rb
is connected between V0 and VR. We determine V0 by two instructions, "Regulator Resistor
Select" and "Set Reference Voltage".
The following figure shows V0 voltage measured by adjusting internal regulator resistor ratio
(Rb / Ra) and 6-bit electronic volume registers for each temperature coefficient at Ta = 25C.
                               F
                               Figure 5. Electronic Volume Level
In Case of Using External Resistors, Ra and Rb. (INTRS = "L")
When INTRS pin is "L", it is necessary to connect external regulator resistor Ra between VR
and VSS, and Rb between V0 and VR. Example: For the following requirements
1. LCD driver voltage, V0 = 10V
2. 6-bit reference voltage register = (1, 0, 0, 0, 0, 0)
3. Maximum current flowing Ra, Rb = 1uA            From Eq. 1
  10 = ( 1 + Rb/ Ra) x VEV [V] ------ (Eq. 3)
  From Eq. 2
 VEV=(1-(63-32)/162) x 2.1 =1.698 [V]-------(Eq. 4)
 From requirement 3.
  10 / (Rb + Ra)=1 [uA ] ------ (Eq. 5) From equations Eq.3, 4 and 5
  Ra @ 1.69 [MW]         Rb @ 8.31 [MW]
  The following table shows the range of V0 depending on the above requirements.
               Table 2. V0 Depending on Electronic Volume Level
                                  Electronic volume level
                 0                         32                      63
    V0          7.57                      10.00                   12.43
                                    TG12864L-04WA0_A00                       Page 14 of 31
11. User instruction Definitions
11.1 Instruction table
                          TG12864L-04WA0_A00   Page 15 of 31
11.2 Instruction Description
1) Display ON / OFF Turns the Display ON or OFF
  RS      RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
   0       0     1      0   1     0     1     1     1     DON
DON = 1: display ON
DON = 0: display OFF
2) Initial Display Line
Sets the line address of display RAM to determine the Initial Display Line.The top row
(COM0 when SHL= L, COM63 when SHL = H) of LCD panel.
  RS      RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
   0       0     0      1  ST5 ST4 ST3 ST2 ST1 ST0
    P3         P2         P1       P0          Page address
     0          0          0        0               0
     0          0          0        1               1
     :          :          :        :                :
     0          1          1        1               7
     1          0          0        0               8
4) Set Column Address
Sets the Column Address of display RAM from the microprocessor into the Column Address
register. Along with the Column Address, the Column Address defines the address of the
display RAM to write or read display data. When the microprocessor reads or writes display
data to or from display RAM, Column Addresses are automatically increased.
Set Column Address MSB
  RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
   0      0       0     0    0      1     Y7   Y6      Y5   Y4
                                   TG12864L-04WA0_A00                     Page 16 of 31
Set Column Address LSB
 RS    RW DB7 DB6 DB5               DB4    DB3     DB2    DB1    DB0
  0     0    0     0   0             0      Y3      Y2     Y1     Y0
  Y7    Y6      Y5     Y4     Y3     Y2     Y1 Y0 Column ddress
   0     0       0      0      0      0      0  0       0
   0     0       0      0      0      0      0  1       1
   :      :      :      :      :      :      :  :       :
   1     0       0      0      0      0      1  0      130
   1     0       0      0      0      0      1  1      131
5) Read Status (For parallel interface only)
Indicates the internal status of the LCM
  RS    RW DB7 DB6                DB5      DB4 DB3 DB2 DB1 DB0
   0      1     BUSY ADC ON/OFF /RST            0   0      0    0
   Flag                              Description
           The device is busy when internal operation or reset. Any instruction is rejected
  BUSY     until BUSY goes Low.
           0: chip is active, 1: chip is being busy.
           Indicates the relationship between RAM column address and segment driver
  ADC
           0: reverse direction (SEG131---SEG0), 1: normal direction (SEG0---SEG131)
ON/OFF Indicates display ON/OFF status          0: display ON, 1: display OFF
           Indicates the initialization is i n progress by /RST signal
  /RST
           0: chip is active, 1: chip is being reset
6) Write Display Data
8-bit data of display data from the microprocessor can be written to the RAM location
specified by the column address and page address. The column address is increased by 1
automatically so that the microprocessor can continuously write data to the addressed page.
  RS    RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
   1      0                         Write data
7) Read Display Data
  RS    RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
   1      1                         Read data
                                     TG12864L-04WA0_A00                         Page 17 of 31
 Figure 6. Sequence for Writing Display Data   Figure7. Sequence for Reading Display Data
                                     TG12864L-04WA0_A00                       Page 18 of 31
11) Select LCD Bias
Selects LCD bias ratio of the voltage required for driving the LCD.
   RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
    0       0      1      0      1      0      0      0       1     Bias
Bias = 0: 1/9 Duty Bias = 1: 1/7 Duty
12) Set Modify-Read
This instruction stops the automatic increment of the column address by the read display data
instruction, but the column address is still increased by the write display data instruction. And
it reduces the load of microprocessor when the data of a specific area is repeatedly changed
during cursor blinking or others. This mode is canceled by the reset Modify-read instruc tion.
   RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
    0       0      1      1      1      0      0      0       0       0
13) Reset Modify-Read
This instruction cancels the Modify-read mode, and makes the column address return to its
initial value just before the set Modify-read instruction is started.
   RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
    0       0      1      1      1      0      1      1       1       0
                                     TG12864L-04WA0_A00                        Page 19 of 31
14) Reset
This instruction resets initial display line, column address, page address, and common output
status select to their initial status, but dose not affect the contents of display data RAM. This
instruction cannot initialize the LCD power supply, which is initialized by the /RST pin.
  RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
   0      0       1       1       1      0      0      0      1      0
   VC         VR          VF                   Page address
                                    Internal voltage converter circuit is
    0
                                                   OFF
    1                             Internal voltage converter circuit is ON
               0                  Internal voltage regulator circuit is OFF
               1                  Internal voltage regulator circuit is ON
                           0      Internal voltage follower circuit is OFF
                           1       Internal voltage follower circuit is ON
17) Regulator Resistor Select
Selects resistance ratio of the internal resistor used in the internal voltage regulator. See
voltage regulator section in power supply circuit. Refer to the following table .
  RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
   0      0     0       0      1       0       0      R2      R1        R0
   R2          R1         R0                (1 + Rb / Ra) ratio
    0           0          0                        3.0
    0           0          1                        3.5
    0           1          0                        4.0
    0           1          1                        4.5
    1           0          0                   5.0 (default)
    1           0          1                        5.5
    1           1          0                        6.0
    1           1          1                        6.4
                                      TG12864L-04WA0_A00                       Page 20 of 31
18) Reference Voltage Select
Consists of 2-byte instruction. The 1st instruction sets reference voltage mode, the 2 one
updates the contents of reference voltage register. After second instruction, reference voltage
mode is released.
     st
The 1 Instruction: Set Reference Voltage Select Mode
 RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
  0      0      1      0      0     0      0       0       0    1
     nd
The 2 Instruction: Set Reference Voltage Register
 RS     RW DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
  0      0      x      X     SV5 SV4 SV3 SV2 SV1 SV0
                                     TG12864L-04WA0_A00                        Page 21 of 31
21) Power Save (Compound Instruction)
If the entire display ON/OFF instruction is issued during the display OFF state, ST7565P
enters the Power Save status to reduce the power consumption to the static power
consumption value. According to the status of static indicator mode, Power Save is entered to
one mode of sleep and standby mode. When Static Indicator mode is ON, standby mode is
issued. When OFF, sleep mode is issued. Power Save mode is released by the entire display
OFF instruction.
                                    TG12864L-04WA0_A00                       Page 22 of 31
12. Timing Characteristics
Read / Write Characteristics (8080-series MPU) (For parallel interface only)
                                  TG12864L-04WA0_A00                    Page 23 of 31
Read / Write Characteristics (6800-series Microprocessor)
(For parallel interface only)
                                  TG12864L-04WA0_A00                   Page 24 of 31
Serial Interface Characteristics
                              TG12864L-04WA0_A00                   Page 25 of 31
13.Initializing flow chart
l    Referential Instruction Setup Flow (1)
Figure 14. Initializing with the Built-in Power Supply Circuits interface mode
                                    TG12864L-04WA0_A00                     Page 26 of 31
l   Referential Instruction Setup Flow (2)
                                  TG12864L-04WA0_A00                     Page 27 of 31
l Referential Instruction Setup Flow (3)
                          TG12864L-04WA0_A00     Page 28 of 31
l Referential Instruction Setup Flow (4)
                         TG12864L-04WA0_A00   Page 29 of 31
14. Display Data RAM Map
                       TG12864L-04WA0_A00   Page 30 of 31
15. Revision records
Version Ref.pages              Revision Items      Date
TG12864L-04WA0_A00 Page 31 of 31