OTP MCU. HT48R002 Datasheet

HT48R002 MCU. Datasheet pdf. Equivalent

HT48R002 Datasheet
Recommendation HT48R002 Datasheet
Part HT48R002
Description Cost-Effective I/O 8-Bit OTP MCU
Feature HT48R002; Cost-Effective I/O 8-Bit OTP MCU HT48R002/HT48R003 Revision: V1.11 Date: April 11, 2017 HT48R002/HT.
Manufacture Holtek Semiconductor
Datasheet
Download HT48R002 Datasheet





Holtek Semiconductor HT48R002
Cost-Effective I/O 8-Bit OTP MCU
HT48R002/HT48R003
Revision: V1.11 Date: April 11, 2017



Holtek Semiconductor HT48R002
HT48R002/HT48R003
Cost-Effective I/O 8-Bit OTP MCU
Table of Contents
Features............................................................................................................. 5
CPU Features.......................................................................................................................... 5
Peripheral Features.................................................................................................................. 5
General Description ......................................................................................... 5
Selection Table.................................................................................................. 6
Block Diagram................................................................................................... 6
Pin Assignment................................................................................................. 6
Pin Description................................................................................................. 7
HT48R002................................................................................................................................ 7
HT48R003................................................................................................................................ 8
Absolute Maximum Ratings............................................................................. 8
D.C. Characteristics.......................................................................................... 9
A.C. Characteristics.......................................................................................... 9
Power-on Reset Characteristics.................................................................... 10
System Architecture....................................................................................... 10
Clocking and Pipelining.......................................................................................................... 10
Program Counter – PC............................................................................................................11
Stack...................................................................................................................................... 12
Arithmetic and Logic Unit – ALU............................................................................................ 12
Program Memory............................................................................................ 13
Structure................................................................................................................................. 13
Special Vectors...................................................................................................................... 13
Look-up Table......................................................................................................................... 14
Table Program Example......................................................................................................... 14
RAM Data Memory.......................................................................................... 16
Structure................................................................................................................................. 16
Special Purpose Data Memory.............................................................................................. 17
Special Function Registers............................................................................ 18
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 18
Memory Pointers – MP0, MP1............................................................................................... 18
Accumulator – ACC................................................................................................................ 19
Program Counter Low Register – PCL................................................................................... 19
Status Register – STATUS..................................................................................................... 19
System Control Registers – CTRL0, CTRL1.......................................................................... 21
Oscillator......................................................................................................... 22
System Oscillator Overview................................................................................................... 22
System Clock Configurations................................................................................................. 22
Internal RC Oscillator – HIRC................................................................................................ 22
Internal 12kHz Oscillator – LIRC............................................................................................ 22
Rev. 1.11
2 April 11, 2017



Holtek Semiconductor HT48R002
HT48R002/HT48R003
Cost-Effective I/O 8-Bit OTP MCU
Power Down Mode and Wake-up................................................................... 23
Power Down Mode................................................................................................................. 23
Entering the Power Down Mode............................................................................................ 23
Standby Current Considerations............................................................................................ 23
Wake-up................................................................................................................................. 24
Watchdog Timer.............................................................................................. 25
Watchdog Timer Clock Source............................................................................................... 25
Watchdog Timer Control Registers........................................................................................ 25
Watchdog Timer Operation.................................................................................................... 26
Reset and Initialization................................................................................... 27
Reset Functions..................................................................................................................... 27
Reset Initial Conditions.......................................................................................................... 30
Input/Output Ports.......................................................................................... 33
I/O Register List..................................................................................................................... 33
Pull-high Resistors................................................................................................................. 34
Port A Wake-up...................................................................................................................... 34
I/O Port Control Registers...................................................................................................... 35
Pin-shared Functions............................................................................................................. 36
I/O Pin Structures................................................................................................................... 36
Programming Considerations................................................................................................. 37
Timer/Event Counter...................................................................................... 38
Configuring the Timer/Event Counter Input Clock Source..................................................... 38
Timer Register – TMR0.......................................................................................................... 39
Timer Control Register – TMR0C........................................................................................... 39
Timer Mode............................................................................................................................ 40
Event Counter Mode.............................................................................................................. 41
Pulse Width Capture Mode.................................................................................................... 42
Prescaler................................................................................................................................ 43
PFD Function (for HT48R003)............................................................................................... 43
I/O Interfacing......................................................................................................................... 43
Programming Considerations................................................................................................. 44
Timer Program Example........................................................................................................ 45
Interrupts......................................................................................................... 46
Interrupt Register................................................................................................................... 46
Interrupt Operation................................................................................................................. 47
Interrupt Priority...................................................................................................................... 48
External Interrupt.................................................................................................................... 49
Timer/Event Counter Interrupt................................................................................................ 49
Interrupt Wake-up Function.................................................................................................... 49
Programming Considerations................................................................................................. 50
Application Circuits........................................................................................ 50
Rev. 1.11
3 April 11, 2017





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