DataSheet.es    


PDF HTG12G0 Data sheet ( Hoja de datos )

Número de pieza HTG12G0
Descripción Microcontroller
Fabricantes Holtek Semiconductor Inc 
Logotipo Holtek Semiconductor Inc Logotipo



Hay una vista previa y un enlace de descarga de HTG12G0 (archivo pdf) en la parte inferior de esta página.


Total 30 Páginas

No Preview Available ! HTG12G0 Hoja de datos, Descripción, Manual

HTG12G0
Microcontroller
Features
Operating voltage: 2.4V~3.3V
Eight input lines
Two output lines
Five working registers
RC oscillator for system clock
Crystal oscillator for RTC and LCD clock
8K×8 program ROM
156×4 data RAM
50×8 segment LCD driver, 1/5 bias, 1/8 duty
8-bit programmable timer with built-in
frequency source
General Description
The HTG12G0 is a 4-bit single chip microcon-
troller specially designed for LCD product ap-
plications.
Internal timer overflow and RTC interrupt
16 kinds of programmable sound effects
Halt function and wake-up feature
reduce power consumption
One-level subroutine nesting
8-bit table read instruction
Up to 4.0µs instruction cycle with 1.0MHz
system clock at VDD=3V
95 powerful instructions
It is ideally suited for applications requiring
low power consumption, with many LCD seg-
ments such as calculator, scale, subsystem con-
troller, hand-held LCD products and electronic
appliances.
1 14th May ’99

1 page




HTG12G0 pdf
HTG12G0
Pad Description
Pad No. Pad name I/O Mask Option
Description
1~4,
36~81
SEG3~SEG0
SEG49~SEG4
O
— LCD driver outputs for LCD panel segment
5 BZ
6 BZ
O * Sound effect output
7 VDD
I — Positive power supply
8 OSCI
9 OSCO
I
O
An external resistor between OSCI and OSCO
is needed for internal system clock.
10 T512
19 TEST1
20 TEST2
26 T1D
O For test mode only
I
I
TEST1 and TEST2 must be open when the
HTG12G0 is in normal operation (with an
O internal pull high resistor)
11~18 COM7~COM0 O
— Output for LCD panel common plate
21~24 PS3~PS0
Pull-high or
I
None
4-bit port for input only
**
25 VSS
I — Negative power supply, GND
27 PA1
28 PA0
CMOS or
O
NMOS
2-bit latch port for output only
Open Drain
29 XIN
30 XOUT
I
O
— 32768Hz crystal oscillator for time base
31~34 PP0~PP3
Pull-high or
I
None
4-bit port for input only
**
35 RES
I
Input for reset LSI inside
Reset is active at logical low level
*: 6 internal sources deriving from the system clock can be selected as sound effect clock by mask
option. If Holtek’s sound library is invoked, only 128K and 64K is accepted.
**: Each bit of input ports PS, PP can be a trigger source of HALT interrupt. That can be specified
by mask option.
Absolute Maximum Ratings
Supply Voltage .........................VSS–0.3V to 13V
Input Voltage.......................VSS–0.3 to VDD+0.3
Operating Temperature................... 0°C to 70°C
Storage Temperature................. –50°C to 125°C
Note: These are stress ratings only. Stresses exceeding the range specified under “Absolute Maxi-
mum Ratings” may cause substantial damage to the device. Functional operation of this device
at other conditions beyond those listed in the specification is not implied and prolonged
exposure to extreme conditions may affect device reliability.
5 14th May ’99

5 Page





HTG12G0 arduino
HTG12G0
RTC
There is a real time clock (RTC) function imple-
mented on the HTG12G0. The RTC function is
used to generate an accurate time period. The
clock source of the RTC circuit comes from the
32768Hz crystal oscillator. The block diagram is
shown as follows:
The output of the RTC can be selected by mask
option.
Frequency of the RTC output =
256
2n
n=0~7
The RTC output is used to generate an inter-
rupt signal.
Interrupt
The HTG12G0 provides both TIMER and RTC
interrupt modes. The DI and EI instructions are
used to disable and enable the interrupts. When
the RTC is activated during enable interrupt
mode and the program is not within a CALL
subroutine, this causes a subroutine call to loca-
tion 8 and reset the interrupt latch.
Likewise when the timer flag is set in the enable
interrupt mode and the program is not within a
CALL subroutine, the TIMER interrupt is acti-
vated. This cause a subroutine call to location 4
and resets the timer flag. If both TIMER and
RTC interrupts arrive at the same time, the
RTC will be serviced first.
When running under a CALL subroutine or DI
the interrupt acknowledge is on hold until the
RET or EI instruction is invoked. The CALL
instruction should not be used within an inter-
rupt routine as unpredictable behaviors may
occur. If within a CALL subroutine both TIMER
and RTC interrupt occur, no matter what order
they arrive in, the RTC interrupt will be serv-
iced first after leaving the CALL subroutine.
This also applies if the two interrupts arrive at
the same time.
The interrupts are disabled by a hardware reset
or a DI instruction. They remain disabled until
the EI instruction is executed.
Initial reset
The HTG12G0 provides a RES pin for system
initialization. Since the RES pin has internal
pull high resistor, only an external 0.1µ~1µ ca-
pacitor is needed. If the reset pulse is gene-
rated externally, it must be held low for at least
5 ms.
When RES is active, the internal block will be
initialized as shown below:
PA3 and PC 1000H
TIMER
Stop
Timer flag
Reset (low)
SOUND
Sound off and one sing mode
Output port A High (or floating state)
LCD output Disabled
BZ and BZ
output
High level
HALT
This is a special feature of HTG12G0. It will
stop the chip’s normal operation and reduces
power consumption. When the instruction
“HALT” is executed, then
System oscillator will be stopped
The contents of the on-chip RAM and
registers remain unchanged
RTC oscillator still keeps running
The system can escape HALT mode by ways of
initial reset or RTC interrupt or wake-up from
the following entry of program counter value.
Initial reset: 1000H
Wake-up: next address of the HALT instruc-
tion
When the halt status is terminated by the
RTC interrupt, the following procedure takes
place:
* Case1: If the system is in an interrupt-dis-
able state before entering the halt state:
11 14th May ’99

11 Page







PáginasTotal 30 Páginas
PDF Descargar[ Datasheet HTG12G0.PDF ]




Hoja de datos destacado

Número de piezaDescripciónFabricantes
HTG12G0MicrocontrollerHoltek Semiconductor Inc
Holtek Semiconductor Inc

Número de piezaDescripciónFabricantes
SLA6805M

High Voltage 3 phase Motor Driver IC.

Sanken
Sanken
SDC1742

12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters.

Analog Devices
Analog Devices


DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares,
permitiéndote verlos en linea o descargarlos en PDF.


DataSheet.es    |   2020   |  Privacy Policy  |  Contacto  |  Buscar