CONTROLLER DRIVER with SMOOTH SCROLL FUNCTIONCONTROLLER DRIVER with SMOOTH SCROLL FUNCTION
The NJU6624C is a Dot Matrix LCD controller driver for 14-character 1-The NJU6624C is a Dot Matrix LCD controller driver for 14-character 1line with icon display in single chip.line with icon display in single chip.
It contains bleeder resistance, general output port, keyscan circuit,It contains bleeder resistance, general output port, keyscan circuit,
CR oscillator, microprocessor interface circuit, instruction decoder con-CR oscillator, microprocessor interface circuit, instruction decoder controller, character generator ROM/RAM, high voltage operation com-troller, character generator ROM/RAM, high voltage operation common and segment drivers, and others.mon and segment drivers, and others.
The character generator ROM consisting of 7,840 bits stores 224 kindsThe character generator ROM consisting of 7,840 bits stores 224 kinds
of character Font. Each 1,120 bits CG RAM and Icon display RAMof character Font. Each 1,120 bits CG RAM and Icon display RAM
can store 32 kinds of special character displayed on the dot matrixcan store 32 kinds of special character displayed on the dot matrix
display area or 70 kinds of Icon on the Icon display area.display area or 70 kinds of Icon on the Icon display area.
The 8-common (7 for character, 1 for icon) and 70-segment driversThe 8-common (7 for character, 1 for icon) and 70-segment drivers
operate 14-character 1-line with 70 Icon LCD display and LED driveroperate 14-character 1-line with 70 Icon LCD display and LED driver
drives 4 LED which can use like as indicator.drives 4 LED which can use like as indicator.
The 16th display contrast control function is incorporated. Therefore,The 16th display contrast control function is incorporated. Therefore,
the contrast adjustment is operated easily by only simple power sup-the contrast adjustment is operated easily by only simple power supply circuit on-chip.ply circuit on-chip.
The complete CR oscillator requires no external components.The complete CR oscillator requires no external components.
The serial interface which operates by 1MHz, communicates with ex-The serial interface which operates by 1MHz, communicates with external MCU.ternal MCU.
The NJU6624C incorporates two 8-bit registers, an Instruction Register(IR) and a Data Register(DR). The RegisterThe NJU6624C incorporates two 8-bit registers, an Instruction Register(IR) and a Data Register(DR). The Register
(IR) stores instruction codes such as "Clear Display" and "Cursor Shift" or address data for Display Data RAM(DD(IR) stores instruction codes such as "Clear Display" and "Cursor Shift" or address data for Display Data RAM(DD
RAM), Character Generator RAM(CG RAM) and Icon Display RAM (MK RAM).RAM), Character Generator RAM(CG RAM) and Icon Display RAM (MK RAM).
The Register(DR) is a temporary register, the data in the Register(DR) is written into the DD RAM, CG RAM orThe Register(DR) is a temporary register, the data in the Register(DR) is written into the DD RAM, CG RAM or
MK RAM.MK RAM.
The data in the Register(DR) written by the MPU is transferred automatically to the DD RAM, CG RAM or MKThe data in the Register(DR) written by the MPU is transferred automatically to the DD RAM, CG RAM or MK
RAM by internal operation.RAM by internal operation.
These two registers are selected by the selection signal RS as shown below.These two registers are selected by the selection signal RS as shown below.
The address counter(AC) addresses the DD RAM, CG RAM or MK RAM.The address counter(AC) addresses the DD RAM, CG RAM or MK RAM.
When the address setting instruction is written into the Register(IR), the address information is transferred fromWhen the address setting instruction is written into the Register(IR), the address information is transferred from
Register(IR) to the Counter(AC). The selection of either the DD RAM, CG RAM or MK RAM is also determined byRegister(IR) to the Counter(AC). The selection of either the DD RAM, CG RAM or MK RAM is also determined by
this instruction.this instruction.
After writing (or reading) the display data to (or from) the DD RAM, CG RAM or MK RAM, the Counter(AC) incre-After writing (or reading) the display data to (or from) the DD RAM, CG RAM or MK RAM, the Counter(AC) increments (or decrements) automatically.ments (or decrements) automatically.
(1-3)Display Data RAM (DD RAM)(1-3)Display Data RAM (DD RAM)
The display data RAM (DD RAM) consist of 14x 8 bits stores up to 14-character display data represented in 8-bitThe display data RAM (DD RAM) consist of 14x 8 bits stores up to 14-character display data represented in 8-bit
code. (2 out of the 14characters are used for scroll RAM.)code. (2 out of the 14characters are used for scroll RAM.)
The DD RAM address data set in the address counter(AC) is represented in Hexadecimal.The DD RAM address data set in the address counter(AC) is represented in Hexadecimal.
NJU6624CNJU6624C
Higher Lower
ACAC4AC3AC2AC1AC0
HEX.HEX.
The relation between DD RAM address and display position on the LCD is shown below.The relation between DD RAM address and display position on the LCD is shown below.
1234567891011121314 -Display Position
00010203040506070809 0A0B 0C 0D
When the display shift is performed,the DD RAM address changes as follows:When the display shift is performed,the DD RAM address changes as follows:
( Left Shift Display )( Left Shift Display )
((1-4)Character Generator ROM (CG ROM)1-4)Character Generator ROM (CG ROM)
The Character Generator ROM (CG ROM) generates 5 x 7 dots character pattern represented in 8-bit characterThe Character Generator ROM (CG ROM) generates 5 x 7 dots character pattern represented in 8-bit character
code.code.
The storage capacity is up to 224 kinds of 5 x 7 dots character pattern(available address is (20)The storage capacity is up to 224 kinds of 5 x 7 dots character pattern(available address is (20)HH through (FF) through (FF)HH).).
The correspondence between character code and standard character pattern of NJU6624C is shown in Table 2.The correspondence between character code and standard character pattern of NJU6624C is shown in Table 2.
User-defined character patterns (Custom Font) are also available by mask option.User-defined character patterns (Custom Font) are also available by mask option.
Table 2. CG ROM Character Pattern ( ROM version -02 )Table 2. CG ROM Character Pattern ( ROM version -02 )
The character generator RAM ( CG RAM ) can store any kind of character pattern in 5 x 7 dots written by the userThe character generator RAM ( CG RAM ) can store any kind of character pattern in 5 x 7 dots written by the user
program to display user's original character pattern. The CG RAM can store 32 kind of character in 5 x 7 dotsprogram to display user's original character pattern. The CG RAM can store 32 kind of character in 5 x 7 dots
mode.mode.
To display user's original character pattern stored in the CG RAM, the address data (00)To display user's original character pattern stored in the CG RAM, the address data (00)HH-(1F)-(1F)HH should be written should be written
to the DD RAM as shown in Table 2.to the DD RAM as shown in Table 2.
Table 3. shows the correspondence among the character pattern, CG RAM address and Data.Table 3. shows the correspondence among the character pattern, CG RAM address and Data.
Table 3. Correspondence of CG RAM address, DD RAM character codeTable 3. Correspondence of CG RAM address, DD RAM character code
and CG RAM character pattern( 5 x 7 dots ) and CG RAM character pattern( 5 x 7 dots )
Notes :Notes :1. Character code bit 0 to 4 correspond to the CG RAM address bit 3 to 7(5bits:32 patterns).1. Character code bit 0 to 4 correspond to the CG RAM address bit 3 to 7(5bits:32 patterns).
2. CG RAM address 0 to 2 designate character pattern line position. The 8th line is Don't care line.2. CG RAM address 0 to 2 designate character pattern line position. The 8th line is Don't care line.
In case of input CG RAM data continuously, invalid address are Cursor position automatically. In case of input CG RAM data continuously, invalid address are Cursor position automatically.
3. Character pattern row position correspond to the CG RAM data bits 0 to 4 are shown above.3. Character pattern row position correspond to the CG RAM data bits 0 to 4 are shown above.
4. CG RAM character patterns are selected when character code of DD RAM bits 5 to 7 are all "0"4. CG RAM character patterns are selected when character code of DD RAM bits 5 to 7 are all "0"
and these are addressed by character code bits 0 and 1. and these are addressed by character code bits 0 and 1.
5. "1" for CG RAM data corresponds to display On and "0" to display Off.5. "1" for CG RAM data corresponds to display On and "0" to display Off.
The NJU6624C can display maximum 70 Icons.The NJU6624C can display maximum 70 Icons.
The Icon Display can be controlled by writing the Data in MK RAM corresponds to the Icon.The Icon Display can be controlled by writing the Data in MK RAM corresponds to the Icon.
The relation between MK RAM address and Icon Display position is shown below:The relation between MK RAM address and Icon Display position is shown below:
Table 4. Correspondence among Icon Position, MK RAM Address and DataTable 4. Correspondence among Icon Position, MK RAM Address and Data
MK RAM Address
(10H-1DH)
1 000010H000"1""2""3""4""5"
1 000111 H000"5""7""8""9""10"
1 001012
1 001113H000"16" "17" "18" "19" "20"
::
1 11011DH000"66" "67" "68" "69" "70"
11
Bits for Icon Display Position
D 7D6D5D4D3D2D1D0
000"11" "12" "13" "14" "15"
H
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
:
7070
(1-7)Timing Generator(1-7)Timing Generator
The timing generator generates a timing signals for the DD RAM, CG RAM and MK RAM and other internalThe timing generator generates a timing signals for the DD RAM, CG RAM and MK RAM and other internal
circuits.circuits.
RAM read timing for the display and internal operation timing for MPU access are separately generated, so thatRAM read timing for the display and internal operation timing for MPU access are separately generated, so that
they may not interfere with each other.they may not interfere with each other.
Therefore, when the data write to the DD RAM for example, there will be no undesirable influence, such as flicker-Therefore, when the data write to the DD RAM for example, there will be no undesirable influence, such as flickering, in areas other than the display area.ing, in areas other than the display area.
(1-8)LCD Driver(1-8)LCD Driver
LCD Driver consists of 8-common driver and 70-segment driver.LCD Driver consists of 8-common driver and 70-segment driver.
The character pattern data are latched to the addressed Segment-register respectively. This latched data controlsThe character pattern data are latched to the addressed Segment-register respectively. This latched data controls
display driver to output LCD driving waveform.display driver to output LCD driving waveform.
NJU6624CNJU6624C
(1-9)Keyscan circuit(1-9)Keyscan circuit
The Keyscan circuit consists of a detector block of key pressing and a fetching block of key status. It scans 4x8The Keyscan circuit consists of a detector block of key pressing and a fetching block of key status. It scans 4x8
key matrix and fetches conditions of 32 keys. Furthermore, it operates correctly against the key roll over input.key matrix and fetches conditions of 32 keys. Furthermore, it operates correctly against the key roll over input.
-Request signal output-Request signal output
When the NJU6624C detect the key pressing by the key scan circuit, it outputs “H” signal as the request signalWhen the NJU6624C detect the key pressing by the key scan circuit, it outputs “H” signal as the request signal
from the “REQ” terminal to notice the key pressing information to an application system.from the “REQ” terminal to notice the key pressing information to an application system.
-Contents of key register renewal-Contents of key register renewal
Contents of key register are “0000 0000” in case of no key operation. Contents of key register are not changed inContents of key register are “0000 0000” in case of no key operation. Contents of key register are not changed in
busy of key data reading operation. Key data is fetched into the key register after 2 clock of the end of a keyscanbusy of key data reading operation. Key data is fetched into the key register after 2 clock of the end of a keyscan
cycle and kept by the start of next cycle.cycle and kept by the start of next cycle.
-Key data input terminal and segment terminal-Key data input terminal and segment terminal
Keyscan signal output terminals operate as segment terminals (SEG1 to SEG8) also and keyscan signals areKeyscan signal output terminals operate as segment terminals (SEG1 to SEG8) also and keyscan signals are
output in interval period of segment signals. Key data input terminals (K0 to K3) are pulled up to VDD in busy ofoutput in interval period of segment signals. Key data input terminals (K0 to K3) are pulled up to VDD in busy of
keyscan operation (tKS). In this period, terminals of SEG9 to SEG70 output the voltage of V2 or Vkeyscan operation (tKS). In this period, terminals of SEG9 to SEG70 output the voltage of V2 or VLCD2LCD2..
-Keyscan OFF mode-Keyscan OFF mode
Keyscan operation is turned ON or OFF by the instruction. In case of keyscan OFF, the detector of key pressingKeyscan operation is turned ON or OFF by the instruction. In case of keyscan OFF, the detector of key pressing
is not operating and key data input terminals (K0 to K3) are not pulled up during the period of keyscan (tKS). Inis not operating and key data input terminals (K0 to K3) are not pulled up during the period of keyscan (tKS). In
the period of keyscan (tKS), all of segment terminals (SEG1 to SEG70) output the voltage of V2 or Vthe period of keyscan (tKS), all of segment terminals (SEG1 to SEG70) output the voltage of V2 or VLCD2.LCD2.
-Key status fetching timing-Key status fetching timing
Key status is fetched at third quarter of “L” period (tKP) of scan signals (S0 to S7) as shown below; Key status is fetched at third quarter of “L” period (tKP) of scan signals (S0 to S7) as shown below;
S0S0
tKPtKP
VLCD2VLCD2
VSSVSS
S1S1
3/4tKP3/4tKP
Fetching timingFetching timing
-Keyscan data format-Keyscan data format
Scaned 8-bit data of key are read out through the srial I/F.Scaned 8-bit data of key are read out through the srial I/F.
D15 D14 D13 D12 D11 D10 D9D8D7 D6D5D4D3 D2D1 D0
MS1 MS0
100111 KL3 KL2 KL1 KL0 0 KH2 KH1 KH0
Keyscan
output data
S7111
S6110
S5101
S4100
S3011
S2010
S1001
S0000
KH2KH1KH0
tKPtKP
3/4tKP3/4tKP
| K3 to K0 | | S7 to S0 |
When a key on the key matrix is pressed, the bit corresponding to terminals (K3 to K0, S7 to S0) connected theWhen a key on the key matrix is pressed, the bit corresponding to terminals (K3 to K0, S7 to S0) connected the
switch goes to “1” and another bits go to “0”.switch goes to “1” and another bits go to “0”.
In case of Example 1, when the switch connecting to K2 and S2 is pressed, bit(D6) corresponding to K2 andIn case of Example 1, when the switch connecting to K2 and S2 is pressed, bit(D6) corresponding to K2 and
bit(D1) corresponding to S2 go to “1” but another bits go to “0”.bit(D1) corresponding to S2 go to “1” but another bits go to “0”.
Example 1. One key is pressedExample 1. One key is pressed
NJU6624
S3S0S1S2S7S4S5S6K0K3K1K2
ON
OFF
D15 D14 D13 D12 D11 D10 D9D8D7 D6D5D4D3 D2D1 D0
Read out dataRead out data
MS1 MS0
10011101000010
| K3 to K0 | | S7 to S0 |
Loading...
+ 18 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.