beautypg.com

Rainbow Electronics DS2152 User Manual

Page 40

background image

DS2152

031897 40/79

TC1 TO TC24: TRANSMIT CHANNEL REGISTERS (Address=40 to 4F and 50 to 57 Hex)
(for brevity, only channel one is shown; see Table 1–3 for other register address)

(MSB)

(LSB)

C7

C6

C5

C4

C3

C2

C0

SYMBOL

POSITION

NAME AND DESCRIPTION

C7

TC1.7

MSB of the Code (this bit is transmitted first)

C0

TC1.0

LSB of the Code (this bit is transmitted last)

TCC1/TCC2/TCC3: TRANSMIT CHANNEL CONTROL REGISTER (Address=16 to 18 Hex)

(MSB)

(LSB)

CH8

CH7

CH6

CH5

CH4

CH3

CH2

CH1

CH16

CH15

CH14

CH13

CH12

CH11

CH10

CH9

CH24

CH23

CH22

CH21

CH20

CH19

CH18

CH17

SYMBOL

POSITION

NAME AND DESCRIPTION

CH24

TCC3.7

Transmit Channel 24 Code Insertion Control Bit
0=do not insert data from the TC1 register into the transmit data stream
1 = insert data from the TC1 register into the transmit data stream

CH1

TCC1.0

Transmit Channel 1 Code Insertion Control Bit
0=do not insert data from the TC32 register into the transmit data stream
1 = insert data from the TC32 register into the transmit data stream

8.2

RECEIVE SIDE CODE GENERATION

In the receive direction there are also two methods by
which channel data to the backplane can be overwritten
with data generated by the DS2152. The first method
which is covered in Section 8.2.1 was a feature con-
tained in the original DS2151 while the second method
which is covered in Section 8.2.2 is a new feature of the
DS2152.

8.2.1

Simple Code Insertion

The first method on the receive side involves using the
Receive Mark Registers (RMR1/2/3) to determine

which of the 24 T1 channels should be overwritten with
either a 7Fh idle code or with a digital milliwatt pattern.
The RCR2.7 bit will determine which code is used. The
digital milliwatt code is an eight byte repeating pattern
that represents a 1 KHz sine wave
(1E/0B/0B/1E/9E/8B/8B/9E). Each bit in the RMRs,
represents a particular channel. If a bit is set to a one,
then the receive data in that channel will be replaced
with one of the two codes. If a bit is set to zero, no
replacement occurs.

TC1 (50)

TCC1 (16)

TCC2 (17)

TCC3 (18)