RENESAS M66271FP

M66271FP
Operation Panel Controller
REJ03F0267-0200
Rev.2.00
Mar 18, 2008
Description
The M66271FP is a graphic display-only controller for displaying a high duty dot matrix type LCD which is used
widely for PPC, FAX and multi-function telephones.
It is capable of controlling a monochrome STN LCD system of up to 320 × 240 dots.
The IC has a built-in 9600-byte VRAM as a display data memory.
All of the VRAM addresses are externally opened. Address mapping in the MPU memory space allows direct
addressing of all display data from the MPU, thus providing efficient display data processing such as drawing.
The built-in arbiter circuit (cycle steal system) which gives priority to display access allows timing-free access from
MPU to VRAM, preventing display screen distortion.
The IC provides interface with a 8-bit/16-bit MPU with a READY (WAIT) pin.
And this IC has a function for LCD module built-in system by lessening connect pins between MPU.
Features
• Displayable LCD
 Monochrome STN dot matrix type LCD of up to 76800 dots (equivalent to 320 × 240 dots)
 Maximum display duty:
1/240 (set to 240 line)
:
1/255 (Max)
• Display memory
 Built-in 9600-byte (76800-bit) VRAM (equivalent to one screen of 320 × 240 dots LCD)
 All addresses of built-in VRAM are externally opened.
• Interface with MPU
 Capability of switching 8-bit type MPU/16-bit type MPU
 With WAIT output pin (Accessing register from MPU without WAIT output. Accessing VRAM from MPU with
WAIT output.)
 Capability of controlling BHE or LWR/HWR at the interface with a 16-bit MPU.
• Interface with LCD
 LCD display data are 4-bit parallel output
 4 kinds of control signals: CP, LP, FLM and M
• Display functions
 Graphic display only (characters drawn graphically)
 Binary display only (without tone display function)
 Vertical scrolling is allowed within memory range (small size LCD only)
• Additional function for LCD module built-in system
 15 kinds of interface with MPU: A <4:1>, D <7:0>, IOCS, LWR, RD
 Accessing VRAM from MPU through I/O register
 Capability of interfacing with 8-bit type MPU only
