Flash MCU. BS84C12A-3 Datasheet

BS84C12A-3 MCU. Datasheet pdf. Equivalent

BS84C12A-3 Datasheet
Recommendation BS84C12A-3 Datasheet
Part BS84C12A-3
Description Touch A/D Flash MCU
Feature BS84C12A-3; Touch A/D Flash MCU BS84B08A-3/BS84C12A-3 Revision: V1.40 Date: �M�a�y�0�4��,��2�0�1�7 BS84B08A-3/B.
Manufacture Holtek Semiconductor
Datasheet
Download BS84C12A-3 Datasheet




Holtek Semiconductor BS84C12A-3
Touch A/D Flash MCU
BS84B08A-3/BS84C12A-3
Revision: V1.40 Date: �M�a�y�0�4��,��2�0�1�7



Holtek Semiconductor BS84C12A-3
BS84B08A-3/BS84C12A-3
Touch A/D Flash MCU
Table of Contents
Features............................................................................................................. 6
CPU Features.......................................................................................................................... 6
Peripheral Features.................................................................................................................. 6
General Description ......................................................................................... 7
Selection Table.................................................................................................. 8
Block Diagram................................................................................................... 8
Pin Assignment................................................................................................. 9
Pin Descriptions............................................................................................. 10
Absolute Maximum Ratings........................................................................... 12
A.C. Characteristics........................................................................................ 12
D.C. Characteristics........................................................................................ 13
ADC Electrical Characteristics...................................................................... 14
Power-on Reset Characteristics.................................................................... 15
System Architecture....................................................................................... 16
Clocking and Pipelining.......................................................................................................... 16
Program Counter.................................................................................................................... 17
Stack...................................................................................................................................... 18
Arithmetic and Logic Unit – ALU............................................................................................ 18
Flash Program Memory.................................................................................. 19
Structure................................................................................................................................. 19
Special Vectors...................................................................................................................... 19
Look-up Table......................................................................................................................... 20
Table Program Example......................................................................................................... 21
In Circuit Programming.......................................................................................................... 22
On-Chip Debug Support – OCDS.......................................................................................... 23
RAM Data Memory.......................................................................................... 23
Structure................................................................................................................................. 23
Special Function Register Description......................................................... 24
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 24
Memory Pointers – MP0, MP1............................................................................................... 25
Bank Pointer – BP.................................................................................................................. 26
Accumulator – ACC................................................................................................................ 26
Program Counter Low Register – PCL................................................................................... 27
Look-up Table Registers – TBLP, TBHP, TBLH...................................................................... 27
Status Register – STATUS..................................................................................................... 27
Rev. 1.40
2 May 04, 2017



Holtek Semiconductor BS84C12A-3
BS84B08A-3/BS84C12A-3
Touch A/D Flash MCU
EEPROM Data Memory................................................................................... 29
EEPROM Data Memory Structure......................................................................................... 29
EEPROM Registers............................................................................................................... 29
Reading Data from the EEPROM ......................................................................................... 31
Writing Data to the EEPROM................................................................................................. 31
Write Protection...................................................................................................................... 31
EEPROM Interrupt................................................................................................................. 31
Programming Considerations................................................................................................. 32
Oscillator......................................................................................................... 33
Oscillator Overview................................................................................................................ 33
System Clock Configurations................................................................................................. 33
Internal RC Oscillator – HIRC................................................................................................ 34
Internal 32kHz Oscillator – LIRC............................................................................................ 34
Operating Modes and System Clocks.......................................................... 34
System Clocks....................................................................................................................... 34
System Operation Modes....................................................................................................... 35
Control Register..................................................................................................................... 36
Operating Mode Switching .................................................................................................... 38
Standby Current Considerations............................................................................................ 40
Wake-up................................................................................................................................. 41
Watchdog Timer.............................................................................................. 42
Watchdog Timer Clock Source............................................................................................... 42
Watchdog Timer Control Register.......................................................................................... 42
Watchdog Timer Operation.................................................................................................... 43
Reset and Initialisation................................................................................... 44
Reset Functions..................................................................................................................... 44
Reset Initial Conditions.......................................................................................................... 47
Input/Output Ports.......................................................................................... 52
I/O Register List..................................................................................................................... 52
Pull-high Resistors................................................................................................................. 53
Port A Wake-up...................................................................................................................... 54
I/O Port Control Registers...................................................................................................... 54
I/O Pin Structures................................................................................................................... 56
Programming Considerations................................................................................................. 57
Timer/Event Counter...................................................................................... 57
Configuring the Timer/Event Counter Input Clock Source..................................................... 57
Timer Register – TMR............................................................................................................ 58
Timer Control Register – TMRC............................................................................................. 58
Timer Operation..................................................................................................................... 59
Prescaler................................................................................................................................ 59
Programming Considerations................................................................................................. 59
Rev. 1.40
3 May 04, 2017







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