beautypg.com

Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual

Page 6

background image

71M653X Software User’s Guide

5.8

 

Boot Loader ............................................................................................................................. 64

 

5.9

 

Source Files ............................................................................................................................ 64

 

5.10

 

Auxiliary Files.......................................................................................................................... 66

 

5.11

 

Include/Header Files ............................................................................................................... 66

 

5.11.1

 

OPTIONS.H ........................................................................................................................... 66

 

5.11.2

 

Register Definitions ................................................................................................................ 67

 

5.11.3

 

Other Include/Header Files .................................................................................................... 67

 

5.12

 

CE Image Files ........................................................................................................................ 68

 

5.13

 

Common MPU Addresses ...................................................................................................... 69

 

5.14

 

Firmware Application Information ........................................................................................ 77

 

5.14.1

 

General Design Considerations ............................................................................................. 77

 

5.14.1.1

 

Multitasking ................................................................................................................... 77

 

5.14.1.2

 

Synchronization ............................................................................................................ 77

 

5.14.1.3

 

Bank Switching ............................................................................................................. 77

 

5.14.1.4

 

Economic Usage of RAM.............................................................................................. 78

 

5.14.1.5

 

Trading Space for Speed .............................................................................................. 78

 

5.14.1.6

 

Object-Oriented Design ................................................................................................ 78

 

5.14.1.7

 

Reconfiguring “Glue Logic” ........................................................................................... 79

 

5.14.1.8

 

DSP Operations ............................................................................................................ 79

 

5.14.1.9

 

Coping with Various Current Sensors .......................................................................... 79

 

5.14.1.10

 

User Interface ............................................................................................................... 79

 

5.14.1.11

 

Operating without User Interface .................................................................................. 79

 

5.14.1.12

 

Communication with a Computer ................................................................................. 79

 

5.14.1.13

 

Support of Automatic Meter Reading ........................................................................... 79

 

5.14.1.14

 

Communication between MPU and CE ........................................................................ 80

 

5.14.1.15

 

Timing Control .............................................................................................................. 80

 

5.14.1.16

 

6531: Calculation of max(VA*IA, VA*IB) Option, Equation 0 ....................................... 80

 

5.14.1.17

 

6534: Calculation of VA*IA+VB*IB+VC*IC Option, Equation 5 .................................... 81

 

5.14.1.18

 

How Register Data is Stored ........................................................................................ 82

 

5.14.1.19

 

Managing Power Failures ............................................................................................. 83

 

5.14.1.20

 

Pulse Counting ............................................................................................................. 83

 

5.14.1.21

 

Battery Modes ............................................................................................................... 83

 

5.14.1.22

 

Real-Time Performance................................................................................................ 83

 

5.14.2

 

Firmware Application: Selected Tasks ................................................................................... 84

 

5.14.2.1

 

Sag Detection ............................................................................................................... 84

 

5.14.2.2

 

Temperature Measurement .......................................................................................... 84

 

5.14.2.3

 

Temperature Compensation for Measurements ........................................................... 85

 

5.14.2.4

 

Temperature Compensation for the RTC ..................................................................... 85

 

5.14.2.5

 

Validating the Battery .................................................................................................... 86

 

5.15

 

Alphabetical Function Reference .......................................................................................... 87

 

5.16

 

Errata ........................................................................................................................................ 98

 

5.17

 

Porting 71M6511/6513 Code to the 71M653x ....................................................................... 99

 

v1.1v1.1

TERIDIAN Proprietary

6 of 116

© Copyright 2005-2008 TERIDIAN Semiconductor Corporation

This manual is related to the following products: