The NJU6475B is a Dot Matrix LCD Controller Driver for
12-character 4-line with Icon display in single chip. It contains
voltage converter, voltage regulator, bleeder resistance, CR
oscillator, instruction decoder, character generator ROM/RAM,
high voltage operation controller/driver and key scan circuit.
The voltageconverter generates (about 8V) from the
supply voltage (3V) and regulated by the regulator. The bias
level of LCD driving voltage is generated of high value bleeder
resistance and the buffer amplifier matches the
impedance. 16-step contrast control function is incorporated
for its adjustment. Therefore, simple power supply circuit andNJU6475B
easy contrast adjustment are available. The complete CR
oscillator is incorporated without external components for
oscillation circuit. The microprocessor interface circuit w hich
operates by 1MHz, can be selected serial interface.
The character generator ROM consisting of 10,080bits stores
252 kinds of character Font.
Each 160bits CG RAM and Icon display RAM can story
4 kinds of special character to display on the dot matrix
display area or 128 kinds of Icon on the display area.
FEATURES
12-Character 4-Line Dot Matrix LCD Controller Driver
•
Maximum 128-Icon Display
•
Serial CPU Interface
•
Display Data RAM- 48 x 8 Bits :Maximum 12-Character 4-Line Display
•
Character Generator ROM- 10,080 Bits:252 Characters (5 x 8 Dots)
•
Character Generator RAM- 32 x 5 Bits :4 Patterns (5 x 8 Dots)
•
Icon Display RAM- 32 x 5 Bits :Maximum 128-Icon
•
High Voltage LCD Driver: 37-Common/63-Segment
•
Duty & Bias Ratio: 1/36 duty 1/7Bias
•
Useful Instruction Set: Clear Display, Return Home, Display On/Off Control
•
Common and Segment Driver location Order Select Function (Mode-A, Mode-B)
•
Power On Reset Circuit On Chip
•
Hardware Reset
•
Voltage Regulator On Chip
•
Electrical Variable Resistance On Chip
•
32-key scan function (8 x 4 Matrix)
•
Oscillation circuit On Chip
•
Voltage Converter (Doubler,Tripler) On Chip
•
Bleeder Resistance On Chip
•
Low Oprating Current
•
Operating Voltage- 2.4V to 3.6V (Except For LCD Driving Voltage)
OSCOscillation C and R are incorporated. (Normally Open)
For external clock operation, the clock should be input on OSC .
17P/SISerial input select terminal (fixed to "L")
Register selection signal input terminal
18RSI"0" instruction r egister. (Writing)
"1" Data register. (Writing, Reading)
19R/WIRead(R) / Write(W) selection signal input terminal
20E/SCLISerial clock input terminal
23DB /CSIChip select signal
24DB /SIOI/OData input terminal(3-state data bus.)
25 - 30DB - DBII/O port output terminal
7
6
05
1
22REQOThis terminal normally output "L".
When confirm a key action, REQ terminal output puls.
21LCD/KEYIFix to "H" Level
35 - 42S -SOKey scan signal data output terminal
o7
Open Drain Output
31 - 34K - KIKey scan data input terminal
03
In case of non use, fix to "H".
158 - 151COM - COMOCommon signal output terminal
132
65 - 72
150 - 143
73 - 80
162 - 159COMM -OIcon common display signal output terminal
163COMSOStatic driving common signal output terminal
82 - 141SEG - SEGOSegment signal output terminal
1
COMM
160
4
1
When power down mode Vor V levels are output.
DDSS
81,142SEGM ,SEGMOIcon segment driving signal output terminal
12
Page 7
PAD No.SymbolI/OF u n c t i o n
NJU6475B
57SEGSOStatic driving segment signal output terminal
10,9C1 C1I/OStep up voltage capacitor connecting terminal
8,7C2 ,C2
6VOStep up voltage output terminal
13VOVoltage regulator output terminal
1
+-
+-
5OUT
REG
When power down mode Vor V level are output.
DDSS
Connect the resistor between this terminal and VR terminal.
12VRIReference voltage for voltage regulator input terminal
Connect the resistor between this reference voltage and
DD
Vterminal.
Reset terminal
16RESETIWhen the "L" level input over than 1.2ms to this terminal,
the system is reset (at f =180KHz).
osc
Common and Segment driver location order select terminal.
15SELI"0" Mode A location (SeePAD COORDINATES)
"1" Mode B location (SeePAD COORDINATES)
14TESTIMaker test terminal
This terminal should be connected to V(or open.)
SS
43 - 47NC-Non connection terminal
50 - 63
These terminals are electrically open.
164 - 168
169ALI-A1Alignment mark
49ALI-A2-These terminals are electrically open.
1ALI-B1
48ALI-B2
Page 8
NJU6475B
FUNCTIONAL DESCRIPTION
(1) Description for each blocks
(1-1) Register
The NJU6475B incorporates three 8-bit registers, an instruction register (IR), and a Data Register (DR), Key
Register (KR). The register (IR) stores an instruction code 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).
The MPU can write the instruction code and address data to the register (IR), but it cannot read out from
register (IR). The Register (DR) is a temporary register, the data stored in the Register (DR) is written into
DD RAM, MK RAM. A register from these two registers is selected by the register select signal (RS). Register
(KR) is an only temporary register for key scan data. This Register (KR) can read out the contents when
selected Key signal at "H" signal. And non relation ship with signal of register select (RS).
The Relation ship with RS, R/W register as shown below.
<Table-1> Register selection
RSR/WO p e r a t i o n
00IR write & internal register operation mode
01Read out (KR)
10Write (DR) & internal register operation mode
11Read out (KR)
(Clear Display etc...)
(DRDD RAM/CG RAM/MK RAM)
(1-2) Address Counter (AC)
The address counter (AC) addresses the DD RAM, CG RAM or MK RAM. When the address setting instruction is written into register (IR), the address information is transferred from register (IR) to the address counter
(AC). The selection of DD RAM, CG RAM or MK RAM is also determined by this instruction.
After writing (or reading) the display data to (or from) the DD RAM, CG RAM or MK RAM, the address counter
(AC) increments (or decrements) automatically.
(1-3) Display Data RAM (DD RAM)
The display data RAM (DD RAM) consisting of 48 x 8 bits stores up to 48-character display data represented
in 8-bit code.
The DD RAM address data set in the address counter (AC) is represented in Hexadecimal code.
(Example) DD RAM Address "08"
upper order bitlower order bit
ACACACACACACACAC0 001000
6543210
hexadecimalhexadecimal08
Page 9
(1-3-1) The relation between DD RAM address and display position on the LCD
12-Characters 4-Line Display
-
123 4567 89101112 DisplayPosition
1stLine000102030405060708090A0B DDRAMAddress
2ndLine101112131415161718191A1B
3rdLine202122232425262728292A2B
4thLine303132333435363738393A3B
When the display shift is performed, the DD RAM address changes as follows:
[Left shift display]
(00)0102030405060708090A0B00
NJU6475B
(Hexadecimal)
(10)1112131415161718191A1B10
(20)2122232425262728292A2B20
(30)3132333435363738393A3B30
[Right shift display]
0B000102030405060708090A(0B)
1B101112131415161718191A(1B)
2B202122232425262728292A(2B)
3B303132333435363738393A(3B)
(1-4) Character Generator ROM (CG ROM)
The Character Generator ROM (CG ROM) stores 5 x 8 dots character pattern represented in 8-bit character
code. The capacity is up to 252 kinds of 5 x 8 dots character pattern.
The correspondence between character code and standard character pattern of NJU6475B is shown in table 2.
User defined character patterns (Custom Font) are also available by mask option. (in this case, the address
H
(20) are using for "Space Pattern".)
Page 10
NJU6475B
<Table-2> The Correspondence Between Character Code
and Standard Character Pattern (ROM Version -02)
Page 11
NJU6475B
(1-5) Character Generator RAM (CG RAM)
The Character Generator RAM stores any kinds of character pattern in 5 x 8 dots written by the user
program to display user's original character pattern. The CG RAM can store 4 kinds of character in 5 x 8 dots
mode.
To display user's original character pattern stored in the CG RAM, the address data (00) -(03) should
be written to the DD RAM as shown in Table-3.
Table-3> Correspondence of CG RAM address, DD RAM character code
Notes : 1. Character code bit 0,1 correspond to the CG RAM address bit 3,4 (2bits ; 4patterns).
2. CG RAM address 0 to 2 designate character pattern line position. The 8th line should be "0".
If there is "1" in the 8th line, but bit "1" is always displayed on the cursor position regardless of cursor
existence.
3. Row position character pattern correspond to CG RAM data bits 0 to 4 are shown above.
4. CG RAM character patterns are selected when character code bits 2 to 7 are all "0" 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.
Page 12
NJU6475B
(1-6) Icon display RAM (MK RAM)
The NJU6475B can display maximum 128 Icons.
The Icon display can be controlled by writing the data into MK RAM corresponding to the Icons.
The relation between MK RAM address and Icon display position is shown in Table-4.
Table-4> Correspondence among Icon Position, MK RAM Address and Data
<
MK RAM AddressBits for Icon Position MK RAM Address and Data
Notes : 1. When the Icon display function using, the system should be initialized by the software initialization
Because the MK RAM is not initialized by the power on reset and hardware.
2. The cross-points between segments (SEGM and SEGM ) and commons (COMM to COMM and
232
COM to COM ) are always set "OFF" level.
1214
3. In the table 4, * mark are invalid, therefore both of "0" or "1" can be written but these are no meaning.
Page 13
NJU6475B
(1-7) Timing generator
The timing generator generates a timing signals for the DD RAM, CG RAM and MK RAM and other
internal circuits. RAM and timing for the display and internal operation timing for MPU access are separately
generated, so that may not interfere with each other.
Therefore, when the data write to the DD RAM for example, there will be undesirable influence, such as
flickering, in areas other than display area.
(1-8) LCD Driver
LCD Driver consists of 37-common driver and 63-segment driver. The character pattern data are latched
to the addressed segment-register respectively.
This latched data controls display driver to output LCD driving waveform.
(1-9) Cursor Blinking control circuit
This circuit controls cursor On / Off and cursor position character blinking. The cursor or blinking appear in
the digit locating at the DD RAM address set in the address counter (AC). When the address counter is (08) ,
a cursor position is shown as bellow.
6543210
ACACACACACACAC
AC0001000
H
4-Line Display
123456789101112Display position
1stLine000102030405060708090A0B DDRAMAddress
(Hexadecimal)
2nd Line101112131415161718191A1B
3rdLine202122232425262728292A2B
4thLine303132333435363738393A3B
Cursor position
Note : The cursor or blinking also appear when the address counter (AC) selects the CG RAM or the MK RAM.
But the displayed cursor and blinking are meaningless.
If the AC stores the CG or MK RAM address data, the cursor and blinking are displayed in the meaningless position.
Page 14
NJU6475B
(2) Power on Initialization by internal circuits
(2-1) Internal Reset circuits Initialization
The NJU6475B is automatically initialized by internal power on initialization circuits when the power is turned
on. In the internal power on initialization, following instructions are executed.
During the Internal power on initialization, the busy flag (BF) is "1" and this status is kept during 6ms
OSCDD
(f=180KHz) after Vrose to 2.4V.
Initialization sequence
Set FunctionPD=1: Power down OFF
Contrast ControlSet (00) to the contrast register
H
Display ON/OFFD=0: Display OFF
ControlC=0: Cursor OFF
B=0: Cursor Blink OFF
I/D=1: Increment by 1
Set Mode EntryS=0: Non shift
Clear Display
END
Note : If the condition of power supply rise time described in the Electrical Characteristics is not satisfied, the
internal Power On Initialization will not performed.
In this case, the software initialization by MPU is required.
(2-2) Hardware Initialization
The NJU6475B prepares RESET terminal to initialize the all system.
When the "L" level is input over 1.2ms to the RESET terminal, reset sequence is executed. In this time, the
busy signal is output during 6ms (f=180KHz) after RESET terminal went to "H".
OSC
-Timing Chart
External Reset
Signal
BUSY
Over 1.2ms
6ms
Page 15
NJU6475B
(3) Instruction
The NJU6475B incorporates two registers, an Instruction Register (IR) and a Data Register (DR). These
two registers store control information temporarily to allow interface between NJU6475B and MPU or peripheral
IC operating different cycles. The operation of NJU6475B is determined by this control signal from MPU.
The control information includes resister selection signals (RS), Read / Write signals (R/W) and data signal
(SIO).
<Table-5> shows each instruction and its operating time
RAM Address Set001AddressSets RAM Address. After this83.4us
instruction, the data is transferred to/from RAM.
Key Data Read01Read Data (KEY DATA)When LCD/Key= "1", reads key
data out.0us
Data Write to CGWrite Data (DD RAM)Writes data into DD or CG or
or DD or MK RAM(CG RAM)MK RAM.83.4us
10
***
(MK RAM)
I/D=1:Increment, I/D=0:Decrement,DD RAM : Display data RAMWhen FRQ is
S=1:Include Display Shift,CG RAM : Character generatorchanged, the
S/C=1:Shift Display, S/C=0:CursorRAMexecute time is
R/L=1:Shift left, PD=0:Power Down ModeAC : Address counter use for
PD=1:Cancel Power Down ModeDD, CG and MK RAM
Note : If the oscillation frequency is changed, the execution time is also changed.
Page 16
NJU6475B
(3-1) Description of each instructions
(a) Maker Test
RSR/WDBDBDBDBDBDBDBDB
76543210
Code0000000000
(b) Clear Display
RSR/WDBDBDBDBDBDBDBDB
76543210
Code0000000001
Clear Display Instruction is executed when the code "1" is written into DB .
When this instruction is executed, the space code (20) is written into every DD RAM address, then
the DD RAM (00) is set into address counter and I/D of entry mode is set as increment mode. If the cursor
H
H
0
or blink are displayed, they are returned to the left end of the 1st line on the LCD panel.
In addition, S of entry mode is not changes and contents of MK RAM and CG RAM are also not changed.
Note : The character code (20) must be blank code in the user defined character pattern (Custom font).
H
(c) Return Home
RSR/WDBDBDBDBDBDBDBDB
76543210
Code000000001**=Don'tCare
Return Home instruction is executed when the code "1" is written into DB .
When this instruction is executed, the DD RAM address (00) is set into the address counter. Display is
H
1
returned to its original position if shifted, the cursor or blink are returned to the left end of the 1st line on
the LCD if the cursor or blink are operating. The DD RAM contents do not change.
(d) Entry Mode Set
RSR/WDBDBDBDBDBDBDBDB
76543210
Code00000001I/DS
Entry Mode Set instruction which sets the cursor moving direction and display shift On/Off, is executed
when the code "1" is written into DB and codes of (I/D) and (S) are written into DB (I/D) and DB (S).
210
(I/D) sets the address increment or decrement, and the (S) sets the entire display shift at the DD RAM
writing.
I/DFunction
1Address increment : The address of the DD RAM or CG RAM increment (+1) when the
read/write operation, and the cursor or blink moves to the right.
0Address decrement : The address of the DD RAM or CG RAM decrement (-1) when the
read/write operation, and the cursor or blink moves to the left.
SFunction
Entire display shift.
The shift direction is determined by I/D. : shift to left at I/D=1 and shift to the right at
1the I/D=0. The shift is operated only for the character, so that it looks as if the cursor
stands still and display moves.
The display does not shift when reading from DD RAM and writing/reading into/from
CG RAM.
0The display does not shift.
Page 17
(e) Display ON/OFF Control
NJU6475B
RSR/WDBDBDBDBDBDBDBDB
76543210
Code0000001DCB
Display ON/OFF control instruction which controls the whole display ON/OFF, the cursor ON/OFF and the
cursor position character blink, is executed when the code "1" is written into DB and codes of (D), (C)
and (B) are written into DB (D), DB (C) and DB (B), as shown below.
210
3
DFunction
1Display On
0Display Off. In this mode, the display data remains in the DD RAM so that it is
retrieved immediately on the display when the D changes to 1.
CFunction
1Cursor On. The cursor is displayed by 5 dots on the 8th line.
0Cursor Off. Even if the display data write, the I/D etc does not change.
BFunction
The cursor position character is blinking.
1Blinking rate is 480ms at f=180KHz.
OSC
The cursor and the blink can be displayed simultaneously.
0The character does not blink.
Character Font 5×7 DotsAlternating Display
(1) Cursor Display Example(2) Brink Display Example
(f) Cursor Display Shift
RSR/WDBDBDBDBDBDBDBDB
76543210
Code000001S/CR/L***= Don't Care
The cursor /display shift instruction shifts the cursor display to the right or left without writing or reading
display data. This function is used to correct or search the display. The cursor moves to the 2nd line after
the 12nd digit of the 1st line. Notice that 1st to 3rd line displays shift at the same time. When the displayed
data are shifted repeatedly, each display moves in only same line. The 2nd and 3rd line display do not shift
intothe1stand2ndline.
The contents of address counter (AC) does not change by operation of only the display shift.
This instruction is executed when the code "1" is written into DB and the codes of (S/C) and (R/L) are
written into DB (S/C) and DB (R/L), as shown below.
32
4
S/CR/LF u n c t i o n
00Shift the cursor position to the left ((AC) is decremented by 1).
01Shift the cursor position to the right ((AC) is incremented by 1).
10Shifts the entire display to the left and the cursor follows it.
11shifts the entire display to the right and the cursor follows it.
Page 18
NJU6475B
(g) Function Set
RSR/WDBDBDBDBDBDBDBDB
76543210
Code00001****PD*=Don'tCare
Function set instruction which sets the interface data length and power down is executed, when the code
"1" is written into DB and (PD) is written into DB , as shown below.
50
When the power down mode is set, the display turns off automatically. Afterward, when the power down
mode is reset, the display is off continuously.
The display appears by the display on instruction.
PDF u n c t i o n
1Power down mode off (Normal operation)
0Power down mode on (the display goes to off automatically.)
(h) Set Electronic Volume Register
RSR/WDBDBDBDBDBDBDBDB
Code0 00 1* *CCCC*=Don'tCare
76543210
3210
Higher order bitLower order bit
Contrast Control instruction which adjusts the contrast of LCD, is executed when the code "1" is written
into DB and the codes of C to C are written into DB to DB as shown below.
60303
The contrast of LCD can be adjusted one of 16 voltage stage by setting 4 bit register.
Set the binary code "0000" when contrast control unused.
3210LCDLCDDD5
C CCC VV=V-V
0000low
:
:
1111high
Page 19
(i) Set RAM Address
NJU6475B
RSR/WDBDBDBDBDBDBDBDB
76543210
Code001AAAAAAA
Higher order bitLower order bit
The RAM address set instruction is executed when the code "1" is written into DB and the address is
written into DB to DB as shown above.
The address data (DB to DB ) is written into the address counter (AC) by this instruction.
60
60
7
After this instruction execution, the data writing/reading is performed into/from the addressed RAM.
The RAM includes DD RAM, CG RAM and MK RAM and these RAMs are shared by addressed as shown
Write Data to RAM instruction is executed when the code "1" is written into (RS) and code "0" is written into
(R/W).
By the execution of this instruction, the data is written into RAM. The selection of RAM is determined by the
previous instruction.
After this instruction execution, the address increment (+1) or decrement (-1) is performed automatically
according to the entry mode set.
Page 20
NJU6475B
(3-2) Initialization using the internal reset circuit
When internal reset operates for initialization, the function set, Display ON/OFF Control and Entry Set instruc-
tion must be executed before the data input as shown below.
Power OnNo display appears
RS R/W DBDB DBDB DB DBDBDB
FunctionSet00001****1PowerdownmodeOFF
DisplayON/OFF0000001110Entiredisplayisinspace
Controlmode. In case of mark dis-
EntryModeSet0000000110entandcursorrightshift
Write data to the DD, CG or MK RAM
and set the instruction
76543210
Initialized
Turn on display and cursor.
play function, the contens
of MK RAM should be initialized by instruction before the display on.
Example for address increwhen the data is written to
the DD, CG or MK RAM.
Page 21
(3-3) Initialization by instruction
If the power supply conditions for the correct operation of the internal reset circuits are not met,
the NJU6475B must be initialized by instruction.
NJU6475B
Power OnNo display appears
Initialized
Wait more than 6ms
DD
after Vrises to 2.4 V
RS R/W DBDB DB DB DBDB DBDB
76543 210
FunctionSet00001*****
Wait more than 3.0ms
FunctionSet00001*****
Wait more than 200us
FunctionSet00001*****
FunctionSet00001***** downmodeOFF.
Set operation and power
DisplayOff00001*****
DisplayClear00001*****
Example for address incre-
EntryModeSet 00001***** mentandcursorrightshift
when the data is written to
The DD, CG or MK RAM.
Write data to the DD, CG or MK RAMNote : When the Icon display function using, the contents
and set the Instructionsof MK RAM should be initialized by instruc-
tion before the display on.
Page 22
NJU6475B
(4) Power down Function
NJU6475B incorporates the power down mode to reduce the operating current.
The power down mode is set/reset by the function set instruction.
In the power down mode, all the character display and Icon display turn off and only static display operation
is available.
The status of internal circuits at the power down mode is shown below.
-Main oscillator stops and sub oscillator for the static display starts the operation.
-Voltage converter, Key Scan, Voltage Regulator, Voltage follower (OP-AMP) are stopped.
-The contents of DD, CG, MK RAM are kept.
(5) LCD Display
(5-1) Power Supply for LCD Driving
NJU6475B incorporates voltage converter to generate the LCD driving voltage which is adjusted by the
voltage regulater and the EVR.
(a) Voltage Converter
-Voltage Tripler
By connecting capacitor between C1 and C1 , C2 and C2, V and Vrespectively, two times
negative voltage of V --V output from V.
DDSS5OUT
-Voltage Doubler
By connecting capacitor between C2 and C2, Vand Vrespectively, and connecting the C1
terminal to C2 terminal, and C1 terminal being open, negative voltage of V --Voutput from V.
+-
+-+-
+-+
SS5OUT
SS5OUT
DDSS5OUT
DDDD
V=+3VV=+3V
SSSS
V=±0VV =±0V
5OUT
V=-3V
Voltage DoublerV= -6V
(b) Voltage Regulator
Voltage Regulator incorporates a OP-AMP which is supplied Vand V, and a reference voltage
source (V).
REF
By setting the VR level by connecting Ra and Rb, the regulator which amplifies V, outputs the LCD
driving voltage to the Vterminal.
REG
Therefore the LCD driving voltage can be output between Vand Vby setting.
REGREFDDREG5OUT
V= ( 1+ Rb / Ra) Vin condition, V= 0V, V< V
5OUT
Voltage Tripler
DD5OUT
REF
DDREG
The EVR functions Vvalue adjustment from 1st step to 16th by a step when the 4 bit data write into the
REF
EVR register by the instruction.
Set the EVR register to (00) when the EVR function is unused. Use variable resistances to external to the
external resistances Ra, Rb and thermistor if need due to the voltage reference Vis changed by the lot
H
REF
and operating temperature.
Take care the noise input on the VR terminal because of it is designed with high impedance. Short wiring
should be required to avoid the noise input, if necessary.
Each LCD driving voltage (V , V , V , V , V ) is generated by the high impedance bleeder resistance
buffered by voltage follower OP-AMP to get a enough display characteristics with low operating current. The
bleeder resistance is set 1/7 bias suitable for 1/36 duty by 5Mresistance in total.
The capacitor connected between V and Vis needed for stabilizing V . The determination of the each
capacitance of C , C and C generating for LCD operating voltage is required to operate with the LCD
123
panel actually.
The capacitance for the typical application is shown below:
12345
Ω
5DD5
LCD Driving Voltage vs Duty
PowerDuty Ratio1/36
SupplyBias1/7
LCDDD5
VV-V
LCD
Vis the maximum amplitude for LCD driving voltage.
Typical application for LCD operating voltage generation
Note : Take care the noise into the VR terminal as designed with high impedance.
Short wiring or sealed wiring are required to avoid the noise, if necessary.
Page 25
NJU6475B
(5-2) Relation between oscillation frequency and LCD frame frequency
As the NJU6475B incorporates oscillation capacitor and resistor for CR oscillation, 180KHz oscillation is
available without any external components. (1 Clock = 5.56us)
1/36 Duty
1 frame = 5.56 (us) x 62 x 36 = 12.4 (ms)
Frame frequency = 1 / 12.4 (ms) = 80.6 (Hz)
Page 26
NJU6475B
(6) Key S can Circuit
(6-1) Key scan timing chart
CHATTERINGCHATTERING
03
KtoK
Continuously 3 times "L" detectionContinuously 3 times "H" detection
KEYCHECK
(InnerSideHHHLLLKEYCHECK0.71mS KEYCHECK LHHLHHH KEYCHECK
of NJU6475B)Fig. 1
REQFig. 2
LCD/KEY
R/W
DB7/CS
LCD DATA(Write)
E/SCL
Set Key Register
(Inner SideSet "00010000 00000000" into Register
of NJU6475B)
"Hi-Z"
07
StoS
Fig. 4Fig. 3
(6-2) Key Scan
1. KEYCHECK signal always operates to check the status of keys excepting for power down mode.
2. When Key signal (K to K ) 3 times detected continuously at rise up edge of KEYCHECK (inner side
03
NJU6475), key Scan circuit performs output request signal (REQ terminal) rise to "H" and simultaneously
key input information transmit to CPU. Its useful for anti-chattering. At the same time of REQ signal output,
the key register status is "00010000 00000000" (Non Key Input) automatically. Key input terminal (K to
3
K ) are "H" in normal, then turn to "L" when Key input.
CHATTERING
03
KtoK
Continuously 3 times "L" detection
KEYCHECK
(InnerSideHHHLLL0.71mS
of NJU6475B)
REQFig. 1
In case of request signal "H", When detects 3 times continuously key released status, request signal will be "L".
CHATTERING
03
KtoK
Continuously 3 times "H" detection
KEYCHECK
(InnerSideLHHLHHH
of NJU6475B)
REQ
Fig. 2
0
Page 27
NJU6475B
3. When the request signal is detected, CPU should be LCD / KEY to "H" and read out key data by instruction. 16-bit key data synchronizing to "SCL" (SCL terminal) is read out to CPU.
(1st time output key data was fixed as "00010000 00000000")
keyscan operation start from the next rising edge of SCL after the end of key data read out opration.
Fig. 3
4. The key data are gotten from 4 terminals (K to K ) at each timing of key scan signals (S to S ).
0307
The detected data are up dating anytime and stores to key register.
Key status is gotten at 3/4 port timing of t during "L" period of S to S .
0
S
1
S
kp07
kp
t
·
kp
1/4 t·
kp
3/4 t·
·
·
Detecting timing
(6-4) The format of detection
1st Byte2nd Byte
MSBLSBMSBLSB
0001KKKKKKKKKKKK
L3L2L1L0H7H6H5H4H3H2H1H0
Fix
L3L030H7H070
K to K : Corresponds to K to KK to K : Corresponds to S to S
( For Example )
1st Byte2nd Byte
MSBLSBMSBLSB
0001110000000100
Page 29
(6-5) Key roll over input
NJU6475B can be accepted the key roll over input.
In case of key roll over input, the output results are shown below;
NJU6475B
-Connecting same S signal line at multiple key push.
When key-in shown above case, the data contents are "00011100" "00000100".
The case of connecting different S signal line at multiple key push (1)
-
X
X
When key-in shown above case, the data contents are "00010100" "00010100".
Page 30
NJU6475B
-The case of connecting different S signal line at multiple key push (2)
When key-in like as shown above, the data contents are "00010101" "00010100".
In this case, the result will be same, at each key-in shown below.
[Case 1][Case 2]
X
[Case 3][Case 4]
[Case 5][Case 6]
Page 31
(6-6) The inner composition of Key Scan circuit
The inner composition of key scan circuit shown below :
N J U 6 4 7 5 B Inner Circuit
Output Nch OOOOInput Pull up
· · ·Open drainschmitt
0170123
SSSKKKK
NJU6475B
·
·
·
-In case of non input the key each terminal status shown below:
07
S to S : The status of Nch FET output side is ON, output result is "L".
03
K to K : The status is "H" by pull-up resistance.
-When any key key-in, K of key-in side turn to "L" and it can confirms.
-Input terminal (K to K ) are composed by schmitt inverter input method.
03
X
Page 32
NJU6475B
(7) Interface with MPU
Interface circuit of NJU6475B can be connected to serial by turn to "L" P/S terminal on shown below serial
data timing. And DB to DB can be use to output port.
Notes : RS, R/W, LCD/KEY requires setting before CS fall down.
Serial interface circuit is in operation at CS is "L".
When SCL rises, input data was lead, and rises CS case loading input data.
When the input data was less than 16 bits, input data will be invalid at rises CS. And so on equal or over than
16 bits case, rear side total 16 bits are effectiveness. The input data should be total 16 bits.
The data of read/write are composed MSB first.
05
RS is unrelated to read out of key data and writing of port data.
Page 33
Data format
-
The data formatted by 2 byte form at read/write.
When writing data consists LCD data and port data.
The using data in write mode means one of key data.
In write mode of data format, 1st byte means recognition data of LCD data and Port data.
In "0110 0000" (fixed) selects LCD data, in "0110 0001" (fixed) selects Port data.
The data of 2nd byte consists each data contents.
When the 1st byte of MSB 4 bit data are not "0110", in this case the input data will be invalid.
DDDDDDDDDBDBDBDBDBDBDBDB
76543210 76543210
**
LCD/RS R/W
KEY
1st Byte2nd Byte
HigherLower
LCD
000Selected BitSelected BitLCD Data (Instruction)Instruction
Data
(0110)(0000)Execution
NJU6475B
Time
HigherLower
LCD
010Selected BitSelected BitLCD Data (RAM Data)Instruction
Data
(0110)(0000)Execution
HigherLowerOutput Port (Set "L"=0,"H"=1)
PORT
Data
0*0(0110)(0001)Execution
Selected BitSelected BitInstruction
**Time
D
D
D
D
D
D
B
B
B
B
B
B
5
4
3
2
1
0
Key Data 1Key Data 2
KEY
Data
Selected Bit
1*1(0001)
K
K
K
K
K
K
K
K
K
K
K
K
H
H
H
H
H
H
H
L
L
L
L
3
2
1
0
7
6
5
4
3
2
H
1
0
* : Invalid Data
Notes : The instruction requires execution time after transmit 16 bit data. After transmit data can not transmit
continuously
Time
Page 34
NJU6475B
MAXIMUM ABSOLUTE RATINGS
P A R A M E T E RSYMBOLR A T I N G SUNITN O T E
Supply Voltage (1)V- 0.3 ~ + 7.0V
Input VoltageV- 0.3 ~ V+ 0.3V
DD
tDD
Operating TemperatureTopr- 30 ~ + 80°C
Storage TemperatureTstg- 55 ~ + 125°C
Note-1 : If the LSI are used on condition above the absolute maximum ratings, the LSI may be destroyed. Using
the LSI within electrical characteristics is strongly recommended for normal operation. Use beyond the
electric characteristics conditions will cause malfunction and poor reliability.
Note-2 : Decoupling capacitor should be connected between Vand V due to the stabilized operation for
DDSS
the voltage converter.
Note-3 : All voltage value are specified as V= 0V.
The relation : V> V , V> VV, V= 0V must be maintained.
Note-4 : Input/Output structure except LCD display are as shown below.
-Input terminal structure
(without pull-up MOS)(Pull-up with MOS, schmitt)(Pull down MOS)
Applicated terminals : E/SCL, RS,K ~ KTEST
R/W, P/S, SEL, RESET, LCD/KEY
03
-Input terminals structure
Applicated terminal : OSC1
-Common terminals
Input/Output structure.
Applicated terminal
:DBtoDB
70
Page 37
Note-5 : Apply to the output and Input/Output Terminals.
Note-6 : Except current of pull-up MOS and output drive MOS.
Note-7 : Except Input/Output part current but including the current on bleeder resistance.
If the input level is medium, current consumption will increase due to penetration current.
therefore, the input level must be fixed to "H" or "L".
Operating Current Measurement Circuit
-
NJU6475B
Note-8 : Rcom and Rseg are the resistance values between power supply terminals (V , V) and
each common terminal (Com to Com / COMM to COMM ) and Supply voltage (V ,
5OUT160 1 2
V) and each segment terminal (SEG to SEG / SEGM to SEGM ) respectively, and
132 14DD
DD5OUT
measured when the current Id is flown on every common and segment terminals at same time.
Note-9 : Apply to the voltage from each COM and SEG are less than ±0.15V against the LCD driving
contrast voltage (V , V) at no load condition.
DD5OUT
Page 38
NJU6475B
BUS TIMING CHARACTERISTICS
-Serial Interface sequence
P A R A M E T E RSYMBOLMIN.MAX.CONDITIONUNIT
Serial clock cycle timet1-Fig. 1uS
Serial clock"High" levelt300-Fig. 1nS
width"Low" levelt700-Fig. 1nS
Serial clock rise and fall down timet , t-20Fig. 1nS
Chip select pulse widthPW500-Fig. 1nS
Chip select set up timet200-Fig. 1nS
Chip select hold timet300-Fig. 1nS
Chip select rise and fall timet , t-20Fig. 1nS
Set up timeRS, R/W, LCD/KEY-CSt200-Fig. 1nS
Address hold timet200-Fig. 1nS
Serial input data set up timet200-Fig. 1nS
Serial input data hold timet200-Fig. 1nS
Serial output data delay timet-700Fig. 1nS
Serial output data hold timet200-Fig. 1nS
DDSS
(V =2.4~3.6V,V =0V,Ta=-20~+75°C)
CYCE
SCH
SCL
SCr SCf
CS
CSU
CH
CSr CSf
AS
AH
SISU
SIH
SOD
SOH
Serial Interface
Fig. 3 Serial Interface Sequence Characteristics
Page 39
-I/O Part sequence
PARAMETERSYMBOL MIN.MAX.CONDITONUNIT
Port set timet-500Fig. 2uS
PS
NJU6475B
TheloadofDB toDB isCL=100pF
-
07
CS
IH1
V
IH1
V
05
DB ~ DB
PSIL1
tV
Fig. 2I/O Port Sequence (Serial Interface)
-The input conditions of using hardware reset circuit.
Input Timing
RSL
t
RESET
VIL
PARAMETERSYMBOLCONDITIONMIN.TYP.MAX.UNIT
Reset Input RAW level widtht-1.2--ms
RSL
The power supply conditions of using power on reset circuit.
-
(Ta = -20 ~ +75°C)
PARAMETERSYMBOLCONDITIONMIN.TYP.MAX.UNIT
The power supply rise timet-0.1-5ms
The power OFF timet-1--ms
rDD
OFF
Since the internal initialization circuits will not operate normally unless the above conditions are met, in
such a case of initialized by instruction. (Refer to initialization by the instruction)
OFF
tspecifies the power off time in a short period off or cyclical on/off.
OFF
* tspecifies the power off time in a short period off or cyclical ON/OFF.
Page 40
NJU6475B
Key Scan Sequence
-
P A R A M E T E RSYMBOLMIN.TYP.MAX.CONDITIONUNIT
E/SCL-S to S Delay timet-66.7300Fig. 3uS
Key scan pulse width "H","L" levelt-44.448Fig. 3uS
Key scan timet-0.360.38Fig. 3mS
REQ output delay timet--1.0Fig. 3uS
Key in check signal frequencyt0.981.411.84Fig. 3KHz
The specif ications on this da tabook are only
given f or information , without any g uarantee
as regards e ither mistakes or omi ssions. The
applicatio n circuits in this d atabook are
described only to show representative us ages
of the prod uct and not intended for th e
guarantee or per mission of any rig ht including
the industri al rights.
Loading...
+ 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.