HT82J97E/HT82J97A
USB Joystick Encoder 8-Bit MCU
Technical Document
·
Tools Information
·
FAQs
·
Application Note
Features
·
·
Flexible total solution for applications that combine
PS/2 and low-speed USB interface, such as mice,
joysticks, and many others
Two 8-bit indirect addressing registers
·
One 16-bit programmable timer counter with over-
flow interrupt (shared with PA7, vector 0CH)
·
·
USB Specification Compliance
·
·
One USB interrupt input (vector 04H)
-
Conforms to USB specification V1.1
HALT function and wake-up feature reduce power
consumption
-
Conforms to USB HID specification V1.1
Supports 1 Low-speed USB control endpoint and 1
interrupt endpoint
·
·
·
·
·
·
PA0~PA7 support wake-up function
Internal Power-On reset (POR)
Watchdog Timer (WDT)
·
·
·
·
·
Each endpoint has 8´8 bytes FIFO
Integrated USB transceiver
20 I/O ports (including 2-PWM output, PC2, PC3)
2 PWM output (PC2, PC3)
3.3V regulator output
External 6MHz or 12MHz ceramic resonator or crystal
Can produce PWM frequency range from 23Hz to
23kHz
8-bit RISC microcontroller, with 2K´14 EPROM
(000H~7FFH)
·
·
Built-in 8-bit Analog-to-Digital Converter, (6-channel
for internal mode (PB0~PB5), 6-channel for external
mode with VHL (PB7) and VRL (PB6))
·
·
·
96 bytes RAM (20H~7FH)
6MHz/12MHz internal CPU clock
4-level stacks
20/28-pin SOP package
General Description
The USB MCU OTP body is suitable for USB mouse
and USB joystick devices. It consists of a Holtek high
performance 8-bit MCU core for control unit, built-in
USB SIE, 2K´14 EPROM and 96 bytes data RAM.
Block Diagram
U
S
B
D
+
/
C
L
K
U
S
B
D
-
/
D
A
T
A
V
3
3
O
U
S
B
1
.
1
P
S
2
B
P
I
n
t
e
r
r
u
p
t
M
S
Y
S
C
i
r
c
u
i
t
U
T
M
R
0
P
A
7
/
T
M
R
X
S
T
A
C
K
T
M
R
0
C
P
r
o
g
r
a
m
P
r
o
g
r
a
m
I
N
T
C
R
O
M
C
o
u
n
t
e
r
E
N
/
D
I
S
W
D
T
S
M
S
Y
S
C
L
K
/
4
I
n
s
t
r
u
c
s
t
t
i
e
o
n
W
D
T
U
W
D
T
P
r
e
s
c
a
l
e
r
W
D
T
O
S
C
R
e
g
i
r
M
X
D
A
T
A
M
P
U
M
e
m
o
r
y
X
P
O
R
T
A
P
A
C
P
P
A
A
0
7
~
/
P
A
6
T
M
R
P
A
M
U
X
I
n
s
t
r
u
c
t
i
o
n
D
e
c
o
d
e
r
P
B
0
/
A
N
0
~
P
B
5
/
A
N
5
P
B
C
P
O
R
T
B
P
P
B
B
6
7
/
/
V
V
R
R
L
H
S
T
A
T
U
S
A
L
U
P
B
T
i
m
i
n
g
S
h
i
f
t
e
r
G
e
n
e
r
a
t
o
r
A
/
D
C
o
n
v
e
r
t
e
r
P
C
C
P
C
0
~
P
C
1
P
O
R
T
C
O
S
C
2
O
S
C
1
P
P
C
C
2
3
/
/
P
P
W
M
1
P
C
W
M
2
R
E
S
V
V
D
D
A
C
C
P
W
M
S
S
Rev. 1.60
1
December 23, 2008