268-0.4 121
9.0 – 9.1.1 9.0 Application Notes
9.0 Application Notes
9.1 Initialization Parameters
The parameters for the initialization commands must
be determined first. Square brackets around a param-
eter name indicate the number represented by the
parameter, rather than the value written to the param-
eter register. For example, [FX] = FX + 1.
9.1.1 SYSTEM SET Instruction and Param-
eters
•FX
The horizontal character field size is deter-
mined from the horizontal display size in pixels
[VD] and the number of characters per line
[VC].
[VD] / [VC] ≤ [FX]
VD: # of X-directional dots
VC: # of X-directional characters
•C/R
C/R can be determined from VC and FX.
[C/R] = RND([FX] / 8) × [VC]
where RND(x) denotes x rounded up to the
next highest integer. [C/R] is the number of
bytes per line, not the number of characters.
•TC/R
TC/R must satisfy the condition [TC/R] ≥ [C/R]
+ 4.
•fOSC and fFR
Once TC/R has been set, the frame frequency,
fFR, and lines per frame [L/F] will also have
been set. The lower limit on the oscillator
frequency fOSC is given by:
fOSC ≥ ([TC/R] × 9 + 1) × [L/F] × fFR
•If no standard crystal close to the calculated
value of fOSC exists, a higher frequency crystal
can be used and the value of TC/R revised
using the above equation.
•Symptoms of an incorrect TC/R setting are
listed below. If any of these appears, check the
value of TC/R and modify it if necessary.
•Vertical scanning halts and a high-con-
trast horizontal line appears.
•All pixels are on or off.
•The LP output signal is absent or cor-
rupted.
•The display is unstable.
Table 31. Epson LCD unit example parameters (SED1335F only)
Resolution (X × Y) [FX] [FY] [C/R] TC/R fOSC (MHz)
See Note 2
[FX] = 6 pixels: 8 or 16, depending [C/R] = 42 = 2AH bytes:
256 × 64 256 / 6 = 42 remainder 4 on the screen C/R = 29H. When using HDOT 2DH 1.85
= 4 blank pixels SCR, [C/R] = 43 bytes
[FX] = 6 pixels: 8 or 16, depending [C/R] = 85 = 55H bytes:
512 × 64 512 / 6 = 85 remainder 2 on the screen C/R = 54H. When using HDOT 58H 3.59
= 2 blank pixels SCR, [C/R] = 86 bytes
[FX] = 8 pixels: 8 or 16, depending [C/R] = 32 = 20H bytes:
256 × 128 256 / 8 = 32 remainder 0 on the screen C/R = 19H. When using HDOT 22H 2.90
= no blank pixels SCR, [C/R] = 33 bytes
[FX] = 10 pixels: 8 or 16, depending [C/R] = 102 = 66H bytes:
512 × 128 512 / 10 = 51 remainder on the screen C/R = 65H. When using HDOT 69H 8.55
2 = 2 blank pixels SCR, [C/R] = 103 bytes
Notes:
1.The remainder pixels on the right-hand side of the display are automatically blanked by the SED1335F. There is no need to
zero the display memory corresponding to these pixels.
2.Assuming a frame frequency of 60 Hz.