HT68F2420HT68F2420High Precision HIRC Flash MCUHigh Precision HIRC Flash MCUFeaturesCPU Features • Operating Voltage ♦ fSYS=4MHz: 1.8V~5.5V • Up to 1µs instruction cycle with 4MHz system clock at VDD=5V • Power down and wake-up functions to reduce power consumption • Oscillator ♦ Internal high speed 4MHz RC – HIRC ♦ Internal Low speed 32kHz RC – LIRC • Multi-mode operation: FAST, SLOW, IDLE and SLEEP • Fully integrated internal oscillators require no external components • All instructions executed in one or two instruction cycles • Table read instructions • 61 powerful instructions • 2-level subroutine nesting • Bit manipulation instruction Peripheral Features • Flash Program Memory: 1K×13 • Data Memory: 32×8 • Watchdog Timer function • 16 bidirectional I/O lines • One programmable carrier output – using 9-bit timer • High Driving Current Output pin • One Time-Base function for generation of fixed time interrupt signals • Low voltage reset function • Package types: 8-pin SOP, 16-pin NSOP, 20-pin NSOP, 20-pin SSOP General Description The HT68F2420 device is a Flash Memory type 8-bit high performance RISC architecture microcontroller designed for low cost applications. Offering users the convenience of Flash Memory multi-programming features, the device also includes a wide range of functions and features. Other memory includes an area of Data Memory which is fully accessible by the user. Protective features such as an internal Watchdog Timer coupled with excellent noise immunity and ESD protection ensure that reliable operation is maintained in hostile electrical environments. The device includes a 9-bit timer for IR carrier output, a Time-base function which can generate fixed time interrupt. An internal high precision 4MHz oscillator and an internal 32kHz oscillator which require no external components for their implementation are provided for the system clock and other functions. The inclusion of flexible I/O programming features, high driving current capacity with many other features ensure that the device will find excellent use in IR remote controller and timer applications which require a high precision clock, a timing function or a high driving current. Rev. 1.00 4 October 08, 2020 Rev. 1.00 5 October 08, 2020 Document Outline Features CPU Features Peripheral Features General Description Block Diagram Pin Assignment Pin Description Absolute Maximum Ratings D.C. Characteristics Operating Voltage Characteristics Operating Current Characteristics Standby Current Characteristics A.C. Characteristics Internal Oscillator Characteristics System Start Up Time Characteristics Input/Output Characteristics REM/REMDRV Pin Characteristics LVR Electrical Characteristics Power on Reset Characteristics System Architecture Clocking and Pipelining Program Counter Stack Arithmetic and Logic Unit – ALU Flash Program Memory Structure Special Vectors Look-up Table Table Program Example In Circuit Programming – ICP On-Chip Debug Support – OCDS Data Memory Structure General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Registers – IAR0 Memory Pointers – MP0 Accumulator – ACC Program Counter Low Register – PCL Look-up Table Registers – TBLP, TBLH Status Register – STATUS Oscillators Oscillator Overview System Clock Configurations Internal RC Oscillator – HIRC Internal 32kHz Oscillator – LIRC Operating Modes and System Clocks System Clocks System Operation Modes Control Register Operating Mode Switching Standby Current Considerations Wake-up Watchdog Timer Watchdog Timer Clock Source Watchdog Timer Control Register Watchdog Timer Operation Reset and Initialisation Reset Functions Reset Initial Conditions Input/Output Ports Pull-high Resistors I/O Pin Wake-up I/O Port Control Registers I/O Pin Structures Programming Considerations 9-bit Timer with Carrier Output Timer and Carrier Output Conctrol Register Timer Operation Carrier Output Carrier Output Pins Interrupts Interrupt Register Interrupt Operation Time Base Interrupt Interrupt Wake-up Function Programming Considerations Application Circuits Instruction Set Introduction Instruction Timing Moving and Transferring Data Arithmetic Operations Logical and Rotate Operation Branches and Control Transfer Bit Operations Table Read Operations Other Operations Instruction Set Summary Table Conventions Instruction Definition Package Information 8-pin SOP (150mil) Outline Dimensions 16-pin NSOP (150mil) Outline Dimensions 20-pin NSOP (150mil) Outline Dimensions 20-pin SSOP (150mil) Outline Dimensions