Flash MCU. HT66F0172 Datasheet

HT66F0172 MCU. Datasheet pdf. Equivalent

HT66F0172 Datasheet
Recommendation HT66F0172 Datasheet
Part HT66F0172
Description A/D Flash MCU
Feature HT66F0172; A/D Flash MCU with EEPROM HT66F0172/HT66F0174 Revision: V1.50 Date: �Au�g�u��s�t��2�5�,��2�0�1�7 HT.
Manufacture Holtek Semiconductor
Datasheet
Download HT66F0172 Datasheet




Holtek Semiconductor HT66F0172
A/D Flash MCU with EEPROM
HT66F0172/HT66F0174
Revision: V1.50 Date: �Au�g�u��s�t��2�5�,��2�0�1�7



Holtek Semiconductor HT66F0172
HT66F0172/HT66F0174
A/D Flash MCU with EEPROM
Table of Contents
Features............................................................................................................. 6
CPU Features.......................................................................................................................... 6
Peripheral Features.................................................................................................................. 6
General Description ......................................................................................... 7
Selection Table.................................................................................................. 7
Block Diagram................................................................................................... 8
Pin Assignment................................................................................................. 8
Pin Descriptions............................................................................................... 9
Absolute Maximum Ratings............................................................................11
D.C. Characteristics.........................................................................................11
A.C. Characteristics........................................................................................ 13
A/D Converter Electrical Characteristics...................................................... 14
LVD&LVR Electrical Characteristics............................................................. 15
Power-on Reset Electrical Characteristics................................................... 15
System Architecture....................................................................................... 16
Clocking and Pipelining.......................................................................................................... 16
Program Counter.................................................................................................................... 17
Stack...................................................................................................................................... 18
Arithmetic and Logic Unit – ALU............................................................................................ 18
Flash Program Memory.................................................................................. 19
Structure................................................................................................................................. 19
Special Vectors...................................................................................................................... 19
Look-up Table......................................................................................................................... 19
Table Program Example......................................................................................................... 20
In Circuit Programming.......................................................................................................... 21
On-Chip Debug Support – OCDS.......................................................................................... 22
RAM Data Memory.......................................................................................... 22
Structure................................................................................................................................. 22
Special Function Register Description......................................................... 24
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 24
Memory Pointers – MP0, MP1............................................................................................... 24
Bank Pointer – BP.................................................................................................................. 25
Accumulator – ACC................................................................................................................ 25
Program Counter Low Register – PCL................................................................................... 25
Look-up Table Registers – TBLP, TBHP, TBLH...................................................................... 25
Status Register – STATUS..................................................................................................... 26
EEPROM Data Memory (only for HT66F0174).............................................. 28
EEPROM Data Memory Structure......................................................................................... 28
EEPROM Registers............................................................................................................... 28
Rev. 1.50
2 August 25, 2017



Holtek Semiconductor HT66F0172
HT66F0172/HT66F0174
A/D Flash MCU with EEPROM
Reading Data from the EEPROM ......................................................................................... 30
Writing Data to the EEPROM................................................................................................. 30
Write Protection...................................................................................................................... 30
EEPROM Interrupt................................................................................................................. 30
Programming Considerations................................................................................................. 31
Oscillator......................................................................................................... 32
Oscillator Overview................................................................................................................ 32
System Clock Configurations................................................................................................. 32
External Crystal/Ceramic Oscillator – HXT............................................................................ 33
Internal RC Oscillator – HIRC................................................................................................ 34
External 32.768kHz Crystal Oscillator – LXT......................................................................... 34
LXT Oscillator Low Power Function....................................................................................... 35
Internal 32kHz Oscillator – LIRC............................................................................................ 35
Supplementary Clocks........................................................................................................... 35
Operating Modes and System Clocks.......................................................... 36
System Clocks....................................................................................................................... 36
System Operation Modes....................................................................................................... 37
Control Register..................................................................................................................... 38
Fast Wake-up......................................................................................................................... 40
Operating Mode Switching .................................................................................................... 40
NORMAL Mode to SLOW Mode Switching............................................................................ 41
SLOW Mode to NORMAL Mode Switching ........................................................................... 41
Entering the SLEEP0 Mode................................................................................................... 43
Entering the SLEEP1 Mode................................................................................................... 43
Entering the IDLE0 Mode....................................................................................................... 43
Entering the IDLE1 Mode....................................................................................................... 44
Standby Current Considerations............................................................................................ 44
Wake-up................................................................................................................................ 45
Programming Considerations................................................................................................. 45
Watchdog Timer.............................................................................................. 46
Watchdog Timer Clock Source............................................................................................... 46
Watchdog Timer Control Register.......................................................................................... 46
Watchdog Timer Operation.................................................................................................... 47
Reset and Initialisation................................................................................... 48
Reset Functions..................................................................................................................... 48
Reset Initial Conditions.......................................................................................................... 51
Input/Output Ports.......................................................................................... 53
Pull-high Resistors................................................................................................................. 53
Port A Wake-up...................................................................................................................... 54
I/O Port Control Registers...................................................................................................... 55
I/O Pin Structures................................................................................................................... 56
Programming Considerations................................................................................................. 57
Rev. 1.50
3 August 25, 2017





@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)