USB MCU. HT66FB582 Datasheet

HT66FB582 MCU. Datasheet pdf. Equivalent

HT66FB582 Datasheet
Recommendation HT66FB582 Datasheet
Part HT66FB582
Description A/D Flash USB MCU
Feature HT66FB582; A/D Flash USB MCU HT66FB582 Revision: V1.30 Date: �J�a�n�u�a�r�y��26�,���2�0�1�8 HT66FB582 A/D Flas.
Manufacture Holtek Semiconductor
Datasheet
Download HT66FB582 Datasheet





Holtek Semiconductor HT66FB582
A/D Flash USB MCU
HT66FB582
Revision: V1.30 Date: �J�a�n�u�a�r�y��26�,���2�0�1�8



Holtek Semiconductor HT66FB582
HT66FB582
A/D Flash USB MCU
Table of Contents
Features................................................................................................................. 7
CPU Features...............................................................................................................................7
Peripheral Features.......................................................................................................................8
General Description.............................................................................................. 9
Block Diagram....................................................................................................... 9
Pin Assignment................................................................................................... 10
Pin Description................................................................................................... 11
Absolute Maximum Ratings............................................................................... 15
D.C. Characteristics............................................................................................ 16
A.C. Characteristics............................................................................................ 19
A/D Converter Electrical Characteristics.......................................................... 20
LVR/LVD Electrical Characteristics................................................................... 21
Comparator Electrical Characteristics............................................................. 22
Memory Characteristics..................................................................................... 22
USB Electrical Characteristics.......................................................................... 23
Power-on Reset Characteristics........................................................................ 23
System Architecture........................................................................................... 24
Clocking and Pipelining...............................................................................................................24
Program Counter.........................................................................................................................25
Stack...........................................................................................................................................26
Arithmetic and Logic Unit – ALU.................................................................................................26
Flash Program Memory...................................................................................... 27
Structure......................................................................................................................................27
Special Vectors...........................................................................................................................27
Look-up Table..............................................................................................................................28
Table Program Example..............................................................................................................28
In Circuit Programming – ICP.....................................................................................................29
On-Chip Debug Support – OCDS...............................................................................................30
In Application Programming – IAP..............................................................................................31
In System Programming – ISP....................................................................................................45
Data Memory....................................................................................................... 46
Structure......................................................................................................................................46
Data Memory Addressing............................................................................................................47
General Purpose Data Memory..................................................................................................47
Special Purpose Data Memory...................................................................................................47
Special Function Register Description............................................................. 49
Indirect Addressing Registers – IAR0, IAR1, IAR2.....................................................................49
Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H...............................................................49
Program Memory Bank Pointer – PBP........................................................................................51
Accumulator – ACC.....................................................................................................................51
Rev. 1.30
2 January 26, 2018



Holtek Semiconductor HT66FB582
HT66FB582
A/D Flash USB MCU
Program Counter Low Register – PCL........................................................................................51
Look-up Table Registers – TBLP, TBHP, TBLH...........................................................................51
Status Register – STATUS..........................................................................................................52
EEPROM Data Memory....................................................................................... 54
EEPROM Data Memory Structure..............................................................................................54
EEPROM Registers....................................................................................................................54
Reading Data from the EEPROM...............................................................................................56
Writing Data to the EEPROM......................................................................................................57
Write Protection...........................................................................................................................58
EEPROM Interrupt......................................................................................................................58
Programming Considerations......................................................................................................58
Oscillators........................................................................................................... 61
Oscillator Overview.....................................................................................................................61
System Clock Configurations......................................................................................................61
Internal PLL Frequency Generator..............................................................................................62
External Crystal/Ceramic Oscillator – HXT.................................................................................64
Internal High Speed RC Oscillator – HIRC.................................................................................64
External 32.768kHz Crystal Oscillator – LXT..............................................................................65
Internal 32kHz Oscillator – LIRC.................................................................................................65
Operating Modes and System Clocks.............................................................. 66
System Clocks............................................................................................................................66
System Operation Modes............................................................................................................67
Control Registers........................................................................................................................68
Operating Mode Switching..........................................................................................................72
Standby Current Considerations.................................................................................................76
Wake-up......................................................................................................................................76
Watchdog Timer.................................................................................................. 77
Watchdog Timer Clock Source....................................................................................................77
Watchdog Timer Control Register...............................................................................................77
Watchdog Timer Operation.........................................................................................................78
Reset and Initialisation....................................................................................... 79
Reset Functions..........................................................................................................................79
Reset Initial Conditions...............................................................................................................83
Input/Output Ports.............................................................................................. 88
Pull-high Resistors......................................................................................................................89
I/O Port Wake-up........................................................................................................................89
Port A Wake-up Polarity Control Register...................................................................................89
I/O Port Control Registers...........................................................................................................91
Port A Power Source Control Register........................................................................................91
I/O Port Output Slew Rate Control Registers..............................................................................92
I/O Port Output Current Control Registers..................................................................................94
Pin-shared Functions..................................................................................................................95
I/O Pin Structures......................................................................................................................102
Programming Considerations....................................................................................................102
Rev. 1.30
3 January 26, 2018





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