HD44780U Hitachi Semiconductor (acquired by Renesas), HD44780U Datasheet

no-image

HD44780U

Manufacturer Part Number
HD44780U
Description
Dot Matrix Liquid Crystal Display Controller/driver
Manufacturer
Hitachi Semiconductor (acquired by Renesas)
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD44780UA00FS
Manufacturer:
HITACHI/日立
Quantity:
20 000
Description
The HD44780U dot-matrix liquid crystal display controller and driver LSI displays alphanumerics,
Japanese kana characters, and symbols. It can be configured to drive a dot-matrix liquid crystal display
under the control of a 4- or 8-bit microprocessor. Since all the functions such as display RAM, character
generator, and liquid crystal driver, required for driving a dot-matrix liquid crystal display are internally
provided on one chip, a minimal system can be interfaced with this controller/driver.
A single HD44780U can display up to one 8-character line or two 8-character lines.
The HD44780U has pin function compatibility with the HD44780S which allows the user to easily
replace an LCD-II with an HD44780U. The HD44780U character generator ROM is extended to generate
208 5
The low power supply (2.7V to 5.5V) of the HD44780U is suitable for any portable battery-driven
product requiring low power dissipation.
Features
5
Low power operation support:
Wide range of liquid crystal display driver power
Liquid crystal drive waveform
Correspond to high speed MPU bus interface
4-bit or 8-bit MPU interface enabled
80
9,920-bit character generator ROM for a total of 240 character fonts
2.7 to 5.5V
3.0 to 11V
A (One line frequency AC waveform)
2 MHz (when V
208 character fonts (5
32 character fonts (5
8 and 5
8 dot character fonts and 32 5
8-bit display RAM (80 characters max.)
(Dot Matrix Liquid Crystal Display Controller/Driver)
10 dot matrix possible
CC
= 5V)
HD44780U (LCD-II)
10 dot)
8 dot)
10 dot character fonts for a total of 240 different character fonts.
167

Related parts for HD44780U

HD44780U Summary of contents

Page 1

... The HD44780U has pin function compatibility with the HD44780S which allows the user to easily replace an LCD-II with an HD44780U. The HD44780U character generator ROM is extended to generate 208 5 8 dot character fonts and 32 5 The low power supply (2.7V to 5.5V) of the HD44780U is suitable for any portable battery-driven product requiring low power dissipation. Features 5 ...

Page 2

... Internal oscillator with external resistors Low power consumption Ordering Information Type No. Package HD44780UA00FS FP-80B HCD44780UA00 Chip HD44780UA00TF TFP-80F HD44780UA02FS FP-80B HCD44780UA02 Chip HD44780UA02TF TFP-80F HD44780UBxxFS FP-80B HCD44780UBxx Chip HD44780UBxxTF TFP-80F Note: xx: ROM code No. 168 CGROM Japanese standard font European standard font Custom font ...

Page 3

... HD44780U Block Diagram Reset circuit ACL register (IR) 8 MPU RS inter- face R/W E DB4 to DB7 Input/ 8 output DB0 to buffer DB3 GND V CC OSC1 OSC2 Timing CPG generator Instruction 7 Display Instruction 16-bit data RAM decoder shift (DDRAM) register 80 8 bits Address 7 40-bit 40-bit counter ...

Page 4

