![Infineon Technologies TC1784 User Manual Download Page 710](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446710.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-45
V1.1, 2011-05
PCP, V2.09
•
An incoming interrupt request causes the PCP to attempt to load a context from
outside the CSA. This prevents the PCP from running an invalid channel program as
a result of an invalid interrupt request.
Note: Enabling PRAM partitioning (PCP_CS.PPE = 1) with a CSA size of zero
(PCP_CS.PPS = 0) is an invalid setting and will cause a PCP error event
whenever any interrupt request is received by the PCP.
10.9.1.2 Protected Channel PRAM
When a Protected Channel PRAM area has been programmed (see
then any attempt by an Unprotected Channel Program to write to the Protected Channel
PRAM area will generate a PCP error.
10.9.2
FPI Write Window Violation
When an FPI Write Window has been programmed (see
) then any
attempt by a Channel Program to write to an FPI address that has been disallowed will
generate a PCP error.
10.9.3
Channel Watchdog
The Channel Watchdog is a PCP internal watchdog that optionally allows the user to
ensure that the PCP will not become locked into executing a single channel due to an
endless loop or unexpected software sequence. As each channel executes, the PCP
maintains an internal count of the number of instructions that have been read from
CMEM since the channel started. If the watchdog function is enabled (by programming
PCP_CS.CWE = 1) and the internal instruction fetch counter reaches the threshold
programmed by the user (programmed via PCP_CS.CWT), a PCP Error is generated.
The threshold setting (PCP_CS.CWT) is global to all channels. From this it follows that
the threshold must be selected to be greater than the maximum number of instructions
that can be fetched by any channel program, taking all channels into consideration. It
should be noted that the instruction width of the PCP is 16 bits and that therefore
execution of an instruction that is encoded into 32 bits (e.g. LDL.IL) will generate two
CMEM instruction reads. That will therefore cause the internal watchdog counter to be
incremented twice.
Note: Enabling the Channel Watchdog function (PCP_CS.CWE = 1) with a threshold of
zero (PCP_CS.CWT = 0) is an invalid setting and will cause a PCP error event
whenever any interrupt request is received by the PCP.
10.9.4
Invalid Opcode
The PCP includes the Invalid Opcode mechanism to check that each instruction fetched
from CMEM is a legal instruction. If the PCP attempts to execute an illegal instruction,
then a PCP error is generated.
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...