71M6521DEIM-DB Maxim Integrated Products, 71M6521DEIM-DB Datasheet - Page 49

no-image

71M6521DEIM-DB

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

Specifications of 71M6521DEIM-DB

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
71M652X Software User’s Guide
The TERIDIAN 71M652X firmware can be divided into two code parts. One is the Background task that is executed
whenever there are no other higher priority exceptions such as the servicing of interrupts. The second part consists of
the interrupt-driven code (Foreground) tasks, such as the CE_BUSY Interrupt, Timer Interrupt, and other Interrupt
service routines. The background code takes care of the non time-critical functions starting with the system reset, and
this code is executed every time when there are CPU resources available after taking care of all interrupt-driven tasks.
The background of the 71M652X firmware is implemented as a very simple state machine. One state is serving the
command inputs and the other is idle/Display control.
When the power applied for the first time or RESETZ is asserted, the 71M652X device executes the code pointed to by
the reset vector.
Revision 1.7
5.4
5.4.1 Initialization
BASIC CODE ARCHITECTURE
Process flag protocol (0)
Process flag protocol (1)
Command pending?
main_background()
Process command
main_run()
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
END
yes
Figure 5-5: main_run() Function
no
TERIDIAN Proprietary
Detect and manage battery
Neutralize potential flash
Reset SW watchdog for
Run software timers
main_background()
erase from EMI
Run metering
main loop
modes
END
49 of 138

Related parts for 71M6521DEIM-DB