Flash MCU. BS87C16A-3 Datasheet

BS87C16A-3 MCU. Datasheet pdf. Equivalent

BS87C16A-3 Datasheet
Recommendation BS87C16A-3 Datasheet
Part BS87C16A-3
Description Touch A/D Flash MCU
Feature BS87C16A-3; Touch A/D Flash MCU with OCVP BS87B12A-3/BS87C16A-3/BS87D20A-3 Revision: V1.20 Date: �D�e�c�e�mb��e�.
Manufacture Holtek Semiconductor
Datasheet
Download BS87C16A-3 Datasheet




Holtek Semiconductor BS87C16A-3
Touch A/D Flash MCU with OCVP
BS87B12A-3/BS87C16A-3/BS87D20A-3
Revision: V1.20 Date: �D�e�c�e�mb��e�r�0��5,��2�0�1��6



Holtek Semiconductor BS87C16A-3
BS87B12A-3/BS87C16A-3/BS87D20A-3
Touch A/D Flash MCU with OCVP
Table of Contents
Features............................................................................................................. 7
CPU Features.......................................................................................................................... 7
Peripheral Features.................................................................................................................. 7
General Description.......................................................................................... 8
Selection Table.................................................................................................. 8
Block Diagram................................................................................................... 9
Pin Assignment................................................................................................. 9
Pin Descriptions............................................................................................. 13
Absolute Maximum Ratings........................................................................... 22
D.C. Characteristics........................................................................................ 23
Operating Voltage Characteristics.......................................................................................... 23
Standby Current Characteristics............................................................................................ 23
Operating Current Characteristics.......................................................................................... 24
A.C. Characteristics........................................................................................ 25
High Speed Internal Oscillator – HIRC – Frequency Accuracy.............................................. 25
Low Speed Oscillators Characteristics – LIRC & LXT *......................................................... 25
Operating Frequency Characteristic Curves.......................................................................... 26
System Start Up Time Characteristics................................................................................... 26
Input/Output Characteristics......................................................................... 27
Memory Characteristics................................................................................. 27
LVD/LVR Electrical Characteristics............................................................... 28
A/D Converter Characteristics....................................................................... 28
Reference Voltage Characteristics................................................................ 28
Touch Key Electrical Characteristics............................................................ 29
OCVP Electrical Characteristics.................................................................... 31
Software Controlled LCD Electrical Characteristics................................... 31
I2C Characteristics.......................................................................................... 32
Power-on Reset Characteristics.................................................................... 32
System Architecture....................................................................................... 33
Clocking and Pipelining.......................................................................................................... 33
Program Counter.................................................................................................................... 34
Stack...................................................................................................................................... 34
Arithmetic and Logic Unit – ALU............................................................................................ 35
Flash Program Memory.................................................................................. 36
Structure................................................................................................................................. 36
Special Vectors...................................................................................................................... 36
Look-up Table......................................................................................................................... 37
Table Program Example......................................................................................................... 37
Rev. 1.20
2 December 05, 2016



Holtek Semiconductor BS87C16A-3
BS87B12A-3/BS87C16A-3/BS87D20A-3
Touch A/D Flash MCU with OCVP
In Circuit Programming – ICP................................................................................................ 38
On-Chip Debug Support – OCDS.......................................................................................... 39
Data Memory................................................................................................... 40
Structure................................................................................................................................. 40
Data Memory Addressing....................................................................................................... 41
General Purpose Data Memory............................................................................................. 41
Special Purpose Data Memory.............................................................................................. 41
Special Function Register Description......................................................... 45
Indirect Addressing Registers – IAR0, IAR1, IAR2................................................................ 45
Memory Pointers – MP0, MP1H/MP1L, MP2H/MP2L............................................................ 45
Accumulator – ACC................................................................................................................ 46
Program Counter Low Register – PCL................................................................................... 47
Look-up Table Registers – TBLP, TBHP, TBLH...................................................................... 47
Status Register – STATUS..................................................................................................... 47
EEPROM Data Memory................................................................................... 49
EEPROM Data Memory Structure......................................................................................... 49
EEPROM Registers............................................................................................................... 49
Reading Data from the EEPROM.......................................................................................... 51
Writing Data to the EEPROM................................................................................................. 51
Write Protection...................................................................................................................... 51
EEPROM Interrupt................................................................................................................. 51
Programming Considerations................................................................................................. 52
Oscillators....................................................................................................... 53
Oscillator Overview................................................................................................................ 53
System Clock Configurations................................................................................................. 53
Internal High Speed RC Oscillator – HIRC............................................................................ 54
Internal 32kHz Oscillator – LIRC............................................................................................ 54
External 32.768 kHz Crystal Oscillator – LXT – for BS87C16A-3/BS87D20A-3.................... 55
Operating Modes and System Clocks.......................................................... 57
System Clocks....................................................................................................................... 57
System Operation Modes....................................................................................................... 58
Control Registers................................................................................................................... 59
Operating Mode Switching..................................................................................................... 61
Standby Current Considerations............................................................................................ 64
Wake-up................................................................................................................................. 65
Programming Considerations................................................................................................. 65
Watchdog Timer.............................................................................................. 66
Watchdog Timer Clock Source............................................................................................... 66
Watchdog Timer Control Register.......................................................................................... 66
Watchdog Timer Operation.................................................................................................... 67
Reset and Initialisation................................................................................... 68
Reset Functions..................................................................................................................... 68
Reset Initial Conditions.......................................................................................................... 71
Rev. 1.20
3 December 05, 2016







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