sh66l16a SinoWealth Micro-Electronics Corp. Ltd, sh66l16a Datasheet - Page 22

no-image

sh66l16a

Manufacturer Part Number
sh66l16a
Description
16k 4-bit Low Power Micro-controller With Lcd Driver
Manufacturer
SinoWealth Micro-Electronics Corp. Ltd
Datasheet
System Register $14:
Programming Notes:
1. Writing system register $14 for selecting LCD display mode must be under the condition of “LCD pump OFF”. Otherwise it will
2. The pump circuit frequency is 4kHz regardless of the oscillator type.
3. If the “ System Clock selection” code option is equal to CK = 0,0 (200kHz RC as system clock with 32.768kHz Crystal for the
4. If the “ System Clock selection” code option is equal to CK = 1,0 (32.768kHz Crystal as system clock), the LCD driver clock
5. If the “ System Clock selection” code option is equal to CK = 1,1 (200kHz RC as system clock), the LCD driver clock comes
6. If the “ System Clock selection” code option is equal to CK = 0,0 (200kHz RC as system clock with 32.768kHz Crystal for the
7. Both the COMMON and the SEGMENT output the ground level if the PUMP OFF bit is set to 1 even when the DPL_ OFF bit
8. It is recommended that the proper setting flow for turning on the LCD pump & display should be followed as below:
Address
be regarded as illegal operation.
Base Timer), or CK = 0,1 (200kHz RC as system clock with 32kHz RC for the Base Timer), the LCD driver clock comes from
the OSC oscillator. The LCD frame frequency is 32.00Hz (1/4duty or 1/8 duty with 32.768kHz Crystal) or 31.25Hz (1/4duty or
1/8 duty with 32kHz RC). As the LCD pump circuits need more currents while starting up, please confirm the LCD pump &
display is OFF (DPL_OFF = 1, PUMP OFF = 1) before turning on the OSC oscillator. So enable the OSC (Crystal or RC)
oscillator before turning the LCD pump & display on.
comes from the system clock (OSC oscillator). The LCD frame frequency is 32.00Hz (1/4duty or 1/8 duty with 32.768kHz
Crystal).
from the system clock (OSCX oscillator). The LCD frame frequency is 32.55Hz (1/4duty or 1/8 duty with 200kHz RC).
Base Timer), or CK = 0,1 (200kHz RC as system clock with 32kHz RC for the Base Timer), please do not turn the LCD pump
& display on during the OSC oscillator warm-up period. Otherwise, the pump & display circuits may not work properly and
successfully since the OSC oscillator is not stable enough.
is cleared to 0.
A . Set the DPL_OFF bit and the PUMP OFF bit to 1. Then turn on the OSC oscillator if the “ System Clock selection” code
B . Insert a sufficient delay time to satisfy the OSC warm up period. ( 64 ms for 32.768kHz Crystal and 4 ms for 32kHz RC.)
C . Clear the PUMP OFF bit to 0 to turn on the LCD pump circuit. Then force the system to enter the HALT mode to reduce the
D . Clear the DPL_OFF bit to 0 to turn on the LCD display after the LCD RAM has been initialized.
$14
option is equal to CK = 0,0 or CK = 0,1 . (Set BTM Bit2 - 0 to non-zero.)
current consumption. If the system is in a single solar supply application, 250 ms delay period is necessary. If the system
is in the backup battery using, the delay time is at least 50 ms .
RAMB
Bit3
X
X
X
X
X
0
1
Bit2
O/S
X
X
X
X
X
0
1
Bit1
CS1
X
X
X
X
0
0
1
Bit0
CS0
X
X
X
0
1
X
X
R/W
W
W
W
W
W
W
W
W
22
Select LCD display 56 segments (Power on initial)
Bit1 - 0: LCD display segment select register
Bit2: LCD display common select register
Bit3: RAM Bank register
Select LCD display 52 segments
Select SEG53 - 56 as PORTE
Select LCD display 48 segments
Select SEG49 - 52 as PORTD
Select SEG53 - 56 as PORTE
Select LCD display 8 com mode (Power on initial)
Select LCD display 4 com mode
Select COM5 - 8 as PORTF
Data memory address range: 020H - 3FFH (Power on initial)
Data memory address range: 420H - 7FFH
Remarks
SH66L16A

Related parts for sh66l16a