Rev. 1.20 2 January 23, 2015 Rev. 1.20 3 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit 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
............................................................................................ 10
Absolute Maximum Ratings
.......................................................................... 17
D.C. Characteristics
....................................................................................... 18
A.C. Characteristics
....................................................................................... 20
Sensor Oscillator Electrical Characteristics
............................................... 21
Power-on Reset Characteristics
.................................................................. 24
System Architecture
...................................................................................... 25
Clocking and Pipelining ......................................................................................................... 25
Program Counter ................................................................................................................... 26
Stack
..................................................................................................................................... 27
Arithmetic and Logic Unit – ALU ........................................................................................... 27
Flash Program Memory ................................................................................. 28
Structure ................................................................................................................................ 28
Special Vectors ..................................................................................................................... 29
Look-up Table ........................................................................................................................ 29
Table Program Example ........................................................................................................ 29
In Circuit Programming – ICP ............................................................................................... 30
On-Chip Debug Support – OCDS ......................................................................................... 31
RAM Data Memory ......................................................................................... 32
Structure ................................................................................................................................ 32
Special Function Register Description ........................................................ 36
Indirect Addressing Registers – IAR0, IAR1 ......................................................................... 36
Memory Pointers – MP0, MP1 .............................................................................................. 36
Bank Pointer – BP ................................................................................................................. 37
Accumulator – ACC ............................................................................................................... 38
Program Counter Low Register – PCL .................................................................................. 38
Look-up Table Registers – TBLP, TBHP, TBLH ..................................................................... 38
Status Register – STATUS .................................................................................................... 39
EEPROM Data Memory .................................................................................. 41
EEPROM Data Memory Structure ........................................................................................ 41
EEPROM Registers .............................................................................................................. 41
Reading Data from the EEPROM ........................................................................................ 43