beautypg.com

Rainbow Electronics DS3134 User Manual

Page 60

background image

DS3134

60 of 203

5.3 LAYER ONE CONFIGURATION REGISTER DESCRIPTION

There are three configuration registers for each DS0 channel on each port. These three registers are
shown in Figure 5.3A. As shown in Figure 5.1A, each of the 16 ports contains a PORT RAM, this
controls the Layer One State Machine. These 384 registers (three registers x 128 DS0 channels per port)
make up the PORT RAM for each port and they control and provide access to the Layer One State
Machine. These registers are accessed indirectly via the Channelized Port Register Data (CP[n]RD)
register. The Host must first write to the Channelized Port Register Data Indirect Select (CP[n]RDIS)
register to chose which DS0 channel and which channelized PORT RAM that it wishes to configure or
read. On power-up, the Host must write to all of the used R[n]CFG[j] and T[n]CFG[j] locations to make
sure that they are set into a known state.

LAYER ONE REGISTER SET Figure 5.3A

C[n]DAT[j]: Channelized DS0 Data

lsb

RDATA(8): Receive DS0 Data

msb

TDATA(8): Transmit DS0 Data

R[n]CFG[j]: Receive Configuration

lsb

RCH#(8): Receive HDLC Channel Number

msb

RCHEN

RBERT

n/a

RV54

n/a

CLLB

n/a

R56

T[n]CFG[j]: Transmit Configuration

lsb

TCH#(8): Transmit HDLC Channel Number

msb

TCHEN

TBERT

n/a

n/a

CNLB

n/a

TFAO

T56

Register Name:

CP[n]RDIS where n = 0 to 15 for each Port

Register Description: Channelized Port [n] Register Data Indirect Select
Register Address:

See the Register Map in Section 3

7

6

5

4

3

2

1

0

n/a

CHID6

CHID5

CHID4

CHID3

CHID2

CHID1

CHID0

15

14

13

12

11

10

9

8

IAB

IARW

n/a

n/a

n/a

n/a

CPRS1

CPRS0

Note: Bits that are underlined are read only, all other bits are read-write; default value for all bits is 0.

Bits 0 to 6 / DS0 Channel ID (CHID0 to CHID6). The number of DS0 channels used depends on
whether the port has been configured for an unchannelized application or for a channelized application
and if set for a channelized application, then whether the port has been configured in the T1, E1, 4.096
MHz, or 8.192 MHz mode.

0000000 (00h) = DS0 Channel Number 0
1111111 (7Fh) = DS0 Channel Number 127