Texas Instruments TMS320TCI648x Benutzerhandbuch

Seite von 256
www.ti.com
5.89 Port Error Rate CSR n (SPn_ERR_RATE)
SRIO Registers
Each of the four ports is supported by a register of this type (see
). SPn_ERR_RATE is shown
in
and described in
Table 172. SPn_ERR_RATE Registers and the Associated Ports
Register
Address Offset
Associated Port
SP0_ERR_RATE
2068h
Port 0
SP1_ERR_RATE
20A8h
Port 1
SP2_ERR_RATE
20E8h
Port 2
SP3_ERR_RATE
2128h
Port 3
Figure 152. Port Error Rate CSR (SPn_ERR_RATE)
31
24 23
18 17
16
ERROR_RATE_
ERROR_RATE_BIAS
Reserved
RECOVERY
R/W-FFh
R-00h
R/W-00
15
8 7
0
PEAK_ERROR_RATE
ERROR_RATE_COUNTER
R/W-00h
R/W-00h
LEGEND: R/W = Read/Write; R = Read only; -= Value after reset
Table 173. Port Error Rate CSR (SPn_ERR_RATE) Field Descriptions
Bit
Field
Value
Description
31–24
ERROR_RATE_BIAS
These bits provide the error rate bias value.
00h
Do not decrement the error rate counter
01h
Decrement every 1ms (nominal)
03h
Decrement every 10ms (nominal)
07h
Decrement every 100ms
0Fh
Decrement every 1s (nominal)
1Fh
Decrement every 10s (nominal)
3Fh
Decrement every 100s (nominal)
7Fh
Decrement every 1000s (nominal)
FFh
Decrement every 10000s (nominal)
Other
Reserved
23–18
Reserved
00h
These read-only bits return 0s when read.
17–16
ERROR_RATE_RECOVERY
These bits limit the incrementing of the error rate counter above the
failed threshold trigger.
00b
Only count 2 errors above
01b
Only count 4 errors above
10b
Only count 16 errors above
11b
Do not limit incrementing the error rate count
15–8
PEAK_ERROR_RATE
00h–FFh
This field contains the peak value attained by the error rate counter.
7–0
ERROR_RATE_COUNTER
00h–FFh
These bits maintain a count of the number of transmission errors that
have occurred. If this value equals the value contained in the error rate
threshold trigger register, then an error will be reported.
Serial RapidIO (SRIO)
228
SPRUE13A – September 2006