OTP MCU. HT46R002 Datasheet

HT46R002 MCU. Datasheet pdf. Equivalent

HT46R002 Datasheet
Recommendation HT46R002 Datasheet
Part HT46R002
Description Cost-Effective A/D 8-Bit OTP MCU
Feature HT46R002; Cost-Effective A/D 8-Bit OTP MCU HT46R002/HT46R003 Revision: V1.21 Date: April 11, 2017 HT46R002/HT.
Manufacture Holtek Semiconductor
Datasheet
Download HT46R002 Datasheet




Holtek Semiconductor HT46R002
Cost-Effective A/D 8-Bit OTP MCU
HT46R002/HT46R003
Revision: V1.21 Date: April 11, 2017



Holtek Semiconductor HT46R002
HT46R002/HT46R003
Cost-Effective A/D 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
HT46R002................................................................................................................................ 7
HT46R003................................................................................................................................ 8
Absolute Maximum Ratings............................................................................. 8
D.C.Characteristics........................................................................................... 9
A.C. Characteristics.......................................................................................... 9
A/D Converter Characteristics....................................................................... 10
Power-on Reset Characteristics.................................................................... 10
System Architecture........................................................................................11
Clocking and Pipelining...........................................................................................................11
Program Counter – PC........................................................................................................... 12
Stack...................................................................................................................................... 12
Arithmetic and Logic Unit – ALU............................................................................................ 13
Program Memory............................................................................................ 13
Structure................................................................................................................................. 13
Special Vectors...................................................................................................................... 14
Look-up Table......................................................................................................................... 14
Table Program Example......................................................................................................... 15
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
Rev. 1.21
2 April 11, 2017



Holtek Semiconductor HT46R002
HT46R002/HT46R003
Cost-Effective A/D 8-Bit OTP MCU
Oscillator......................................................................................................... 22
System Oscillator Overview................................................................................................... 22
System Clock Configurations................................................................................................. 22
Internal RC Oscillator – HIRC................................................................................................ 22
Internal 12kHz Oscillator – LIRC............................................................................................ 22
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
Pull-high Resistors................................................................................................................. 33
Port A Wake-up...................................................................................................................... 34
I/O Port Control Registers...................................................................................................... 35
Pin-shared Functions............................................................................................................. 36
I/O Pin Structures................................................................................................................... 37
Programming Considerations................................................................................................. 38
Timer/Event Counter...................................................................................... 39
Configuring the Timer/Event Counter Input Clock Source..................................................... 39
Timer Register – TMR0.......................................................................................................... 40
Timer Control Register – TMR0C........................................................................................... 40
Timer Mode............................................................................................................................ 41
Event Counter Mode.............................................................................................................. 42
Pulse Width Capture Mode.................................................................................................... 43
Prescaler................................................................................................................................ 44
PFD Function (for HT46R003)............................................................................................... 44
I/O Interfacing......................................................................................................................... 44
Programming Considerations................................................................................................. 45
Timer Program Example........................................................................................................ 46
Pulse Width Modulator................................................................................... 47
PWM Operation...................................................................................................................... 47
6+2 PWM Mode..................................................................................................................... 47
7+1 PWM Mode..................................................................................................................... 48
PWM Output Control.............................................................................................................. 49
Rev. 1.21
3 April 11, 2017







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