71M6523-DB Maxim Integrated Products, 71M6523-DB Datasheet - Page 96
![no-image](/images/manufacturer_photos/0/4/417/maxim_integrated_products_sml.jpg)
71M6523-DB
Manufacturer Part Number
71M6523-DB
Description
Power Management Modules & Development Tools 71M6521D 68 QFN DEMO BOARD
Manufacturer
Maxim Integrated Products
Datasheet
1.71M6521DE-DB.pdf
(138 pages)
- Current page: 96 of 138
- Download datasheet (2Mb)
The biggest issue when moving code from the 6511/6513 to the 71M6521 is the reduced program memory. While the
71M6511 and 6513 have 64K, the 6521 has 32K, 16K and 8K versions. The standard 6521 CE code has 414 bytes,
and takes up space in flash. In order to make the code fit, and reduce the risk of running out of memory, TERIDIAN’s
firmware engineers coded to a space budget, and adopted a coding standard that permits entire features to be added
and removed easily. This method proved to be very useful when there were changes of scope in one or another version
of the demonstration firmware.
Another difference between 71M6511/6513 and the 71M6521 is that the CE code now resides in the flash. It is not
copied to the CE program RAM as in the 71M651X chips. Instead, the register CE_LCTN, bits 0…4 at XDATA 0x20A8
is set to the most significant 5 bits of the program flash address where the CE program resides. It is best to place the
CE program within the first 8Kbytes, so that the program design adapts easily to the three size variants of the chip.
Since the CE resides in flash memory, there are safeguards that prevent the CE program memory from being erased or
reprogrammed while the CE is running. When programming flash memory, the CE must first be disabled, then the code
must wait until the CE is halted. Only then, programming of the flash memory can occur.
Should there be an attempt to modify flash memory while the CE is running, the FWCOL0 and FWCOL1 interrupt bits
are set. If the interrupt is enabled, recovery action can occur. TSC’s demo firmware has not found a use for the
FWCOL interrupts.
One of the most significant innovations for the 71M6521 is the battery-power feature. This feature provides three
operational modes, that apply when the supply voltage is removed and the chip is powered by the battery. The
operation modes and their transitions are shown in Figure 5-26.
In the brownout mode, operation continues at 32kHz, and RAM and DIO pins remain powered. However, the clock
slows down and is so slow that the timers and serial port give dramatically different timings. Only the RTC, and its 1-
second interrupt run at an unchanged speed.
In addition to the flags given in Figure 5-26, the following considerations apply to state transitions:
The sleep and LCD modes shut down all of the 71M6521’s internal and XDATA RAM, as well as the pin drivers for
DIOs, and many of the memory cells that store the hardware configuration.
In particular, the meter should be designed so that the DIO pins and serial port outputs do not need to be powered in
battery modes.
The data sheet for the 71M6521 shows which bits are reset, and which are maintained in the battery modes.
The transitions between the modes are managed by changes in supply voltage, transitions of the push button pin
signal, and a wake-up timer.
The push-button operation is very simple: Pressing the button wakes the part from LCD or sleep mode into brownout
mode. Afterward, a bit is set: IE_PB, bit 4 of IFLAGS, SFR E8.
One of the characteristics of the 71M6521 is that it is not able to enter LCD or sleep mode if IE_PB or IE_WAKE (the
wake timer’s bit, see below) are set. The Demo Code clears these bits at the earliest convenient instant, transferring
their state to bits in the demo firmware’s status variable. This technique preserves data about how the chip last woke,
but also permits the chip to transition to the LCD and sleep modes easily.
Revision 1.7
5.17 PORTING 71M6511/6513 CODE TO THE 71M6521
5.17.1
5.17.2
5.17.3
•
•
•
Mission to brownout mode: The MPU keeps running, but the clock slows down.
Brownout to mission mode: The MPU keeps running, but the clock speeds up.
LCD or sleep mode to brownout mode: The MPU will start code execution at address 0x000.
Memory Use
CE Code Location
Battery Modes
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
TERIDIAN Proprietary
71M652X Software User’s Guide
96 of 138
Related parts for 71M6523-DB
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![71M6523-IM/F](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current & Power Monitors & Regulators Residential Energy Meter IC
Manufacturer:
Maxim Integrated Products
![71M6523-IM](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current & Power Monitors & Regulators Residential Energy Meter IC
Manufacturer:
Maxim Integrated Products
![71M6523-IMR](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current & Power Monitors & Regulators Residential Energy Meter IC
Manufacturer:
Maxim Integrated Products
![71M6523-IMR/F](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current & Power Monitors & Regulators Residential Energy Meter IC
Manufacturer:
Maxim Integrated Products
![MAX7528KCWP](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
MAX7528KCWPMaxim Integrated Products [CMOS Dual 8-Bit Buffered Multiplying DACs]
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX3261CCJ](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Single +5V, fully integrated, 1.25Gbps laser diode driver.
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX3263CAG](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Single +5V, fully integrated, 155Mbps laser diode driver.
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX8809AETL+](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
VRD11/VRD10, K8 Rev F 2/3/4-Phase PWM Controllers with Integrated Dual MOSFET Drivers
Manufacturer:
Maxim Integrated Products
Datasheet:
![MAX1535CETJ+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Highly Integrated Level 2 SMBus Battery Chargers
Manufacturer:
Maxim Integrated Products
Datasheet:
![DS2741N+](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Current Monitor and Accumulator with Integrated Sense Resistor; ; Temperature Range: -40°C to +85°C
Manufacturer:
Maxim Integrated Products
![MAX13450EAUD+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
TSSOP 14/A/RS-485 Transceivers with Integrated 100O/120O Termination Resis
Manufacturer:
Maxim Integrated Products
![MAX13451EAUD+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
TSSOP 14/A/RS-485 Transceivers with Integrated 100O/120O Termination Resis
Manufacturer:
Maxim Integrated Products
![MAX17497BATE+](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
QFN 16/A/AC-DC and DC-DC Peak-Current-Mode Converters with Integrated Step
Manufacturer:
Maxim Integrated Products
![MAX17502FATB+T](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
TDFN/A/65V, 1A, 600KHZ, SYNCHRONOUS STEP-DOWN REGULATOR WITH INTEGRATED SWI
Manufacturer:
Maxim Integrated Products
![MAX1978EVKIT](/images/manufacturer_photos/0/4/417/maxim_integrated_products_tmb.jpg)
Part Number:
Description:
Integrated Temperature Controller f
Manufacturer:
Maxim Integrated Products