
ST52F510/F513/F514
20/106
3 ADDRESSING SPACES
ST52F510/F513/F514
addressing spaces:
I
Register File
I
Program/Data Memory
has
six
separate
I
Stacks
I
Input Registers
I
Output Registers
I
Configuration Registers
Each space is addressed by a load type instruction
that indicatesthe source and thedestination space
in the mnemonic code (see Figure 3.1).
3.1 Memory Interface
The read/write operation in the space addresses
are managed by the Memory Interface, which can
recognize the type of memory addressed and set
the appropriateaccess time and mode.
In addition, the Memory Interface manages the In
Application Programming (IAP) functions in Flash
devices like writing cycle and memory write
protection.
Figure 3.1 Addressing Spaces
3.2 Register File
The Register File consists of up to 256 general
purpose 8-bit RAM locations called “registers” in
order to recall the functionality.
The Register Fileexchanges datawith all theother
addressing spaces and is used by the ALU to
perform all the arithmetic and logic instructions.
These instructions have any Register File address
as operands.
Data canbemoved from one location to another by
using the LDRR instruction; see further ahead for
information on the instruction used to move data
between
the
Register
addressing spaces.
File
and
the
other
3.3 Program/Data Memory
The Program/Data Memory consists of both non-
volatile memory (Flash, EEPROM) and RAM
memory benches.
Non-volatile memory (NVM) is mainly used to store
the user program and can also be used to store
permanent data (constant, look-up tables).
Each RAM bench consists of 128/256 locations
used to store run-time user data. At least one
bench is presentin the devices. RAM benches are
also used to implement both System and User
Stacks.
CU
DPU
ALU
PERIPHERAL
BLOCK
REGISTER FILE
INPUT REGISTERS
NON VOLATILE MEMORY
RAM BANKS
AND STACKS
PROGRAM/DATA MEMORY
STFive CORE
ON CHIP PERIPHERALS
OUTPUT
REGISTERS
CONFIGURATION
REGISTERS
PERIPHERAL
BLOCK
PERIPHERAL
BLOCK
LDER
LDRE
LDRI
LDCE
LDCR
DECISION
PROCESSOR
REGISTERS
LDFR
LDPE
LDPR
LDCNF
PROGRAM
COUNTER
PGSETR
GETPG