Flash MCU. BS83A02A-4 Datasheet

BS83A02A-4 MCU. Datasheet pdf. Equivalent

BS83A02A-4 Datasheet
Recommendation BS83A02A-4 Datasheet
Part BS83A02A-4
Description Touch I/O Flash MCU
Feature BS83A02A-4; Touch I/O Flash MCU BS83A02A-4/BS83A04A-3/BS83A04A-4 Revision: V1.71 Date: April 11, 2017 BS83A02A-.
Manufacture Holtek Semiconductor
Datasheet
Download BS83A02A-4 Datasheet




Holtek Semiconductor BS83A02A-4
Touch I/O Flash MCU
BS83A02A-4/BS83A04A-3/BS83A04A-4
Revision: V1.71 Date: April 11, 2017



Holtek Semiconductor BS83A02A-4
BS83A02A-4/BS83A04A-3/BS83A04A-4
Touch I/O Flash MCU
Table of Contents
Features............................................................................................................. 5
CPU Features.......................................................................................................................... 5
Peripheral Features.................................................................................................................. 5
General Description ......................................................................................... 6
Selection Table.................................................................................................. 6
Block Diagram................................................................................................... 7
Pin Assignment................................................................................................. 7
Pin Description................................................................................................. 8
Absolute Maximum Ratings............................................................................. 9
D.C. Characteristics........................................................................................ 10
A.C. Characteristics.........................................................................................11
Power-on Reset Characteristics.....................................................................11
System Architecture....................................................................................... 12
Clocking and Pipelining.......................................................................................................... 12
Program Counter – PC........................................................................................................... 13
Stack...................................................................................................................................... 14
Arithmetic and Logic Unit – ALU............................................................................................ 14
Flash Progam Memory................................................................................... 15
Structure................................................................................................................................. 15
Special Vectors...................................................................................................................... 15
Look-up Table......................................................................................................................... 15
Table Program Example......................................................................................................... 16
In Circuit Programming.......................................................................................................... 17
On-chip Debug Support – OCDS........................................................................................... 18
RAM Data Memory.......................................................................................... 19
Structure................................................................................................................................. 19
Special Function Register.............................................................................. 21
Indirect Addressing Registers – IAR0, IAR1.......................................................................... 21
Memory Pointers – MP0, MP1............................................................................................... 21
Accumulator – ACC................................................................................................................ 22
Program Counter Low Register – PCL................................................................................... 22
Look-up Table Registers – TBLP, TBHP, TBLH...................................................................... 22
Status Register – STATUS..................................................................................................... 22
Systen Control Register – CTRL............................................................................................ 24
Oscillators....................................................................................................... 25
Oscillator Overview................................................................................................................ 25
System Clock Configuratios................................................................................................... 25
Internal RC Oscillator – HIRC................................................................................................ 25
Internal 32kHZ Oscillator – LIRC........................................................................................... 25
Rev. 1.71
2 April 11, 2017



Holtek Semiconductor BS83A02A-4
BS83A02A-4/BS83A04A-3/BS83A04A-4
Touch I/O Flash MCU
Operating Modes and System Clocks.......................................................... 26
System Clocks....................................................................................................................... 26
Control Register..................................................................................................................... 27
System Operation Modes....................................................................................................... 28
Operating Mode Switching..................................................................................................... 29
Standby Current Considerations............................................................................................ 32
Wake-up................................................................................................................................. 33
Programming Considerations................................................................................................. 33
Watchdog Timer.............................................................................................. 34
Watchdog Timer Clock Source............................................................................................... 34
Watchdog Timer Control Register.......................................................................................... 34
Watchdog Timer Operation.................................................................................................... 35
Reset and Initialisation................................................................................... 36
Reset Functions..................................................................................................................... 36
Reset Initial Conditions.......................................................................................................... 38
Input/Output Ports.......................................................................................... 40
Pull-high Resistors................................................................................................................. 40
Port A Wake-up...................................................................................................................... 41
I/O Port Control Registers...................................................................................................... 41
I/O Pin Structures................................................................................................................... 42
Programming Considerations................................................................................................. 42
Timer/Event Counter...................................................................................... 43
Configuring the Timer/Event Counter Input Clock Source..................................................... 43
Timer Register – TMR............................................................................................................ 43
Timer Control Register – TMRC............................................................................................. 44
Timer/Event Counter Operation ............................................................................................ 44
Prescaler................................................................................................................................ 45
Programming Consideration.................................................................................................. 45
Touch Key Function....................................................................................... 46
Touch Key Structure............................................................................................................... 46
Touch Key Register Definition................................................................................................ 46
Touch Key Operation.............................................................................................................. 51
Touch Key Interrupt................................................................................................................ 53
Programming Considerations................................................................................................. 53
Interrupts......................................................................................................... 54
Interrupt Registers.................................................................................................................. 54
Interrupt Operation................................................................................................................. 56
External Interrupt.................................................................................................................... 57
Touch Key Interrupt................................................................................................................ 57
Timer/Event Counter Interrupt................................................................................................ 57
Time Base Interrupt................................................................................................................ 57
Interrupt Wake-up Function.................................................................................................... 58
Programming Considerations................................................................................................. 59
Rev. 1.71
3 April 11, 2017







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