TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-58
V2.0, 2007-07
PCP, V2.0
PPS
[15:9]
rw
PRAM Partition Size
0
D
Default, only allowed with PPE = 0
1
D
000CSA contains 3 context save regions
...
D
...
n
D
CSA contains 1 + 2
×
n context save regions
Note: The actual size of the CSA (in words) is given by
the formula (2
×
n + 1)
×
m, where m is the
number of registers in the selected Context
Model.
If PPE = 1 and the PCP attempts to perform a
data write to PRAM addresses below the CSA,
an error condition has occurred.
This setting also controls the maximum channel
number (MCN) used in system. If n = 1, the
maximum channel number is MCN = 2
×
n. If
the SRPN is greater than MCN, an error
condition has occurred.
For example, setting PPS to n = 3 will give a
CSA containing 7 context save regions. As
channel 0 cannot be used and MCN = 6,
channels 1 to 6 are allowed.
CWE
16
rw
Channel Watchdog Enable
0
B
Disable Channel Watchdog
1
B
Enable Channel Watchdog
Note: When enabled, the Channel Watchdog counts
the number of instructions executed since the
channel started. If this number exceeds the
Channel Watchdog Threshold, a PCP error is
generated.
CWT
[23:17] rw
Channel Watchdog Threshold
0
D
Reserved
1
D
Threshold = 16 instructions
...
D
...
127
D
Threshold = 16
×
‘127’ instructions
ESR
[31:24] rw
Error Service Request Number
SRPN for interrupt to CPU on an error condition.
00
H
No interrupt request posted (default)
value n
H
Post n as SRNP interrupt to CPU on an error
condition (n not equal 00
H
)
Field
Bits
Type Description