OTP MCU. HT45R4U Datasheet

HT45R4U MCU. Datasheet pdf. Equivalent

HT45R4U Datasheet
Recommendation HT45R4U Datasheet
Part HT45R4U
Description e-Banking ASSP OTP MCU
Feature HT45R4U; TinyPowerTM A/D Type e-Banking ASSP OTP MCU with LCD HT45R4U Revision: V1.10 Date: �M�a�r�c�h�1��2,�.
Manufacture Holtek Semiconductor
Datasheet
Download HT45R4U Datasheet




Holtek Semiconductor HT45R4U
TinyPowerTM A/D Type
e-Banking ASSP OTP MCU with LCD
HT45R4U
Revision: V1.10 Date: �M�a�r�c�h�1��2,���2�0�1�5



Holtek Semiconductor HT45R4U
HT45R4U
TinyPowerTM A/D Type
e-Banking ASSP OTP MCU with LCD
Table of Contents
Features............................................................................................................. 6
General Description.......................................................................................... 7
Block Diagram................................................................................................... 7
Pin Assignment................................................................................................. 8
Pin Description................................................................................................. 8
Absolute Maximum Ratings........................................................................... 10
D.C. Characteristics........................................................................................ 10
A.C. Characteristics.........................................................................................11
HIRC Oscillator Voltage/Temperature vs. Frequency Curves..................... 12
Frequency Accurary (Trim 4MHz at VDD=3V)......................................................................... 12
LVD/LVR Characteristics................................................................................ 12
LCD D.C. Characteristics............................................................................... 13
Power-on Reset Characteristics.................................................................... 13
System Architecture....................................................................................... 14
Clocking and Pipelining.......................................................................................................... 14
Program Counter– PC............................................................................................................ 15
Stack...................................................................................................................................... 16
Arithmetic and Logic Unit – ALU............................................................................................ 16
Program Memory............................................................................................ 17
Structure................................................................................................................................. 17
Special Vectors...................................................................................................................... 18
Look-up Table......................................................................................................................... 19
Table Program Example......................................................................................................... 20
Data Memory................................................................................................... 21
Structure................................................................................................................................. 21
General Purpose Data Memory............................................................................................. 22
Special Purpose Data Memory.............................................................................................. 22
Display Memory..................................................................................................................... 22
Special Function Register Description......................................................... 24
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 24
Memory Pointers – MP0, MP1............................................................................................... 24
Bank Pointer − BP.................................................................................................................. 25
Accumulator − ACC................................................................................................................ 25
Program Counter Low Register − PCL................................................................................... 26
Look-up Table Registers − TBLP, TBHP, TBLH...................................................................... 26
Status Register − STATUS..................................................................................................... 26
Interrupt Control Registers..................................................................................................... 27
Timer/Event Counter Registers.............................................................................................. 27
Input/Output Ports and Control Registers.............................................................................. 27
Rev. 1.10
2 March 12, 2015



Holtek Semiconductor HT45R4U
HT45R4U
TinyPowerTM A/D Type
e-Banking ASSP OTP MCU with LCD
A/D Converter Registers – ADRL, ADRH, ADCR0, ADCR1, ACER....................................... 27
Port A Wake-up Register − PAWU......................................................................................... 27
Pull-High Resistors − PAPU, PBPU, PCPU, PDPU, PEPU................................................... 28
System Mode control Register – SMOD................................................................................ 28
LCD Registers − LCDCTRL, PCFS, PDFS............................................................................ 28
Input/Output Ports.......................................................................................... 28
Pull-high Resistors................................................................................................................. 28
Port A Wake-up...................................................................................................................... 29
I/O Port Control Registers...................................................................................................... 30
Pin-shared Functions............................................................................................................. 31
I/O Pin Structures................................................................................................................... 32
Programming Considerations................................................................................................. 33
LCD Driver....................................................................................................... 34
Display Memory..................................................................................................................... 34
LCD Registers........................................................................................................................ 35
LCD Reset Function............................................................................................................... 36
Clock Source.......................................................................................................................... 36
LCD Driver Output.................................................................................................................. 37
LCD Voltage Source and Biasing........................................................................................... 37
Programming Considerations................................................................................................. 38
Timer/Event Counters.................................................................................... 40
Configuring the Timer/Event Counter Input Clock Source..................................................... 40
Timer Registers − TMR0, TMR1, TMR2................................................................................. 41
Timer Control Registers − TMR0C, TMR1C, TMR2C............................................................ 41
Configuring the Timer Mode................................................................................................... 42
Configuring the Event Counter Mode..................................................................................... 43
Configuring the Pulse Width Measurement Mode.................................................................. 43
Programmable Frequency Divider – PFD.............................................................................. 45
I/O Interfacing......................................................................................................................... 45
Timer/Event Counter Pins Internal Filter................................................................................ 46
Programming Considerations................................................................................................. 46
Timer Program Example........................................................................................................ 47
Analog to Digital Converter........................................................................... 48
A/D Overview......................................................................................................................... 48
A/D Converter Data Registers – ADRL, ADRH...................................................................... 48
A/D Converter Control Register – ADCR0, ADCR1, ACER.................................................... 49
A/D Operation........................................................................................................................ 52
A/D Input Pins........................................................................................................................ 53
Summary of A/D Conversion Steps........................................................................................ 54
A/D Transfer Function............................................................................................................ 55
Programming Considerations................................................................................................. 55
A/D Programming Example.................................................................................................... 56
Rev. 1.10
3 March 12, 2015







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