Flash MCU. BS82C16A-3 Datasheet

BS82C16A-3 MCU. Datasheet pdf. Equivalent

BS82C16A-3 Datasheet
Recommendation BS82C16A-3 Datasheet
Part BS82C16A-3
Description Touch Flash MCU
Feature BS82C16A-3; Touch Flash MCU with LED/LCD Driver BS82B12A-3/BS82C16A-3/BS82D20A-3 Revision: V1.60 Date: �D�e�c�e�.
Manufacture Holtek Semiconductor
Datasheet
Download BS82C16A-3 Datasheet




Holtek Semiconductor BS82C16A-3
Touch Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Revision: V1.60 Date: �D�e�c�e�mb��e�r�1��5,���2�0�1�6



Holtek Semiconductor BS82C16A-3
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Flash MCU with LED/LCD Driver
Table of Contents
Features............................................................................................................. 6
CPU Features.......................................................................................................................... 6
Peripheral Features.................................................................................................................. 6
General Description ......................................................................................... 7
Selection Table.................................................................................................. 7
Block Diagram................................................................................................... 8
Pin Assignment................................................................................................. 8
Pin Descriptions............................................................................................. 12
Absolute Maximum Ratings........................................................................... 19
D.C. Characteristics........................................................................................ 19
A.C. Characteristics........................................................................................ 21
Sensor Oscillator Electrical Characteristics................................................ 22
Power-on Reset Characteristics.................................................................... 25
System Architecture....................................................................................... 26
Clocking and Pipelining.......................................................................................................... 26
Program Counter.................................................................................................................... 27
Stack...................................................................................................................................... 28
Arithmetic and Logic Unit – ALU............................................................................................ 28
Flash Program Memory.................................................................................. 29
Structure................................................................................................................................. 29
Special Vectors...................................................................................................................... 30
Look-up Table......................................................................................................................... 30
Table Program Example......................................................................................................... 30
In Circuit Programming – ICP................................................................................................ 31
On-Chip Debug Support – OCDS.......................................................................................... 32
RAM Data Memory.......................................................................................... 33
Structure................................................................................................................................. 33
Special Function Register Description......................................................... 37
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 37
Memory Pointers – MP0, MP1............................................................................................... 37
Bank Pointer – BP.................................................................................................................. 38
Accumulator – ACC................................................................................................................ 39
Program Counter Low Register – PCL................................................................................... 39
Look-up Table Registers – TBLP, TBHP, TBLH...................................................................... 39
Status Register – STATUS..................................................................................................... 40
EEPROM Data Memory................................................................................... 42
EEPROM Data Memory Structure......................................................................................... 42
EEPROM Registers............................................................................................................... 42
Reading Data from the EEPROM ......................................................................................... 44
Rev. 1.60
2 December 15, 2016



Holtek Semiconductor BS82C16A-3
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Flash MCU with LED/LCD Driver
Writing Data to the EEPROM................................................................................................. 44
Write Protection...................................................................................................................... 44
EEPROM Interrupt................................................................................................................. 44
Programming Considerations................................................................................................. 45
Oscillator......................................................................................................... 46
Oscillator Overview................................................................................................................ 46
System Clock Configurations................................................................................................. 46
Internal RC Oscillator – HIRC................................................................................................ 47
Internal 32kHz Oscillator – LIRC............................................................................................ 47
External 32.768kHz Crystal Oscillator – LXT......................................................................... 48
LXT Oscillator Low Power Function ...................................................................................... 49
Operating Modes and System Clocks.......................................................... 49
System Clocks....................................................................................................................... 49
System Operation Modes....................................................................................................... 51
Control Register..................................................................................................................... 52
Operating Mode Switching .................................................................................................... 54
NORMAL Mode to SLOW Mode Switching............................................................................ 54
SLOW Mode to NORMAL Mode Switching ........................................................................... 55
Entering the SLEEP Mode..................................................................................................... 55
Entering the IDLE0 Mode....................................................................................................... 56
Entering the IDLE1 Mode....................................................................................................... 56
Standby Current Considerations............................................................................................ 56
Wake-up................................................................................................................................. 57
Programming Considerations................................................................................................. 57
Watchdog Timer.............................................................................................. 58
Watchdog Timer Clock Source............................................................................................... 58
Watchdog Timer Control Register.......................................................................................... 58
Watchdog Timer Operation.................................................................................................... 59
Reset and Initialisation................................................................................... 60
Reset Functions..................................................................................................................... 60
Reset Initial Conditions.......................................................................................................... 62
Input/Output Ports.......................................................................................... 66
I/O Register List..................................................................................................................... 66
Pull-high Resistors................................................................................................................. 67
Port A Wake-up...................................................................................................................... 67
I/O Port Control Registers...................................................................................................... 67
I/O Pin Structures................................................................................................................... 67
Source Current Selection....................................................................................................... 68
Programming Considerations................................................................................................. 69
Timer Modules – TM....................................................................................... 70
Introduction............................................................................................................................ 70
TM Operation......................................................................................................................... 70
TM Clock Source.................................................................................................................... 70
TM Interrupts.......................................................................................................................... 71
Rev. 1.60
3 December 15, 2016







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