EasyManua.ls Logo

Panasonic MN101L Series

Panasonic MN101L Series
563 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 17
LCD
LCD Display Examples XVII - 31
17.4.4 LCD Operation Setup (1/2 duty)
The following example is to display "23" on a 8-segment type LCD panel (two-digit display) through segment
pins, SEG0 to SEG7 and common pins, COM0 to COM1 with 1/2 duty and 1/2 bias, supplied from external volt-
age divider.
The specific details are as follows;
HCLK: 4 MHz, LCD display clock: HCLK/2
15
(122 Hz), LCD frame frequency: 61 Hz
Setup Procedure Description
(1) Stop the LCD.
LCDMD2 (0x03E82)
bp7: LCEN = 0
(1) Stop the LCD.
(2) Set a display duty.
LCDMD2 (0x03E82)
bp2-0: LCDDTY2-0 = 001
(2) Set the operation mode to 1/2 duty driving.
(3) Set a display clock.
LCDMD3 (0x03E83)
bp6-3: LCCK3-0 = 0100
bp2-0: LCCKS2-0 = 101
(3) Select "HCLK/2
15
" as a display clock.
(4) Set Segment and common output pins.
LCCTR0 (0x03E86)
bp7-4: SEGSL3-0 = 1111
bp1-0: COMSL1-0 = 11
LCCTR1 (0x03E87)
bp3-0: SEGSL7-4 = 1111
LCDSEL (0x03E8E)
bp3-0: COMSL7-4 = 0000
(4) Select SEG0-7 and COM0-1 pins.
(5) Set the display data.
LCDATA0 (0x03E90) = 0x01
LCDATA1 (0x03E91) = 0x03
LCDATA2 (0x03E92) = 0x02
LCDATA3 (0x03E93) = 0x02
LCDATA4 (0x03E94) = 0x00
LCDATA5 (0x03E95) = 0x03
LCDATA6 (0x03E96) = 0x02
LCDATA7 (0x03E97) = 0x03
(5) Set the display data "23" on the segment output latch.
(6) Activate the LCD.
LCDMD2 (0x03E82)
bp7: LCEN = 1
(6) Start the LCD operation.

Table of Contents

Related product manuals