Flash MCU. BS86D20A-3 Datasheet

BS86D20A-3 MCU. Datasheet pdf. Equivalent

BS86D20A-3 Datasheet
Recommendation BS86D20A-3 Datasheet
Part BS86D20A-3
Description Touch A/D Flash MCU
Feature BS86D20A-3; Touch A/D Flash MCU with LED/LCD Driver BS86B12A-3/BS86C16A-3/BS86D20A-3 Revision: V1.40 Date: �D�e�.
Manufacture Holtek Semiconductor
Datasheet
Download BS86D20A-3 Datasheet




Holtek Semiconductor BS86D20A-3
Touch A/D Flash MCU with LED/LCD Driver
BS86B12A-3/BS86C16A-3/BS86D20A-3
Revision: V1.40 Date: �D�e�c�e�mb��e�r�0��5,���2�0�1�6



Holtek Semiconductor BS86D20A-3
BS86B12A-3/BS86C16A-3/BS86D20A-3
Touch A/D Flash MCU with LED/LCD Driver
Table of Contents
Features............................................................................................................. 6
CPU Features.......................................................................................................................... 6
Peripheral Features.................................................................................................................. 7
General Description ......................................................................................... 8
Selection Table.................................................................................................. 8
Block Diagram................................................................................................... 9
Pin Assignment................................................................................................. 9
Pin Descriptions............................................................................................. 12
Absolute Maximum Ratings........................................................................... 20
D.C. Characteristics........................................................................................ 21
A.C. Characteristics........................................................................................ 23
Sensor Oscillator Electrical Characteristics................................................ 24
A/D Converter Electrical Characteristics...................................................... 26
LCD Electrical Characteristics...................................................................... 27
Power-on Reset Characteristics.................................................................... 27
System Architecture....................................................................................... 28
Clocking and Pipelining.......................................................................................................... 28
Program Counter.................................................................................................................... 29
Stack...................................................................................................................................... 30
Arithmetic and Logic Unit – ALU............................................................................................ 30
Flash Program Memory.................................................................................. 31
Structure................................................................................................................................. 31
Special Vectors...................................................................................................................... 31
Look-up Table......................................................................................................................... 32
Table Program Example......................................................................................................... 32
In Circuit Programming – ICP................................................................................................ 33
On-Chip Debug Support – OCDS.......................................................................................... 34
RAM Data Memory.......................................................................................... 35
Structure................................................................................................................................. 35
Data Memory Addressing....................................................................................................... 36
General Purpose Data Memory............................................................................................. 36
Special Purpose Data Memory.............................................................................................. 36
Special Function Register Description......................................................... 40
Indirect Addressing Registers – IAR0, IAR1, IAR2................................................................ 40
Memory Pointers – MP0, MP1L/MP1H, MP2L/MP2H............................................................ 40
Accumulator – ACC................................................................................................................ 42
Program Counter Low Register – PCL................................................................................... 42
Look-up Table Registers – TBLP, TBHP, TBLH...................................................................... 42
Status Register – STATUS..................................................................................................... 42
Rev. 1.40
2 December 05, 2016



Holtek Semiconductor BS86D20A-3
BS86B12A-3/BS86C16A-3/BS86D20A-3
Touch A/D Flash MCU with LED/LCD Driver
EEPROM Data Memory................................................................................... 44
EEPROM Data Memory Structure......................................................................................... 44
EEPROM Registers............................................................................................................... 44
Reading Data from the EEPROM ......................................................................................... 46
Writing Data to the EEPROM................................................................................................. 46
Write Protection...................................................................................................................... 46
EEPROM Interrupt................................................................................................................. 46
Programming Considerations................................................................................................. 47
Oscillators....................................................................................................... 48
Oscillator Overview................................................................................................................ 48
System Clock Configurations................................................................................................. 48
Internal RC Oscillator – HIRC................................................................................................ 48
Internal 32kHz Oscillator – LIRC............................................................................................ 49
External 32.768kHz Crystal Oscillator – LXT......................................................................... 49
Operating Modes and System Clocks.......................................................... 51
System Clocks....................................................................................................................... 51
System Operation Modes....................................................................................................... 52
Control Register..................................................................................................................... 53
Operating Mode Switching .................................................................................................... 54
Standby Current Considerations............................................................................................ 57
Wake-up................................................................................................................................. 58
Programming Considerations................................................................................................. 58
Watchdog Timer.............................................................................................. 59
Watchdog Timer Clock Source............................................................................................... 59
Watchdog Timer Control Register.......................................................................................... 59
Watchdog Timer Operation.................................................................................................... 60
Reset and Initialisation................................................................................... 61
Reset Functions..................................................................................................................... 61
Reset Initial Conditions.......................................................................................................... 63
Input/Output Ports.......................................................................................... 68
I/O Register List..................................................................................................................... 68
Pull-high Resistors................................................................................................................. 68
Port A Wake-up...................................................................................................................... 69
I/O Port Control Registers...................................................................................................... 69
Pin-remapping Function......................................................................................................... 69
I/O Pin Structures................................................................................................................... 70
Source Current Selection....................................................................................................... 71
Programming Considerations................................................................................................. 72
Timer Modules – TM....................................................................................... 73
Introduction............................................................................................................................ 73
TM Operation......................................................................................................................... 73
TM Clock Source.................................................................................................................... 73
TM Interrupts.......................................................................................................................... 74
TM External Pins.................................................................................................................... 74
Rev. 1.40
3 December 05, 2016







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