Design reference, 1 program memory, 2 data memory – Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual

Page 17: Program memory, Data memory, Table 3-1: memory map, 3design reference

Advertising
background image

71M653X Software User’s Guide

3

3

DESIGN REFERENCE

As depicted in Figure 1 of section 2, the 71M653X provides a great deal of design flexibility for the application de-
veloper. Programming details are described below.

3.1 PROGRAM MEMORY

The embedded 80515 MPU within the 71M653X has separate program (128K or 256K bytes) and data memory (4K
bytes). The code for the Compute Engine program resides in the MPU program memory (flash).

The Flash program memory is addressed as a 64KB block. The upper 32K is a window on a code banked. It can be
switched to other code banks by writing a banke numbe rto the banked register FL_BANK. The flash memory is further
segmented in 512-byte pages which can be individually erased. Selection of these individual blocks is accomplished
using the function calls related to flash memory, which are described in more detail below.

3.2 DATA MEMORY

The 71M653X has 4K bytes of Data Memory used by the embedded 80C515 MPU, and shared with the proprietary
computer-engine (CE). In most configurations, the CE uses 1K of this RAM, leaving 3K for use by the MPU. See Table
3-1:
for a summary.

Address

(hex)

Memory

Technology

Memory Type

Typical Usage

Wait States

(at 5MHz)

Memory Size

(bytes)

0000-7FFF Flash

Memory Non-volatile

Common code area for the
program and non-volatile
data.

0 32K

8000-FFFF Flash

Memory Non-volatile

Bank window code area for
the program and non-
volatile data. The 6531, 32,
and 33 have 3 banks
yielding 128K total. The
6534 has 7 banks, yielding
256K total

0 32K

0000-03FF Static

RAM

Volatile

CE data, actual last byte
may be somewhat less than
1K, depending on the CE
code.

0 1KB

0400-1000

Static RAM

Volatile

MPU data

0

3KB

2000-20FF Static

RAM

Miscellaneous I/O RAM
(configuration RAM)

Volatile

0 256

Table 3-1: Memory Map

v1.1v1.1

TERIDIAN Proprietary

17 of 116

© Copyright 2005-2008 TERIDIAN Semiconductor Corporation

Advertising
This manual is related to the following products: