DS_6612_001
78M6612 Data Sheet
3
Application Information...............................................................................................................63
3.1 Connection of Sensors (CT, Resistive Shunt) ........................................................................63
3.2 Temperature Measurement ...................................................................................................64
3.3 Temperature Compensation ..................................................................................................64
3.4 Temperature Compensation and Mains Frequency Stabilization for the RTC.........................65
3.5 Connecting 5V Devices .........................................................................................................66
3.6 Connecting LCDs..................................................................................................................67
3.7 Connecting I2C EEPROMs....................................................................................................69
3.8 Connecting 3-Wire EEPROMs ..............................................................................................70
3.9 UART0 (TX/RX) ....................................................................................................................70
3.10 UART1 Interface....................................................................................................................71
3.11 Connecting V1 and Reset Pins .............................................................................................71
3.12 Connecting the Emulator Port Pins .......................................................................................72
3.13 Crystal Oscillator ...................................................................................................................73
3.14 Flash Programming...............................................................................................................73
3.15 MPU Firmware Library...........................................................................................................73
3.16 Measurement Calibration.......................................................................................................73
4
Firmware Interface ......................................................................................................................74
4.1 I/O RAM Map........................................................................................................................74
4.2 SFR Map (SFRs Specific to Teridian 80515) .........................................................................75
4.3 I/O RAM Description – Alphabetical Order.............................................................................76
4.4 CE Interface Description........................................................................................................83
4.4.1 CE Program ..............................................................................................................83
4.4.2 Formats.....................................................................................................................83
4.4.3 Constants..................................................................................................................83
4.4.4 Environment..............................................................................................................83
4.4.5 CE Calculations.........................................................................................................84
4.4.6 CE Status..................................................................................................................84
4.4.7 CE Transfer Variables................................................................................................85
5
Electrical Specifications.............................................................................................................89
5.1 Absolute Maximum Ratings...................................................................................................89
5.2 Recommended External Components...................................................................................90
5.3 Recommended Operating Conditions....................................................................................90
5.4 Performance Specifications ...................................................................................................91
5.4.1 Input Logic Levels .....................................................................................................91
5.4.2 Output Logic Levels...................................................................................................91
5.4.3 Power-Fault Comparator............................................................................................91
5.4.4 Battery Monitor ..........................................................................................................91
5.4.5 Supply Current ..........................................................................................................93
5.4.6 V3P3D Switch ...........................................................................................................93
5.4.7 2.5V Voltage Regulator..............................................................................................93
5.4.8 Low Power Voltage Regulator....................................................................................93
5.4.9 Crystal Oscillator........................................................................................................95
5.4.10 VREF, VBIAS............................................................................................................95
5.4.11 LCD Drivers...............................................................................................................95
5.4.12 ADC Converter, V3P3A Referenced ..........................................................................96
5.4.13 UART1 Interface........................................................................................................96
5.4.14 Temperature Sensor..................................................................................................96
5.5 Timing Specifications ............................................................................................................97
5.5.1 RAM and Flash Memory............................................................................................97
5.5.2 Flash Memory Timing ................................................................................................97
5.5.3 EEPROM Interface....................................................................................................97
5.5.4 RESET and V1..........................................................................................................97
5.5.5 RTC...........................................................................................................................97
Rev. 1.2
3