BH66F5242
24-bit Delta Sigma A/D Flash MCU
Integrated Regulator & 1 set OPAs
Special Purpose Data Memory ..................................................................................................27
Special Function Register Description............................................................28
Indirect Addressing Registers – IAR0, IAR1, IAR2 ....................................................................28
Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H..............................................................28
Accumulator – ACC....................................................................................................................29
Program Counter Low Register – PCL.......................................................................................30
Look-up Table Registers – TBLP, TBHP, TBLH..........................................................................30
Status Register – STATUS.........................................................................................................30
EEPROM Data Memory......................................................................................32
EEPROM Data Memory Structure .............................................................................................32
EEPROM Registers ...................................................................................................................32
Reading Data from the EEPROM ..............................................................................................33
Writing Data to the EEPROM.....................................................................................................33
Write Protection..........................................................................................................................34
EEPROM Interrupt .....................................................................................................................34
Programming Considerations.....................................................................................................34
Oscillators ..........................................................................................................36
Oscillator Overview ....................................................................................................................36
System Clock Configurations.....................................................................................................36
Internal High Speed RC Oscillator – HIRC ................................................................................37
Internal 32kHz Oscillator – LIRC................................................................................................37
Operating Modes and System Clocks .............................................................37
System Clocks ...........................................................................................................................37
System Operation Modes...........................................................................................................38
Control Registers .......................................................................................................................39
Operating Mode Switching.........................................................................................................41
Standby Current Considerations................................................................................................45
Wake-up.....................................................................................................................................45
Watchdog Timer.................................................................................................46
Watchdog Timer Clock Source...................................................................................................46
Watchdog Timer Control Register..............................................................................................46
Watchdog Timer Operation ........................................................................................................47
Reset and Initialisation......................................................................................48
Reset Functions .........................................................................................................................48
Reset Initial Conditions ..............................................................................................................51
Input/Output Ports.............................................................................................54
Pull-high Resistors .....................................................................................................................54
Port A Wake-up ..........................................................................................................................55
I/O Port Control Registers..........................................................................................................55
I/O Port Source Current Selection..............................................................................................55
Pin-shared Functions .................................................................................................................56
I/O Pin Structures.......................................................................................................................59
Programming Considerations.....................................................................................................59
Rev. 1.31
3
September 15, 2020