A/D MCU. HT66F317 Datasheet

HT66F317 MCU. Datasheet pdf. Equivalent

HT66F317 Datasheet
Recommendation HT66F317 Datasheet
Part HT66F317
Description Enhanced A/D MCU
Feature HT66F317; Enhanced A/D MCU with LCD Driver HT66F317/HT66F318 Revision: V1.20 Date: �D�e�c�e�mb��e�r�1��3,��2�0.
Manufacture Holtek Semiconductor
Datasheet
Download HT66F317 Datasheet





Holtek Semiconductor HT66F317
Enhanced A/D MCU with LCD Driver
HT66F317/HT66F318
Revision: V1.20 Date: �D�e�c�e�mb��e�r�1��3,��2�0�1��6



Holtek Semiconductor HT66F317
HT66F317/HT66F318
Enhanced A/D MCU with LCD Driver
Table of Contents
Features................................................................................................................. 7
CPU Features...............................................................................................................................7
Peripheral Features.......................................................................................................................7
General Description.............................................................................................. 8
Selection Table...................................................................................................... 8
Block Diagram....................................................................................................... 9
Pin Assignment..................................................................................................... 9
Pin Description................................................................................................... 12
Absolute Maximum Ratings............................................................................... 16
D.C. Characteristics............................................................................................ 16
A.C. Characteristics............................................................................................ 18
A/D Converter Electrical Characteristics.......................................................... 19
LVD & LVR Electrical Characteristics............................................................... 20
Comparator Electrical Characteristics – HT66F318........................................ 21
Power-on Reset Characteristics........................................................................ 21
System Architecture........................................................................................... 22
Clocking and Pipelining...............................................................................................................22
Program Counter.........................................................................................................................23
Stack...........................................................................................................................................23
Arithmetic and Logic Unit – ALU.................................................................................................24
Flash Program Memory...................................................................................... 25
Structure......................................................................................................................................25
Special Vectors...........................................................................................................................25
Look-up Table..............................................................................................................................26
Table Program Example..............................................................................................................26
In Circuit Programming – ICP.....................................................................................................27
On-Chip Debug Support – OCDS...............................................................................................28
RAM Data Memory.............................................................................................. 29
Structure......................................................................................................................................29
Special Function Register Description............................................................. 32
Indirect Addressing Register – IAR0, IAR1.................................................................................32
Memory Pointers – MP0, MP1 ...................................................................................................32
Bank Pointer – BP ......................................................................................................................33
Accumulator – ACC.....................................................................................................................33
Program Counter Low Register – PCL .......................................................................................33
Look-up Table Registers – TBLP, TBHP, TBLH ..........................................................................33
Status Register – STATUS .........................................................................................................34
Rev. 1.20
2 December 13, 2016



Holtek Semiconductor HT66F317
HT66F317/HT66F318
Enhanced A/D MCU with LCD Driver
EEPROM Data memory...................................................................................... 36
EEPROM Data Memory Structure..............................................................................................36
EEPROM Registers....................................................................................................................36
Reading Data from the EEPROM...............................................................................................38
Writing Data to the EEPROM......................................................................................................38
Write Protection...........................................................................................................................38
EEPROM Interrupt......................................................................................................................38
Programming Considerations......................................................................................................39
Oscillator............................................................................................................. 40
Oscillator Overview ....................................................................................................................40
System Clock Configurations .....................................................................................................40
External Crystal/Ceramic Oscillator – HXT ................................................................................41
Internal RC Oscillator – HIRC ....................................................................................................42
External 32.768kHz Crystal Oscillator – LXT..............................................................................42
Internal 32kHz Oscillator – LIRC ................................................................................................43
Supplementary Oscillators .........................................................................................................43
Operating Modes and System Clocks ............................................................. 44
System Clocks ...........................................................................................................................44
System Operation Modes ...........................................................................................................45
Control Register..........................................................................................................................46
Fast Wake-up .............................................................................................................................47
Operating Mode Switching .........................................................................................................48
Standby Current Considerations ................................................................................................53
Wake-up .....................................................................................................................................53
Programming Considerations .....................................................................................................54
Watchdog Timer.................................................................................................. 55
Watchdog Timer Clock Source....................................................................................................55
Watchdog Timer Control Register...............................................................................................55
Watchdog Timer Operation.........................................................................................................56
Reset and Initialisation....................................................................................... 57
Reset Functions .........................................................................................................................57
Reset Initial Conditions ..............................................................................................................60
Input/Output Ports ............................................................................................. 64
Pull-high Resistors......................................................................................................................64
Port A Wake-up...........................................................................................................................66
I/O Port Control Registers...........................................................................................................66
I/O Pin Structures........................................................................................................................67
Source Current Selection............................................................................................................68
Programming Considerations .....................................................................................................70
Rev. 1.20
3 December 13, 2016





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