
DS3171/DS3172/DS3173/DS3174
148
Register Name:
BERT.TEICR
Register Description:
BERT Transmit Error Insertion Control Register
Register Address:
(0,2,4,6)68h
Bit
# 15 14 13 12 11 10 9 8
Name
-- -- -- -- -- -- -- --
Default
0 0 0 0 0 0 0 0
Bit
# 7 6 5 4 3 2 1 0
Name
--
-- TEIR2 TEIR1 TEIR0 BEI TSEI MEIMS
Default
0 0 0 0 0 0 0 0
Bits 5 to 3: Transmit Error Insertion Rate (TEIR[2:0])
– These three bits indicate the rate at which errors are
inserted in the output data stream. One out of every 10
n
bits is inverted. TEIR[2:0] is the value n. A TEIR[2:0] value
of 0 disables error insertion at a specific rate. A TEIR[2:0] value of 1 result in every 10
th
bit being inverted. A
TEIR[2:0] value of 2 result in every 100
th
bit being inverted. Error insertion starts when this register is written to with
a TEIR[2:0] value that is non-zero. If this register is written to during the middle of an error insertion process, the
new error rate will be started after the next error is inserted.
TEIR[2:0] Error
Rate
000 Disabled
001
1 x 10
-1
010
1 x 10
-2
011
1 x 10
-3
100
1 x 10
-4
101
1 x 10
-5
110
1 x 10
-6
111
1 x 10
-7
Bit 2: Bit Error Insertion Enable (BEI)
– When 0, single bit error insertion is disabled. When 1, single bit error
insertion is enabled.
Bit 1: Transmit Single Error Insert (TSEI)
– This bit causes a bit error to be inserted in the transmit data stream if
manual error insertion is disabled (MEIMS = 0) and single bit error insertion is enabled. A 0 to 1 transition causes a
single bit error to be inserted. For a second bit error to be inserted, this bit must be set to 0, and back to 1. Note: If
MEIMS is low, and this bit transitions more than once between error insertion opportunities, only one error will be
inserted.
Bit 0: Manual Error Insert Mode Select (MEIMS)
– When 0, error insertion is initiated by the TSEI register bit.
When 1, error insertion is initiated by the transmit manual error insertion signal (TMEI). Note: If TMEI or TSEI is
one, changing the state of this bit may cause a bit error to be inserted.