71M6521FEIM-DB Maxim Integrated Products, 71M6521FEIM-DB Datasheet - Page 46

no-image

71M6521FEIM-DB

Manufacturer Part Number
71M6521FEIM-DB
Description
Power Management Modules & Development Tools 71M6521FE DEMO BOARD M6521FE DEMO BOARD
Manufacturer
Maxim Integrated Products
Datasheet

Specifications of 71M6521FEIM-DB

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
The top-level functionality of the Demo Board is controlled by the high-level functions. As with every C program, the
core of the function is in the main() program. The main() program is contained in the main.c source file. It performs the
following steps (see Figure 5-1, Figure 2-1, and Figure 5-2):
Revision 1.7
Error recording
and saving
Microwire
EEPROM
I2C EEPROM
5.3
5.3.1 Startup and Initialization
1.
2.
3.
4.
Feature
PROGRAM FLOW
Reset watchdog timer
Process the pushbutton (PB) when in BROWNOUT mode.
Initialization for hardware, pointers, metering variables, UART buffers and pointers, CE, restoration of
calibration coefficients, initialization of LCD w/ “HELLO” message), enabling CE and pulse generators.
Execute the main_run() routine in an endless loop. In this loop, the background tasks, such as metering,
processing of timers, etc. are performed. Afterwards, if a command is pending, the command line interface
(CLI) is serviced.
Figure 5-1: STARTUP.A51
0.4KB
0.2KB
0.2KB
Code
Size
Disable 651x
Init STACK
Disable All
Watchdog
Init IDATA
Interrupts
RESET
JUMP
to Init
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
N/opt
N/opt
8KB
Y
Table 5-9: Calibration and Various Services
16KB
N/opt
N/opt
Y
Figure 5-2: INIT.A51
TERIDIAN Proprietary
32KB
N/opt
N/opt
Y
Description
Errors are recorded in 16 bit words, one bit per error.
All error collection is reset when the magnetic tamper
DIO is asserted for 1 second. Error data is protected
by a checksum. The time stamp (hour, day and
month of assertion) and the bit number of the five
most recent errors are saved.
J U M P
M A I N
I N I T
t o
71M652X Software User’s Guide
46 of 138

Related parts for 71M6521FEIM-DB