TM8793
GENERAL DESCRIPTION
TM8793 is a One Time PROM embedded high-performance 4-bit microcomputer with LCD/LED driver. It contains all the necessary functions in TM87-series for 1.5V/3V/5V application.
BLOCK DIAGRAM
FEATURE
1.Low power dissipation.
1.5V/3V/5V operating voltage range.
2.Powerful instruction set.
Binary addition, subtraction, BCD adjustment. BCD can be executed directly in addition, subtraction operation.
4 bits x 4 bits Multiplier
Single-bit manipulation (set, reset, decision for branch).
Various conditional branches.
16 initial working registers and manipulators. (can be extended to all RAM by Page Mode)
Table look-up.
LCD driver data transfer.
3.ROM capacity.16Kx 16 bits.
Instruction ROM Max. capacity16Kx 16 bits.
Table ROM Max. capacity32512/16256x 8/16 bits.
4.RAM capacity.4K/2K/1Kx 4/8/16 bits.
STACK Max. capacity16x 16 bits.
HL/ZR store Max. capacity16/16x 16 bits.
5.With direct/index addressing mode in data RAM access.
6.LCD driver output.
Over 512 LCD dots by 12 common outputs and 48 segment outputs.
COM7~12 can be defined as SEG48~43 by option.
SEG24~47 can be defined as IO, EL, BZ, KI ports by option.
1/1~1/12 Duty can be selected by option.
1/2 ~1/4 Bias can be selected by option.
Single instruction to turn off all segments.
COM5~12 can be defined as CMOS or P_open drain type output by option.
7.Input/output ports.
Port IOA 4 pins (with internal pull-low, input signal chattering
prevention circuitry), and can be defined as SEG24~27/CX, RR, RT, RH by option, or can be defined as CX, RFC0~2 by option.
Port IOB 4 pins (with internal pull-low), and can be defined as SEG28~31/ELC, ELP. BZB. BZ by option.
Port IOC 4 pins (with internal pull-low, low-level-hold, input signal chattering prevention circuitry), and can be defined as SEG32~35/KI1~4 by option.
Port IOD 4 pins (with internal pull-low, input signal chattering prevention circuitry), and can be defined as SEG36~39 by option.
Port IOE 4 pins (with internal pull-low), and can be defined as SEG40~43 by option, or can be defined as RFC3~5, CX2 by option.
8.Interrupt function.
External factors 5 (INT pin, Port IOA, IOC, IOD & KI input).
Internal factors 5 (Pre-Divider, Timer1, Timer2, Timer3 & RFC).
9.Built-in EL-light driver.
ELC, ELP. Can be defined as SEG28, 29 by option, or can be defined as SEG44, 45 by option.
10.Built-in Alarm, clock or single tone melody generator.
BZB, BZ. Can be defined as SEG30, 31 by option, or can be defined as SEG46, 47 by option.
11.Built-in resistance to frequency converter.
CX, RR, RT, RH. Can be defined as SEG24~27/IOA1~4 by option.
CX, RFC0~5, CX2. Can be defined as IOA1~4, IOE1~4 by option.
12.Built-in key matrix scanning function.
KO1~KO16 (Shared with SEG1~16)
KI1~KI4. Can be defined as SEG32~35/IOC1~4 by option.
13.Three 6-bit programmable timers with programmable clock source.
Read out the content in anytime
Merged 2 or 3 timers as 12-bit or 18-bit timer
Used as counter for RFC
14.Watchdog timer.
15.Built-in voltage charge halver & pump circuit for Charge Pump type & 1/nVBAT ~ (n-1) /nVBAT (n=3, 4 for 1/3, 1/4Bias) for Capacitive Voltage Divider type
16.Dual clock operation
slow clock oscillation can be defined as X’tal or external RC type oscillator by option.
fast clock oscillation can be defined as 3.58 MHz ceramic resonator, internal R or external R type oscillator by option.
17.HALT function.
18.STOP function.