Flash MCU. HT66F0187 Datasheet

HT66F0187 MCU. Datasheet pdf. Equivalent

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




Holtek Semiconductor HT66F0187
A/D Flash MCU with EEPROM
HT66F0187
Revision: V1.20 Date: �Au�g�u��s�t�2��9,��2�0�1��7



Holtek Semiconductor HT66F0187
HT66F0187
A/D Flash MCU with EEPROM
Table of Contents
Features................................................................................................................. 7
CPU Features...............................................................................................................................7
Peripheral Features.......................................................................................................................7
General Description.............................................................................................. 8
Block Diagram....................................................................................................... 8
Pin Assignment..................................................................................................... 9
Pin Description................................................................................................... 10
Absolute Maximum Ratings............................................................................... 13
D.C. Characteristics............................................................................................ 14
A.C. Characteristics............................................................................................ 17
HIRC Electrical Characteristics......................................................................... 18
A/D Converter Electrical Characteristics.......................................................... 19
Comparator Electrical Characteristics............................................................. 20
Power on Reset Characteristics........................................................................ 20
System Architecture........................................................................................... 21
Clocking and Pipelining...............................................................................................................21
Program Counter.........................................................................................................................22
Stack...........................................................................................................................................23
Arithmetic and Logic Unit – ALU.................................................................................................23
Flash Program Memory...................................................................................... 24
Structure......................................................................................................................................24
Special Vectors...........................................................................................................................24
Look-up Table..............................................................................................................................24
Table Program Example..............................................................................................................25
In Circuit Programming – ICP.....................................................................................................26
On-Chip Debug Support – OCDS...............................................................................................27
RAM Data Memory.............................................................................................. 27
Structure......................................................................................................................................27
Data Memory Addressing............................................................................................................28
General Purpose Data Memory..................................................................................................28
Special Purpose Data Memory...................................................................................................29
Special Function Register Description............................................................. 30
Indirect Addressing Register – IAR0, IAR1, IAR2.......................................................................30
Memory Pointers – MP0, MP1H/MP1L, MP2H/MP2L ................................................................30
Accumulator – ACC.....................................................................................................................32
Program Counter Low Register – PCL .......................................................................................32
Look-up Table Registers – TBLP, TBHP, TBLH ..........................................................................32
Status Register – STATUS .........................................................................................................33
Rev. 1.20
2 August 29, 2017



Holtek Semiconductor HT66F0187
HT66F0187
A/D Flash MCU with EEPROM
EEPROM Data memory...................................................................................... 35
EEPROM Data Memory Structure..............................................................................................35
EEPROM Registers....................................................................................................................35
Reading Data from the EEPROM...............................................................................................37
Writing Data to the EEPROM......................................................................................................37
Write Protection...........................................................................................................................37
EEPROM Interrupt......................................................................................................................37
Programming Considerations......................................................................................................38
Oscillator............................................................................................................. 39
Oscillator Overview ....................................................................................................................39
System Clock Configurations .....................................................................................................39
External Crystal/Ceramic Oscillator – HXT ................................................................................40
Internal RC Oscillator – HIRC ....................................................................................................41
External 32.768kHz Crystal Oscillator – LXT..............................................................................41
Internal 32kHz Oscillator – LIRC ................................................................................................42
Supplementary Oscillators .........................................................................................................42
Operating Modes and System Clocks ............................................................. 43
System Clocks ...........................................................................................................................43
System Operation Modes ...........................................................................................................44
Control Registers........................................................................................................................45
Fast Wake-up .............................................................................................................................47
Operating Mode Switching .........................................................................................................48
Standby Current Considerations ................................................................................................52
Wake-up .....................................................................................................................................52
Programming Considerations .....................................................................................................53
Watchdog Timer.................................................................................................. 53
Watchdog Timer Clock Source....................................................................................................53
Watchdog Timer Control Register...............................................................................................53
Watchdog Timer Operation.........................................................................................................55
Reset and Initialisation....................................................................................... 56
Reset Functions .........................................................................................................................56
Reset Initial Conditions ..............................................................................................................58
Input/Output Ports ............................................................................................. 61
Pull-high Resistors......................................................................................................................62
Port A Wake-up...........................................................................................................................62
I/O Port Control Registers...........................................................................................................62
I/O Port Source Current Control..................................................................................................62
Pin-remapping Functions............................................................................................................64
I/O Pin Structures........................................................................................................................65
Programming Considerations .....................................................................................................66
Timer Modules – TM........................................................................................... 67
Introduction.................................................................................................................................67
TM Operation..............................................................................................................................67
Rev. 1.20
3 August 29, 2017





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