Energy Meter IC Family Software Instruction Manual

71M652X Software User’s Guide
Revision 1.7 TERIDIAN Proprietary 19 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
3 DESIGN REFERENCE
As depicted in Figure 1 of section 2, the 71M652X 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 71M652X has separate program (32K, 16K, or 8K bytes) and data memory (2K
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, segmented in 512-byte pages. 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 71M652X has 2K bytes of Data Memory for exclusive use of the embedded 80C515 MPU. In addition, there are
512 bytes for the Compute Engine. See Table 3-1: for a summary.
Address
(hex)
Memory
Technology
Memory Type Typical Usage
Wait States
(at 5MHz)
Memory Size
(bytes)
0000-7FFF
0000-4FFF
0000-2FFF
Flash Memory Non-volatile
Program and non-volatile
data
0
32KB
16KB
8KB
0000-07FF
Static RAM Volatile MPU data XRAM, 0 2KB
1000-11FF
Static RAM Volatile CE data 6 512
2000-20FF
Static RAM Volatile
Miscellaneous I/O RAM
(configuration RAM)
0 256
Table 3-1: Memory Map
3