... Liquid crystal drive waveform Oscillator Clock source R oscillation f frequency (frame frequency) R resistance f Instructions CPU bus timing Package 170 HD44780S HD44780U 5 V ±10% 2.7 to 5.5 V 3.0 to 11.0V 3.0 to 11.0V 4.6 to 11.0V 3.0 to 11.0V 16 digits (8 digits 2 lines) 16 digits (8 digits 1/8, 1/11, and 1/16 1/8, 1/11, and 1/16 7,200 bits 9,920 bits (160 character fonts for 5 (208 character fonts for 5 ...

Page 5

... HD44780U Pin Arrangement (FP-80B) SEG22 1 SEG21 2 SEG20 3 SEG19 4 SEG18 5 SEG17 6 SEG16 7 SEG15 8 SEG14 9 SEG13 10 SEG12 11 SEG11 12 SEG10 13 SEG9 14 SEG8 15 SEG7 16 SEG6 17 SEG5 18 SEG4 19 SEG3 20 SEG2 21 SEG1 22 GND 23 OSC1 24 64 SEG39 SEG40 63 COM16 62 COM15 61 COM14 60 COM13 59 58 COM12 57 COM11 56 COM10 55 COM9 54 COM8 ...

Page 6

... HD44780U HD44780U Pin Arrangement (TFP-80F) SEG20 1 SEG19 2 SEG18 3 SEG17 4 SEG16 5 SEG15 6 SEG14 7 SEG13 8 SEG12 9 SEG11 10 SEG10 11 SEG9 12 SEG8 13 SEG7 14 SEG6 15 SEG5 16 SEG4 17 SEG3 18 SEG2 19 SEG1 20 172 COM16 60 COM15 59 58 COM14 57 COM13 56 COM12 55 COM11 54 COM10 COM9 53 COM8 52 TFP-80F COM7 51 (Top view) COM6 ...

Page 7

... HD44780U Pad Arrangement Chip size: 4.90 4.90 mm Coordinate: Pad center ( m) Origin: Chip center 2 Pad size: 114 114 m 80 Type code HD44780U X HD44780U 63 42 173 ...

Page 8

... HD44780U HCD44780U Pad Location Coordinates Coordinate Pad No. Function X (um) 1 SEG22 –2100 2 SEG21 –2280 3 SEG20 –2313 4 SEG19 –2313 5 SEG18 –2313 6 SEG17 –2313 7 SEG16 –2313 8 SEG15 –2313 9 SEG14 –2313 10 SEG13 –2313 11 SEG12 –2313 12 SEG11 –2313 13 SEG10 –2313 14 SEG9 –2313 15 SEG8 –2313 16 SEG7 –2313 ...

Page 9

... Starts data read/write. MPU Four high order bidirectional tristate data bus pins. Used for data transfer and receive between the MPU and the HD44780U. DB7 can be used as a busy flag. MPU Four low order bidirectional tristate data bus pins. Used for data transfer and receive between the MPU and the HD44780U ...

Page 10

... DR for the next read from the MPU. By the register selector (RS) signal, these two registers can be selected (Table 1). Busy Flag (BF) When the busy flag is 1, the HD44780U is in the internal operation mode, and the next instruction will not be accepted. When and R/ instruction must be written after ensuring that the busy flag is 0. ...

Page 11

... Figure 2 1-Line Display Display position DDRAM address For shift left For shift right HD44780U 177 ...

Page 12

... HD44780U 2-line display ( (Figure 4) Case 1: When the number of display characters is less than 40 2 lines, the two lines are displayed from the head. Note that the first line end address and the second line start address are not consecutive. For example, when just the HD44780 is used, 8 characters See Figure 5 ...

Page 13

... When display shift operation is performed, the DDRAM address shifts. See Figure 6. Display position 1 DDRAM address HD44780U display 01 For shift left For shift right ...

Page 14

... HD44780U Character Generator ROM (CGROM) The character generator ROM generates 5 codes (Table 4). It can generate 208 5 User-defined character patterns are also available by mask-programmed ROM. Character Generator RAM (CGRAM) In the character generator RAM, the user can rewrite character patterns by program. For 5 character patterns can be written, and for 5 Write into DDRAM the character codes at the addresses shown as the left column of Table 4 to show the character patterns stored in CGRAM ...

Page 15

... Masking Trial Sample Sample 6 evaluation No OK? Yes Mass production Note: For a description of the numbers used in this figure, refer to the preceding page. Figure 7 Character Pattern Development Procedure HD44780U User Start Determine 1 character patterns Create EPROM 2 address data listing Write EPROM 3 EPROM Hitachi ...

Page 16

... HD44780U Programming character patterns This section explains the correspondence between addresses and data used to program character patterns in EPROM. The HD44780U character generator ROM can generate 208 5 patterns and dot character patterns for a total of 240 different character patterns. Character patterns EPROM address data and character pattern data correspond with each other to form dot character pattern (Tables 2 and 3) ...

Page 17

... EPROM data outside the character pattern area: Always input 0s. 2. EPROM data in CGRAM area: Always input 0s. (Input 0s to EPROM addresses 00H to FFH.) 3. EPROM data used when the user does not use any HD44780U character pattern: According to the user application, handled in one of the two ways listed as follows. ...

Page 18

... HD44780U Table 4 Correspondence between Character Codes and Character Patterns (ROM Code: A00) Upper 4 Lower 0000 0001 0010 0011 0100 0101 0110 0111 Bits 4 Bits CG RAM xxxx0000 (1) (2) xxxx0001 (3) xxxx0010 (4) xxxx0011 xxxx0100 (5) (6) xxxx0101 (7) xxxx0110 (8) xxxx0111 (1) xxxx1000 xxxx1001 (2) (3) xxxx1010 (4) xxxx1011 (5) xxxx1100 ...

Page 19

... Lower Bits 4 Bits CG RAM xxxx0000 (1) (2) xxxx0001 xxxx0010 (3) (4) xxxx0011 (5) xxxx0100 (6) xxxx0101 (7) xxxx0110 (8) xxxx0111 (1) xxxx1000 xxxx1001 (2) (3) xxxx1010 (4) xxxx1011 (5) xxxx1100 xxxx1101 (6) (7) xxxx1110 xxxx1111 (8) HD44780U 1000 1001 1010 1011 1100 1101 1110 1111 185 ...

Page 20

... HD44780U Table 5 Relationship between CGRAM Addresses, Character Codes (DDRAM) and Character Patterns (CGRAM Data) For 5 8 dot character patterns Character Codes (DDRAM data High Notes: 1. Character code bits correspond to CGRAM address bits bits: 8 types). ...

Page 21

... HD44780U Low Character pattern Cursor position * * * * * * * * 187 ...

Page 22

... RAM (DDRAM). Since serial data is latched when the display data character pattern corresponding to the starting address enters the internal shift register, the HD44780U drives from the head display. Cursor/Blink Control Circuit The cursor/blink control circuit generates the cursor or character blinking. The cursor or the blinking will appear with the digit located at the display data RAM (DDRAM) address set in the address counter (AC) ...

Page 23

... For 4-bit interface data, only four bus lines (DB4 to DB7) are used for transfer. Bus lines DB0 to DB3 are disabled. The data transfer between the HD44780U and the MPU is completed after the 4-bit data has been transferred twice. As for the order of data transfer, the four high order bits (for 8-bit operation, DB4 to DB7) are transferred before the four low order bits (for 8-bit operation, DB0 to DB3) ...

Page 24

... Instructions Outline Only the instruction register (IR) and the data register (DR) of the HD44780U can be controlled by the MPU. Before starting the internal operation of the HD44780U, control information is temporarily stored into these registers to allow interfacing with various MPUs, which operate at different speeds, or various peripheral control devices ...

Page 25

... Because the busy flag is set to 1 while an instruction is being executed, check it to make sure before sending another instruction from the MPU. Note: Be sure the HD44780U is not in the busy state ( before sending an instruction from the MPU to the HD44780U instruction is sent without checking the busy flag, the time between the first instruction and next instruction will take much longer than the instruction time itself ...

Page 26

... HD44780U Table 6 Instructions (cont) Code : : Instruction RS R/ DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Description Write data 1 0 Write data DDRAM Read data 1 1 Read data from CG or DDRAM I Increment I Decrement Accompanies display shift S Display shift S Cursor move ...

Page 27

... The cursor and blinking can be set to display simultaneously. (The blinking frequency changes according the reciprocal of f OSC 379.2 ms.) 8 dot character font selection and in the 11th line for the 5 . For example, when f cp HD44780U 10 dot OSC is 270 kHz, 409.6 250/270 = cp ...

Page 28

... HD44780U Cursor or Display Shift Cursor or display shift shifts the cursor position or display to the right or left without writing or reading display data (Table 7). This function is used to correct or search the display 2-line display, the cursor moves to the second line when it passes the 40th digit of the first line. Note that the first and second line displays will shift at the same time ...

Page 29

... RS R/W DB7 DB6 DB5 Function set Code R/W DB7 DB6 DB5 Set CGRAM Code address Figure 12 HD44780U DB4 DB3 DB2 DB1 DB0 DB4 DB3 DB2 DB1 DB0 Note: * Don’t care. DB4 DB3 DB2 ...

Page 30

... HD44780U Set DDRAM Address Set DDRAM address sets the DDRAM address binary AAAAAAA into the address counter. Data is then written to or read from the MPU for DDRAM. However, when (1-line display), AAAAAAA can be 00H to 4FH. When (2-line display), AAAAAAA can be 00H to 27H for the first line, and 40H to 67H for the second line. ...

Page 31

... DB6 Set DDRAM Code address RS R/W DB7 DB6 Read busy flag Code and address Figure 14 HD44780U Alternating display Blink display example DB5 DB4 DB3 DB2 DB1 DB0 Higher Lower order bit order bit DB5 DB4 ...

Page 32

... HD44780U Write Data DDRAM Write data DDRAM writes 8-bit binary data DDDDDDDD DDRAM. To write into CG or DDRAM is determined by the previous specification of the CGRAM or DDRAM address setting. After a write, the address is automatically incremented or decremented by 1 according to the entry mode. The entry mode also determines the display shift. ...

Page 33

... Interfacing the HD44780U Interface to MPUs Interfacing to an 8-bit MPU See Figure 17 for an example of using a I/O port (for a single-chip microcomputer interface device. In this example, P30 to P37 are connected to the data bus DB0 to DB7, and P75 to P77 are connected : and RS, respectively. RS R/W E Internal ...

Page 34

... HD44780U Interfacing to a 4-bit MPU The HD44780U can be connected to the I/O port of a 4-bit MPU. If the I/O port has enough bits, 8-bit data can be transferred. Otherwise, one data transfer must be made in two operations for 4-bit data. In this case, the timing sequence becomes somewhat complex. (See Figure 18.) See Figure 19 for an interface example to the HMCS4019R ...

Page 35

... Interface to Liquid Crystal Display Character Font and Number of Lines: The HD44780U can perform two types of displays, 5 and 5 10 dot character fonts, each with a cursor two lines are displayed for 5 types of common signals are available (Table 9). The number of lines and font types can be selected by the program. (See Table 6, Instructions.) Connection to HD44780 and Liquid Crystal Display: See Figure 20 for the connection examples ...

Page 36

... HD44780U Since five segment signal lines can display one digit, one HD44780U can display digits for a 1- line display and 16 digits for a 2-line display. The examples in Figure 20 have unused common signal pins, which always output non-selection waveforms. When the liquid crystal display panel has unused extra scanning lines, connect the extra scanning lines to these common signal pins to avoid any undesirable effects due to crosstalk during the floating state (Figure 21) ...

Page 37

... Note that the display data RAM (DDRAM) addresses for 4 characters 2 lines and for 16 characters 1 line are the same as in Figure 20. Cursor 5 8 dot character font Cursor display example Figure 22 Changed Matrix Layout Displays 5 10 dot Alternating display character font Blink display example HD44780U 203 ...

Page 38

... HD44780U Power Supply for Liquid Crystal Display Drive Various voltage levels must be applied to pins the HD44780U to obtain the liquid crystal display drive waveforms. The voltages must be changed according to the duty factor (Table 10). VLCD is the peak value for the liquid crystal display drive waveforms, and resistance dividing provides voltages (Figure 23) ...

Page 39

... COM1 frame = 3.7 s 200 Frame frequency = 11.9 ms 400 clocks frame 8 = 11850 84.3 Hz 400 clocks frame 11 = 16300 61.4 Hz 200 clocks frame 16 = 11850 84.3 Hz Figure 24 Frame Frequency HD44780U 205 ...

Page 40

... Refer to Table 11 for an example of an 8-digit 1-line display in 8-bit operation. The HD44780U functions must be set by the function set instruction prior to the display. Since the display data RAM can store data for 80 characters, as explained before, the RAM can be used for displays such as for advertising when combined with the display shift operation ...

Page 41

... Table 11 8-Bit Operation, 8-Digit Instruction Step : : No DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Display 1 Power supply on (the HD44780U is initialized by the internal reset circuit) 2 Function set Display on/off control Entry mode set ...

Page 42

... HD44780U Table 11 8-Bit Operation, 8-Digit Instruction Step : : No DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Display 11 Write data to CGRAM/DDRAM · · · · · 13 Write data to CGRAM/DDRAM Cursor or display shift Cursor or display shift ...

Page 43

... Table 12 4-Bit Operation, 8-Digit Instruction Step : : No DB7 DB6 DB5 DB4 1 Power supply on (the HD44780U is initialized by the internal reset circuit) 2 Function set Function set Display on/off control ...

Page 44

... HD44780U Table 13 8-Bit Operation, 8-Digit Instruction Step : : No DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 Display 1 Power supply on (the HD44780U is initialized by the internal reset circuit) 2 Function set Display on/off control Entry mode set ...

Page 45

... HITACHI MICROCOM HD44780U Operation Writes M. Writes O. Sets mode to shift display at the time of write. Writes M. Display is shifted to the left. The first and second lines both shift at the same time. Returns both display and cursor to the original position (address 0) ...

Page 46

... HD44780U Initializing by Instruction If the power supply conditions for correctly operating the internal reset circuit are not met, initialization by instructions becomes necessary. Refer to Figures 25 and 26 for the procedures on 8-bit and 4-bit initializations, respectively. Power on Wait for more than 15 ms after V rises to 4 ...

Page 47

... The number of display lines and character font cannot be changed after this point I/D S Display off Display clear Entry mode set Initialization ends Figure 26 4-Bit Interface HD44780U 213 ...

Page 48

... HD44780U Absolute Maximum Ratings* Item Symbol Power supply voltage (1) V –GND CC Power supply voltage (2) V –V5 CC Input voltage Vt Operating temperature T opr Storage temperature T stg Note the LSI is used above these absolute maximum ratings, it may become permanently damaged. Using the LSI within the following electrical characteristic limits is strongly recommended for normal operation ...

Page 49

... V CC — — — 0. — 1 µA 50 120 µA 0.15 0.30 mA — 11.0 V 3.0 — 11.0 V HD44780U 3 ) Test Condition Notes – – ±Id = 0.05 mA, 13 VLCD = 4 V ±Id = 0.05 mA, 13 VLCD = 4 V VIN = ...

Page 50

... HD44780U AC Characteristics (V = 2 Clock Characteristics Item External External clock frequency clock External clock duty operation External clock rise time External clock fall time R Clock oscillation f oscillation frequency Note: * Refer to the Electrical Characteristics Notes section following these tables. Bus Timing Characteristics ...

Page 51

... CWL t 500 — — CSU t 300 — — 300 — — –1000 — 1000 DM t — — 200 ct Symbol Min Typ Max t 0.1 — 10 rCC t 1 — — OFF HD44780U Unit Test Condition ns Figure 29 Unit Test Condition ms Figure 30 217 ...

Page 52

... HD44780U DC Characteristics (V = 4 Item Symbol Min Input high voltage (1) VIH1 2.2 (except OSC1) Input low voltage (1) VIL1 –0.3 (except OSC1) Input high voltage (2) VIH2 V (OSC1) Input low voltage (2) VIL2 — (OSC1) Output high voltage (1) VOH1 2.4 (DB0–DB7) Output low voltage (1) VOL1 — ...

Page 53

... — — — — — — — — 160 DDR t 5 — — DHR HD44780U 3 ) Unit Test Condition Notes* kHz µs 11 µs 11 kHz 5 Unit Test Condition ns Figure 27 Unit Test Condition ns ...

Page 54

... HD44780U Interface Timing Characteristics with External Driver Item Clock pulse width High level Low level Clock set-up time Data set-up time Data hold time M delay time Clock rise/fall time Power Supply Conditions Using Internal Reset Circuit Item Power supply rise time ...

Page 55

... LCD voltage VLCD. Output pin Pins: RS, R/W (MOS with pull-up) Pins: CL1, CL2 PMOS PMOS (pull up MOS) NMOS V CC (input circuit) PMOS PMOS Input enable NMOS V CC NMOS PMOS NMOS (output circuit) (tristate) HD44780U V CC PMOS NMOS Output enable Data 221 ...

Page 56

... HD44780U 6. Applies to input pins and I/O pins, excluding the OSC1 pin. 7. Applies to I/O pins. 8. Applies to output pins. 9. Current flowing through pull–up MOSs, excluding output drive MOSs. 10. Input/output current is excluded. When input intermediate level with CMOS, the excessive current flows through the input circuit to the power supply. To avoid this from happening, the input level must be fixed high or low ...

Page 57

... Each COM and SEG output voltage is within ±0. the LCD voltage (V when there is no load. , V1, V4, V5) and each common signal CC , V2, V3, V5) and each segment signal pin 1.8 1.6 1.4 1.2 1.0 max. 0.8 typ. 0.6 0.4 0.2 0.0 300 400 500 0 100 200 (kHz OSC HD44780U = 3 V max. typ. 300 400 500 (kHz V1, V2, V3, V4, V5) CC 223 ...

Page 58

... HD44780U Load Circuits Data Bus DB0 to DB7 For V = 4 Test point 90 pF External Driver Control Signals: CL1, CL2 224 For V = 2 3.9 k Test point 11 k IS2074 H diodes Test point ...

Page 59

... VIH1 VIH1 Valid data VIL1 VIL1 t cycE Figure 27 Write Operation VIH1 VIL1 VIH1 VIH1 VIH1 VIL1 VIL1 DDR DHR VOH1 VOH1 Valid data VOL1 * * VOL1 t cycE Figure 28 Read Operation HD44780U VIL1 VIL1 VIL1 225 ...

Page 60

... HD44780U CL1 CL2 D M Figure 29 Interface Timing with External Driver 2.7 V/4 0 rcc 0.1 ms Notes compensates for the power oscillation period caused by momentary power supply OFF oscillations. 2. Specified at 4.5 V for 5-V operation, and at 2.7 V for 3-V operation. 3. For if 4 not reached during 5-V operation, the internal reset circuit will not operate normally ...

Related keywords