Download "user manual"

Transcript
78M6612 Data Sheet
DS_6612_001
Table of Contents
1
Hardware Description ......................................................................................................................... 8
1.1 Hardware Overview ..................................................................................................................... 8
1.2 Analog Front End (AFE) ............................................................................................................... 9
1.2.1 Input Multiplexer............................................................................................................... 9
1.2.2 A/D Converter (ADC) ....................................................................................................... 9
1.2.3 FIR Filter ........................................................................................................................ 10
1.2.4 Voltage References ....................................................................................................... 10
1.2.5 Temperature Sensor ...................................................................................................... 11
1.2.6 Battery Monitor ............................................................................................................... 11
1.2.7 Functional Description ................................................................................................... 11
1.3 Digital Computation Engine (CE) ............................................................................................... 12
1.3.1 Measurement Equations ................................................................................................ 13
1.3.2 Real-Time Monitor ......................................................................................................... 13
1.3.3 Pulse Generator ............................................................................................................. 13
1.3.4 CE Functional Overview ................................................................................................ 14
1.4 80515 MPU Core ....................................................................................................................... 15
1.4.1 Memory Organization .................................................................................................... 16
1.4.2 Special Function Registers (SFRs) ............................................................................... 18
1.4.3 Special Function Registers (Generic 80515 SFRs) ....................................................... 19
1.4.4 Special Function Registers Specific to the 78M6612 .................................................... 21
1.4.5 Instruction Set ................................................................................................................ 23
1.4.6 UARTs ........................................................................................................................... 23
1.4.7 Timers and Counters ..................................................................................................... 26
1.4.8 WD Timer (Software Watchdog Timer) ......................................................................... 28
1.4.9 Interrupts ........................................................................................................................ 30
1.5 On-Chip Resources ................................................................................................................... 39
1.5.1 Oscillator ........................................................................................................................ 39
1.5.2 PLL and Internal Clocks ................................................................................................. 39
1.5.3 Real-Time Clock (RTC) ................................................................................................. 39
1.5.4 Temperature Sensor ...................................................................................................... 40
1.5.5 Physical Memory............................................................................................................ 40
1.5.6 Optical Interface ............................................................................................................. 41
1.5.7 Digital I/O ....................................................................................................................... 42
1.5.8 LCD Drivers ................................................................................................................... 44
1.5.9 Battery Monitor ............................................................................................................... 44
1.5.10 EEPROM Interface ........................................................................................................ 45
1.5.11 Hardware Watchdog Timer ............................................................................................ 48
1.5.12 Program Security ........................................................................................................... 48
1.5.13 Test Ports ....................................................................................................................... 49
2
Functional Description ..................................................................................................................... 50
2.1 Theory of Operation ................................................................................................................... 50
2.2 System Timing Summary ........................................................................................................... 51
2.3 Battery Modes ............................................................................................................................ 52
2.3.1 BROWNOUT Mode........................................................................................................ 53
2.3.2 LCD Mode ...................................................................................................................... 54
2.3.3 SLEEP Mode ................................................................................................................. 54
2.4 Fault and Reset Behavior .......................................................................................................... 59
2.5 Wake Up Behavior ..................................................................................................................... 60
2.5.1 Wake on Timer............................................................................................................... 60
2.6 Data Flow ................................................................................................................................... 60
2.7 CE/MPU Communication ........................................................................................................... 61
2
Rev. 1.1