beautypg.com

List of figures, List of tables – Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual

Page 8

background image

71M652X Software User’s Guide

Revision 1.7

TERIDIAN Proprietary

8 of 138

© Copyright 2005-2007 TERIDIAN Semiconductor Corporation

List of Figures

Figure 2-1: Software Structure ....................................................................................................................................... 16

Figure 3-1: Port Speed and Handshake Setup ............................................................................................................... 21

Figure 5-1: STARTUP.A51 ............................................................................................................................................. 46

Figure 5-2: INIT.A51 ....................................................................................................................................................... 46

Figure 5-3: main() Program ............................................................................................................................................ 47

Figure 5-4: main_init() Function ..................................................................................................................................... 48

Figure 5-5: main_run() Function ..................................................................................................................................... 49

Figure 5-6: Timer ISRs ................................................................................................................................................... 52

Figure 5-7: stm_run() - Process Software Timers (non-ISR) .......................................................................................... 52

Figure 5-8: CE_BUSY ISR ............................................................................................................................................. 53

Figure 5-9: XFER_BUSY/RTC ISR ................................................................................................................................ 54

Figure 5-10: Serial 0 and 1 isr ........................................................................................................................................ 55

Figure 5-11: ce_update .................................................................................................................................................. 56

Figure 5-12: meter_LCD................................................................................................................................................. 57

Figure 5-13: Command Line Interpreter ......................................................................................................................... 58

Figure 5-14: Auto-Calibration ......................................................................................................................................... 59

Figure 5-15: ce_default Calibration ................................................................................................................................ 60

Figure 5-16: Calibration, continued ................................................................................................................................ 61

Figure 5-17: cmd_pending() ........................................................................................................................................... 62

Figure 5-18: Single-Byte Read/Write .............................................................................................................................. 63

Figure 5-19: Multi-Byte Read ......................................................................................................................................... 64

Figure 5-20: Multi-Byte Write .......................................................................................................................................... 65

Figure 5-21: Power-Up Sequence .................................................................................................................................. 67

Figure 5-22: Sag and Dip Conditions ............................................................................................................................. 79

Figure 5-23: Sag Event .................................................................................................................................................. 79

Figure 5-24: Crystal Frequency over Temperature ......................................................................................................... 80

Figure 5-25: Crystal Compensation ................................................................................................................................ 81

Figure 5-26: Operation Modes State Diagram ................................................................................................................ 97

Figure 6-1: Memory Map .............................................................................................................................................. 103

Figure 6-2: 80515 µC Block Diagram ........................................................................................................................... 118

Figure 6-3: Watchdog Block Diagram .......................................................................................................................... 126

Figure 6-4: Interrupt Sources Diagram ........................................................................................................................ 134

List of Tables

Table 3-1: Memory Map ................................................................................................................................................. 19

Table 5-1: Internal Data Memory Map ............................................................................................................................ 37

Table 5-2: Internal Data Types ....................................................................................................................................... 40

Table 5-3: Demo Code Versions .................................................................................................................................... 41