BH67F2480
Glucose Meter LCD Flash MCU
In Circuit Programming – ICP .....................................................................................................31
On-Chip Debug Support – OCDS ...............................................................................................32
In Application Programming – IAP ..............................................................................................32
Data Memory .......................................................................................................48
Structure......................................................................................................................................48
Data Memory Addressing............................................................................................................49
General Purpose Data Memory ..................................................................................................49
Special Purpose Data Memory ...................................................................................................49
Special Function Register Description.............................................................51
Indirect Addressing Registers – IAR0, IAR1, IAR2 .....................................................................51
Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H...............................................................51
Program Memory Bank Pointer – PBP........................................................................................53
Accumulator – ACC ....................................................................................................................53
Program Counter Low Register – PCL .......................................................................................53
Look-up Table Registers – TBLP, TBHP, TBLH ..........................................................................53
Status Register – STATUS .........................................................................................................54
EEPROM Data Memory.......................................................................................56
EEPROM Data Memory Structure ..............................................................................................56
EEPROM Registers ....................................................................................................................56
Reading Data from the EEPROM ...............................................................................................58
Writing Data to the EEPROM......................................................................................................58
Write Protection...........................................................................................................................58
EEPROM Interrupt ......................................................................................................................58
Programming Considerations......................................................................................................59
Oscillators ...........................................................................................................60
Oscillator Overview .....................................................................................................................60
System Clock Configurations......................................................................................................60
External Crystal/Ceramic Oscillator – HXT .................................................................................61
Internal High Speed RC Oscillator – HIRC .................................................................................62
External 32.768kHz Crystal Oscillator – LXT..............................................................................62
Internal 32kHz Oscillator – LIRC.................................................................................................63
Operating Modes and System Clocks ..............................................................63
System Clocks ............................................................................................................................63
System Operation Modes............................................................................................................64
Control Registers ........................................................................................................................66
Operating Mode Switching..........................................................................................................68
Standby Current Considerations.................................................................................................71
Wake-up......................................................................................................................................72
Watchdog Timer..................................................................................................73
Watchdog Timer Clock Source....................................................................................................73
Watchdog Timer Control Register...............................................................................................73
Watchdog Timer Operation .........................................................................................................74
Rev. 1.70
3
November 14, 2023