Interfacing the LCD MCU to an LCD Glass
Interfacing an LCD to the MC9S08LC60, Rev. 0
Freescale Semiconductor
15
The same mapping approach can be used for the remaining alphanumeric character positions. An
important observation is that the other character positions follow the MCU LCD RAM mapping
organization and layout pattern (see
) using two adjacent registers. The shaded bit locations in
are used arbitrarily for all other segments not used in an alphanumeric group.
lists the
MCU LCD RAM registers used for alphanumeric groups 1–9 (LCDRAM[0:17], respectively). The
LCDRAM[18:19] registers are not used for alphanumeric groups. LCDRAM20 is not used at all because
FP40 is not used in 1/4 duty mode. In 1/4 duty mode, the multiplexed BP3/FP40 pin is configured as BP3.
Table 6. Detailed Alphanumeric Segment Mapping
MCU Pin
Function
MCU Pin #
in 80 Pin
Package
MCU Pin #
in 64 Pin
Package
LCD Pin
LCD Segment / MCU LCD RAM Bit
COM1/BP0
COM2/BP1
COM3/BP2
COM4/BP3
FP0
7
6
5
1H/FP0BP0
1F/FP0BP1
1E/FP0BP2
1N/FP0BP3
FP1
6
5
6
1A/FP1BP0
1J/FP1BP1
1G/FP1BP2
1M/FP1BP3
FP2
5
4
7
1K/FP2BP0
1L/FP2BP1
1D/FP2BP2
TIME/FP2BP3
FP3
4
3
8
1B/FP3BP0
1C/FP3BP1
DT1/FP3BP2
DT/FP3BP3
Table 7. MCU LCD RAM Registers for Alphanumeric Groups
Alphanumeric
Segment Group
MCU LCD RAM
1
LCDRAM0
LCDRAM1
2
LCDRAM2
LCDRAM3
3
LCDRAM4
LCDRAM5
4
LCDRAM6
LCDRAM7
5
LCDRAM8
LCDRAM9
6
LCDRAM10
LCDRAM11
7
LCDRAM12
LCDRAM13
8
LCDRAM14
LCDRAM15
9
LCDRAM16
LCDRAM17