Lcd Operation Setup (1/3 Duty) - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

Chapter 17
LCD
17.4.6

LCD Operation Setup (1/3 duty)

The following example is to display "23" on a 8-segment type LCD panel (two-digit display) through segment
pins, SEG0 to SEG5 and common pins, COM0 to COM2 with 1/3 duty and 1/3 bias, supplied from external volt-
age divider.
The specific settings are as follows;
HCLK: 4 MHz, LCD display clock: HCLK/2
(1) Stop the LCD.
LCDMD2 (0x03E82)
bp7: LCEN = 0
(2) Set a display duty.
LCDMD2 (0x03E82)
bp2-0: LCDDTY2-0 = 010
(3) Set an LCD clock.
LCDMD3 (0x03E83)
bp6-3: LCCK3-0 = 0100
bp2-0: LCCKS2-0 = 101
(4) Set Segment and common output pins.
LCCTR0 (0x03E86)
bp7-4: SEGSL3-0 = 1111
bp2-0: COMSL2-0 = 111
LCCTR1 (0x03E87)
bp3-0: SEGSL7-4 = 1111
LCDSEL (0x03E8E)
bp3-0: COMSL7-4 = 0000
(5) Set LCD panel display data.
LCDATA0 (0x03E90) = 0x06
LCDATA1 (0x03E91) = 0x07
LCDATA2 (0x03E92) = 0x00
LCDATA3 (0x03E93) = 0x04
LCDATA4 (0x03E94) = 0x07
LCDATA5 (0x03E95) = 0x02
(6) Activate the LCD.
LCDMD2 (0x03E82)
bp7: LCEN = 1
XVII - 34
LCD Display Examples
Setup Procedure
15
(122 Hz), Frame frequency: 41 Hz
(1) Stop the LCD.
(2) Set the operation mode to 1/3 duty driving.
15
(3) Select "HCLK/2
" as an LCD clock source.
(4) Select SEG0-5 and COM0-2 pins.
(5) Set the display data "23" on the segment output latch.
(6) Start the LCD.
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents