English
Language : 

MC9S08LC60 Datasheet, PDF (162/358 Pages) Freescale Semiconductor, Inc – Microcontrollers
Liquid Crystal Display Driver (S08LCDV1)
9.5.2.4 Initialization Example 4
Example 3 LCD setup requirements are reiterated in the table below:
Example
4
Operating
Voltage,
VDD
LCD Clock
Source
LCD Glass
Operating
Voltage
Required
LCD
segments
LCD
Frame
Rate
1.8-V
External
5-V
32.768 kHz
123
30 Hz
Blinking
Mode/Rate
all segment
2.0 Hz
Behavior in LCD
STOP3 and Power
WAIT modes Input
WAIT: off
STOP3: off
Power
via
VLCD
Table 9-25 lists the required setup values required to initialize the LCD as specified by Example 4:
Table 9-25. Initialization Register Values for Example 4
Register
Bit/bit field
Binary
Value
Comment
LCDCLKS
00000000
SOURCE
0
Selects the external clock reference as the LCD clock input
External clock reference = 0; Bus clock = 1
DIV16
0
Adjusts the LCD clock input (see table 9-12)
CLKADJ[5:0] 000000 Adjusts the LCD clock input (see table 9-12)
LCDSUPPLY
1100XX10
LCDCPEN
LCDCPMS
1
Enable the charge pump
1
For 3-V LCD glass, select tripler mode
Doubler mode = 0; Tripler mode = 1
HDRVBUF
X
High drive buffer
CPCADJ[1:0]
00
Configure LCD charge pump clock source
BBYPASS
X
Buffer Bypass; Buffer mode = 0; Unbuffered mode = 1
VSUPPLY[1:0]
LCDCR1
XXXXXX00
LCDWAI
LCDSTP3
10
When VSUPPLY[1:0] = 10, the LCD must be externally powered via VLCD (see
table 9-16). For 5-V glass, the nominal value of VLCD should be 1.67-V.
0
LCD is “off” in WAIT mode
0
LCD is “off” in STOP3 mode
LCDCR0
0X010X11
LCLK[2:0]
010 For 1/3 duty cycle, select the closest value to the desired 30 Hz LCD frame
frequency (see table 9-13). Note the LCD base frequency - 128.1 Hz
LPWAVE
X
Low power waveform
DUTY[1:0]
10
For 123 segments (3x41), select 1/3 duty cycle (see table 9-11)
LCDBCTL
0XXX1001
BLKMODE
BRATE[2:0]
1
Blink all segments; Blink Segments = 0; Blink All = 1
001 Using the LCD base frequency for the selected LCD frame frequency, select 2.0
Hz blink frequency (see table 9-15).
FPENR[5:0]
FPENR0
FPENR1
FPENR2
FPENR3
FPENR4
FPENR5
11111111 All 41 LCD frontplanes need to be enabled.
11111111
11111111
11111111
11111111
XXXXXXX1
MC9S08LC60 Series Advance Information Data Sheet, Rev. 2
162
PRELIMINARY
Freescale Semiconductor