ChipFind - документация

Электронный компонент: HT47R20A-1

Скачать:  PDF   ZIP

Document Outline

HT47R20A-1/HT47C20-1
R-F Type 8-Bit MCU
Rev. 1.70
1
June 14, 2005
Features
Operating voltage: 2.2V~5.5V
Eight bidirectional I/O lines
Four input lines
One interrupt input
One 16-bit programmable timer/event counter with
PFD (programmable frequency divider) function
On-chip crystal and RC oscillator for system clock
One 32.768kHz crystal oscillator for real time clock or
system clock
Watchdog Timer
2K
16 program memory
64
8 data memory RAM
One Real Time Clock (RTC)
One 8-bit prescaler for RTC
One low voltage detector
One low voltage reset circuit
One buzzer output
HALT function and wake-up feature reduce power
consumption
LCD bias C type or R type
One LCD driver with 20
2,203or194segments
One IR carrier output
Two channels RC type A/D converter
Four-level subroutine nesting
Bit manipulation instruction
16-bit table read instruction
Up to 1
ms instruction cycle with 4MHz system clock
All instructions in one or two machine cycles
63 powerful instructions
64-pin QFP package
General Description
The HT47R20A-1/HT47C20-1 are 8-bit, high perfor-
mance, RISC architecture microcontroller devices spe-
cifically designed for applications that interface directly
to analog signals, such as those from sensors. The
mask version HT47C20-1 is fully pin and functionally
compatible with the OTP version HT47R20A-1 device.
The advantages of low power consumption, I/O flexibil-
ity, programmable frequency divider, timer functions,
oscillator options, 2-channel RC type A/D Converter,
LCD driver, HALT and wake-up functions, enhance the
versatility of these devices to suit a wide range of Resis-
tor to Frequency application possibilities such as sensor
signal processing, remote metering, industrial control,
consumer products, subsystem controllers, etc.
Technical Document
Tools Information
FAQs
Application Note
-
HA0029E Using the Time Base Function in the HT47R20A-1
-
HA0030E Using the RTC in the HT47R20A-1
-
HA0034E Using the Buzzer Function in the HT47R20A-1
-
HA0036E Using the PFD Function in the HT47R20A-1
-
HA0045E Distinguishing between the Different Devices in the HT47 MCU Series
Block Diagram
HT47R20A-1/HT47C20-1
Rev. 1.70
2
June 14, 2005
M
U
X
P B 0 / I N T
P r o g r a m
C o u n t e r
P r o g r a m
E P R O M
I n s t r u c t i o n
R e g i s t e r
I n s t r u c t i o n
D e c o d e r
T i m i n g
G e n e r a t o r
O S C 2
O S C 4
O S C 1
R E S
V D D
V S S
I n t e r r u p t
C i r c u i t
I N T C
M P
M
U
X
M U X
D A T A
M e m o r y
A L U
S h i f t e r
S T A T U S
A C C
P A
P o r t A
P A 0 / B Z
T i m e r A
S y s t e m C l o c k
M
U
X
S Y S C L K / 4
P B
P o r t B
P B 2 / T M R
W D T O S C
P A 1 / B Z
P A 2 / I R
P A 3 / P F D
P A 4 ~ P A 7
P B 0 / I N T
P B 1
P B 3
R T C O S C
O S C 3
O S C 4
R T C
S T A C K
L C D
M e m o r y
B P
L C D D r i v e r
C O M 0 ~
C O M 2
C O M 3 /
S E G 1 9
S E G 0 ~
S E G 1 8
T i m e B a s e
W D T
T i m e r B
T 1
R T C O u t p u t
P B 2 / T M R
P F D
P A 3 / P F D
O v e r f l o w
R C T y p e
A / D C o n v e r t e r
A / D C l o c k
I N 0
C S 0
R S 0
C R T 0
R T 0
I N 1
C S 1
R S 1
R T 1
H a l v e
V o l t a g e
V 1 V 2 V
L C D
C 1
C 2
O S C 3
H A L T
E N / D I S
L V D / L V R
Pin Assignment
Pad Description
Pad Name
I/O
Option
Function
PA0/BZ
PA1/BZ
PA2/IR
PA3/PFD
PA4~PA7
I/O
Wake-up
Pull-high
or None
CMOS or
NMOS
Bidirectional 8-bit input/output port. The low nibble of the PA can be configured
as CMOS output or NMOS output with or without pull-high resistors (determined
by pull-high option). NMOS output can be configured as Schmitt trigger input with
or without pull-high resistors. Each bit of NMOS output can be configured as
wake up input by options. Of the eight bits, PA0~PA1 can be set as I/O pins or
buzzer outputs by options. PA2 can be set as an I/O pin or an IR carrier output
also by options. PA3 can be set as an I/O pin or a PFD output also by options.
PB0/INT
PB1
PB2/TMR
PB3
I
4-bit Schmitt trigger input port. The PB is configured with pull-high resistors. Of
the four bits, PB0 can be set as an input pin or an external interrupt input pin (INT)
by software application. While PB2 can be set as an input pin or a timer/event
counter input pin also by software application.
IN0
CS0
RS0
CRT0
RT0
I
O
O
O
O
Oscillation input pin of channel 0
Reference capacitor connection pin of channel 0
Reference resistor connection pin of channel 0
Resistor/capacitor sensor connection pin for measurement of channel 0
Resistor sensor connection pin for measurement of channel 0
IN1
CS1
RS1
RT1
I
O
O
O
Oscillation input pin of channel 1
Reference capacitor connection pin of channel 1
Reference resistor connection pin of channel 1
Resistor sensor connection pin for measurement of channel 1
COM0~COM2
COM3/SEG19
O
1/2, 1/3 or
1/4 Duty
SEG19/COM3 can be set as segment or common output driver for LCD panel by
options. COM0~COM2 are outputs for LCD panel plate.
SEG0~SEG18
O
LCD driver outputs for LCD panel segments
HT47R20A-1/HT47C20-1
Rev. 1.70
3
June 14, 2005
S E G 0
S E G 1
S E G 2
S E G 3
S E G 4
S E G 5
S E G 6
S E G 7
S E G 8
S E G 9
S E G 1 0
S E G 1 1
S E G 1 2
S E G 1 3
S E G 1 4
S E G 1 5
S E G 1 6
S E G 1 7
S E G 1 8
2 0 2 1 2 2 2 3 2 4 2 5 2 6 2 7 2 8 2 9 3 0 3 1 3 2
1
2
3
4
5
6
7
8
9
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
5 1
5 0
4 9
4 8
4 7
4 6
4 5
4 4
4 3
4 2
4 1
4 0
3 9
3 8
3 7
3 6
3 5
3 4
3 3
6 1 6 0 5 9 5 8 5 7 5 6 5 5 5 4 5 3 5 2
6 4 6 3 6 2
P A 0 / B Z
P A 1 / B Z
P A 2 / I R
P A 3 / P F D
P A 4
P A 5
P A 6
P A 7
P B 0 / I N T
P B 1
P B 2 / T M R
P B 3
N C
N C
N C
N C
N C
N C
V S S
H T 4 7 R 2 0 A - 1 / H T 4 7 C 2 0 - 1
6 4 Q F P - A
C
O
M
3
/
S
E
G
1
9
C
O
M
2
C
O
M
1
C
O
M
0
I
N
0
C
S
0
R
S
0
C
R
T
0
R
T
0
I
N
1
C
S
1
R
S
1
R
T
1
V
2
V
L
C
D
V
1
C
2
C
1
O
S
C
4
O
S
C
3
V
D
D
O
S
C
2
O
S
C
1
R
E
S
N
C
N
C
Pad Name
I/O
Option
Function
V1, V2, C1, C2
Voltage pump
VLCD
I
LCD power supply
OSC2
OSC1
O
I
Crystal or
RC
OSC1 and OSC2 are connected to an RC network or a crystal (by options) for the in-
ternal system clock.
OSC4
OSC3
O
I
RTC or
System
Clock
Real time clock oscillators
OSC3 and OSC4 are connected to a 32768Hz crystal oscillator for timing pur-
poses or to a system clock source (depending on the options).
RES
I
Schmitt trigger reset input. Active low.
VSS
Negative power supply, ground
VDD
Positive power supply
TEST1~3
I
Test mode input pin it disconnects in normal operation.
Absolute Maximum Ratings
Supply Voltage ...........................V
SS
-0.3V to V
SS
+6.0V
Storage Temperature ............................
-50C to 125C
Input Voltage..............................V
SS
-0.3V to V
DD
+0.3V
Operating Temperature...........................
-40C to 85C
Note: These are stress ratings only. Stresses exceeding the range specified under
Absolute Maximum 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 reliabil-
ity.
D.C. Characteristics
Ta=25
C
Symbol
Parameter
Test Conditions
Min.
Typ.
Max.
Unit
V
DD
Conditions
V
DD
Operating Voltage
f
SYS
=4MHz
2.2
5.5
V
f
SYS
=8MHz
3.3
5.5
V
I
DD1
Operating Current
(Crystal OSC)
3V
No load, f
SYS
=4MHz
0.7
1.5
mA
5V
1.7
3
mA
I
DD2
Operating Current
(RC OSC)
3V
No load, f
SYS
=4MHz
0.7
1.5
mA
5V
1.7
3
mA
I
DD3
Operating Current
(Crystal OSC, RC OSC)
5V
No load, f
SYS
=8MHz
4
8
mA
I
DD4
Operating Current
(f
SYS
=32768Hz)
3V
No load
0.25
0.5
mA
5V
0.8
1.5
mA
I
STB1
Standby Current
(*f
S
=T1)
3V
No load, system HALT,
LCD off at HALT
1
mA
5V
2
mA
I
STB2
Standby Current
(*f
S
=32.768kHz OSC)
3V
No load, system HALT,
LCD On at HALT, C type
2.5
5
mA
5V
10
20
mA
I
STB3
Standby Current
(*f
S
=WDT RC OSC)
3V
No load, system HALT
LCD On at HALT, C type
2
5
mA
5V
6
10
mA
I
STB4
Standby Current
(*f
S
=32.768kHz OSC)
3V
No load, system HALT,
LCD on at HALT, R type,
1/2 bias
17
30
mA
5V
34
60
mA
HT47R20A-1/HT47C20-1
Rev. 1.70
4
June 14, 2005
Symbol
Parameter
Test Conditions
Min.
Typ.
Max.
Unit
V
DD
Conditions
I
STB5
Standby Current
(*f
S
=32.768kHz OSC)
3V
No load, system HALT,
LCD on at HALT, R type,
1/3 bias
13
25
mA
5V
28
50
mA
I
STB6
Standby Current
(*f
S
=WDT RC OSC)
3V
No load, system HALT,
LCD on at HALT, R type,
1/2 bias
14
25
mA
5V
26
50
mA
I
STB7
Standby Current
(*f
S
=WDT RC OSC)
3V
No load, system HALT,
LCD on at HALT, R type,
1/3 bias
10
20
mA
5V
19
40
mA
V
IL1
Input Low Voltage for I/O Ports,
TMR and INT
0
0.3V
DD
V
V
IH1
Input High Voltage for I/O Ports,
TMR and INT
3V
0.7V
DD
V
DD
V
5V
0.7V
DD
V
DD
V
V
IL2
Input Low Voltage (RES)
0
0.4V
DD
V
V
IH2
Input High Voltage (RES)
0.9V
DD
V
DD
V
I
OL1
I/O Port Sink Current
3V
V
OL
=0.1V
DD
6
12
mA
5V
10
25
mA
I
OH1
I/O Port Source Current
3V
V
OH
=0.9V
DD
-2
-4
mA
5V
-5
-8
mA
I
OL2
LCD Common and Segment
Current
3V
V
OL
=0.1V
DD
210
420
mA
5V
350
700
mA
I
OH2
LCD Common and Segment
Current
3V
V
OH
=0.9V
DD
-80
-160
mA
5V
-180
-360
mA
I
OL3
RC Oscillation Output Sink Current
3V
V
OL
=0.3V
5
10
mA
I
OH3
RC Oscillation Output Source
Current
3V
V
OH
=2.7V
-5
-10
mA
R
PH
Pull-high Resistance of I/O Ports
and INT0, INT1
3V
20
60
100
k
W
5V
10
30
50
k
W
V
LVR
Low Voltage Reset
2.5
3.2
3.6
V
V
LVD
Low Voltage Detector Voltage
3.0
3.3
3.6
V
Note:
* t
SYS
= 1/f
SYS
** for power on protection
HT47R20A-1/HT47C20-1
Rev. 1.70
5
June 14, 2005