BS86C08C/BS86D12C/BS86E16C/BS86D20C
Enhanced Touch A/D Flash MCU with LED Driver
Data Memory .......................................................................................................38
Structure .....................................................................................................................................38
Data Memory Addressing............................................................................................................39
General Purpose Data Memory ..................................................................................................39
Special Purpose Data Memory ...................................................................................................39
Special Function Register Description.............................................................44
Indirect Addressing Registers – IAR0, IAR1, IAR2 .....................................................................44
Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H...............................................................44
Program Memory Bank Pointer – PBP........................................................................................45
Accumulator – ACC ....................................................................................................................46
Program Counter Low Register – PCL .......................................................................................46
Look-up Table Registers – TBLP, TBHP, TBLH ..........................................................................46
Status Register – STATUS .........................................................................................................46
EEPROM Data Memory.......................................................................................48
EEPROM Data Memory Structure ..............................................................................................48
EEPROM Registers ....................................................................................................................48
Reading Data from the EEPROM ...............................................................................................50
Writing Data to the EEPROM......................................................................................................50
Write Protection...........................................................................................................................51
EEPROM Interrupt ......................................................................................................................51
Programming Considerations......................................................................................................51
Oscillators ...........................................................................................................52
Oscillator Overview .....................................................................................................................52
System Clock Configurations......................................................................................................52
Internal High Speed RC Oscillator – HIRC .................................................................................53
Internal 32kHz Oscillator – LIRC.................................................................................................53
External 32.768kHz Crystal Oscillator – LXT (BS86E16C/BS86D20C)......................................54
Operating Modes and System Clocks ..............................................................55
System Clocks ............................................................................................................................55
System Operation Modes............................................................................................................56
Control Registers ........................................................................................................................57
Operating Mode Switching..........................................................................................................60
Standby Current Considerations.................................................................................................62
Wake-up......................................................................................................................................63
Programming Considerations......................................................................................................63
Watchdog Timer..................................................................................................64
Watchdog Timer Clock Source....................................................................................................64
Watchdog Timer Control Register...............................................................................................64
Watchdog Timer Operation .........................................................................................................65
Reset and Initialisation.......................................................................................66
Reset Functions ..........................................................................................................................66
Reset Initial Conditions ...............................................................................................................69
Rev. 1.41
3
November 10, 2023