ST52F510/F513/F514
16/106
2 INTERNALARCHITECTURE
ST52F510/F513/F514’s architecture is Register
File basedand is composed of the following blocks
and peripherals:
I
Control Unit (CU)
I
Data Processing Unit (DPU)
I
Decision Processor (DP)
I
ALU
I
Memory Interface
I
up to 256 bytes Register File
I
Program/Data Memory
I
Data EEPROM
I
Interrupts Controller
I
Clock Oscillator
I
PLVD and POR
I
Digital I/O ports
I
Analog Multiplexer and A/D Converter
I
Timer/PWMs
I
I
2
C
I
SPI
I
SCI
Figure 2.1 CU Block Diagram
2.1 Control Unit and Data Processing Unit
The Control Unit (CU) decodes the instructions
stored in the Program Memory and generates the
appropriate control signals. The main parts of the
CU are illustrated in Figure 2.1.
The five different parts of the CU manage Loading,
Logic/Arithmetic, Jump, Control and the Fuzzy
instruction set.
The block called “Collector” manages the signals
deriving from the different parts of the CU. The
collector
defines
the
Processing Unit (DPU) and Decision Processor
(DP), as well as for the different peripherals of the
ICU.
The block called “Arbiter” manages the different
parts of the CU, so that onlyone partof the system
is activated during working mode.
The CU structure is extremely flexible and was
designed with the purpose of easily adapting the
core of the microcontroller to market needs. New
instruction sets or new peripherals can easily be
included without changing the structure of the
microcontroller, maintaining code compatibility.
A setof 107 different instructions isavailable. Each
instruction requires a number of clock pulses to be
performed that depends on the complexity of the
instruction itself. The clock pulses to execute the
instructions are driven directly by the masterclock,
which has the same frequency of the oscillator
signal supplied.
signals
for
the
Data
Loading
Instruction Set
Logic Arithmetic
Instruction Set
Jump
Instruction Set
Control
Instruction Set
Decision Processor
Instruction Set
C
O
L
L
E
C
T
O
R
Control
Signals
A
R
B
I
T
E
R
MicroCode
Clock Master