Document
www.DataSheet4U.com
HT46R064/065/066/0662/067 Enhanced A/D Type 8-Bit OTP MCU
Technical Document
· Application Note - HA0075E MCU Reset and Oscillator Circuits Application Note
Features
CPU Features
· Operating voltage: · Table read instructions · 63 powerful instructions · Up to 8-level subroutine nesting · Bit manipulation instruction · Low voltage reset function · Wide range of available package types
fSYS= 4MHz: 2.2V~5.5V fSYS= 8MHz: 3.0V~5.5V fSYS= 12MHz: 4.5V~5.5V
· Up to 0.33ms instruction cycle with 12MHz system
clock at VDD= 5V
· Idle/Sleep mode and wake-up functions to reduce
Peripheral Features
· Up to 42 bidirectional I/O lines · Up to 8 channel 12-bit ADC · Up to 3 channel 8-bit PWM · Software controlled 4-SCOM lines LCD driver with
power consumption
· Oscillator types:
External high freuency Crystal -- HXT External RC -- ERC Internal RC -- HIRC External low frequency crystal -- LXT
· Four operational modes: Normal, Slow, Idle, Sleep · Fully integrated internal 4MHz, 8MHz and 12MHz
1/2 bias
· External interrupt input shared with an I/O line · Up to three 8-bit programmable Timer/Event
oscillator requires no external components
· Watchdog Timer function · LIRC oscillator function for watchdog timer · All instructions executed in one or two instruction
Counter with overflow interrupt and prescaler
· Time-Base function · Programmable Frequency Divider - PFD
cycles
General Description
The Enhanced A/D MCUs are a series of 8-bit high performance, RISC architecture microcontrollers specifically designed for a wide range of applications. The usual Holtek microcontroller features of low power consumption, I/O flexibility, timer functions, oscillator options, power down and wake-up functions, watchdog timer and low voltage reset, combine to provide devices with a huge range of functional options while still maintaining a high level of cost effectiveness. The fully integrated system oscillator HIRC, which requires no external components and which has three frequency selections, opens up a huge range of new application possibilities for these devices, some of which may include industrial control, consumer products, household appliances subsystem controllers, etc.
Rev. 1.00
1
May 6, 2009
www.DataSheet4U.com
HT46R064/065/066/0662/067
Selection Table
Part No. HT46R064 Program Data Memory Memory 1K´14 64´8 I/O 18 8-bit Time HIRC RTC LCD Timer Base (MHz) (LXT) SCOM 1 1 4/8/12 Ö ¾ A/D PWM PFD Stack Ö 4 Package 16DIP/NSOP, 20DIP/SOP/SSOP 16DIP/NSOP, 20DIP/SOP/SSOP, 24SKDIP/SOP/SSOP 16DIP/NSOP, 20DIP/SOP/SSOP, 24/28SKDIP/SOP/SSOP 24/28SKDIP/SOP/SSOP, 44QFP 24/28SKDIP/SOP/SSOP, 44QFP
12-bit´4 8-bit´1 12-bit´4 8-bit´1
HT46R065
2K´15
96´8
22
2
1
4/8/12
Ö
4
Ö
6
HT46R066
4K´15
128´8
26
2
1
4/8/12
Ö
4
12-bit´8 8-bit´2 12-bit´8 8-bit´2 12-bit´8 8-bit´3
Ö
6
HT46R0662 HT46R067
4K´15 8K´16
224´8 384´8
42 42
2 3
1 1
4/8/12 4/8/12
Ö (*) Ö (*)
4 4
Ö Ö
6 8
Note: ²*² the oscillator is connected to the XT1/XT2 pins with TinyPowerTM design.
Block Diagram
The following block diagram illustrates the main functional blocks.
T im in g G e r n e r a tio n L C D S C O M P W M D r iv e r P F D D r iv e r I/O P o rts 8 - b it R IS C M C U C o re
A /D C o n v e rte r
T im e r
T im e B a s e
R O M /R A M M e m o ry
Rev. 1.00
2
May 6, 2009
www.DataSheet4U.com
HT46R064/065/066/0662/067
Pin Assignment
P A 3 /IN T /A N 3 1 2 3 4 5 6 7 8 9 1 0 P A 2 /T C 0 /A N 2 P A 3 /IN T /A N 3 P A 2 /T C 0 /A N 2 P A 1 /P F D /A N 1 P A 0 /A N 0 V S S P B 0 P B 1 P B 2 8 7 6 5 4 3 2 1 1 6 1 5 1 4 1 3 1 2 1 1 1 0 9 P A 4 /P W M 0 P A 5 /O S C 2 P A 6 /O S C 1 P A 7 /R E S V D D P B 5 P B 4 P B 3 P A 1 /P F D /A N 1 P A 0 /A N 0 V S S P C 0 P C 1 P B 0 P B 1 P B 2 2 0 1 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 P A 4 /P W M 0 P A 5 /O S C 2 P A 6 /O S C 1 P A 7 /R E S V D D P C 3 P C 2 P B 5 P B 4 P B 3 P A 3 /IN T /A N 3 P A 2 /T C 0 /A N 2 P A 1 /P F D /A N 1 P A 0 /A N 0 V S S P B 0 /S C O M 0 P B 1 /S C O M 1 P B 2 //S C O M 2 8 7 6 5 4 3 2 1 1 6 1 5 1 4 1 3 1 2 1 1 1 0 9 P A 4 /P W M 0 /T C 1 P A 5 /O S C 2 P A 6 /O S C 1 P A 7 /R E S V D D P B 5 P B 4 P B 3 /S C O M 3
H T 4 6 R 0 6 4 1 6 D IP -A /N S O P -A
H T 4 6 R 0 6 4 2 0 D IP -A /S O P -A /S S O P -A
H T 4 6 R 0 6 5 1 6 D IP -A /N S O P -A
P A 3 /IN T /A N 3 P A 2 /T C 0 /A N 2 P A 3 /IN T /A N 3 1 2 3 4 5 6 7 8 9 1 0 P A 2 /T C 0 /A N 2 P A 1 /P F D /A N 1 P A 0 /A N 0 V S S P C 0 P C 1 P B 0 /S C O M 0 P B 1 /S C O M 1 P B 2 //S C O M 2 2 0 1 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 P A 4 /P W M 0 /T C 1 P A 5 /O S C 2 P A 6 /O S C 1 P A 7 /R E S V D D P C 3 P C 2 P B 5 P B 4 P B 3 /S C O M 3 P A 1 /P F D /A N 1 P A 0 /A N 0 V S S P C 6 P C 7 P C 0 P C 1 P B 0 /S C O M 0 P B 1 /S C O M 1 P B 2 //S C O M 2 9 8 7 6 5 4 3 2
1
2 4 2 3 2 2 2 1 2 0 1 9 1 8 1 7 1 6 1 0 1 1 1 2 1 5 1 4 1 3
P A 4 /P W M 0 /T C 1 P A 5 /O S C 2 P A 6 /O S C 1 P A 7 /R E S V D D P C 5 P C 4 P C 3 P C 2 P B 5 P B 4 P B 3 /S C O M 3 P A 3 /IN T /A N 3 P A 2 /T C 0 /.