![Infineon Technologies TC1784 Скачать руководство пользователя страница 670](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446670.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-5
V1.1, 2011-05
PCP, V2.09
10.3.2
PCP Code Memory
The Code Memory (CMEM) of the PCP holds the channel programs, consisting of PCP
instructions. All instructions of the PCP are 16 bits long; thus, the PCP accesses its
CMEM in 16-bit (half-word) quantities. With the 16-bit Program Counter (PC) of the PCP,
a maximum of 64 K instructions can be addressed. This results in a maximum size of the
PCP code memory of 128 Kbytes. The actual type (Flash, ROM, SRAM, etc.) and size
of the code memory is implementation-specific; see
and size of the code memory in the TC1784.
The PCP CMEM is viewed from the FPI Bus as a 32-bit wide memory, that must be
accessed with 32-bit (word) accesses, and is addressed with byte addresses. Thus, care
has to be taken when calculating PCP instruction FPI addresses. See
for
details.
Note: The PCP has a “Harvard” architecture and therefore cannot directly access the
CMEM other than reading instructions from it. It is recommended that the PCP
should not access CMEM via the FPI Bus.
10.3.2.1 CMEM Protection
To allow the PCP to handle system critical tasks it is necessary to ensure that the PCP
can operate properly regardless of a failure in another part of the system or the PCP
itself. This means that it is necessary to protect the content of the CMEM from such
failures.
CMEM content can only be modified via the FPI. Protection of CMEM therefore consists
of prevention of unwanted FPI writes to CMEM.
The normal model of PCP operation is that the program code (i.e. CMEM) is loaded at
system initialization and remains unchanged for the duration of operation of the system.
Thus a simple locking scheme is provided to prevent any write to CMEM once the
content has been loaded during initialization. When CMEM has been loaded (at system
initialization) the memory can be locked such that all incoming FPI write accesses are
issued with an error response and the CMEM content will remain unmodified.
Regardless of protection the entire CMEM remains readable via FPI.
This function is controlled by the
register (see
10.3.3
PCP Parameter RAM
The PCP Parameter RAM (PRAM) is the local holding place for each channel program’s
context, and for general data storage. It is also an area that the PCP and the host
processor or other FPI Bus masters can use to communicate and share data.
While a portion of the PRAM is always implicitly used for the Context Save Areas (CSAs)
of the channel programs (see
), the remaining area can be used for
channel-specific or general data storage. A programmable 8-bit Data Pointer (DPTR),
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...