sh66p51 SinoWealth Micro-Electronics Corp. Ltd, sh66p51 Datasheet - Page 24

no-image

sh66p51

Manufacturer Part Number
sh66p51
Description
Otp 2k 4-bit Micro-controller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sh66p51AF
Manufacturer:
SINOWEATH
Quantity:
214
Part Number:
sh66p51AF
Manufacturer:
SINOWEATH
Quantity:
20 000
Part Number:
sh66p51AH
Manufacturer:
SINOWEATH
Quantity:
3 000
Part Number:
sh66p51P
Manufacturer:
SINOWEA
Quantity:
8 000
9. LCD Driver
The LCD driver contains a controller, a voltage regulator generator, 6 common driver pins and 26 segment driver pins.
There are four different driving programmable modes: 1/3 duty and 1/3 bias, 1/4 duty and 1/3 bias, 1/5 duty and 1/3 bias
and 1/6 duty and 1/3 bias. The driving mode is controlled by the system register $15 and the power on initialization status is
1/4 duty, 1/3 bias.
When 1/5 duty and 1/3 bias mode are used, COM6 are used as SEG27.
When 1/4 duty and 1/3 bias mode are used, COM5 - 6 are used as SEG28 - 27.
When 1/3 duty and 1/3 bias mode are used, COM4 - 6 are used as SEG29 - 27.
The controller consists of display data RAM and a duty generator.
The LCD SEG1 - 4 can also be used as I/O port (PORTC), which is selected by bit2 of the system register $15 and the LCD
SEG5 - 8 can also be used as I/O port (PORTD), which is selected by bit3 of the system register $15. LCD RAM could be
used as data memory if needed.
When the "STOP" instruction is executed, the LCD will be turned off, but the data of LCD RAM keeps the value.
When LCD off, both common and segment output low.
9.1. LCD Control Register
LCD Segment:
LCD Duty:
DUTY1, DUTY0: LCD duty control
LCD Clock:
LCD clock is divided from OSC, so LCD frame frequency will change in proportion to the variation of OSC frequency in spite
of OSC type.
Address
Address
Address
FRAME Frequency (When f
$07
$15
$15
$15
O/S1
O/S1
Bit 3
Bit 3
O/S1
Bit 3
X
X
0
1
-
X
X
X
X
IN 1/6 DUTY MODE
IN 1/5 DUTY MODE
IN 1/4 DUTY MODE
IN 1/3 DUTY MODE
LCDON
O/S0
O/S0
Bit 2
Bit 2
O/S0
Bit 2
X
X
0
1
X
X
X
X
OSC
DUTY1
DUTY1
DUTY1
Bit 1
Bit 1
Bit 1
= 32.768kHz/131kHz)
X
X
X
X
-
0
0
1
1
DUTY0
DUTY0
DUTY0
Bit 0
Bit 0
Bit 0
X
X
X
X
-
0
1
0
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
24
Bit2: Set LCD display ON
Bit0, 1: Select LCD DUTY (1/3 or 1/4 or 1/5 or 1/6)
Bit2: Set PORTC as LCD Segment1 - 4
Bit3: Set PORTD as LCD Segment5 - 8
Bit2: Select PORTC or LCD segment
Bit3: Select PORTD or LCD segment
PORTC as I/O ports
PORTC as LCD SEG 1 - 4
PORTD as I/O ports
PORTD as LCD SEG 5 - 8
Bit0, 1: LCD duty control
LCD driver = 1/4 duty, 1/3 bias
LCD driver = 1/3 duty, 1/3 bias
LCD driver = 1/5 duty, 1/3 bias
LCD driver = 1/6 duty, 1/3 bias
42.7Hz
34.1Hz
42.7Hz
32Hz
Remarks
Remarks
Remarks
SH66P51

Related parts for sh66p51