• 5 V single power supply
• 80-pin QFP
Application
•
•
•
•
PPC/FAX operation panel, display/operation panel of other OA equipment
Multi-function/public telephones
PDA/electronic notebook/information terminal
Other applications using LCD of 76800 dots or less
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 1 of 27
M66271FP
Block Diagram 1
VDD
8 23 34 42 52 53 77
15
:
MPU address
bus
22
A <13:0>
Address
buffer
26
:
Control
register
31
LCD display
timing
control
circuit
61
LCDENB
LCD control
signal
66
CP
Display data
transfer clock
67
LP
Display data latch
pulse
68
FLM
62
M
First line marker
signal
LCD alternating
signal
43
:
D <15:0>
MPU data bus
Data
buffer
50
53
:
60
VRAM
Control register
chip select
VRAM chip select
IOCS
MCS
High write strobe
HWR
Low write strobe
LWR
Read strobe
RD
8/16 MPU select MPUSEL
Reset RESET
Bus high enable
BHE
MPU clock MPUCLK
Wait
WAIT
2
LCD display
data
control
circuit
9600-byte
6
3
4
69
70
71
LCD display
UD <3:0> data bus
72
MPU I/F
control
circuit
5
12
11
14
9
7
Oscillator input
OSC1
78
Oscillator output
OSC2
79
Bus arbiter
timing
control
Clock
control
(Cycle steal
control)
(Basic timing
control)
1 10 13 24 25 35 40 41 51 64 65 80
32 33 36 37 38 39 73 74 75 76
VSS
N.C
Block Diagram 2 (In case of LCD module built-In system)
VDD
No use pins
3
6
20
MPU address
bus
16
A <4:1>
:
19
MPU data bus D
<7:0>
43
:
50
_
7
9
11 12 14 15
22
26
_
31
53
_
8
23 34 42 52 63 77
60
Address
buffer
Control
register
Low write strobe
Read strobe
IOCS
LWR
RD
Data
buffer
LCD display
data
control
circuit
9600-byte
5
Oscillator input
OSC1
78
Oscillator output
OSC2
79
MPU I/F
control
circuit
Bus arbiter
timing
control
Clock
control
(Basic timing
control)
1
10 13 24 25 35 40 41 51 64 65 80
VSS
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 2 of 27
66
CP
67
LP
68
FLM
62
M
LCD control
signal
Display data
transfer clock
Display data latch
pulse
First line marker
signal
LCD alternating
signal
VRAM
2
4
LCDENB
VRAM
address
index
register
Data port
register
Control register
chip select
LCD display
timing
control
circuit
61
32 33 36 37 38 39 73 74 75 76
N.C
69
70
71
72
UD <3:0>
LCD
display
data bus
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 3 of 27
MPU address bus
Bus high enable
(Top view)
Outline: PRQP0080GB-A (80P6N-A)
VSS
A <0>
A <1>
A <2>
A <3>
A <4>
A <5>
A <6>
A <7>
VDD
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
73
8/16 MPU select
MCS
WAIT
VDD
MPUCLK
VSS
RESET
MPUSEL
VSS
BHE
5
72
Reset
MPU clock
Wait
VRAM chip select
Read strobe
4
Oscillator output
3
Oscillator input
2
1
LCD display data bus
Low write strobe
VSS
Display data latch pulse
First line marker
VSS
CP
LP
FLM
UD <0>
UD <1>
UD <2>
UD <3>
N.C
N.C
N.C
N.C
VDD
OSC1
OSC2
VSS
IOCS
HWR
LWR
RD
Display data transfer clock
High write strobe
Control register chip select
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
D <3>
D <2>
D <1>
D <0>
VDD
VSS
MPU data bus
VSS
VDD
LCD alternating signal
M
LCDENB LCD control signal
D <15>
D <14>
D <13>
D <12>
MPU data bus
D <11>
D <10>
D <9>
D <8>
VDD
VSS
D <7>
D <6>
D <5>
D <4>
M66271FP
Pin Arrangement
65
40
66
39
67
38
68
37
69
36
70
35
71
34
M66271FP
33
74
32
31
75
30
76
29
77
78
28
27
79
26
80
25
VSS
N.C
N.C
N.C
N.C
VSS
VDD
N.C
N.C
A <13>
A <12>
A <11>
MPU address bus
A <10>
A <9>
A <8>
VSS
N.C: No connection
M66271FP
Pin Description
Item
MPU
interface
LCD
interface
Oscillator
Others
Pin Name
D <15:0>
Input/
Output
Input/
Output
A <13:0>
Input
IOCS
Input
MCS
Input
HWR
Input
LWR
Input
RD
Input
MPUSEL
Input
RESET
Input
MPUCLK
Input
BHE
Input
WAIT
Output
UD <3:0>
Output
CP
Output
LP
Output
FLM
Output
M
Output
LCDENB
Output
OSC1
OSC2
VDD
VSS
N.C
Input
Output
—
—
—
Function
MPU data bus
Connect to MPU data bus.
Selecting 8-bit MPU by MPUSEL input, D <15:8> connect to VDD or VSS
MPU address bus
Connect to MPU address bus. When selecting 8-bit MPU, use A <13:0>. And
selecting16-bit MPU, use A <13:1> for the address bus with combining A <0> and
BHE by the method of access to internal VRAM (Refer to figure 1). Use A <4:0> for
selecting address of control register.
Chip select input of control register
When this pin is "L", select the internal control register. Assign to I/O space of MPU.
Chip select input of VRAM
When this pin is "L", select the internal VRAM. Assign to memory space of MPU.
High-write strobe input
When this pin is "L", data write to the internal VRAM. HWR is valid only in using 16bit MPU controlled byte access by LWR and HWR. (Refer to figure 1)
Low-write strobe input
When this pin is ''L", data write to the internal control register or VRAM. (Refer to
figure 1)
Read strobe input
When this pin is "L", data read from the internal control register or VRAM. (Refer to
figure 1)
8/16-bit MPU select input
According to MPU, set "VSS" for 8-bit MPU and set "VDD" for 16-bit MPU
Reset input
Use reset signal of MPU. When this pin is "L", initialize all internal control register
and counter.
MPU clock
Input of MPU clock.
Bus-high-enable input
This pin is valid when using 16-bit MPU controlled byte access by A <0> and BHE
(Refer to figure 1). Connect to "VDD" when using 8-bit MPU.
Set to ''L'' when using the additional function for the LCD module built-in system.
WAIT output for MPU
This signal makes WAIT for MPU.
Change WAIT ''L'' at timing of falling edge of overlapping with MCS and (RD or LWR
or HWR).
And return to "H" at synchronizing with the rising edge of MPUCLK after internal
processing.
(Output WAIT only when requested access from MPU to VRAM during cycle steal
access.)
Display data bus for LCD
Transfer the LCD display data with 4-bit parallel signal.
Mutually output upper/lower data every CP output.
Display data transfer clock
Shift clock for the transfer of display data to LCD.
Take the display data of UD <3:0> to LCD at falling edge of CP.
Display data latch pulse
This clock use both as the latch pulse of display data for LCD and the transfer of
scanning signal.
LP output when finish the transfer of display data of a line.
Latch of display data and the transfer of scanning signal at falling edge of LP.
First line marker signal
Output the start pulse of scanning line.
This signal is "H" active, the IC for driving scanning line catch FLM at falling edge of
LP.
LCD alternating signal output
Signal for driving LCD by alternating current.
LCD (ON/OFF) control signal output
Output data which is set at bit "0" of mode register (R1) in control register. This
signal can use for controlling the LCD power supply, because LCDENB set to "L" by
RESET.
Input pin for oscillator
Generate an internal clock.
For crystal oscillator or external clock signal.
Output pin for oscillator
Power supply (source + 5 V)
Ground
No connection
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 4 of 27
Number
of Pins
16
14
1
1
1
1
1
1
1
1
1
1
4
1
1
1
1
1
1
1
7
12
10
M66271FP
Absolute Maximum Ratings
(Ta = 0 to +70°C unless otherwise noted)
Item
Symbol
Supply voltage
Input voltage
Output voltage
Output current
Power dissipation
Storage temperature
Ratings
–0.3 to +6.5
–0.3 to VDD + 0.3
–0.3 to VDD + 0.3
10
600
–55 to +150
VDD
VI
VO
IO
Pd
Tstg
Unit
V
V
V
mA
mW
°C
Recommended Operating Conditions
(Ta = 0 to +70°C unless otherwise noted)
Item
Supply voltage
Supply voltage
Input voltage
Output voltage
Operating temperature
Symbol
VDD
VSS
VI
VO
Topr
Min
4.5
—
0
0
0
Typ
5.0
0
—
—
+25
Max
5.5
—
VDD
VDD
+70
Unit
V
V
V
V
°C
Electrical Characteristics
(VDD = 5 V ± 10%, Ta = 0 to +70°C unless otherwise noted)
Item
High-level input voltage
All inputs except for
OSC1, RESET and
Low-level input voltage
MPUSEL
Min
2.2
Typ
—
Max
—
Unit
V
VIL
—
—
0.8
V
VDD = 4.5 V
VIH
VIL
VT+
3.5
—
2.3
—
—
—
—
1.0
3.7
V
V
V
VDD = 5.5 V
VDD = 4.5 V
VDD = 5.0 V
VT–
1.25
—
2.3
V
VDD = 5.0 V
All outputs except
for OSC2 and
outputs of D <15:0>
VOH
4.1
—
—
V
VDD
= 4.5 V
VOL
—
—
0.4
V
High-level output voltage
Low-level output voltage
High-level input current
Low-level input current
OSC2
VOH
VOL
IIH
IIL
D <15:0>
IOZH
—
—
—
—
—
—
0.4
10
–10
10
V
V
A
A
A
VDD
= 4.5 V
Off-state high-level
output current
4.1
—
—
—
—
Off-state low-level
output current
IOZL
—
—
–10
A
VDD = 5.5 V, VO = VSS
Operating supply current
(Average)
IDD (A)
—
—
40
mA
Stand-by supply current
IDD (S)
—
—
500
A
VDD = 5.5 V,
VI = VDD or VSS
fosc = 10 MHz,
Output = open
VDD = 5.5 V,
IOCS, MCS = VDD
Other's VI = VDD or VSS
(valid)
High-level input voltage
Low-level input voltage
OSC1
Positive-going threshold
voltage
MPUSEL,
RESET
Negative-going threshold
voltage
High-level output voltage
Low-level output voltage
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 5 of 27
Symbol
VIH
Test Conditions
VDD = 5.5 V
IOH = –4 mA
IOL = 4 mA
IOH = –50 µA
IOL = 50 µA
VDD = 5.5 V, VI = VDD
VDD = 5.5 V, VI = VSS
VDD = 5.5 V, VO = VDD
M66271FP
Switching Characteristics
(VDD = 5 V ± 10%, Ta = 0 to +70°C, CL = 50 pF)
Item
IOCS data access time
MCS data access time
RD data access time
Output disable time after IOCS
Output disable time after MCS
Output disable time after RD
WAIT output propagation time after MCS
WAIT output propagation time after WR
WAIT output propagation time after RD
WAIT output propagation time after MPUCLK
CP output propagation time after OSC
LP output propagation time after OSC
UD access time
FLM output propagation time after OSC
M output propagation time after OSC
LCDENB output propagation time after OSC
Data definite time before canceling WAIT
Symbol
ta (IOCS-D)
ta (MCS-D)
ta (RD-D)
tdis (IOCS-D)
tdis (MCS-D)
tdis (RD-D)
tpHL (MCS-WAIT)
tpHL (WR-WAIT)
tpHL (RD-WAIT)
tpLH (CLK-WAIT)
tpd (OSC-CP)
tpLH (OSC-LP)
tpHL (OSC-LP)
ta (UD)
tpLH (OSC-FLM)
tpHL (OSC-FLM)
tpd (OSC-M)
tpLH (OSC-LE)
tpHL (OSC-LE)
tpd (D-WAIT)
Min
—
Typ
—
Max
70
Unit
ns
—
—
20
ns
—
—
40
ns
—
—
—
—
—
—
20
40
40
ns
ns
ns
—
—
—
—
40
40
ns
ns
—
—
—
—
40
40
ns
ns
0
—
—
ns
Timing Requirements
(VDD = 5 V ± 10%, Ta = 0 to +70°C)
(1) Accessing to Control Register
Item
IOCS pulse width
LWR pulse width
Data set up time before falling edge of IOCS
Data set up time before falling edge of LWR
Data hold time after rising edge of IOCS
Date hold time after rising edge of LWR
Address set up time before falling edge of IOCS
Address set up time before falling edge of LWR
Address set up time before falling edge of RD
Address hold time after rising edge of IOCS
Address hold time after rising edge of LWR
Address hold time after rising edge of RD
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 6 of 27
Symbol
tW (IOCS)
tW (LWR)
tsu (D-IOCS)
tsu (D-LWR)
th (IOCS-D)
th (LWR-D)
tsu (A-IOCS)
tsu (A-LWR)
tsu (A-RD)
th (IOCS-A)
th (LWR-A)
th (RD-A)
Min
70
Typ
—
Max
—
Unit
ns
0
—
—
ns
15
—
—
ns
15
—
—
ns
15
—
—
ns
M66271FP
(2) Accessing to VRAM
Item
Symbol
MCS pulse width
WR pulse width
Data set up time before falling edge of MCS
Data set up time before falling edge of WR
Data hold time after rising edge of MCS
Data hold time after rising edge of WR
Address set up time before falling edge of MCS
Address set up time before falling edge of WR
Address set up time before falling edge of RD
Address hold time after rising edge of MCS
Address hold time after rising edge of WR
Address hold time after rising edge of RD
tW (MCS)
tW (WR)
tsu (D-MCS)
tsu (D-WR)
th (MCS-D)
th (WR-D)
tsu (A-MCS)
tsu (A-WR)
tsu (A-RD)
th (MCS-A)
th (WR-A)
th (RD-A)
Min
70
Typ
—
Max
—
Unit
ns
0
—
—
ns
15
—
—
ns
15
—
—
ns
15
—
—
ns
Max
—
—
Unit
ns
ns
—
—
ns
ns
tC (OSC)
(1/n)
tC (OSC)
2 • (1/n)
—
ns
—
ns
2 • tC (OSC) • LPW
(1/n)
—
ns
(3) Clock and Accessing to LCD Display
Item
MPUCLK cycle time
MPUCLK "H" pulse width
MPUCLK "L" pulse width
OSC cycle time
OSC "H'' pulse width
OSC "L" pulse width
CP cycle time
Symbol
tC (CLK)
tWH (CLK)
tWL (CLK)
tC (OSC)
tWH (OSC)
tWL (OSC)
tC (CP)
CP "H" pulse width
CP "L" pulse width
FLM pulse width
tWH (CP)
tWL (CP)
tW (FLM)
Note:
Min
50
—
Typ
—
tC (CLK)
2
—
50*
—
tC (OSC)
2
—
—
—
Clock frequency of OSC1 input is less than fmax = 20 MHz.
Limit of OSC clock for the internal operation is fmax = 10 MHz.
When OSC1 is more than 10 MHz from external input, set OSC clock up to 10 MHz by using division of OSCC
register.
Division is set with rising edge of OSC1 input.
1/n = Division of OSC1
LPW = Setting value of LPW register
Test Circuit
VDD
Input
VDD
Item
RL = 1 k
SW1
D <15:0>
SW2
DUT
P.G
tdis (LZ)
tdis (HZ)
ta (ZL)
ta (ZH)
SW1
SW2
Closed
Open
Closed
Open
Open
Closed
Open
Closed
(1) Input pulse level: 0 to 3 V
CL
RL = 1 k
Input pulse rise/fall time: tr, tf = 3 ns
Input decision voltage: 1.5 V
50
VSS
CL
Outputs
except for
D <15:0>
Output decision voltage: VDD/2
(However, tdis (LZ) is 10% of output amplitude and tdis
(HZ)
is 90% of that for decision.)
(2) Load capacity CL include float capacity of
connection and input capacity of probe.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 7 of 27
M66271FP
Outline
M66271FP is graphic display only controller for displaying a dot matrix type LCD. This IC has a built-in display data
memory (VRAM) which is equivalent to 320 × 240 dots LCD.
• Control register
When access the control register from MPU side, use IOCS, LWR, RD, A <4:0> and D <7:0>. Refer to table 1,
when set control type inputs.
Control registers are R1 to R8 for the normal mode function and R9 to R11 for the exclusive register for the LCD
module built-in system.
• VRAM
When access VRAM from MPU side, use MCS, HWR, LWR, RD, BHE, A <13:0> and D <15:0>. And enable to
correspond to both 8-bit and 16-bit MPU by using MPUSEL input. Refer to figure 1 and table 2 to 6 for a form of
VRAM and input setting for 8/16-bit MPU.
• Cycle steal system
Cycle steal is interact method of transferring display data for LCD from VRAM and accessing VRAM from MPU
on the basic cycle of OSC.
Basic timing is two clocks of OSC, and assign first clock to the access from MPU to VRAM and second clock to the
transfer of display data from VRAM to LCD.
In accessing VRAM from MPU, output WAIT. Change WAIT to "L" at the timing of the falling edge of
overlapping with MCS and (RD or LWR/HWR). And return to "H" at synchronizing with rising edge of MPUCLK
after internal processing.
Cycle steal system can transfer data with more efficient. This function access with the cycle steal method as taking
WAIT for MPU during the display term with necessity for the display data transfer from built-in VRAM to LCD.
On other side, don't output WAIT for keeping throughput of MPU during horizontal synchronous term with no
necessity for the display data transfer from VRAM to LCD side.
Refer to the following description of cycle steal.
• Output to LCD side
LCD display data UD <3:0> output synchronized with the rising edge of CP output per 4 bits.
LP output synchronized with the falling edge of OSC when finish the transfer of display data for a line.
Enable to adjust the fittest value of the frame frequency requested by the LCD PANEL side with adjusting pulse
width by LPW register.
FLM output, when finish the transfer of display data of 1st line.
M output is the LCD alternating signal which is signal for driving LCD by alternating current.
M-cycle enable to set variably by M-cycle variable register in line unit, and enable to utilize for preventing LCD
from being inferior.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 8 of 27
M66271FP
Difference in VRAM between 8-bit and 16-bit MPU
(1) When accessing built-in VRAM by 8-bit MPU
(MPUSEL = "L", BHE = "H", HWR = "H": set)
A <13:0>
A <13:0>
MCS
CEC
LWR
WEC
D <7:0>
VRAM
9600-byte
DI <7:0>
DO <7:0>
RD
(2) When accessing built-in VRAM by 16-bit MPU
(2-1) In case MPU use A <0> and BHE for byte access
(MPUSEL = "H", HWR = "H": set)
A <13:1>
A <0>
MCS
LWR
D <7:0>
BHE
A <13:1>
A <13:1>
A <0>
VRAM
CEC
WEC
(2-2) In case MPU use LWR and HWR for byte access
(MPUSEL = "H", BHE = "H", A <0> = "H": set)
4800-byte
(Lower byte)
MCS
LWR
D <7:0>
DI <7:0>
VRAM
CEC
WEC
4800-byte
(Lower byte)
DI <7:0>
DO <7:0>
DO <7:0>
A <13:1>
A <13:1>
A <0>
VRAM
VRAM
CEC
CEC
4800-byte
WEC
D <15:8>
A <13:1>
(Upper byte)
DI <15:8>
HWR
D <15:8>
DO <15:8>
RD
DI <15:8>
DO <15:8>
RD
Figure 1 Difference in VRAM between 8-bit and 16-bit MPU
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 9 of 27
4800-byte
WEC
(Upper byte)
M66271FP
Combination of Control Input Pins for MPU Interface
Table 1 to 6 show conditions of input setting when access the control register and VRAM from MPU.
(1) Access control register (Use address = A <4:0>, Data = D <7:0>)
Table 1
IOCS
L
L
H
LWR
L
H
X
RD
H
L
X
Operation
Write to control register
Read from control register
Invalid
(2) Writing to VRAM
(2-1) When use 8-bit MPU (MPUSEL = "L", BHE = HWR = "H": set)
Table 2
MPU
SEL
L
MCS
L
BHE
H
H
A <0>
L
H
X
X
HWR
H
LWR
L
H
X
Odd
Address
Invalid
Write
Invalid
Even
Address
Write
Invalid
Invalid
Valid Data Bus
Width of MPU
8-bit
(2-2) When use 16-bit MPU (In MPU controls byte access with A <0> and BHE, MPUSEL = HWR = "H": set)
Table 3
MPU
SEL
H
MCS
L
BHE
L
A <0>
L
HWR
H
H
H
L
H
H
X
X
LWR
L
H
L
H
L
H
L
H
X
Upper
Byte
Write
Invalid
Write
Invalid
Invalid
Invalid
Invalid
Invalid
Lower
Byte
Write
Invalid
Invalid
Invalid
Write
Invalid
Write
Invalid
Valid Data Bus
Width of MPU
16-bit
Upper 8-bit
Lower 8-bit
Lower 8-bit
← Even if
A <0> = "H",
enable to write
(2-3) When use 16-bit MPU
(In MPU controls byte access with LWR and HWR, MPUSEL = BHE = A <0> = "H": set)
Table 4
MPU
SEL
H
MCS
L
BHE
H
A <0>
H
HWR
L
H
H
X
LWR
L
H
L
H
X
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 10 of 27
Upper
Byte
Write
Write
Invalid
Invalid
Lower
Byte
Write
Invalid
Write
Invalid
Valid Data Bus
Width of MPU
16-bit
Upper 8-bit
Lower 8-bit
M66271FP
(3) Reading from VRAM
(3-1) When use 8-bit MPU (MPUSEL = "L", BHE = "H": set)
Table 5
MPU
SEL
L
MCS
L
BHE
H
A <0>
L
H
X
RD
L
H
X
H
Odd
Address
Invalid
Read
Invalid
Even
Address
Read
Invalid
Invalid
Valid Data Bus
Width of MPU
8-bit
Lower
Byte
Read
Invalid
Valid Data Bus
Width of MPU
16-bit
(3-2) When use 16-bit MPU (MPUSEL = ''H": set)
Table 6
MPU
SEL
H
MCS
L
H
Note:
BHE
X
A <0>
X
RD
L
H
X
Upper
Byte
Read
Invalid
Avoid setting combination except above, as cause of error action.
X = "L" or "H''
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 11 of 27
M66271FP
Description of Cycle Steal
Basic Timing
Basic timing of M66271FP is two clocks of OSC (internal clock after dividing OSC1 input).
Assign first clock to accessing from MPU to VRAM and second clock to transferring of display data from VRAM to
LCD.
Access
from MPU
to VRAM
Data transfer
from VRAM
to LCD
MPU
LCD
OSC
(Internal clock after
dividing OSC1 input)
CP output
(Display data transfer)
Basic cycle
Figure 2 Basic Timing
Operation Cycle of MPU Access (During WAIT Output)
Writing or reading operation for VRAM during cycle steal needs 1 cycle in best case or 3 cycles in worst case,
according to the condition of the internal cycle steal at staring access requested from MPU.
Ex.) Assuming that MCS input is later than RD, LWR and HWR input.
Best case
Cycle of
LCD access
Cycle of
MPU access
Cycle of
LCD access
Cycle of
MPU access
Cycle of
LCD access
MCS
WAIT
Cancel WAIT, when synchronize
with rising edge of MPUCLK
MPUCLK
Worst case
MCS
WAIT
Cancel WAIT, when synchronize
with rising edge of MPUCLK
MPUCLK
Figure 3 Operation Cycle of MPU Access
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 12 of 27
M66271FP
Function of Cycle Steal Control
M66271FP has a function for processing data of a line with more efficient. This function access with the cycle steal
method as taking WAIT for MPU during the display term with necessity for the display data transfer from built-in
VRAM to LCD.
On other side, don't output WAIT for keeping throughput of MPU during the horizontal synchronous term with no
necessity for the display data transfer from VRAM to LCD side.
But certainly set a term of accessing with the cycle steal method by CSW register, for controlling an error action near
the end of horizontal synchronous term.
Ex.) Assuming 320 × 240 dots LCD
1 Line
Output when finish transfer
of display data with a line
LP
1
2
3
78
79
1
80
Output every transfer of
a display data
CP
UD <3:0>
4-bit transfer
Setting by CR register
Setting by LPW register
Displaying term (Cycle steal method)
(Necessity for data transfer from VRAM to LCD side)
Horizontal synchronous term
(No necessity for data transfer from VRAM to LCD side)
CSE
(Internal signal)
Setting by CSW register
Start WAIT for MPU according to
cycle steal access
Access with bus timing of MPU
without WAIT for MPU.
Start WAIT for MPU in timing of CSE "H"
according to bus timing of MPU
Figure 4 Function of Cycle Steal Control
Handling of Oscillator Pin
<2> Input from external clock directly
<1> Crystal oscillator
Crystal oscillator
Clock
generator
OSC1
C1
Rf
M66271FP
OSC2
C2
OSC1
Open
Rd
Note: As far as possible, connect C, R and the crystal oscillator at near the pin.
Figure 5 Oscillator Pin
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 13 of 27
M66271FP
OSC2
M66271FP
Additional Function for LCD Module Built-in System
As all of the VRAM address in M66271FP are externally opened for addressing VRAM from MPU directly.
When consider the LCD module built-in system, connect pins are increased.
But M66271FP has an additional function for the LCD module built-in system by lessening connect pins.
Outline of the additional function for the LCD module built-in system.
• Interface pins with MPU
15 kinds of interface with MPU: A <4:1>, D <7:0>, IOCS, LWR, RD
• Method of accessing the internal VRAM
Access the internal VRAM through the VRAM address index register (IDXL, IDXH) and the data port register (DP)
which are used for I/O register.
The following show the process of accessing VRAM.
Setting to MPUSEL, BHE = "L"
No use pins set the following.
HWR = "H", MCS = "H", WAIT = open, MPUCLK = "L", MPUSEL = "L",
BHE = "L", A <0> = "L", A <13:5> = "L", D <15:8> = "L",
RESET = Power on reset or soft ware reset.
(In case of soft ware reset RESET = "H": set)
Select VRAM address index register (IDXL,
IDXH), and write access address (14-bit) as
data.
Enable to change IDXL and IDXH, even if either.
Access the DP after writing the mode register (DISP (R1 − D2)) = "0".
Always enable to access (CSES register = "0"), because the display
signal fix "H" or "L" in DISP = "0" and a term is no wait access.
Access DP without WAIT function.
VRAM address is automatically increased of +1, when finished
access to DP.
When access to continuous address, it doesn't need to set IDXL
and IDXH.
Select Data port register (DP).
Reading/Writing data for appointed
VRAM address.
VRAM address is increased of +1.
Application
LCD side
MPU side
Common
driver
A <4:1>
D <7:0>
IOCS
LWR
Graphic LCD PANEL
M66271FP
RD
Segment driver
Crystal
Oscillator
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 14 of 27
Note: LCD module of small size for only graphics
M66271FP
Control Register
M66271FP has 9 kinds of control register.
To set mode from MPU to control register, use IOCS, LWR, RD, A <4:0> and D <7:0>.
(1) Kind of control register
Control Register Table
Kind of Register
No.
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
Name
Mode
register
Address
A4
0
A3
0
A2
0
Data
A1
0
0
D7
CSES
D6
RESET
D5
D4
D3
←– OSCC –→
D2
DISP
D1
REV
D0
LCDE
Functions of Register
R/W
D6 to D0 set the basic mode.
D7 is the status register of
cycle steal state.
R/W
Set the number of horizontal
display characters per line.
W
D7 = Only "R"
Horizontal
display
character
number
register
0
0
0
1
0
←––––––––– CR ––––––––––––→
Horizontal
synchronous
pulse width
register
0
1
0
0
←–––––––––––––– LPW –––––––––––––––––→
Set the pulse width of LP per
line.
W
0
Cycle steal
enable width
register
0
1
1
Set the term of cycle steal
0 ←–––––––––––––– CSW ––––––––––––––––→ enable access during
horizontal synchronous term.
W
0
Vertical line
number
register
1
0
0
Set the number of display line
0 ←––––––––––––––– SLT ––––––––––––––––––→ of vertical direction.
W
0
Display start
address
register
1
0
1
0
1
1
0
Set the display start address
0 ←––––––––––––––– SAL ––––––––––––––––→ of VRAM.
Set lower 8-bit to SAL and
0
←–––––––––– SAH –––––––––––→ upper 6-bit to SAH.
Max = 257FH
R/W
0
1
1
1
Set the cycle of LCD
0 ←–––––––––––––––– MT –––––––––––––––––→ alternating signal from M.
W
0
0
0
0
1
0
0
1
1
0
1
0
Data port register for
0 ←–––––––––––––––– DP –––––––––––––––––→ accessing VRAM through the
register.
Set the address for accessing
0 ←–––––––––––––––– IDXL ––––––––––––––––→ VRAM.
Set lower 8-bit to IDXL and
upper 6-bit to IDXH.
Max = 257FH
0
←––––––––– IDXH –––––––––––→ And automatically increase in
continuous address.
R/W
1
M cycle
variable
register
Data port
register
VRAM
address
index
register
R11
Note:
A0
R/W
Data port register (DP) and VRAM address index register (IDXL, IDXH) are exclusive register, when using this IC
for the LCD module built-in system.
When RESET, each register is initialize the setting which is assumed LCD size of 320 × 240 dots.
Then, even if each register has not setting, output the signal to LCD side, it is possible to be alternation of LCD.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 15 of 27
M66271FP
(2) Description of register
(2-1) Mode register [R1]
Address
00000
R/W
Function
•
R/W
D7 = Only "R"
D7
0
No wait access
1
Cycle steal access
•
•
RESET
•
•
0
Reset OFF
1
Reset ON
0
cycle steal function.
CSES
D6
Status register for identifying active or inactive in
Reset
•
Set "1" during active with cycle steal function.
CSES is for only reading, not for writing.
Software reset.
0
Surely return to reset off after reset on.
Set the division of OSC clock for internal operation
000
from OSC1 input pin.
OSCC
Division of OSC1
D5
D4
D3
0
0
0
1
0
0
1
1/2 Division
0
1
0
1/4 Division
0
1
1
1/8 Division
1
0
0
1/16 Division
DISP
0
Display OFF
1
Display ON
•
•
•
•
Don't set except left table.
Control the displaying ON/OFF of LCD.
0
Normal display
1
Reversal display
LCDE
0
LCDENB = "0" output
1
LCDENB = "1" output
When reset, DISP = 0, set display OFF.
REV (D1) set "1", and when DISP = "0" display data
•
•
•
Control normal/reversal of LCD display.
0
When reset, REV = 0, set normal display.
In using LCD of permeation method, REV = "1" has
effect.
•
•
Set the output data from LCDENB output pin.
When reset, LCDE = 0, LCDENB output "0" (Vss
potential).
•
This function is prepared for controlling the voltage
of LCD.
When the power supply is ON after finish each
register setting, LCDE = "1", supply voltage of LCD.
Conversely for setting power supply OFF, first LCDE
= "0", the voltage of LCD is OFF. Therefore enable
to prevent LCD from being unusual voltage as DC.
This function use for satisfy the need of LCD.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 16 of 27
0
UD <3:0> output "1" in reversal mode.
REV
D0
When reset, OSCC = 000, OSC1 clock doesn't
divide.
D2
D1
•
0
M66271FP
(2-2) Horizontal display characters number register [R2]
Address
R/W
00010
W
Function
Reset
28H
CR
D7
D6
D5
D4
D3
D2
D1
D0
Character Number
Display Dot Number
0
0
0
0
0
0
—
—
0
0
0
0
0
1
1
8
0
0
0
0
1
0
2
16
↓
↓
1
1
1
1
1
1
63
504
↓
•
•
Note:
The number of horizontal display characters per line can set to the extent of Max = 504 dots (= 63
characters)
When reset, CR = "28H" (= 40 characters = 320 dots)
Definition of the number of display characters.
The number of display characters means data which is corresponding with 1 byte of VRAM.
In case of binary, 1 bit of VRAM corresponds to 1 dot of display, then 1 character means 8 dots of display.
(2-3) Horizontal synchronous pulse width register [R3]
Address
R/W
00100
W
Function
Reset
01H
LPW
D7
D6
D5
D4
D3
D2
D1
D0
Character Number
0
0
0
0
0
0
0
0
—
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
2
1
1
1
1
1
1
1
1
255
↓
•
↓
Set the length of horizontal synchronous pulse width which appeared per line in character unit.
Horizontal synchronous pulse output from LP output pin, and use for changing serial/parallel of
displaying data.
Adjusting this pulse width is possible to set frame frequency the fittest value.
And the actual LP output pulse is (LPW setting value – 1CP) in consideration of timing with CP output.
•
When reset, LPW = "01H" (= 1 character)
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 17 of 27
M66271FP
(2-4) Cycle steal enable width register [R4]
Address
R/W
00110
W
Function
Reset
00H
CSW
D7
D6
D5
D4
D3
D2
D1
D0
Character Number
0
0
0
0
0
0
0
0
—
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
2
1
1
1
1
1
1
1
1
255
↓
•
↓
During the horizontal synchronous term, set term of access by cycle steal method in character number
unit.
Setting value of CSW sets below LPW value.
•
When reset, CSW = "00H"
Note:
Be careful with first and second byte of display data UD <3:0> output indefinite data
when setting value of CSW is still reset (00H).
Surely CSW set over 01H.
(When select 8-bit MPU, 1 byte is indefinite.
When 16-bit and SAL: D <0> = 0, 2 byte are indefinite.
When 16-bit and SAL: D <0> = 1, 1 byte is indefinite.)
(2-5) Vertical line number register [R5]
Address
R/W
01000
W
Function
Reset
F0H
SLT
D7
D6
D5
D4
D3
D2
D1
D0
Vertical Line Number
0
0
0
0
0
0
0
0
—
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
2
1
1
1
1
1
1
1
1
255
↓
•
•
•
↓
SLT combine the setting of display driving duty of LCD.
Setting of SLT is sure to adjust to the number of display line of LCD.
When reset, SLT = "F0H" (= 240 lines).
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 18 of 27
M66271FP
(2-6)
Display start address register [R6, R7]
Address
R/W
01010
R/W
Function
Reset
0000H
SAL
SAH
D7
D6
SAL
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0000H
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0001H
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0002H
1
1
1
1
257FH
1
01100
SAH
Address
D5
↓
•
•
•
•
•
Display Start
0
0
↓
1
0
1
0
1
1
1
↓
D6 and D7 output "0" when read SAH.
It is possible to set display start address to the extent of 257FH (= 9600 address).
Don't set over 2580H.
When reset, SAL and SAH = "0000H"
Display start address is established by the writing data to SAH register. Even if only change SAL,
surely set SAH after SAL.
•
When select 8-bit MPU, start address set in SAL <D7 to D0> + SAH <D5 to D0>.
When select 16-bit MPU, start address set in SAL <D7 to D1>+ SAH <D5 to D0>.
•
Even it selecting 16-bit MPU, enable to set display start address in character unit.
In case the display reading data from VRAM start at D <15:12>, set SAL <D0> = "0", and if start at D
<7:4>, set SAL <D0> = "1". (Refer to figure 8)
(2-7) M cycle variable register [R8]
Address
R/W
01110
W
Function
Reset
00H
MT
Cycle of M
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
Toggle change at every 1 line (1LP).
0
0
0
0
0
0
1
0
Toggle change at every 2 lines.
1
1
1
1
1
1
1
1
Toggle change at every 255 lines.
Toggle change at every 1 frame.
↓
•
•
•
↓
Set the cycle of M. In case of MT = 01H, M repeat reversal (toggle) at every 1 line (at every 1 count of
LP).
When reset, MT = "00H", toggle M signal at every 1 frame.
We recommend this register set suitable value for user's LCD.
(2-8) Data port register [R9]
Address
R/W
10000
R/W
Function
Reset
XXH
(indefinite)
DP
D7
•
D6
D5
D4
D3
D2
D1
D0
Data Port (8-bit)
Exclusive data port register for the LCD module built-in system.
Reading or writing 8-bit data between MPU and VRAM through this register.
•
•
VRAM address index register (IDXL, IDXH) is increased of +1, when finished access to DP.
Output indefinite data when reset.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 19 of 27
M66271FP
(2-9) VRAM address index register [R10, R11]
Address
R/W
10010
R/W
Function
Reset
0000H
IDXL
IDXH
D7
D6
IDXL
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
VRAM Address
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0000H
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0001H
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0002H
1
0
0
1
0
1
0
1
1
1
1
1
1
1
257FH
↓
10100
•
•
IDXH
Accessing
↓
↓
Exclusive VRAM address index register for the LCD module built-in system.
It is possible to change the register only one side, because IDXH and IDXL are independent each
other.
•
•
•
•
It is possible to set VRAM access address to the extent of 257FH (= 9600 address).
Don't set address over 2580H.
D6 and D7 output "0" when read IDXH
When reset, IDXL and IDXH = "0000H".
Description of LCD Display
Relation between Setting of Control Register and LCD Displaying
1 horizontal line
CR
LPW
CSW
Expectant
LCD PANEL
Condition of control register
(CR × 8) × SLT ≤ 76800 dots
SLT
1 horizontal line
CR
Character number of horizontal display
× Vertical line number SLT
LPW
Horizontal synchronous pulse width
OSC
1
2
3
n−2
n−1
1
n
2
CP
UD <3:0>
Data is indefinite
1 Character number = 8 dots display
LP
(1) Time for processing a horizontal line (TH)
2
TH =
× (CR + LPW)
fosc
(2) Time for processing a frame (TFR)
TFR = TH × SLT
CR, LPW, CSW: Unit of character number
SLT: Unit of line number
fosc: Internal OSC clock frequency
after dividing OSC1 input
By adjusting LPW, it is possible to set a frame frequency
which is requested from LCD PANEL the fittest value.
Figure 6 Relation between Setting of Control Register and LCD Displaying
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 20 of 27
M66271FP
Relation between Address of VRAM and LCD Display
ex. 1) When display start address = 0000H
0000H
VRAM address mapping on the LCD PANEL
0001H
0000H 0001H
VRAM
9600-byte
LCD
PANEL
257EH 257FH
SLT line
257EH 257FH
CR 8 dots
ex. 2) When display start address = 1000H
0000H 0001H
1000H 1001H
LCD
PANEL
VRAM
9600-byte
1000H 1001H
257EH 257FH 0000H 0001H
257EH 257FH
Remark) VRAM address counter return to "0000H",
after count up address to "257FH".
Figure 7 Relation between Address of VRAM and LCD Display
Relation between VRAM Data, LCD Display and Display Start Address Register
(1) When select 8-bit MPU
UD3
UD2
UD1
UD0
UD3
UD2
UD1
UD0
D7
D6
D5
D4
D3
D2
D1
D0
1
0
1
0
0
1
0
1
LCD display data
Data of one address for VRAM
LCD PANEL
(2) When select 16-bit MPU (SAL: D0 = "0")
UD3
UD2
UD1
UD0
UD3
UD2
UD1
UD0
UD3
UD2
UD1
UD0
UD3
UD2
UD1
UD0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
1
0
1
0
0
1
0
1
0
0
0
0
1
1
1
1
LCD display data
Data of one address for VRAM
LCD PANEL
(3) When select 16-bit MPU (SAL: D0 = "1")
Invalid display data
UD3
UD2
UD1
UD0
UD3
UD2
UD1
UD0
D15
D14
D13
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
1
0
1
0
0
1
0
1
0
0
0
0
1
1
1
1
LCD display data
Data of one address for VRAM
LCD PANEL
• Only upper byte data of the display start address is invalid data (cut off data).
• Output the display data normally from next address of the display start address.
Figure 8 Relation between VRAM Data, LCD Display and Display Start Address Register
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 21 of 27
M66271FP
Output Signal of LCD Side
Ex.) Assuming 320 × 240 dots LCD
(In setting of CR = 40 characters, LPW = 2 characters, SLT = 240 lines, OSCC = 1 division, MT = 1 toggle per line)
(1) Output signal per line
OSC1
Division of OSC1 = 1
80
79
2
1
1
80
2
CP
Output every display data transfer
UD <3:0>
4-bit parallel output
Output when finish the transfer of
one line of display data.
LP
(2) Output signal per frame
239
240
239
1
240
1
LP
Output at finishing the transfer of
first line display data.
FLM
Cycle of reversing output of M is
able to be set by MT register.
M
(3) LCDENB output signal
OSC1
LCDENB
(4) Reset-1st line of 1st frame
RESET
OSC1
LCDENB
LP
FLM
"L"
M
1
2
3
4
5
6
CP
1st line of 1st frame
(5) 1st line-2nd line
OSC1
LP
FLM
M
76
77
78
79
80
1
2
3
4
5
6
7
8
CP
1st line
2nd line
(6) 240th line of 1st frame-1st line of 2nd frame
OSC1
LP
FLM
"L"
M
76
77
78
79
80
1
2
3
4
5
CP
240th line of 1st frame
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 22 of 27
1st line of 2nd frame
6
7
8
M66271FP
Timing Diagram
(1) Write to Control Register (RD = "H")
Without WAIT
tw (IOCS)
IOCS
tw (LWR)
LWR
WAIT
"H"
tsu (D-IOCS)
th (IOCS-D)
th (LWR-D)
tsu (D-LWR)
D <7:0>
Data input is established
th (IOCS-A)
tsu (A-IOCS)
tsu (A-LWR)
th (LWR-A)
A <4:0>
Address is established
(2) Read from Control Register (LWR = "H")
Without WAIT
IOCS
RD
"H"
WAIT
tdis (IOCS-D)
ta (IOCS-D)
tdis (RD-D)
ta (RD-D)
D <7:0>
Data output is established
th (IOCS-A)
tsu (A-IOCS)
tsu (A-RD)
A <4:0>
th (RD-A)
Address is established
Note: 1. Writing/Reading operation for the control register is performed during overlapping IOCS and (LWR or RD).
Limits of IOCS, LWR and RD are prescribed by the input signal of last change to "L" in starting access, and
by the input signal of first change to "H" in ending access.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 23 of 27
M66271FP
(3) Write to VRAM (RD = "H")
Term of non cycle steal access
tw (MCS)
MCS
tw (WR)
LWR
(+HWR)
WAIT
"H"
th (MCS-D)
tsu (D-MCS)
tsu (D-WR)
D <7:0>
(D <15:0>)
th (WR-D)
Data input is established
th (MCS-A)
tsu (A-MCS)
tsu (A-WR)
th (WR-A)
A <13:0>
(+BHE)
Address is established
(4) Read from VRAM (LWR, HWR = "H")
Term of non cycle steal access
MCS
RD
"H"
WAIT
tdis (MCS-D)
ta (MCS-D)
tdis (RD-D)
ta (RD-D)
D <7:0>
(D <15:0>)
Data output is established
tsu (A-MCS)
th (MCS-A)
tsu (A-RD)
A <13:0>
th (RD-A)
Address is established
Note: 2. Writing/Reading operation for VRAM during non cycle steal access is performed during overlapping MCS
and [LWR (+HWR) or RD].
Limits of MCS, LWR (+HWR) and RD are prescribed by the input signal of last change to "L" in starting
access, and by the input signal of first change to "H" in ending access.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 24 of 27
M66271FP
(5) Write to VRAM (RD = "H")
Term of cycle steal access
tC (CLK)
tWH (CLK)
tWL (CLK)
MPUCLK
tw (MCS)
MCS
tw (WR)
LWR
(+HWR)
WAIT
tpLH (CLK-WAIT)
tpHL (MCS-WAIT)
tsu (D-MCS)
th (MCS-D)
tpHL (WR-WAIT)
tsu (D-WR)
D <7:0>
(D <15:0>)
th (WR-D)
Data input is established
th (MCS-A)
tsu (A-MCS)
tsu (A-WR)
th (WR-A)
A <13:0>
(+BHE)
Address is established
(6) Read from VRAM (LWR, HWR = "H")
Term of cycle steal access
tC (CLK)
tWH (CLK)
tWL (CLK)
MPUCLK
MCS
RD
WAIT
tpLH (CLK-WAIT)
tpHL (MCS-WAIT)
tpHL (RD-WAIT)
ta (MCS-D)
ta (RD-D)
D <7:0>
(D <15:0>)
tdis (MCS-D)
tpd (D-WAIT)
tdis (RD-D)
Data output is established
tsu (A-MCS)
th (MCS-A)
tsu (A-RD)
A <13:0>
th (RD-A)
Address is established
Notes: 3. Reading/writing operation for VRAM during cycle steal needs 1 tc (Internal) in best case or 3 tc (Internal) in
worst case, according to the condition of the internal cycle steal at starting access requested from MPU.
tc (Internal) = Clock cycle time after setting division of OSC1.
Data output D in reading is established before changing WAIT to "H".
4. Limits of MCS, LWR (+HWR) and RD are prescribed by the input signal of last change to "L" in starting
access, and by the input signal of first change to "H" in ending access.
5. Always once return MCS, LWR (+HWR) or RD to "H" after canceling WAIT output.
In case of latching "L", as don't output next WAIT, this is cause of error action.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 25 of 27
M66271FP
(7) Interface Timing with LCD (OSCC = 1 division: set)
(When OSCC = 1 division, OSC clock for internal operation = OSC1 input.)
1. Transfer of LCD display data
tC (OSC)
tWH (OSC)
tWL (OSC)
OSC1
tpd (OSC-CP)
tWH (CP)
tC (CP)
tWL (CP)
CP
tpLH (OSC-LP)
tpHL (OSC-LP)
LP
ta (UD)
Data is indefinite
UD <3:0>
2. LCD control signal
OSC1
CP
LP
tpHL (OSC-FLM)
tpLH (OSC-FLM)
FLM
tW (FLM)
tpd (OSC-M)
M
tpLH (OSC-LE)
tpHL (OSC-LE)
LCDENB
Note: 6. Output signal to LCD side is synchronized with OSC clock for internal operation.
When division is set to 1/2 to 1/16 by OSCC register, switching characteristics is defined by rising edge of
OSC1.
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 26 of 27
M66271FP
Package Dimensions
JEITA Package Code
P-QFP80-14x20-0.80
RENESAS Code
PRQP0080GB-A
Previous Code
80P6N-A
MASS[Typ.]
1.6g
HD
*1
D
64
41
65
HE
NOTE)
1. DIMENSIONS "*1" AND "*2"
DO NOT INCLUDE MOLD FLASH.
2. DIMENSION "*3" DOES NOT
INCLUDE TRIM OFFSET.
ZE
*2
E
40
Reference
Symbol
80
25
1
ZD
24
D
E
A2
HD
HE
A
A1
bp
c
c
Index mark
A
A2
F
*3
y
bp
L
A1
e
Detail F
REJ03F0267-0200 Rev.2.00 Mar 18, 2008
Page 27 of 27
e
y
ZD
ZE
L
Dimension in Millimeters
Min Nom Max
19.8 20.0 20.2
13.8 14.0 14.2
2.8
22.5 22.8 23.1
16.5 16.8 17.1
3.05
0.1 0.2
0
0.3 0.35 0.45
0.13 0.15 0.2
0°
10°
0.65 0.8 0.95
0.10
0.8
1.0
0.4 0.6 0.8
Sales Strategic Planning Div.
Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan
Notes:
1. This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes
warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property
rights or any other rights of Renesas or any third party with respect to the information in this document.
2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use of any information in this document, including,
but not limited to, product data, diagrams, charts, programs, algorithms, and application circuit examples.
3. You should not use the products or the technology described in this document for the purpose of military applications such as the development of weapons of mass
destruction or for the purpose of any other military use. When exporting the products or technology described herein, you should follow the applicable export control laws
and regulations, and procedures required by such laws and regulations.
4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and application circuit examples, is current as of the date this
document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas products listed in this document,
please confirm the latest product information with a Renesas sales office. Also, please pay regular and careful attention to additional and different information to be
disclosed by Renesas such as that disclosed through our website. (http://www.renesas.com )
5. Renesas has used reasonable care in compiling the information included in this document, but Renesas assumes no liability whatsoever for any damages incurred as a
result of errors or omissions in the information included in this document.
6. When using or otherwise relying on the information in this document, you should evaluate the information in light of the total system before deciding about the applicability
of such information to the intended application. Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any particular
application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products.
7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas products are not designed, manufactured or tested for applications
or otherwise in systems the failure or malfunction of which may cause a direct threat to human life or create a risk of human injury or which require especially high quality
and reliability such as safety systems, or equipment or systems for transportation and traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or
undersea communication transmission. If you are considering the use of our products for such purposes, please contact a Renesas sales office beforehand. Renesas shall
have no liability for damages arising out of the uses set forth above.
8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below:
(1) artificial life support devices or systems
(2) surgical implantations
(3) healthcare intervention (e.g., excision, administration of medication, etc.)
(4) any other purposes that pose a direct threat to human life
Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing
applications shall indemnify and hold harmless Renesas Technology Corp., its affiliated companies and their officers, directors, and employees against any and all
damages arising out of such applications.
9. You should use the products described herein within the range specified by Renesas, especially with respect to the maximum rating, operating supply voltage range,
movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or damages
arising out of the use of Renesas products beyond such specified ranges.
10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific characteristics such as the occurrence of failure at a certain
rate and malfunctions under certain use conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and injury or damage
caused by fire in the event of the failure of a Renesas product, such as safety design for hardware and software including but not limited to redundancy, fire control and
malfunction prevention, appropriate treatment for aging degradation or any other applicable measures. Among others, since the evaluation of microcomputer software
alone is very difficult, please evaluate the safety of the final products or system manufactured by you.
11. In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed, the risk of accident such as
swallowing by infants and small children is very high. You should implement safety measures so that Renesas products may not be easily detached from your products.
Renesas shall have no liability for damages arising out of such detachment.
12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written approval from Renesas.
13. Please contact a Renesas sales office if you have any questions regarding the information contained in this document, Renesas semiconductor products, or if you have
any other inquiries.
http://www.renesas.com
RENESAS SALES OFFICES
Refer to "http://www.renesas.com/en/network" for the latest and detailed information.
Renesas Technology America, Inc.
450 Holger Way, San Jose, CA 95134-1368, U.S.A
Tel: <1> (408) 382-7500, Fax: <1> (408) 382-7501
Renesas Technology Europe Limited
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K.
Tel: <44> (1628) 585-100, Fax: <44> (1628) 585-900
Renesas Technology (Shanghai) Co., Ltd.
Unit 204, 205, AZIACenter, No.1233 Lujiazui Ring Rd, Pudong District, Shanghai, China 200120
Tel: <86> (21) 5877-1818, Fax: <86> (21) 6887-7858/7898
Renesas Technology Hong Kong Ltd.
7th Floor, North Tower, World Finance Centre, Harbour City, Canton Road, Tsimshatsui, Kowloon, Hong Kong
Tel: <852> 2265-6688, Fax: <852> 2377-3473
Renesas Technology Taiwan Co., Ltd.
10th Floor, No.99, Fushing North Road, Taipei, Taiwan
Tel: <886> (2) 2715-2888, Fax: <886> (2) 3518-3399
Renesas Technology Singapore Pte. Ltd.
1 Harbour Front Avenue, #06-10, Keppel Bay Tower, Singapore 098632
Tel: <65> 6213-0200, Fax: <65> 6278-8001
Renesas Technology Korea Co., Ltd.
Kukje Center Bldg. 18th Fl., 191, 2-ka, Hangang-ro, Yongsan-ku, Seoul 140-702, Korea
Tel: <82> (2) 796-3115, Fax: <82> (2) 796-2145
Renesas Technology Malaysia Sdn. Bhd
Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No.18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia
Tel: <603> 7955-9390, Fax: <603> 7955-9510
© 2008. Renesas Technology Corp., All rights reserved. Printed in Japan.
Colophon .7.2