Chapter 15 Liquid Crystal Display (LCD40F4BV3) Block Description
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
582
Freescale Semiconductor
For other combinations of
RTCCLK
and divider not shown in
, the following formula may be used
to calculate the LCD frame frequency for each multiplex mode:
The possible divider values are shown in
15.4.1.3
LCD RAM
For a segment on the LCD to be displayed, data must be written to the LCD RAM which is shown in
Section 15.3, “Memory Map and Register Definition”
. The 160 bits in the LCD RAM correspond to the
160 segments that are driven by the frontplane and backplane drivers. Writing a 1 to a given location will
result in the corresponding display segment being driven with a differential RMS voltage necessary to turn
the segment ON when the LCDEN bit is set and the corresponding FP[39:0]EN bit is set. Writing a 0 to a
given location will result in the corresponding display segment being driven with a differential RMS
voltage necessary to turn the segment OFF. The LCD RAM is a dual port RAM that interfaces with the
internal address and data buses of the MCU. It is possible to read from LCD RAM locations for scrolling
purposes. When LCDEN = 0, the LCD RAM can be used as on-chip RAM. Writing or reading of the
LCDEN bit does not change the contents of the LCD RAM. After a reset, the LCD RAM contents will be
indeterminate.
15.4.1.4
LCD Driver System Enable and Frontplane Enable Sequencing
If LCDEN = 0 (LCD40F4BV3 driver system disabled) and the frontplane enable bit, FP[39:0]EN, is set,
the frontplane driver waveform will not appear on the output until LCDEN is set. If LCDEN = 1
(LCD40F4BV3 driver system enabled), the frontplane driver waveform will appear on the output as soon
as the corresponding frontplane enable bit, FP[39:0]EN, in the registers LCDFPENR0–LCDFPENR4 is
set.
15.4.1.5
LCD Bias and Modes of Operation
The LCD40F4BV3 driver has five modes of operation:
•
1/1 duty (1 backplane), 1/1 bias (2 voltage levels)
•
1/2 duty (2 backplanes), 1/2 bias (3 voltage levels)
•
1/2 duty (2 backplanes), 1/3 bias (4 voltage levels)
RTCCLK = 64000
0
0
1
1
0
1
0
1
64
128
256
512
1000
500
250
125
1000
500250
125
500
250
125
63
333
167
83
42
250
125
63
31
Table 15-8. LCD Clock and Frame Frequency
Source clock
Frequency in
Hz
LCD Clock
Prescaler
Divider
LCD Clock
Frequency [Hz]
Frame Frequency [Hz]
LCLK1
LCLK0
1/1 Duty
1/2 Duty
1/3 Duty
1/4 Duty
LCD Frame Frequency (Hz)
RTC
CLK (Hz)
Divider
--------------------------------------------
Duty
=