Part Number Hot Search : 
56F80 L3015 PT460F SF103 7B991 CM6807CR LT1P53A 2SC4002
Product Description
Full Text Search
 

To Download DS3112 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 135 081902 note: some revisions of this device may incorporate deviations from published specifications known as errata. multiple revisions of any device may be simultaneously available through various sales channels. for information about device errata, click here : http://www.maxim - ic.com/errata . . features operates as m13 or e13 multiplexer or as standalone t3 or e3 framer flexible multiplexer can be programmed for multiple configurations including: - m13 multiplexing (28 t1 lines into a t3 data stream) - e13 multiplexing (16 e1 lines into an e3 data stream) - e1 to t3 multiplexing (21 e1 lines into a t3 data stream) two t1/e1 drop and insert ports supports t3 c - bit parity mode b3zs/hdb3 encoder and decoder generates and detects t3/e3 alarms generates and detects t2/e2 alarms integrated hdlc cont roller handles lapd messages without host intervention integrated feac controller integrated bert supports performance monitoring t3/e3 and t1/e1 diagnostic (tx to rx), line (rx to tx), and payload loopback supported nonmultiplexed or multiplexed 16 - bit co ntrol port (with optional 8 - bit mode) 3.3v supply with 5v tolerant i/o available in 256 - pin 1.27mm pitch bga package ieee 1149.1 jtag support functional diagram applications wide area network access equipment pbxs access concentrators digital cross - co nnect systems switches routers optical multiplexers adms test equipment ordering information part pin - package temp range DS3112 256 bga 0 c to +70 c DS3112n 256 bga - 40 c to +85 c t1/e1 t1/e1 t1/e1 t1/e1 t1/e1 t1/e1 t1/e1 t1/e1 t3/e3 t2/e2 t2/e2 www.maxim - ic.com DS3112 tempe t3/e3 multiplexer 3.3v t3/e3 framer and m13/e13/g.747 mux
DS3112 2 of 135 table of contents 1. introduction ................................ ................................ ................................ ................................ 4 2. signal description ................................ ................................ ................................ .................. 11 2.1 overview/signal pin list ................................ ................................ ................................ ... 11 2.2 cpu bus signal description ................................ ................................ .............................. 17 2.3 t3/e3 receive framer signal description ................................ ................................ . 19 2.4 t3/e3 transmit formatter signal description ................................ ...................... 21 2.5 low speed (t1 or e1) receive port signal description ................................ ....... 23 2.6 low speed (t1 or e1) transmit port signal description ................................ ... 24 2.7 high speed (t3 or e3) receive port signal description ................................ ...... 26 2.8 high speed (t3 or e3) transmit port signal description ................................ .. 26 2.9 jtag signal description ................................ ................................ ................................ ..... 2 7 2.10 supply, test, reset, and mode signal description ................................ ............ 27 3. memory map ................................ ................................ ................................ ................................ . 29 4. master device config uration and status/interrupt ................................ ...... 31 4.1 master reset and id register description ................................ .............................. 31 4.2 master configuration registers description ................................ ...................... 32 4.3 master status and interrupt r egister description ................................ ......... 37 4.4 test register description ................................ ................................ ................................ 46 5. t3/e3 framer ................................ ................................ ................................ ................................ . 47 5.1 general description ................................ ................................ ................................ ........... 47 5.2 t3/e3 framer control register description ................................ ........................... 48 5.3 t3/e3 framer status and interrupt register description .............................. 53 5.4 t3/e3 performance error counters ................................ ................................ ............ 60 6. m13/e13/g.74 7 multiplexer and t2/e2/g.747 framer ................................ .................. 64 6.1 general description ................................ ................................ ................................ ........... 64 6.2 t2/e2/g.747 framer control register description ................................ ................ 64 6.3 t2/e2/g.747 framer status and interru pt register description ................... 66 6.4 t1/e1 ais generation control register description ................................ .......... 70 7. t1/e1 loopback and drop and insert functionality ................................ ......... 73 7.1 general description ................................ ................................ ................................ ........... 73 7.2 t1/e1 loopback control register description ................................ ...................... 74 7.3 t1 line loopback command status register description .............................. 78 7.4 t1/e1 drop and insert control register descr iption ................................ ........ 79 8. bert ................................ ................................ ................................ ................................ ................... 81 8.1 general description ................................ ................................ ................................ ........... 81 8.2 bert register description ................................ ................................ ................................ 81
DS3112 3 of 135 9. hdlc controller ................................ ................................ ................................ ..................... 90 9.1 general description ................................ ................................ ................................ ........... 90 9.2 hdlc control and fifo register description ................................ ........................ 91 9.3 hdlc status and interrupt register description ................................ .............. 95 10. feac controller ................................ ................................ ................................ .................. 100 10.1 general description ................................ ................................ ................................ ....... 100 10.2 feac control register description ................................ ................................ ........ 100 10.3 feac status register description ................................ ................................ ............ 102 11. jtag ................................ ................................ ................................ ................................ ................ 1 03 11.1 jtag description ................................ ................................ ................................ ................ 103 11.2 tap controller state machine description ................................ ...................... 104 11.3 instruction register and instructions ................................ ............................... 106 11.4 test regist ers ................................ ................................ ................................ ..................... 107 12. electrical characteristics ................................ ................................ ........................ 113 13. mechanical dimensions ................................ ................................ ................................ ... 124 14. applications and standards overview ................................ ................................ . 125 14.1 application examples ................................ ................................ ................................ ..... 125 14.2 m13 basics ................................ ................................ ................................ ............................... 126 14.3 e13 basics ................................ ................................ ................................ ................................ 132 14.4 g.747 basics ................................ ................................ ................................ ............................ 134
DS3112 4 of 135 1. introduction the DS3112 tempe ( t 3 e 3 m ulti p lex e r) device can be used either as a multiplexer or a t3/e3 framer. when the device is used as a multiplexer, it can be operated in one of three modes: m13 ? multiplex 28 t1 lines i nto a t3 data stream e13 ? multiplex 16 e1 lines into a e3 data stream g.747 ? multiplex 21 e1 lines into a t3 data stream see figures 1a, 1b, and 1c for block diagrams of these three modes. in each of the block diagrams, the receive section is at the b ottom and the transmit section is at the top. the receive path is defined as incoming t3/e3 data and the transmit path is defined as outgoing t3/e3 data. when the device is operated solely as a t3 or e3 framer, the multiplexer portion of the device is disa bled and the raw t3/e3 payload will be output at the frd output and input at the ftd input. see figures 1a and 1b for details. in the receive path, raw t3/e3 data is clocked into the device (either in a bipolar or unipolar fashion) with the hrclk at the h rpos and hrneg inputs. the data is then framed by the t3/e3 framer and passed through the two - step demultiplexing process to yield the resultant t1 and e1 data streams, which are output at the lrclk and lrdat outputs. in the transmit path, the reverse occu rs. the t1 and e1 data streams are input to the device at the ltclk and ltdat inputs. the device will sample these inputs and then multiplex the t1 and e1 data streams through a two - step multiplexing process to yield the resultant t3 or e3 data stream. the n this data stream is passed through the t3/e3 formatter to have the framing overhead added, and the final data stream to be transmitted is output at the htpos and htneg outputs using the htclk output. the DS3112 has been designed to meet all of the lates t telecommunications standards. table 1a lists all of the applicable standards for the device. the tempe device has a number of advanced features such as: the ability to drop and insert up to two t1 or e1 ports an onboard hdlc controller with 256 - byte buf fers an onboard bit error rate tester (bert) advanced diagnostics to create and detect many different types of errors see table 1b for a complete list of main features within the device.
DS3112 5 of 135 applicable standards table 1a 1) american national standard for telec ommunications - ansi t1.107 ? 1995 ?digital hierarchy - formats specification? 2) american national standard for telecommunications - ansi t1.231 - 199x ? draft ?digital hierarchy - layer 1 in - service digital transmission performance monitoring? 3) american nati onal standard for telecommunications - ansi t1.231 ? 1993 ?digital hierarchy - layer 1 in - service digital transmission performance monitoring? 4) american national standard for telecommunications - ansi t1.404 ? 1994 ?network - to - customer installation ? ds3 me tallic interface specification? 5) american national standard for telecommunications - ansi t1.403 ? 1999 ?network and customer installation interfaces ? ds1 electrical interface? 6) american national standard for telecommunications - ansi t1.102 ? 1993 ?digital hierarchy ? electrical interfaces? 7) bell communications research - tr - tsy - 000009 , issue 1, may 1986 ?asynchronous digital multiplexes requirements and objectives? 8) bell communications research - tr - tsy - 000191 , issue 1, may 1986 ?alarm indication signal requ irements and objectives? 9) bellcore - gr - 499 - core , issue 1, december 1995 ?transport systems generic requirements (tsgr): common requirements? 10) bellcore - gr - 820 - core , issue 1, november 1994 ?generic digital transmission surveillance? 11) network working group re quest for comments - rfc1407, january, 1993 ?definition of managed objects for the ds3/e3 interface type? 12) international telecommunication union (itu) g.703 , 1991 ?physical/electrical characteristics of hierarchical digital interfaces 13) international telecomm unication union (itu) g.823 , march 1993 ?the control of jitter and wander within digital networks which are based on the 2048kbps hierarchy? 14) international telecommunication union (itu) g.742 , 1993 ?second order digital multiplex equipment operating at 8448 kbps and using positive justification? 15) international telecommunication union (itu) g.747 , 1993 ?second order digital multiplex equipment operating at 6312 kbps and multiplexing three tributaries at 2048kbps? 16) international telecommunication union (itu) g.7 51 , 1993 ?digital multiplex equipments operating at the third order bit rate of 34368kbps and using positive justification? 17) international telecommunication union (itu) g.775 , november 1994 ?loss of signal (los) and alarm indication signal (ais) defect dete ction and clearance criteria? 18) international telecommunication union (itu) o.151 , october 1992 ?error performance measuring equipment operating at the primary rate and above? 19) international telecommunication union (itu) o.153 , october 1992 ?basic parameters for the measurement of error performance at bit rates below the primary rate? 20) international telecommunication union (itu) o.161 , 1984 ?in - service code violation monitors for digital systems?
DS3112 6 of 135 main DS3112 tempe features table 1b general features can be oper ated as a standalone t3 or e3 framer without any m13 or e13 multiplexing t1/e1 fifos in the receive direction provide t1/e1 demultiplexed clocks with very little jitter two t1/e1 drop and insert ports b3zs/hdb3 encoder and decoder t3 c - bit parity mode all the receive t1/e1 ports can be clocked out on a common clock all the transmit t1/e1 ports can be clocked in on a common clock generates gapped clocks that can be used as demand clocks in unchannelized t3/e3 applications t1/e1 ports can be configured into a ?loop - timed? mode t3/e3 port interfaces can be either bipolar or unipolar the clock, data, and control signals can be inverted to allow a glueless interface to other device loss of transmit and receive clock detect t3/e3 framer generates t3/e3 alarm indi cation signal (ais) and remote alarm indication (rai) alarms transmit framer pass through mode generates t3 idle signal detects the following t3/e3 alarms and events: loss of signal (los), loss of frame (lof), alarm indication signal (ais), remote alarm in dication (rai), t3 idle signal, change of frame alignment (cofa), b3zs and hdb3 code words being received, severely errored framing event (sefe), and t3 application id status indication t2/e2 framer generates t2/e2 alarm indication signal (ais) and remote alarm indication (rai) alarms generates alarm indication signal (ais) for t1/e1 data streams in both the transmit and receive directions detects the following t2/e2 alarms and events: loss of frame (lof), alarm indication signal (ais), and remote alarm in dication (rai) detects t1 line loopback commands (c3 bit is the inverse of c1 and c2) generates t1 line loopback commands hdlc controller designed to handle multiple lapd messages without host intervention 256 byte receive and transmit buffers are large e nough to handle the three t3 messages (path id, idle signal id, and test signal id) that are sent and received once a second which means the host only needs to access the hdlc controller once a second handles all of the normal layer 2 tasks such as zero st uffing/destuffing, crc generation/checking, abort generation/checking, flag generation/detection, and byte alignment programmable high and low watermarks for the fifo hdlc controller can be used in either the t3 c - bit parity mode or in the sn bits in the e 3 mode
DS3112 7 of 135 feac controller designed to handle multiple feac code words without host intervention receive feac automatically validates incoming code words and stores them in a 4 - byte fifo transmit feac can be configured to send either one code word, or constan t code words, or two different code words back - to - back to create t3 line loopback commands feac controller can be used in either the t3 c - bit parity mode or in the sn bits in the e3 mode bert can generate and detect the pseudorandom patterns of 2 7 - 1, 2 1 1 - 1, 2 15 - 1 and qrss as well as repetitive patterns from 1 to 32 bits in length bert is a global chip resource that can be used either in the t3/e3 data path or in any one of the t1 or e1 data paths large error counter (24 bits) allows testing to procee d for long periods without host intervention errors can be inserted into the generated bert patterns for diagnostic purposes diagnostics t3/e3 and t1/e1 diagnostic loopbacks (transmit to receive) t3/e3 and t1/e1 line loopbacks (receive to transmit) t3/e3 payload loopback t3/e3 errors counters for: bipolar violations (bpv), code violations (cv), loss of frame (lof), framing bit errors (f, m or fas), excessive zeros (exz), t3 parity bits, t3 c - bit parity, and far end block errors (febe) error counters can be either updated automatically on one second boundaries as timed by the DS3112 or via software control or via an external hardware pulse can insert the following t3/e3 errors: bipolar violations (bpv), excessive zeros (exz), t3 parity bits, t3 c - bit parity, framing bit errors (f, m, or fas) inserted errors can be either controlled via software or via an external hardware pulse generates t2/e2 loss of frame (lof) control port nonmultiplexed or multiplexed 16 - bit control port (with an optional 8 - bit mode) int el and motorola bus compatible packaging and power 3.3v low - power cmos with 5v tolerant inputs and outputs 256 - pin plastic bga package (27mm x 27mm) ieee 1149.1 jtag test port
DS3112 8 of 135 DS3112 framer and multiplexer block diagram (t3 mode) figure 1a ais gen. fifo ais gen. fifo ais gen. fifo ais gen. fifo 1 of 7 ais gen. fifo 1 of 7 to bert cpu interface & global configuration (routed to all blocks) 1 of 28 c parity mode [includes hdlc data link, feac, febe, cp, and application id insertion] m / f / p / x bit generation b3zs coder / unipolar coder & bpv insertion m / f / x bit & ais generation t2 for- matter 7 to 1 mux 4 to 1 mux c bit generation (m13 mode only) & bit stuffing control c bit generation & bit stuffing control t3 formatter sync control signal inversion control ftclk ftd ftden ftsof mux signal inversion & force data control / ais generation c parity mode [extracts hdlc data link, feac, febe, cp, and application id bit] alarm & error detection t3 framer b3zs decoder / unipolar decoder & bpv detector t3 framer signal inversion ais gen. fifo to bert ais gen. fifo to bert ais gen. fifo to bert c bit decoding & bit destuffing control t2 framer alarm & loopback detection t2 framer 1 to 4 demux 1 to 7 demux c bit decoding (m13 mode only) & bit destuffing control error counters t3 line loopback t3 diagnostic loopback t3 payload loopback t1 line loopback t1 diagnostic loopback hdlc controller with 256 byte buffer feac controller signal inversion control 1 2 7 7 1 2 signal inversion control signal inversion control ltclk ltdat ltclk ltdat ltclk ltdat ltclk ltdat lrclk lrdat lrclk lrdat lrclk lrdat lrclk lrdat lrcclk frsof frclk frd frden hrpos hrneg hrclk htpos htneg htclk receive bert bert mux transmit bert bert mux frlof frlos bert insert bert insert bert insert bert insert loss of transmit clock hrclk ltcclk ltdata ltclka ltdatb ltclkb lrclka lrclkb lrdata lrdatb from other ports from other ports diagnostic error insertion frmecu transmit receive t3e3ms (tied low) jtag test block jtms jtdo jtdi jtclk jtrst* ftmei t1 loop timed mode g747e (tied low) cd0 to cd15 ca0 to ca7 cwr* (cr/w*) crd* (cds*) ccs* cim cint* cms test rst* cale
DS3112 9 of 135 DS3112 fram er and multiplexer block diagram (e3 mode) figure 1b ais gen. fifo ais gen. fifo ais gen. fifo ais gen. fifo 1 of 4 ais gen. fifo 1 of 4 to bert 1 of 16 sn bit insertion fas & rai generation hdb3 coder / unipolar coder & bpv insertion fas / rai / sn / ais generation e2 for- matter 4 to 1 mux 4 to 1 mux c bit generation & bit stuffing control c bit generation & bit stuffing control e3 formatter sync control signal inversion control ftclk ftd ftden ftsof mux signal inversion & force data control / ais generation sn bit extraction alarm & error detection e3 framer hdb3 decoder / unipolar decoder & bpv detector e3 framer signal inversion ais gen. fifo to bert ais gen. fifo to bert ais gen. fifo to bert c bit decoding & bit destuffing control e2 framer alarm & sn bit detection e2 framer 1 to 4 demux 1 to 4 demux c bit decoding & bit destuffing control error counters e3 line loopback e3 diagnostic loopback e3 payload loopback e1 line loopback e1 diagnostic loopback hdlc controller with 256 byte buffer feac controller signal inversion control 1 2 4 4 1 2 signal inversion control signal inversion control ltclk ltdat ltclk ltdat ltclk ltdat ltclk ltdat lrclk lrdat lrclk lrdat lrclk lrdat lrclk lrdat lrcclk frsof frclk frd frden hrpos hrneg hrclk htpos htneg htclk receive bert bert mux transmit bert bert mux frlof frlos bert insert bert insert bert insert bert insert loss of transmit clock hrclk ltcclk ltdata ltclka ltdatb ltclkb lrclka lrclkb lrdata lrdatb from other ports from other ports diagnostic error insertion frmecu transmit receive jtag test block jtms jtdo jtdi jtclk jtrst* ftmei e1 loop timed mode 3 3 cpu interface & global configuration (routed to all blocks) t3e3ms (tied high) g747e (tied low) cd0 to cd15 ca0 to ca7 cwr* (cr/w*) crd* (cds*) ccs* cim cint* cms test rst* cale
DS3112 10 of 135 DS3112 framer and multiplexer block diagram (g.747 mode) figure 1c ais gen. fifo ais gen. fifo ais gen. fifo 1 of 7 ais gen. fifo 1 of 7 to bert cpu interface & global configuration (routed to all blocks) cd0 to cd15 ca0 to ca7 cwr* (cr/w*) crd* (cds*) ccs* cim cint* cms test 1 of 21 c parity mode [includes hdlc data link, feac, febe, cp, and application id insertion] m / f / p / x bit generation b3zs coder / unipolar coder & bpv insertion fas / rai / sn / ais generation g747 for- matter 7 to 1 mux 3 to 1 mux c bit generation (m13 mode only) & bit stuffing control c bit generation & bit stuffing control t3 formatter sync control signal inversion control ftclk ftd ftden ftsof mux signal inversion & force data control / ais generation c parity mode [extracts hdlc data link, feac, febe, cp, and application id bit] alarm & error detection t3 framer b3zs decoder / unipolar decoder & bpv detector t3 framer signal inversion ais gen. fifo to bert ais gen. fifo to bert c bit decoding & bit destuffing control g747 framer alarm & sn bit detection g747 framer 1 to 3 demux 1 to 7 demux c bit decoding (m13 mode only) & bit destuffing control error counters t3 line loopback t3 diagnostic loopback t3 payload loopback e1 line loopback e1 diagnostic loopback hdlc controller with 256 byte buffer feac controller signal inversion control 1 2 7 7 1 2 signal inversion control signal inversion control ltclk ltdat ltclk ltdat ltclk ltdat lrclk lrdat lrclk lrdat lrclk lrdat lrcclk frsof frclk frd frden hrpos hrneg hrclk htpos htneg htclk receive bert bert mux transmit bert bert mux frlof frlos bert insert bert insert bert insert loss of transmit clock hrclk ltcclk ltdata ltclka ltdatb ltclkb lrclka lrclkb lrdata lrdatb from other ports from other ports rst* diagnostic error insertion frmecu transmit receive t3e3ms (tied low) jtag test block jtms jtdo jtdi jtclk jtrst* ftmei e1 loop timed mode g747e (tied high) cale
DS3112 11 of 135 2. signal description 2.1 overview/signal pin list this section describes the input and output signals on the DS3112. signal names follow a convention that is shown in table 2.1a. table 2.1b lists all of the signals, their signal type, description, and pin location. symbols appended with an asterisks (*) are active low signals. the absence of an asterisks implies an active high signal. signal naming convention table 2.1a fir st letters signal category section c cpu/host control access port 2.2 fr t3/e3 receive framer 2.3 ft t3/e3 transmit formatter 2.4 lr low speed (t1 or e1) receive port 2.5 lt low speed (t1 or e1) transmit port 2.6 hr high speed (t3 or e3) receive port 2.7 ht high speed (t3 or e3) transmit port 2.8 j jtag test port 2.9 signal description/pin list table 2.1b pin symbol type signal description c7 cale i cpu bus address latch enable. h3 ca0 i cpu bus address bit 0. lsb. h2 ca1 i cpu bus address bit 1. h1 ca2 i cpu bus address bit 2. j4 ca3 i cpu bus address bit 3. j3 ca4 i cpu bus address bit 4. j2 ca5 i cpu bus address bit 5. j1 ca6 i cpu bus address bit 6. k2 ca7 i cpu bus address bit 7. msb. c4 ccs* i cpu bus chip select. c2 cd0 i/o cpu bus data bit 0. lsb. d2 cd1 i/o cpu bus data bit 1. d3 cd2 i/o cpu bus data bit 2. e4 cd3 i/o cpu bus data bit 3. c1 cd4 i/o cpu bus data bit 4. d1 cd5 i/o cpu bus data bit 5. e3 cd6 i/o cpu bus data bit 6. e2 cd7 i/o cpu bus data bit 7. e1 cd8 i/o cpu bus data bit 8. f3 cd9 i/o cpu bus data bit 9. g4 cd10 i/o cpu bus data bit 10. f2 cd11 i/o cpu bus data bit 11.
DS3112 12 of 135 pin symbol type signal description f1 cd12 i/o cpu bus data bit 12. g3 cd13 i/o cpu bus data bit 13. g2 cd14 i/o cpu bus data bit 14. g1 cd15 i/o cpu bus data bit 15. msb. b3 cim i cpu bus intel/motorola bus select. 0 = intel, 1 = mot. a2 cint* o cpu bus interrupt. b2 cms i cpu bus mode select. 0 = 16 bit, 1 = 8 bit mode. d5 crd*(cds*) i cpu bus read enable (cpu bus data strobe). a3 cwr*(cr/w*) i cpu bus write enable (cpu bus read/write select). a9 frclk o receive framer (t3 or e3) clock output. b9 frd o receive framer (t3 or e3) data output. c9 frden o receive framer (t3 or e3) data e nable output. c8 frlof o receive framer (t3 or e3) loss of frame output. b8 frlos o receive framer (t3 or e3) loss of signal output. a7 frmecu i receive framer (t3 or e3) manual error counter update. a8 frsof o receive framer (t3 or e3) start of frame pulse. a10 ftclk i transmit framer (t3 or e3) clock input. b10 ftd i transmit framer (t3 or e3) data input. c10 ftden o transmit framer (t3 or e3) data enable output. c11 ftmei i transmit framer (t3 or e3) manual error insert pulse. a11 ftsof i/o tran smit framer (t3 or e3) start of frame pulse. b6 g.747e i g.747 mode enable. 0 = normal t3 mode, 1 = g.747 mode. a13 hrclk i high speed (t3 or e3) port receive clock input. c12 hrneg i high speed (t3 or e3) port receive negative data input. b13 hrpos i high speed (t3 or e3) port receive positive or nrz data input. b14 htclk o high speed (t3 or e3) port transmit clock output. a14 htneg o high speed (t3 or e3) port transmit negative data output. c14 htpos o high speed (t3 or e3) port transmit positive or nrz data output. d7 jtclk i jtag ieee 1149.1 test serial clock. b5 jtdi i jtag ieee 1149.1 test serial data input. a4 jtdo o jtag ieee 1149.1 test serial data output. a5 jtms i jtag ieee 1149.1 test mode select. c6 jtrst* i jtag ieee 1149.1 test re set. g20 lrcclk i low speed (t1 or e1) port common receive clock input. n2 lrclk1 o low speed (t1 or e1) receive clock from port 1. r1 lrclk2 o low speed (t1 or e1) receive clock from port 2. r3 lrclk3 o low speed (t1 or e1) receive clock from port 3. u2 lrclk4 o low speed (t1 or e1) receive clock from port 4. v2 lrclk5 o low speed (t1 or e1) receive clock from port 5. y2 lrclk6 o low speed (t1 or e1) receive clock from port 6.
DS3112 13 of 135 pin symbol type signal description y3 lrclk7 o low speed (t1 or e1) receive clock from port 7. y5 lrclk8 o low speed (t1 or e1) receive clock from port 8. y6 lrclk9 o low speed (t1 or e1) receive clock from port 9. v8 lrclk10 o low speed (t1 or e1) receive clock from port 10. v9 lrclk11 o low speed (t1 or e1) receive clock from port 11. v10 lrclk12 o low s peed (t1 or e1) receive clock from port 12. v11 lrclk13 o low speed (t1 or e1) receive clock from port 13. y13 lrclk14 o low speed (t1 or e1) receive clock from port 14. w14 lrclk15 o low speed (t1 or e1) receive clock from port 15. y16 lrclk16 o low s peed (t1 or e1) receive clock from port 16. y17 lrclk17 o low speed (t1 or e1) receive clock from port 17. u16 lrclk18 o low speed (t1 or e1) receive clock from port 18. v18 lrclk19 o low speed (t1 or e1) receive clock from port 19. v19 lrclk20 o low s peed (t1 or e1) receive clock from port 20. v20 lrclk21 o low speed (t1 or e1) receive clock from port 21. t20 lrclk22 o low speed (t1 or e1) receive clock from port 22. r20 lrclk23 o low speed (t1 or e1) receive clock from port 23. n18 lrclk24 o low s peed (t1 or e1) receive clock from port 24. m18 lrclk25 o low speed (t1 or e1) receive clock from port 25. l18 lrclk26 o low speed (t1 or e1) receive clock from port 26. k18 lrclk27 o low speed (t1 or e1) receive clock from port 27. h20 lrclk28 o low s peed (t1 or e1) receive clock from port 28. k1 lrclka o low speed (t1 or e1) receive clock from drop port a. m1 lrclkb o low speed (t1 or e1) receive clock from drop port b. n1 lrdat1 o low speed (t1 or e1) receive data from port 1. p2 lrdat2 o low spe ed (t1 or e1) receive data from port 2. p4 lrdat3 o low speed (t1 or e1) receive data from port 3. t3 lrdat4 o low speed (t1 or e1) receive data from port 4. u3 lrdat5 o low speed (t1 or e1) receive data from port 5. w3 lrdat6 o low speed (t1 or e1) re ceive data from port 6. u5 lrdat7 o low speed (t1 or e1) receive data from port 7. w5 lrdat8 o low speed (t1 or e1) receive data from port 8. w6 lrdat9 o low speed (t1 or e1) receive data from port 9. y7 lrdat10 o low speed (t1 or e1) receive data from port 10. u9 lrdat11 o low speed (t1 or e1) receive data from port 11. w10 lrdat12 o low speed (t1 or e1) receive data from port 12. w11 lrdat13 o low speed (t1 or e1) receive data from port 13. v12 lrdat14 o low speed (t1 or e1) receive data from port 14. y14 lrdat15 o low speed (t1 or e1) receive data from port 15. w15 lrdat16 o low speed (t1 or e1) receive data from port 16. w16 lrdat17 o low speed (t1 or e1) receive data from port 17. y18 lrdat18 o low speed (t1 or e1) receive data from port 18. y19 lrdat19 o low speed (t1 or e1) receive data from port 19. w20 lrdat20 o low speed (t1 or e1) receive data from port 20.
DS3112 14 of 135 pin symbol type signal description t17 lrdat21 o low speed (t1 or e1) receive data from port 21. t19 lrdat22 o low speed (t1 or e1) receive data from port 22. r1 9 lrdat23 o low speed (t1 or e1) receive data from port 23. p20 lrdat24 o low speed (t1 or e1) receive data from port 24. m17 lrdat25 o low speed (t1 or e1) receive data from port 25. l19 lrdat26 o low speed (t1 or e1) receive data from port 26. k19 lr dat27 o low speed (t1 or e1) receive data from port 27. j18 lrdat28 o low speed (t1 or e1) receive data from port 28. k3 lrdata o low speed (t1 or e1) receive data from drop port a. l3 lrdatb o low speed (t1 or e1) receive data from drop port b. g19 lt cclk i low speed (t1 or e1) port common transmit clock input. p1 ltclk1 i low speed (t1 or e1) transmit clock for port 1. r2 ltclk2 i low speed (t1 or e1) transmit clock for port 2. u1 ltclk3 i low speed (t1 or e1) transmit clock for port 3. t4 ltclk4 i low speed (t1 or e1) transmit clock for port 4. v3 ltclk5 i low speed (t1 or e1) transmit clock for port 5. v4 ltclk6 i low speed (t1 or e1) transmit clock for port 6. v5 ltclk7 i low speed (t1 or e1) transmit clock for port 7. u7 ltclk8 i low speed (t1 or e1) transmit clock for port 8. w7 ltclk9 i low speed (t1 or e1) transmit clock for port 9. y8 ltclk10 i low speed (t1 or e1) transmit clock for port 10. y9 ltclk11 i low speed (t1 or e1) transmit clock for port 11. y11 ltclk12 i low speed (t1 or e1) transmit clock for port 12. w12 ltclk13 i low speed (t1 or e1) transmit clock for port 13. v13 ltclk14 i low speed (t1 or e1) transmit clock for port 14. v14 ltclk15 i low speed (t1 or e1) transmit clock for port 15. v15 ltclk16 i low speed (t1 or e1) transmit clock for port 16. w17 ltclk17 i low speed (t1 or e1) transmit clock for port 17. w18 ltclk18 i low speed (t1 or e1) transmit clock for port 18. y20 ltclk19 i low speed (t1 or e1) transmit clock for port 19. u18 ltclk20 i low speed (t1 or e1) transmit clock for port 20. t18 ltclk21 i low speed (t1 or e1) transmit clock for port 21. p17 ltclk22 i low speed (t1 or e1) transmit clock for port 22. p19 ltclk23 i low speed (t1 or e1) transmit clock for port 23. n20 ltclk24 i low speed (t1 or e1) transmit clock for port 24. m20 ltclk25 i low speed (t1 or e1) transmit clock for port 25. k20 ltclk26 i low speed (t1 or e1) transmit clock for port 26. j19 ltclk27 i low speed (t1 or e1) transmit clock for port 27. h18 ltclk28 i low speed (t1 or e1) transmit clock for port 28. l2 ltclka i low speed (t1 or e1) transmit clock for insert port a. m3 ltclkb i low speed (t1 or e1) transmit clock for insert port b. n3 ltdat1 i low speed (t1 or e1) transmit data for port 1. p3 ltdat2 i low speed (t1 or e1) transmit data for port 2.
DS3112 15 of 135 pin symbol type signal description t2 ltdat3 i low speed (t1 or e1) transmit data for port 3. v1 ltdat4 i low speed (t1 or e1) transmit data for port 4. w1 ltdat5 i low speed (t1 or e1) transmit data for port 5. w4 ltdat6 i low speed (t1 or e1) transmit data for port 6. y4 ltdat7 i low speed (t1 or e1) transmit data for port 7. v6 ltdat8 i low speed (t1 or e1) transmit data for port 8. v7 ltdat9 i low speed (t1 or e1) transmit data for port 9. w8 ltdat10 i low speed (t1 or e1) transmit data for port 1 0. w9 ltdat11 i low speed (t1 or e1) transmit data for port 11. y10 ltdat12 i low speed (t1 or e1) transmit data for port 12. y12 ltdat13 i low speed (t1 or e1) transmit data for port 13. w13 ltdat14 i low speed (t1 or e1) transmit data for port 14. y 15 ltdat15 i low speed (t1 or e1) transmit data for port 15. u14 ltdat16 i low speed (t1 or e1) transmit data for port 16. v16 ltdat17 i low speed (t1 or e1) transmit data for port 17. v17 ltdat18 i low speed (t1 or e1) transmit data for port 18. w19 l tdat19 i low speed (t1 or e1) transmit data for port 19. u19 ltdat20 i low speed (t1 or e1) transmit data for port 20. u20 ltdat21 i low speed (t1 or e1) transmit data for port 21. r18 ltdat22 i low speed (t1 or e1) transmit data for port 22. p18 ltdat 23 i low speed (t1 or e1) transmit data for port 23. n19 ltdat24 i low speed (t1 or e1) transmit data for port 24. m19 ltdat25 i low speed (t1 or e1) transmit data for port 25. l20 ltdat26 i low speed (t1 or e1) transmit data for port 26. j20 ltdat27 i low speed (t1 or e1) transmit data for port 27. h19 ltdat28 i low speed (t1 or e1) transmit data for port 28. l1 ltdata i low speed (t1 or e1) transmit data for insert port a. m2 ltdatb i low speed (t1 or e1) transmit data for insert port b. a12 nc - no connect. do not connect any signal to this pin. a15 nc - no connect. do not connect any signal to this pin. a16 nc - no connect. do not connect any signal to this pin. a17 nc - no connect. do not connect any signal to this pin. a18 nc - no conne ct. do not connect any signal to this pin. a19 nc - no connect. do not connect any signal to this pin. a20 nc - no connect. do not connect any signal to this pin. a6 nc - no connect. do not connect any signal to this pin. b1 nc - no connect. do no t connect any signal to this pin. b11 nc - no connect. do not connect any signal to this pin. b12 nc - no connect. do not connect any signal to this pin. b15 nc - no connect. do not connect any signal to this pin. b16 nc - no connect. do not connec t any signal to this pin. b17 nc - no connect. do not connect any signal to this pin. b18 nc - no connect. do not connect any signal to this pin. b19 nc - no connect. do not connect any signal to this pin.
DS3112 16 of 135 pin symbol type signal description b20 nc - no connect. do not connect any si gnal to this pin. b7 nc - no connect. do not connect any signal to this pin. c13 nc - no connect. do not connect any signal to this pin. c15 nc - no connect. do not connect any signal to this pin. c16 nc - no connect. do not connect any signal to t his pin. c17 nc - no connect. do not connect any signal to this pin. c18 nc - no connect. do not connect any signal to this pin. c19 nc - no connect. do not connect any signal to this pin. c20 nc - no connect. do not connect any signal to this pin. d12 nc - no connect. do not connect any signal to this pin. d14 nc - no connect. do not connect any signal to this pin. d16 nc - no connect. do not connect any signal to this pin. d18 nc - no connect. do not connect any signal to this pin. d19 nc - no connect. do not connect any signal to this pin. d20 nc - no connect. do not connect any signal to this pin. e17 nc - no connect. do not connect any signal to this pin. e18 nc - no connect. do not connect any signal to this pin. e19 nc - no co nnect. do not connect any signal to this pin. e20 nc - no connect. do not connect any signal to this pin. f18 nc - no connect. do not connect any signal to this pin. f19 nc - no connect. do not connect any signal to this pin. f20 nc - no connect. do not connect any signal to this pin. g17 nc - no connect. do not connect any signal to this pin. g18 nc - no connect. do not connect any signal to this pin. t1 nc - no connect. do not connect any signal to this pin. w2 nc - no connect. do not con nect any signal to this pin. y1 nc - no connect. do not connect any signal to this pin. c5 rst* i reset. b4 t3e3ms i t3/e3 mode select. 0 = t3, 1 = e3. c3 test* i factory test input. d10 v dd - positive supply. 3.3v (5%). d11 v dd - positive supply . 3.3v (5%). d15 v dd - positive supply. 3.3v (5%). d6 v dd - positive supply. 3.3v (5%). f17 v dd - positive supply. 3.3v (5%). f4 v dd - positive supply. 3.3v (5%). k17 v dd - positive supply. 3.3v (5%). k4 v dd - positive supply. 3.3v (5%) . l17 v dd - positive supply. 3.3v (5%). l4 v dd - positive supply. 3.3v (5%). r17 v dd - positive supply. 3.3v (5%). r4 v dd - positive supply. 3.3v (5%). u10 v dd - positive supply. 3.3v (5%). u11 v dd - positive supply. 3.3v (5%).
DS3112 17 of 135 pin symbol type signal description u15 v dd - positive supply. 3.3v (5%). u6 v dd - positive supply. 3.3v (5%). a1 v ss - ground reference. d13 v ss - ground reference. d17 v ss - ground reference. d4 v ss - ground reference. d8 v ss - ground reference. d9 v ss - ground reference. h17 v ss - grou nd reference. h4 v ss - ground reference. j17 v ss - ground reference. m4 v ss - ground reference. n17 v ss - ground reference. n4 v ss - ground reference. u12 v ss - ground reference. u13 v ss - ground reference. u17 v ss - ground reference. u4 v ss - gro und reference. u8 v ss - ground reference. 2.2 cpu bus signal description signal name: cms signal description: cpu bus mode select signal type: input this signal should be tied low when the device is to be operated as a 16 - bit bus. this signal should be t ied high when the device is to be operated as an 8 - bit bus. 0 = cpu bus is in the 16 - bit mode 1 = cpu bus is in the 8 - bit mode signal name: cim signal description: cpu bus intel/motorola bus select signal type: input the signal determines whether the cpu bus will operate in the intel mode (cim = 0) or the motorola mode (cim = 1). the signal names in parenthesis are operational when the device is in the motorola mode. 0 = cpu bus is in the intel mode 1 = cpu bus is in the motorola mode
DS3112 18 of 135 signal name: cd0 to cd15 signal description: cpu bus data bus signal type: input/output (3 - state capable) the external host will configure the device and obtain real time status information about the device via these signals. when reading data from the cpu bus, these signals will be outputs. when writing data to the cpu bus, these signals will become inputs. when the cpu bus is operated in the 8 - bit mode (cms = 1), cd8 to cd15 are inactive and should be tied low. signal name: ca0 to ca7 signal description: cpu bus ad dress bus signal type: input these input signals determine which internal device configuration register that the external host wishes to access. when the cpu bus is operated in the 16 - bit mode (cms = 0), ca0 is inactive and should be tied low. when the cp u bus is operated in the 8 - bit mode (cms = 1), ca0 is the least significant address bit. signal name: cwr* (cr/w*) signal description: cpu bus write enable (cpu bus read/write select) signal type: input in intel mode (cim = 0), this signal will determin e when data is to be written to the device. in motorola mode (cim = 1), this signal will be used to determine whether a read or write is to occur. signal name: crd* (cds*) signal description: cpu bus read enable (cpu bus data strobe) signal type: input in intel mode (cim = 0) this signal will determine when data is to be read from the device. in motorola mode (cim = 1), a rising edge will be used to write data into the device. signal name: cint* signal description: cpu bus interrupt signal type: outpu t (open drain) this signal is an open - drain output which will be forced low if one or more unmasked interrupt sources within the device is active. the signal will remain low until either the interrupt is serviced or masked. signal name: ccs* signal descr iption: cpu bus chip select signal type: input this active low signal must be asserted for the device to accept a read or write command from an external host. signal name: cale signal description: cpu bus address latch enable signal type: input this in put signal controls a latch that exists on the ca0 to ca7 inputs. when cale is high, the latch is transparent. the falling edge of cale causes the latch to sample and hold the ca0 to ca7 inputs. in non - multiplexed bus applications, cale should be tied hig h. in multiplexed bus applications, ca[7:0] should be tied to cd[7:0] and the falling edge of cale will latch the address.
DS3112 19 of 135 2.3 t3/e3 receive framer signal description signal name: frsof signal description: t3/e3 receive framer start of frame sync signal sig nal type: output this signal pulses for one frclk period to indicate the t3 or e3 frame boundary (figure 2.3a). this signal can be configured via the frsofi control bit in master control register 3 (section 4.2) to be either active high (normal mode) or a ctive low (inverted mode). signal name: frclk signal description: t3/e3 receive framer clock signal type: output this signal outputs the clock that is used to pass data through the receive t3/e3 framer. it can be sourced from either the hrclk or ftclk i nputs (figures 1a and 1b). this signal is used to clock the receive data out of the device at the frd output. data can be either updated on a rising edge (normal mode) or a falling edge (inverted mode). this option is controlled via the frclki control bit in master control register 3 (section 4.2). signal name: frd signal description: t3/e3 receive framer serial data signal type: output this signal outputs data from the receive t3/e3 framer. this signal is updated either on the rising edge of frclk (nor mal mode) or the falling edge of frclk (inverted mode). this option is controlled via the frclki control bit in master control register 3 (section 4.2). also, this signal can be internally inverted if enabled via the frdi control bit in master control regi ster 3 (section 4.2). signal name: frden signal description: t3/e3 receive framer serial data enable or gapped clock output signal type: output via the denms control bit in master control register 1, this signal can be configured to either output a data enable or a gapped clock. in the data enable mode, this signal will go active when payload data is available at the frd output and it will go inactive when overhead data is being output at the frd output. in the gapped clock mode, this signal will transit ion for each bit of payload data and will be suppressed for each bit of overhead data. in the t3 mode, overhead data is defined as the m bits, f bits, c bits, x bits, and p bits. in the e3 mode, overhead data is defined as the fas word, rai bit and sn bit (i.e., bits 1 to 12). see figure 2.3a for an example. this signal can be internally inverted if enabled via the frdeni control bit in master control register 3 (section 4.2). signal name: frmecu signal description: t3/e3 receive framer manual error count er update strobe signal type: input via the aecu control bit in master control register 1 (section 4.2), the DS3112 can be configured to use this asynchronous input to initiate an updating of the internal error counters. a zero to one transition on this i nput causes the device to begin loading the internal error counters with the latest error counts. this signal must be returned low before a subsequent updating of the error counters can occur. the host must wait at least 100ns before reading the error coun ters to allow the device time to update the error counters. this signal is logically or?ed with the mecu control bit in master control register 1. if this signal is not used, then it should be tied low.
DS3112 20 of 135 signal name: frlos signal description: t3/e3 receive framer loss of signal signal type: output this signal will be forced high when the receive t3/e3 framer is in a loss of signal (los) state. it will remain high as long as the los state persists and will return low when the framer exits the los state. see section 5.3 for details on the set and clear criteria for this signal. los status is also available via a software bit in the t3/e3 status register (section 5.3). signal name: frlof signal description: t3/e3 receive framer loss of frame signal type: ou tput this signal will be forced high when the receive t3/e3 framer is in a loss of frame (lof) state. it will remain high as long as the lof state persists and will return low when the framer synchronizes. see section 5.3 for details on the set and clear c riteria for this signal. lof status is also available via a software bit in the t3/e3 status register (section 5.3). t3/e3 receive framer timing figure 2.3a frclk normal mode frd (see note) t3: x1 e3: bit 1 of fas last bit of the frame frclk inverted mode frden data enable mode for t3 (see note) frden data enable mode for e3 (see note) frden gapped clock mode for t3 (see note) frden gapped clock mode for e3 (see note) frsof (see note) note: frd, frden, and frsof can be inverted via master control register 3.
DS3112 21 of 135 2.4 t3/e3 transmit formatter signal description signal name: ftsof signal description: t3/e3 trans mit formatter start of frame sync signal signal type: output/input this signal can be configured via the ftsofc control bit in master control register 1 to be either an output or an input. when this signal is an output, it pulses for one ftclk period to i ndicate a t3 or e3 frame boundary (figure 2.4a). when this signal is an input, it is sampled to set the transmit t3 or e3 frame boundary (figure 2.4a). this signal can be configured via the ftsofi control bit in master control register 3 (section 4.2) to b e either active high (normal mode) or active low (inverted mode). signal name: ftclk signal description: t3/e3 transmit formatter clock signal type: input an accurate t3 (44.736mhz 20ppm) or e3 (34.368mhz 20ppm) clock should be applied at this signal. this signal is used to clock data into the transmit t3/e3 formatter. transmit data can be clocked into the device either on a rising edge (normal mode) or a falling edge (inverted mode). this option is controlled via the ftclki control bit in master contr ol register 3 (section 4.2). signal name: ftd signal description: t3/e3 transmit formatter serial data signal type: input this signal inputs data into the transmit t3/e3 formatter. this signal can be sampled either on the rising edge of ftclk (normal m ode) or the falling edge of ftclk (inverted mode). this option is controlled via the ftclki control bit in master control register 3 (section 4.2). also, the data input to this signal can be internally inverted if enabled via the ftdi control bit in maste r control register 3 (section 4.2). when t3 c - bit parity mode is disabled, c bits are sampled at this input. this signal is ignored when the m13/e13 multiplexer is enabled. (see the unchen control bit in master control register 1.) if not used, this signal should be tied low. signal name: ftden signal description: t3/e3 transmit formatter serial data enable or gapped clock output signal type: output via the denms control bit in master control register 1, this signal can be configured to either output a d ata enable or a gapped clock. in the data enable mode, this signal will go active when payload data should be made available at the ftd input. in the gapped clock mode, this signal will act as a demand clock for the ftd input and it will transition for ea ch bit of payload data needed at the ftd input and it will be suppressed when the transmit formatter inserts overhead data and hence no data is needed at the ftd input. in the t3 mode, overhead data is defined as the m bits, f bits, c bits, x bits, and p b its. in the e3 mode, overhead data is defined as the fas word, rai bit and sn bit (i.e., bits 1 to 12). see figure 2.4a for an example. his signal can be internally inverted if enabled via the ftdeni control bit in master control register 3 (section 4.2). this signal operates in the same manner even when the device is configured in the transmit pass through mode (see the tpt control bit in the t3/e3 control register).
DS3112 22 of 135 signal name: ftmei signal description: t3/e3 transmit formatter manual error insert str obe signal type: input via the eic control bit in the t3/e3 error insert control register (section 5.2), the DS3112 can be configured to use this asynchronous input to cause errors to be inserted into the transmitted data stream. a zero to one transition on this input causes the device to begin the process of causing errors to be inserted. this signal must be returned low before any subsequent errors can be generated. if this signal is not used, then it should be tied low. t3/e3 transmit formatter timing figure 2.4a ftclk inverted mode ftd (s ee note) ftsof input mode (see note) t3: x1 e3: bit 1 of fas last bit of the frame ftclk normal mode ftden data enable mode for t3 (see note) ftden data enable mode for e3 (see note) ftden gapped clock mode for t3 (see note) ftden gapped clock mode for e3 (see note) ftsof output mode (see note) note: ftd, ftden, and ftsof can be inverted via master control register 3.
DS3112 23 of 135 2.5 low speed (t1 or e1) receive port signal description signal name: lrdat1 to lrdat28 signal description: low speed (t1 or e1) receive serial data outputs signal type: output these output signals present the demultiplexed serial data for t he 28 t1 data streams or the 16/21 e1 data streams. data can be clocked out of the device either on rising edges (normal clock mode) or falling edges (inverted clock mode) of the associated lrclk. this option is controlled via the lrclki control bit in ma ster control register 2 (section 4.2). also, the data can be internally inverted before being output if enabled via the lrdati control bit in master control register 2 (section 4.2). when the device is in the e3 mode, lrdat17 to lrdat28 are meaningless and should be ignored. when the device is in the g.747 mode, lrdat4, lrdat8, lrdat12, lrdat16, lrdat20, lrdat24, and lrdat28 are meaningless and should be ignored. when the m13/e13 multiplexer is disabled, then these outputs are meaningless and should be igno red. signal name: lrclk1 to lrclk28 signal description: low speed (t1 or e1) receive serial clock outputs signal type: output these output signals present the demultiplexed serial clocks for the 28 t1 data streams or the 16/21 e1 data streams. the t1 or e1 serial data streams at the associated lrdat signals can be clocked out of the device either on rising edges (normal clock mode) or falling edges (inverted clock mode) of lrclk. this option is controlled via the lrclki control bit in master control regi ster 2 (section 4.2). when the device is in the e3 mode, lrclk17 to lrclk28 are meaningless and should be ignored. when the device is in the g.747 mode, lrclk4, lrclk8, lrclk12, lrclk16, lrclk20, lrclk24, and lrclk28 are meaningless and should be ignored. when the m13/e13 multiplexer is disabled, then these outputs are meaningless and should be ignored. signal name: lrdata/lrdatb signal description: low speed (t1 or e1) receive drop port serial data outputs signal type: output these two output signals pr esent the demultiplexed serial data from one of the 28 t1 data streams or from one of the 16/21 e1 data streams (section 7.4). data can be clocked out of the device either on rising edges (normal clock mode) or falling edges (inverted clock mode) of the as sociated lrclk. this option is controlled via the lrclki control bit in master control register 2 (section 4.2). also, the data can be internally inverted before being output if enabled via the lrdati control bit in master control register 2 (section 4.2). when the m13/e13 multiplexer is disabled, then these outputs are meaningless and should be ignored.
DS3112 24 of 135 signal name: lrclka/lrclkb signal description: low speed (t1 or e1) receive drop port serial clock outputs signal type: output these output signals pres ent the demultiplexed serial clocks from one of the 28 t1 data streams or from one of the 16/21 e1 data streams (section 7.4). the t1 or e1 serial data streams at the associated lrdat signals can be clocked out of the device either on rising edges (normal clock mode) or falling edges (inverted clock mode) of lrclk. this option is controlled via the lrclki control bit in master control register 2 (section 4.2). when the m13/e13 multiplexer is disabled, then these outputs are meaningless and should be ignored . signal name: lrcclk signal description: low speed (t1 or e1) receive common clock input signal type: input if enabled via the lrccen control bit in master control register 1 (section 4.2), all 28 lrclk or 16/21 lrclk can be slaved to this common clock input. in t3 mode, lrcclk would be a 1.544mhz clock and in e3 mode, lrcclk would be 2.048mhz. use of this configuration is only possible in applications where it can be guaranteed that all of the multiplexed t1 or e1 signals at the far end are based on a common clock. if this signal is not used, then it should be tied low. this signal can be internally inverted. this option is controlled via the lrclki control bit in master control register 2 (section 4.2). 2.6 low speed (t1 or e1) transmit port signal descri ption signal name: ltdat1 to ltdat28 signal description: low speed (t1 or e1) transmit serial data inputs signal type: input these input signals sample the serial data from the 28 t1 data streams or the 16/21 e1 data streams that will be multiplexed int o a single t3 or e3 data stream. data can be clocked into the device either on falling edges (normal clock mode) or rising edges (inverted clock mode) of the associated ltclk. this option is controlled via the ltclki control bit in master control register 2 (section 4.2). also, the data can be internally inverted before being multiplexed if enabled via the ltdati control bit in master control register 2 (section 4.2). when the device is in the e3 mode, ltdat17 to ltdat28 are ignored and should be tied low. when the device is in the g.747 mode, ltdat4, ltdat8, ltdat12, ltdat16, ltdat20, ltdat24, and ltdat28 are ignored and should be tied low. when the m13/e13 multiplexer is disabled, then these inputs are ignored and should be tied low. signal name: ltclk1 to ltclk28 signal description: low speed (t1 or e1) transmit serial clock inputs signal type: input these input signals clock data in from the 28 t1 data streams or from the 16/21 e1 data streams. the t1 or e1 serial data streams at the associated ltdat s ignals can be clocked into the device either on falling edges (normal clock mode) or rising edges (inverted clock mode) of ltclk. this option is controlled via the ltclki control bit in master control register 2 (section 4.2). when the device is in the e3 mode, ltclk17 to ltclk28 are meaningless and should be tied low. when the device is in the g.747 mode, ltclk4, ltclk8, ltclk12, ltclk16, ltclk20, ltclk24, and ltclk28 are meaningless and should be tied low. when the m13/e13 multiplexer is disabled, then th ese inputs are ignored and should be tied low.
DS3112 25 of 135 signal name: ltdata/ltdatb signal description: low speed (t1 or e1) transmit insert port serial data inputs signal type: input these two input signals allow data to be inserted in place of any of the 28 t1 d ata streams or into any of the 16/21 e1 data streams (section 7.4). data can be clocked into the device either on falling edges (normal clock mode) or rising edges (inverted clock mode) of the associated ltclk. this option is controlled via the ltclki cont rol bit in master control register 2 (section 4.2). also, the data can be internally inverted before being multiplexed if enabled via the ltdati control bit in master control register 2 (section 4.2). when the m13 / e13 multiplexer is disabled, then these inputs are ignored and should be tied low. signal name: ltclka/ltclkb signal description: low speed (t1 or e1) transmit insert port serial clock inputs signal type: input these two input signals are used to clock data into the device that will be insert ed into one of the 28 t1 data streams or into one of the 16/21 e1 data streams (section 7.4). the t1 or e1 serial data streams at the associated ltdat signals can be clocked into the device either on falling edges (normal clock mode) or rising edges (inver ted clock mode) of ltclka/ltclkb. this option is controlled via the ltclki control bit in master control register 2 (section 4.2). when the m13 / e13 multiplexer is disabled, then these inputs are ignored and should be tied low. signal name: ltcclk signa l description: low speed (t1 or e1) transmit common clock input signal type: input if enabled via the ltccen in master control register 1 (section 4.2), all 28 ltclk or 16 ltclk signals are disabled and all the data at the 28 ltdat or 16 ltdat inputs (as well as the ltdata and ltdatb inputs) will be clocked into the device using the ltcclk signal. in t3 mode, ltcclk would be a 1.544mhz clock and in e3 mode, ltcclk would be 2.048mhz. if not used, this signal should be tied low. if this signal is used, then all of the ltclk signals should be tied low. this signal can be internally inverted. this option is controlled via the ltclki control bit in master control register 2 (section 4.2).
DS3112 26 of 135 2.7 high - speed (t3 or e3) receive port signal description signal name: hrpo s/hrneg signal description: high - speed (t3 or e3) receive serial data inputs signal type: input these input signals sample the serial data from the incoming t3 data streams or e3 data streams. data can be clocked into the device either on rising edges (no rmal clock mode) or falling edges (inverted clock mode) of the associated hrclk. this option is controlled via the hrclki control bit in master control register 2 (section 4.2). signal name: hrclk signal description: high - speed (t3 or e3) receive serial clock input signal type: input this signal is used to clock data in from the incoming t3 or e3 data streams. the t3 or e3 serial data streams at the hrpos and hrneg signals can be clocked into the device either on rising edges (normal clock mode) or falli ng edges (inverted clock mode) of hrclk. this option is controlled via the hrclki control bit in master control register 2 (section 4.2). note: the hrclk must be present for the host to be able to obtain status information (except the lotc and lorc status bits ? see section 4.3) from the device. 2.8 high - speed (t3 or e3) transmit port signal description signal name: htpos/htneg signal description: high - speed (t3 or e3) transmit serial data outputs signal type: output these output signals present the outgoi ng t3 data streams or e3 data streams. data can be clocked out of the device either on rising edges (normal clock mode) or falling edges (inverted clock mode) of htclk. this option is controlled via the htclki control bit in master control register 2 (sect ion 4.2). also, these outputs can be forced high or low via the htdath and htdatl control bits respectively in master control register 2 (section 4.2). signal name: htclk signal description: high - speed (t3 or e3) transmit serial clock output signal type: output this output signal is used to clock t3 or e3 data out of the device. the t3 or e3 serial data streams at the htpos and htneg signals can be clocked out of the device either on rising edges (normal clock mode) or falling edges (inverted clock mode) of htclk. this option is controlled via the htclki control bit in master control register 2 (section 4.2).
DS3112 27 of 135 2.9 jtag signal description signal name: jtclk signal description: jtag ieee 1149.1 test serial clock signal type: input this signal is used to shif t data into jtdi on the rising edge and out of jtdo on the falling edge. if not used, this signal should be pulled high. signal name: jtdi signal description: jtag ieee 1149.1 test serial data input signal type: input (with internal 10k pullup) test ins tructions and data are clocked into this signal on the rising edge of jtclk. if not used, this signal should be pulled high. this signal has an internal pullup. signal name: jtdo signal description: jtag ieee 1149.1 test serial data output signal type: output test instructions are clocked out of this signal on the falling edge of jtclk. if not used, this signal should be left open circuited. signal name: jtrst* signal description: jtag ieee 1149.1 test reset signal type: input (with internal 10k pullu p) this signal is used to asynchronously reset the test access port controller. at power - up, jtrst must be set low and then high. this action will set the device into the boundary scan bypass mode allowing normal device operation. if boundary scan is not u sed, this signal should be held low. this signal has an internal pullup. signal name: jtms signal description: jtag ieee 1149.1 test mode select signal type: input (with internal 10k pullup) this signal is sampled on the rising edge of jtclk and is used to place the test port into the various defined ieee 1149.1 states. if not used, this signal should be pulled high. this signal has an internal pullup. 2.10 supply, test, reset, and mode signal description signal name: rst* signal description: global hardwa re reset signal type: input (with internal 10k pullup) this active low asynchronous signal causes the device to be reset. when this signal is forced low, it causes all of the internal registers to be forced to 00h and the high speed t3/e3 ports as well as the low speed t1/e1 ports to source an unframed all ones data pattern. the device will be held in a reset state as long as this signal is low. this signal should be activated after the hardware configuration signals (lien and t3e3ms) and the clocks (ftclk , ltclk, hrclk, and litclk) are stable and must be returned high before the device can be configured for operation.
DS3112 28 of 135 signal name: t3e3ms signal description: t3/e3 mode select input signal type: input this signal determines whether the DS3112 will operate in either the t3 mode or the e3 mode. it acts as a global control bit for the entire DS3112. this signal should be set into the proper state before a hardware reset is issued via the rst* signal. this input is coupled with the g.747e input to create a spe cial test mode whereby all of the outputs are 3 - stated (table 2.10a). 0 = t3 mode 1 = e3 mode signal name: g.747e signal description: g.747 mode enable input signal type: input this signal determines whether the DS3112 will operate in either the t3 mo de or the g.747 mode. it acts as a global control bit for the entire DS3112. this signal should be set into the proper state before a hardware reset is issued via the rst* signal. this input is coupled with the t3e3ms input to create a special test mode wh ereby all of the outputs are 3 - stated (table 2.10a). 0 = t3 mode 1 = g.747 mode mode select decode table 2.10a t3e3ms g.747e mode selected 0 0 t3 or m13 operation 0 1 g.747 operation 1 0 e3 or e13 operation 1 1 special test mode that 3 - states all o utputs. jtrst* must be driven low for 3 - state operation without power - up. refer to note for jtrst* signal. signal name: test* signal description: factory test input signal type: input (with internal 10k pullup) this input should be left open circuited by the user. signal name: v ss signal description: digital ground reference signal type: n/a all v ss signals should be tied together. signal name: v dd signal description: digital positive supply signal type: n/a 3.3v ( 5%). all v dd signals should be tied together.
DS3112 29 of 135 3. memory map address acronym r/w register name section 00 mrid r/w master reset and id register. 4.1 02 mc1 r/w master configuration register 1. 4.2 04 mc2 r/w master configuration register 2. 4.2 06 mc3 r/w master configuration regist er 3. 4.2 08 msr r master status register. 4.3 0a imsr r/w interrupt mask register for msr. 4.3 0c test r/w test register. 4.4 0e not assigned * 10 t3e3cr r/w t3/e3 control register. 5.2 12 t3e3sr r t3/e3 status register. 5.3 14 it3e3sr r/w interr upt mask for t3e3sr. 5.3 16 t3e3info r t3/e3 information register. 5.3 18 t3e3eic r/w t3/e3 error insert control register. 5.3 1a not assigned * 1c not assigned * 1e not assigned * 20 bpvcr r t3/e3 bipolar violation (bpv) count register. 5.4 2 2 exzcr r t3/e3 excessive zero (exz) count register. 5.4 24 fecr r t3/e3 frame error count register. 5.4 26 pcr r t3 parity bit error count register. 5.4 28 cpcr r t3 c - bit parity error count register. 5.4 2a febecr r t3 far end block error or e3 rai c ount register. 5.4 2c not assigned * 2e not assigned * 30 t2e2cr1 r/w t2/e2 control register 1. 6.2 32 t2e2cr2 r/w t2/e2 control register 2. 6.2 34 t2e2sr1 r/w t2/e2 status register 1. 6.3 36 t2e2sr2 r/w t2/e2 status register 2. 6.3 38 not ass igned * 3a not assigned * 3c not assigned * 3e not assigned * 40 t1e1rais1 r/w t1/e1 receive path ais generation control register 1. 6.4 42 t1e1rais2 r/w t1/e1 receive path ais generation control register 2. 6.4 44 t1e1tais1 r/w t1/e1 transmit path ais generation control register 1. 6.4 46 t1e1tais2 r/w t1/e1 transmit path ais generation control register 2. 6.4 48 not assigned * 4a not assigned * 4c not assigned * 4e not assigned * 50 t1e1llb1 r/w t1/e1 line loopback control regist er 1. 7.2 52 t1e1llb2 r/w t1/e1 line loopback control register 2. 7.2 54 t1e1dlb1 r/w t1/e1 diagnostic loopback control register 1. 7.2 56 t1e1dlb2 r/w t1/e1 diagnostic loopback control register 2. 7.2 58 t1lbcr1 r/w t1 line loopback command register 1 . 7.2 5a t1lbcr2 r/w t1 line loopback command register 2. 7.2
DS3112 30 of 135 address acronym r/w register name section 5c t1lbsr1 r t1 line loopback status register 1. 7.3 5e t1lbsr2 r t1 line loopback status register 2. 7.3 60 t1e1sdp r/w t1/e1 select register for receive drop ports a and b. 7.4 62 t1e1sip r/w t1/e1 select register for transmit drop ports a and b. 7.4 64 not assigned * 66 not assigned * 68 not assigned * 6a not assigned * 6c not assigned * 6e bertmc r/w bert mux control register. 8.2 70 bertc0 r/w bert control 0. 8.2 72 be rtc1 r/w bert control 1. 8.2 74 bertrp0 r/w bert repetitive pattern set 0 (lower word). 8.2 76 bertrp1 r/w bert repetitive pattern set 1 (upper word). 8.2 78 bertbc0 r bert bit counter 0 (lower word). 8.2 7a bertbc1 r bert bit counter 1 (upper word). 8 .2 7c bertec0 r bert error counter 0 (lower word). 8.2 7e bertec1 r bert error counter 1 (upper word). 8.2 80 hcr r/w hdlc control register. 9.2 82 rhdlc r receive hdlc fifo register. 9.2 84 thdlc w transmit hdlc fifo register. 9.2 86 hsr r hdlc stat us register. 9.3 88 ihsr r/w interrupt mask register for hsr. 9.3 8a not assigned * 8c not assigned * 8e not assigned * 90 fcr r/w feac control register. 10.2 92 fsr r feac status register. 10.3 94 not assigned * 96 not assigned * 98 n ot assigned * 9a not assigned * 9c not assigned * 9e not assigned * * addresses a0 to ff are not assigned.
DS3112 31 of 135 4. master device configuration and status/interrupt 4.1 master reset and id register description the master reset and id (mrid) register c an be used to globally reset the device. when the rst bit is set to one, all of the internal registers will be placed into their default state, which is 0000h. a reset can also be invoked by the rst* hardware signal. the upper byte of the mrid register is read - only and it can be read by the host to determine the chip revision. contact the factory for specifics on the meaning of the value read from the id0 to id7 bits. register name: mrid register description: master reset and id register register addre ss: 00h bit # 7 6 5 4 3 2 1 0 name n/a n/a n/a n/a t3e3rsy t2e2rsy rfifor rst default - - - - 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name id7 id6 id5 id4 id3 id2 id1 id0 default x x x x x x x x note: bits that are underlined are read - only; all othe r bits are read - write. bit 0/master software reset (rst). when this bit is set to a one by the host, it will force all of the internal registers to their default state, which is 0000h and forces the t3/e3 and t1/e1 outputs to send an all ones pattern. thi s bit must be set high for a minimum of 100ns. this software bit is logically or?ed with the hardware signal rst*. 0 = normal operation 1 = force all internal registers to their default value of 0000h bit 1/low speed (t1/e1) receive fifo reset (rfifor). a zero to one transition on this bit will cause the receive t1/e1 demux fifos to be reset, which will cause them to be flushed. see the DS3112 block diagrams in figures 1a and 1b for details on the placement of the fifos within the chip. this bit must be cleared and set again for a subsequent reset to occur. bit 2/t2/e2/g.747 force receive framer resynchronization (t2e2rsy). a zero to one transition on this bit will cause all seven of the t2 receive framers or all four of the e2 receive framers or all sev en of the g.747 framers to resynchronize. this bit must be cleared and set again for a subsequent resynchronization to occur.
DS3112 32 of 135 bit 3/t3/e3 force receive framer resynchronization (t3e3rsy). a zero to one transition on this bit will cause the t3 receive frame r or the e3 receive framer to resynchronize. this bit must be cleared and set again for a subsequent resynchronization to occur. bits 8 to 15/chip revision id bit 0 to 7 (id0 to id7). read - only. contact the factory for details on the meaning of the id bit s. 4.2 master configuration registers description register name: mc1 register description: master configuration register 1 register address: 02h bit # 7 6 5 4 3 2 1 0 name ftsofc lotcmc uni mecu aecu cben unchen zcsd default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a lltm denms lrccen ltccen default - - - - 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bit 0/zero code suppression disable (zcsd). 0 = enable the b3zs and hdb3 encoders/d ecoders 1 = disable the b3zs and hdb3 encoders/decoders bit 1/t3/e3 unchannelized mode enable (unchen). when this bit is set low, the m13/e13/g.747 multiplexer is enabled and data at the ftd input is ignored. when this bit is set high, the m13/e13/g.747 multiplexer is disabled and the ltdat inputs are ignored. the table below displays which bits are not sampled at the ftd input when unchen = 1. DS3112 mode bits positions not sampled at ftd t3 m23 (c - bit parity disabled) f/p/m/c/x t3 c - bit parity f/p/m/ x e3 fas/sn/rai 0 = enable the m13/e13/g.747 multiplexers and disable the ftd input 1 = disable the m13/e13/g.747 multiplexers and enable the ftd input
DS3112 33 of 135 bit 2/t3 c - bit parity mode enable (cben). this bit is only active when the device is t3 mode. when this bit is set low, c - bit parity is defeated and the c bits are sourced from the m23 multiplexer block (figure 1a). this bit should not be set low in the t3 unchannelized mode (unchen = 1). when this bit is set high, c - bit parity mode is enabled and the c bits are sourced from the t3 framer block (figures 1a and 1c). 0 = disable c - bit parity mode (also known as the m23 mode) 1 = enable c - bit parity mode bit 3/automatic one - second error counters update defeat (aecu). when this bit is set low, the device will automatically update the t3/e3 performance error counters on an internally created one second boundary. the host will be notified of the update via the setting of the ost status bit in the master status register. in this mode, the host has a full one second period to retrieve the error information before if will be overwritten with the next update. when this bit is set high, the device will defeat the automatic one second update and enable a manual update mode. in the manual update mode, the device re lies on either the framer manual error counter update (frmecu) hardware input signal or the mecu control bit to update the error counters. the frmecu hardware input signal and mecu control bit are logically or?ed and hence a zero to one transition on eithe r will initiate an error counter update to occur. after either the frmecu signal or mecu bit has toggled, the host must wait at least 100ns before reading the error counters to allow the device time to complete the update. 0 = enable the automatic update mode and disable the manual update mode 1 = disable the automatic update mode and enable the manual update mode bit 4/manual error counter update (mecu). a zero to one transition on this bit will cause the device to update the performance error counters. this bit is ignored if the aecu control bit is set low. this bit must be cleared and set again for a subsequent update. this bit is logically or?ed with the external frmecu hardware input signal. after this bit has toggled, the host must wait at least 100 ns before reading the error counters to allow the device time to complete the update. bit 5/high - speed (t3/e3) port unipolar enable (uni). when this bit is set low, the device will output a bipolar coded signal at htpos and htneg and expect a bipolar code d signal at hrpos and hrneg. when this bit is set high, the device will output a nrz coded signal at htpos and expect a nrz coded signal at hrpos. in the unipolar mode, the device will force the htneg output low and the hrneg input is ignored and should be tied low. in the unipolar mode, the b3zs and hdb3 coder/decoders should be disabled by setting the zcsd bit to one (zcsd = 1). 0 = bipolar mode 1 = unipolar mode bit 6/loss of transmit clock mux control (lotcmc). the DS3112 can detect if the ftclk fail s to transition. if this bit is set low, the device will take no action (other than setting the lotc status bit) when the ftclk fails to transition. when this bit is set high, the device will automatically switch to the input receive clock (hrclk) when the ftclk fails and transmit ais. 0 = do not switch to the hrclk signal if ftclk fails to transition 1 = automatically switch to the hrclk signal if the ftclk fails to transition and send ais
DS3112 34 of 135 bit 7/t3/e3 transmit frame sync i/o control (ftsofc). when this b it is set low, the ftsof signal will be an output and will pulse for one ftclk cycle at the beginning of each frame. when this bit is high, the ftsof signal is an input and the device uses it to determine the frame boundaries. 0 = ftsof is an output 1 = ftsof is an input bit 8/low - speed (t1/e1) transmit port common clock enable (ltccen). when this bit is set high, the ltclk1 to ltclk28 and ltclka and ltclkb inputs are ignored and a common clock sourced via the ltcclk input is used in their place. 0 = disable ltcclk 1 = enable ltcclk bit 9/low - speed (t1/e1) receive port common clock enable (lrccen). when this bit is set high, the lrclk1 to lrclk28 and lrclka and lrclkb outputs will all be sourced from the lrcclk input. this configuration can only be u sed in applications where it can be insured that all of the t1 or e1 channels from the far end are being sourced from a common clock. 0 = disable lrcclk 1 = enable lrcclk bit 10/high - speed (t3/e3) data enable mode select (denms). when this bit is set lo w, the frden and ftden outputs will be asserted during payload data and deasserted during overhead data. when this bit is high, frden and ftden are gapped clocks that pulse during payload data and are suppressed during overhead data. 0 = frden and ftden a re data enables 1 = frden and ftden are gapped clocks bit 11/low - speed (t1/e1) port loop timed mode (lltm). when this bit is set low, the low speed t1 and e1 receive clocks (lrclk) are not routed to the transmit side. when this bit is high, the lrclks ar e routed to the transmit side to be used as the transmit t1 and e1 clocks. when enabled, all the low speed ports are looped timed. this control bit affects all the low speed ports. the device is not capable of setting individual low speed ports into and o ut of looped timed mode. see the block diagram in figures 1a and 1b for more details. 0 = disable loop timed mode (lrclk is not used to replace the associated ltclk) 1 = enable loop timed mode (lrclk replaces the associated ltclk) register name: mc2 re gister description: master configuration register 2 register address: 04h bit # 7 6 5 4 3 2 1 0 name n/a n/a htdatl htdath hrdati hrclki htdati htclki default - - 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a lrdati lrclki ltdati ltc lki default - - - - 0 0 0 0
DS3112 35 of 135 note: bits that are underlined are read - only; all other bits are read - write. bit 0/htclk invert enable (htclki). 0 = do not invert the htclk signal (normal mode) 1 = invert the htclk signal (inverted mode) bit 1/htpos/htn eg invert enable (htdati). 0 = do not invert the htpos and htneg signals (normal mode) 1 = invert the htpos and htneg signals (inverted mode) bit 2/hrclk invert enable (hrclki). 0 = do not invert the hrclk signal (normal mode) 1 = invert the hrclk sig nal (inverted mode) bit 3/hrpos/hrneg invert enable (htdati). 0 = do not invert the hrpos and hrneg signals (normal mode) 1 = invert the hrpos and hrneg signals (inverted mode) bit 4/htpos/htneg force high disable (htdath). please note that this bit must be set by the host in order for t3/e3 traffic to be output from the device. 0 = force the htpos and htneg signals high (force high mode) 1 = allow normal transmit data to appear at the htpos and htneg signals (normal mode) bit 5/htpos/htneg force l ow enable (htdatl). 0 = allow normal transmit data to appear at the htpos and htneg signals (normal mode) 1 = force the htpos and htneg signals low (force low mode) bit 8/ltclk invert enable (ltclki). 0 = do not invert the ltclk[n], ltclka, ltclkb, and ltcclk signals (normal mode) 1 = invert the ltclk[n], ltclka, ltclkb, and ltcclk signals (inverted mode) bit 9/ltdat invert enable (ltdati). 0 = do not invert the ltdat[n], ltdata and ltdatb signals (normal mode) 1 = invert the ltdat[n], ltdata and lt datb signals (inverted mode) bit 10/lrclk invert enable (lrclki). 0 = do not invert the lrclk[n], lrclka, lrclkb, and lrcclk signals (normal mode) 1 = invert the lrclk[n], lrclka, lrclkb, and lrcclk signals (inverted mode) bit 11/lrdat invert enable (l rdati). 0 = do not invert the lrdat[n], lrdata and lrdatb signals (normal mode) 1 = invert the lrdat[n], lrdata and lrdatb signals (inverted mode)
DS3112 36 of 135 register name: mc3 register description: master configuration register 3 register address: 06h bit # 7 6 5 4 3 2 1 0 name frsofi frclki frdi frdeni ftsofi ftclki ftdi ftdeni default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a n/a n/a n/a n/a default - - - - - - - - note: bits that are underlined are read - only; all other bits a re read - write. bit 0/ftden invert enable (ftdeni). 0 = do not invert the ftden signal (normal mode) 1 = invert the ftden signal (inverted mode) bit 1/ftd invert enable (ftdi). 0 = do not invert the ftd signal (normal mode) 1 = invert the ftd signal ( inverted mode) bit 2/ftclk invert enable (ftclki). 0 = do not invert the ftclk signal (normal mode) 1 = invert the ftclk signal (inverted mode) bit 3/ftsof invert enable (ftsofi). 0 = do not invert the ftsof signal (normal mode) 1 = invert the ftsof signal (inverted mode) bit 4/frden invert enable (frdeni). 0 = do not invert the frden signal (normal mode) 1 = invert the frden signal (inverted mode) bit 5/frd invert enable (frdi). 0 = do not invert the frd signal (normal mode) 1 = invert the frd signal (inverted mode) bit 6/frclk invert enable (frclki). 0 = do not invert the frclk signal (normal mode) 1 = invert the frclk signal (inverted mode) bit 7/frsof invert enable (frsofi). 0 = do not invert the frsof signal (normal mode) 1 = invert th e frsof signal (inverted mode)
DS3112 37 of 135 4.3 master status and interrupt register description a note about the status registers in the DS3112 the status registers in the DS3112 allow the host to monitor the real - time condition of the device. most of the status bit s in the device can cause a hardware interrupt to occur. also, most of the status bits within the device are latched to ensure that the host can detect changes in state and the true status of the device. there are three types of status bits in the DS3112. the first type is called an event status bit and is derived from a momentary condition or state that occurs within the device. the event status bits are always cleared when read and can generate an interrupt when they are asserted. an example of an event s tatus bit is the one - second timer boundary occurrence (ost). the second type of status bit is called an alarm status bit, which is derived from conditions that can occur for longer than an instance. the alarm status bits will be cleared when read unless the alarm is still present. the alarm status bits generate interrupts on a change in state in the alarm (i.e., when it is asserted or deasserted). an example of an alarm status bit is the loss of frame (lof). the third type of status bit is called a real - time status bit. the real - time status bit remains active as long as the condition exists and will generate an interrupt as long as the condition exists. an example of a real - time status bit is the loss of transmit clock (lotc). event status bit figure 4 .3a alarm status bit figure 4.3b internal signal status bit interrupt read internal signal status bit interrupt read
DS3112 38 of 135 real - time status bit figure 4.3c a note about the msr the master status register (msr) is a special status register that can be used to help the host quickly locate changes in device status. there is a status bit i n the msr for each of the major blocks within the DS3112. when an alarm or event occurs in one of these blocks, the device can be configured to set a bit in the msr. status bits in the msr can also cause a hardware interrupt to occur. in either polled or i nterrupt driven software routines, the host can first read the msr to locate which status registers need to be serviced. register name: msr register description: master status register register address: 08h bit # 7 6 5 4 3 2 1 0 name n/a t2e2sr2 t2e2 sr1 feac hdlc bert covf ost default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name n/a n/a g.747 t3e3ms lorc lotc t3e3sr t1lb default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bit 0/one - second t imer boundary occurrence (ost). this latched read - only event - status bit will be set to a one on each one - second boundary as timed by the DS3112. the device chooses an arbitrary one second boundary that is timed from the hrclk signal. this bit will be clear ed when read and will not be set again until another one - second boundary has occurred. the setting of this status bit can cause a hardware interrupt to occur if the ost bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will b e allowed to clear when this bit is read. bit 1/counter overflow event (covf). this latched read - only event - status bit will be set to a one if any of the error counters saturates (the error counters saturate when full). this bit will be cleared when read even if one or more of the error counters is still saturated. the setting of this status bit can cause a hardware interrupt to occur if the covf bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. internal signal status bit interrupt read
DS3112 39 of 135 bit 2/change in bert status (bert). this read - only real - time status bit will be set to a one if there is a major change of status in the bert receiver and the associated interrupt enable bit is set in the bertco register. a major change of status is defined as either a change in the receive synchronization (i.e., the bert has gone into or out of receive synchronization), a bit error has been detected, or an overflow has occurred in either the bit counter or the error counter. the host mus t read the status bits of the bert in the bert status register (bertec0) to determine the change of state. this bit will be cleared when the bertec0 is read and will not be set again until the bert has experienced another change of state. the setting of t his status bit can cause a hardware interrupt to occur if the bert bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the bertec0 register is read (figure 4.3d). bit 3/change in hdlc status (hdlc ). this read - only real - time status bit will be set to a one if there is a change of status in the hdlc controller and the associated interrupt enable bit is set in the ihsr register. the host must read the status bits of the hdlc in the hdlc status registe r (hsr) to determine the change of state. this bit will be cleared when the hsr is read and will not be set again until the hdlc has experienced another change of state. the setting of this status bit can cause a hardware interrupt to occur if the hdlc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the hsr register is read (figure 4.3e). bit 4/change in feac status (feac). this read - only real - time status bit will be set to a one when the feac controller has detected and verified a new far end alarm and control (feac) 16 - bit code word. this bit will be cleared when the feac status register (fsr) is read and will not be set again until the feac controller has detected and verified another new cod e word. the setting of this status bit can cause a hardware interrupt to occur if the feac bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the fsr register is read. bit 5/change in t2/e2 lof o r ais status (t2e2sr1). this read - only real - time status bit will be set to a one when one or more of the t2/e2/g.747 framers have detected a change in either loss of frame (lof) or alarm indication signal (ais) and the associated interrupt enable bit is se t in the t2e2sr1 register. see the t2e2sr1 register description in section 6.3 for more details. this bit will be cleared when the t2e2sr1 register is read. the setting of this status bit can cause a hardware interrupt to occur if the t2e2sr1 bit in the in terrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the t2e2sr1 register is read (figure 4.3f). bit 6/change in t2/e2 rai status (t2e2sr2). this read - only real - time status bit will be set to a one when one or more of the t2/e2/g.747 framers have detected a change in the detection of the remote alarm indication (rai) signal and the interrupt enable (bit 7) is set in the t2e2sr2 register. see the t2e2sr2 register description in section 6.3 for more details. this bit will be cleared when the t2e2sr2 register is read. the setting of this status bit can cause a hardware interrupt to occur if the t2e2sr2 bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the t2e2sr2 register is read (figure 4.3g). bit 8/t1 loopback detected (t1lb). this read - only real - time status bit will be set to a one when one or more of the t2 framers have detects an active t1 loopback command. see the t1lbsr1 and t1lbsr2 register descrip tions in section 7.3 for more details. this bit will be cleared when the t1 loopback command is no longer active on any of the lines. the setting of this status bit can cause a hardware interrupt to occur if the t1lb bit in the interrupt mask for msr (imsr ) register is set to a one. the interrupt will be allowed to clear when the none of the t2 framers detects an active t1 loopback command (figure 4.3h).
DS3112 40 of 135 bit 9/change in t3/e3 framer status (t3e3sr). this read - only real - time status bit will be set to a one when the t3/e3 framer has detected a change in rai, ais, lof, los, or t3 idle signal or has detected the start of a transmit or receive frame and the associated interrupt enable bit is set in the t3e3sr register. see the t3e3sr register description in sect ion 5.3 for more details. this bit will be cleared when the t3e3sr register is read. the setting of this status bit can cause a hardware interrupt to occur if the t3e3sr bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the t3e3sr register is read (figure 4.3i). bit 10/loss of transmit clock detected (lotc). this read - only real - time status bit will be set to a one when the device detects that the ftclk clock has not toggled for 200ns (100ns). th is bit will be cleared when a clock is detected at the ftclk input. the setting of this status bit can cause a hardware interrupt to occur if the lotc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the device detects a clock at ftclk. the hrclk checks for the presence of the ftclk. on reset, both the lotc and lorc status bits will be set and then immediately cleared if the clock is present. bit 11/loss of receive clock detected (lorc). this re ad - only real - time status bit will be set to a one when the device detects that the hrclk clock has not toggled for 200ns (100ns). this bit will be cleared when a clock is detected at the hrclk input. the setting of this status bit can cause a hardware int errupt to occur if the lorc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when the device detects a clock at hrclk. the ftclk checks for the presence of the hrclk. on reset, both the lotc and lorc status bits will be set and then immediately cleared if the clock is present. bit 12/state of the t3e3ms input signal (t3e3ms). this read - only real - time status bit reflects the current state of the external t3e3ms input signal. this status bit cannot gen erate an interrupt. bit 13/state of the g.747e input signal (g.747e). this read - only real - time status bit reflects the current state of the external g.747e input signal. this status bit cannot generate an interrupt. bert status bit flow figure 4.3d n ote: all event and alarm latches above are cleared when the bertec0 register is read. alarm latch change in state detect rlos (bertec0 bit 4) internal rlos signal from bert event latch internal bit error detected signal from bert event latch internal counter overflow signal from bert or bed (bertec0 bit 3) beco or bbco (bertec0 bits 1 & 2) mask bert (imsr bit 2) int* hardware signal bert status bit (msr bit 2) mask iesync (bertc0 bit 15) mask mask iebed (bertc0 bit 14) ieof (bertc0 bit 13) event latch
DS3112 41 of 135 hdlc status bit flow figure 4.3e note: all event latches above are cleared when the hsr register is read. internal transmit low water mark signal from hdlc internal receive high water mark signal from hdlc event latch internal receive packet start signal from hdlc or rhwm (hsr bit 4) rps (hsr bit 5) mask hdlc (imsr bit 3) int* hardware signal hdlc status bit (msr bit 3) mask mask mask rhwm (ihsr bit 4) rps (ihsr bit 5) event latch rpe (hsr bit 6) internal receive packet end signal from hdlc event latch internal transmit fifo underrun signal from hdlc event latch internal receive fifo overrun signal from hdlc tudr (hsr bit 7) rovr (hsr bit 13) mask rpe (ihsr bit 6) mask mask tudr (ihsr bit 3) rovr (ihsr bit 13) event latch internal receive abort detect signal from hdlc rabt (hsr bit 15) mask rabt (ihsr bit 15) event latch transmit packet end signal from hdlc tend (hsr bit 0) mask tend (ihsr bit 0) tlwm (ihsr bit 2) tlwm (hsr bit 2)
DS3112 42 of 135 t2e2sr1 status bit flow figure 4.3f note: all event a nd alarm latches above are cleared when the t2e2sr1 register is read. alarm latch change in state detect lof1 (t2e2sr1 bit 0) internal lof signal from t2/e2 framer 1 alarm latch change in state detect internal lof signal from t2/e2 framer 2 alarm latch change in state detect internal lof signal from t2 framer 7 or mask ielof (t2e2sr1 bit 7) or lof2 (t2e2sr1 bit 1) lof7 (t2e2sr1 bit 6) alarm latch change in state detect ais1 (t2e2sr1 bit 8) internal ais signal from t2/e2 framer 1 alarm latch change in state detect internal ais signal from t2/e2 framer 2 alarm latch change in state detect internal ais signal from t2 framer 7 or mask ieais (t2e2sr1 bit 15) ais2 (t2e2sr1 bit 9) ais7 (t2e2sr1 bit 14) mask t2e2sr1 (imsr bit 5) int* hardware signal t2e2sr1 status bit (msr bit 5) event latch event latch event latch event latch event latch event latch
DS3112 43 of 135 t2e2sr2 status bit flow figure 4.3g note : all event and alarm latches above are cleared when the t2e2sr2 register is read. t1lb status bit flow figure 4.3h alarm latch change in state detect rai1 (t2e2sr2 bit 0) internal rai signal from t2/e2 framer 1 alarm latch change in state detect internal rai signal from t2/e2 framer 2 alarm latch change in state detect internal rai signal from t2 framer 7 or mask ierai (t2e2sr2 bit 7) rai2 (t2e2sr2 bit 1) rai7 (t2e2sr2 bit 6) mask t2e2sr2 (imsr bit 6) int* hardware signal t2e2sr2 status bit (msr bit 6) event latch event latch event latch llb1 (t1lbsr1 bit 0) internal t1 loopback command signal from t2/e2 framer or mask t1lb (imsr bit 8) int* hardware signal t1lb status bit (msr bit 8) llb2 (t1lbsr1 bit 1) internal t1 loopback command signal from t2/e2 framer llb28 (t1lbsr2 bit 11) internal t1 loopback command signal from t2/e2 framer
DS3112 44 of 135 t3e3sr status bit fl ow figure 4.3i note: all event and alarm latches above are cleared when the t3e3sr register is read. register name: imsr register description: interrupt mask for master status register register address: 0ah bit # 7 6 5 4 3 2 1 0 name n/a t2e2sr2 t2e2sr1 feac hdlc bert covf ost default - 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a lorc lotc t3e3sr t1lb default - - - - 0 0 0 0 or mask t3e3sr (imsr bit 9) int* hardware signal t3e3sr status bit (msr bit 9) alarm latch receive los signal from t3/e3 framer los (t3e3sr bit 0) mask los (it3e3sr bit 0) change in state detect alarm latch receive lof signal from t3/e3 framer lof (t3e3sr bit 1) mask lof (it3e3sr bit 1) change in state detect alarm latch receive ais signal from t3/e3 framer ais (t3e3sr bit 2) mask ais (it3e3sr bit 2) change in state detect alarm latch receive rai signal from t3/e3 framer ais (t3e3sr bit 3) mask ais (it3e3sr bit 3) change in state detect alarm latch receive idle signal from t3/e3 framer t3idle (t3e3sr bit 4) mask t3idle (it3e3sr bit 4) change in state detect event latch receive start of frame signal from t3/e3 framer rsof (t3e3sr bit 5) mask rsof (it3e3sr bit 5) event latch transmit start of frame signal from t3/e3 framer tsof (t3e3sr bit 6) mask tsof (it3e3sr bit 6) event latch event latch event latch event latch event latch
DS3112 45 of 135 bit 0/one - second timer boundary occurrence (ost). 0 = interrupt masked 1 = interrupt unmasked bit 1/counter overflow event (covf). 0 = interrupt masked 1 = interrupt unmasked bit 2/change in bert status (bert). 0 = interrupt masked 1 = interrupt unmasked bit 3/change in hdlc status (hdlc). 0 = interrupt masked 1 = interrupt unmasked bi t 4/change in feac status (feac). 0 = interrupt masked 1 = interrupt unmasked bit 5/change in t2/e2 lof or ais status (t2e2sr1). 0 = interrupt masked 1 = interrupt unmasked bit 6/change in t2/e2 rai status (t2e2sr2). 0 = interrupt masked 1 = inte rrupt unmasked bit 8/t1 loopback detected (t1lb). 0 = interrupt masked 1 = interrupt unmasked bit 9/change in t3/e3 framer status (t3e3sr). 0 = interrupt masked 1 = interrupt unmasked bit 10/loss of transmit clock (lotc). 0 = interrupt masked 1 = interrupt unmasked bit 11/loss of receive clock (lorc). 0 = interrupt masked 1 = interrupt unmasked
DS3112 46 of 135 4.4 test register description register name: test register description: test register register address: 0ch bit # 7 6 5 4 3 2 1 0 name n/a n/a ft5 ft4 ft3 ft2 ft1 ft0 default - - 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a n/a n/a n/a n/a default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 5/factory test bits (ft0 t o ft5). these bits are used by the factory to place the DS3112 into the test mode. for normal device operation, these bits should be set to zero whenever this register is written to.
DS3112 47 of 135 5. t3/e3 framer 5.1 general description on the receive side, the t3/e3 fram er locates the frame boundaries of the incoming t3 or e3 data stream and monitors the data stream for alarms and errors. alarms are detected and reported in t3/e3 status register (t3e3sr) and the t3/e3 information register (t3e3info), which are described i n section 5.3. errors are accumulated in a set of error counters (section 5.4). the host can force the t3/e3 framer to resynchronize via the t3e3rsy control bit in the mrid register (section 4.1). on the transmit side, the device formats the outgoing data stream with the proper framing pattern and overhead and can generate alarms. it can also inject errors for diagnostic testing purposes (t3e3eic register). the transmit side of the framer is called the ?formatter.? the t3/e3 framer and formatter can be use d in conjunction with the multiplexer or as a standalone framer. this selection is made in the master configuration 1 (mc1) register (section 4.2). t3/e3 line loopback the line loopback loops the incoming t3/e3 data (the hrclk, hrpos, and hrneg inputs) di rectly back to the transmit side (the htclk, htpos, and htneg outputs). when this loopback is enabled, the incoming receive data continues to pass through the device but the data output from the t3/e3 formatter is replaced with the data being input to the device. see the block diagrams in section 1 for a visual description of this loopback. t3/e3 diagnostic loopback the diagnostic loopback loops the outgoing t3/e3 data from the t3/e3 formatter back to receive side framer. when this loopback is enabled, the incoming receive data at hrclk, hrpos, and hrneg is ignored. see the block diagrams in section 1 for a visual description of this loopback. please note that the device can still generate ais at the htclk, htpos, and htneg outputs when this loopback is inv oked. this is important to keep the data that is being looped back from disturbing downstream equipment. t3/e3 payload loopback the payload loopback loops the framed t3/e3 data from the receive side framer back to the transmit side formatter. when this lo opback is enabled, the incoming receive data continues to pass through the device but the data normally being input to the t3/e3 formatter is ignored. see the block diagrams in section 1 for a visual description of this loopback.
DS3112 48 of 135 5.2 t3/e3 framer control regi ster description register name: t3e3cr register description: t3/e3 control register register address: 10h bit # 7 6 5 4 3 2 1 0 name dlb llb t3idle e3snc1 e3snc0 tpt trai tais default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a plb tfebe afebed ecc fecc1 fecc0 e3cve default - 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bit 0/t3/e3 transmit alarm indication signal (tais). when this bit is set high in the t3 mode, the transmitter will gene rate a properly f - bit and m - bit framed 101010... data pattern with both x bits set to one, all c bits set to zero, and the proper p bits. this is true regardless of whether the device is in the c - bit parity mode or not. when this bit is set high in the e3 mode, the transmitter will generate an unframed all ones. when this bit it set low, normal data is transmitted. 0 = do not transmit ais 1 = transmit ais bit 1/t3/e3 transmit remote alarm indication (trai). when this bit is set high in the t3 mode, both x bits will be set to a zero. when this bit is set high in the e3 mode, the rai bit (bit number 11 of each e3 frame) will be set to a one. when this bit it set low in the t3 mode, both x bits will be set to one. when this bit is set low in the e3 mode, th e rai bit will be set to a zero. 0 = do not transmit rai 1 = transmit rai bit 2/t3/e3 transmit pass through enable (tpt). 0 = enable the framer to insert framing and overhead bits 1 = framer will not insert any framing or overhead bits bits 3 and 4/e 3 national bit control bits 0 and 1 (e3snc0 and e3snc1). these bits determine from where the e3 national bit is sourced. on the receive side, the sn bit is always routed to the t3e3info register as well as the hdlc controller and the feac controller. these bits are ignored in the t3 mode. e3snc1 e3snc0 source of the e3 national bit (sn) 0 0 force the sn bit to one 0 1 use the hdlc controller to source the sn bit 1 0 use the feac controller to source the sn bit 1 1 force the sn bit to zero
DS3112 49 of 135 bit 5/trans mit t3 idle signal enable (t3idle). when this bit is set high, the t3 idle signal will be transmitted instead of the normal transmit data. the t3 idle signal is defined as a normally t3 framed pattern (i.e., with the proper f bits and m bits along with the proper p bits) where the information bit fields are completely filled with a data pattern of ...1100... and the c bits in subframe 3 are set to zero and both x bits are set to one. this bit is ignored in the e3 mode. 0 = transmit data normally 1 = trans mit t3 idle signal bit 6/t3/e3 line loopback enable (llb). see figures 1a and 1b for a visual description of this loopback. 0 = disable loopback 1 = enable loopback bit 7/t3/e3 diagnostic loopback enable (dlb). see figures 1a and 1b for a visual descri ption of this loopback. 0 = disable loopback 1 = enable loopback bit 8/e3 code violation enable (e3cve). this bit is ignored in the t3 mode. this bit is used in the e3 mode to configure the bipolar violation count register (bpvcr) to count either bipola r violations (bpv) or code violations (cv). a bpv is defined as consecutive pulses (or marks) of the same polarity that are not part of a hdb3 code word. a cv is defined in itu o.161 as consecutive bpvs of the same polarity. 0 = count bpv 1 = count cv b its 9 and 10/t3/e3 frame error counting control bits 0 and 1 (fecc0 and fecc1). fecc1 fecc0 frame error count register (fecr) configuration 0 0 t3 mode: count loss of frame (lof) occurrences e3 mode: count loss of frame (lof) occurrences 0 1 t3 mode: co unt both f bit and m bit errors e3 mode: count bit errors in the fas word 1 0 t3 mode: count only f bit errors e3 mode: count word errors in the fas word 1 1 t3 mode: count only m bit errors e3 mode: illegal state
DS3112 50 of 135 bit 11/error counting control (ecc). t his bit is used to control whether the device will increment the error counters during loss of frame (lof) conditions. it only affects the error counters that count errors that are based on framed information and these include the following: frame error co unter (when it is configured to count frame errors, not lof occurrences) t3 parity bit error counter t3 c - bit parity error counter t3 far end block error or e3 rai counter when this bit is set low, these error counters will not be allowed to increment dur ing lof conditions. when this bit is set high, these error counters will be allowed to increment during lof conditions. 0 = stop the fecr/pcr/cpcr/febecr error counters from incrementing during lof 1 = allow the fecr/pcr/cpcr/febecr error counters to inc rement during lof bit 12/automatic febe defeat (afebed). this bit is ignored in the e3 mode and in the t3 mode when the device is not configured in the c - bit parity mode. when this bit is low, the device will automatically insert the febe codes into the t ransmitted data stream by setting all three c bits in subframe 4 to zero. 0 = automatically insert febe codes in the transmit data stream based on detected errors 1 = use the tfebe control to determine the state of the febe codes bit 13/transmit febe se tting (tfebe). this bit is only active when afebed is active (i.e., afebed = 1). when this bit is low, the device will force the febe code to 111 continuously. when this bit is set high, the device will force the febe code to 000 continuously. 0 = force f ebe to 111 (null state) 1 = force febe to 000 (active state) bit 14/t3/e3 payload loopback enable (plb). see figures 1a and 1b for a visual description of this loopback. 0 = disable loopback 1 = enable loopback
DS3112 51 of 135 register name: t3e3eic register descrip tion: t3/e3 error insert control register register address: 18h bit # 7 6 5 4 3 2 1 0 name meims fbeic1 fbeic0 fbei t3cpbei t3pbei exzi bpvi default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a n/a n/a n/a n/a default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bit 0/bipolar violation insert (bpvi). a zero to one transition on this bit will cause a single bpv to be inserted into the transmit data stream. once this bit has been toggled from a 0 to a 1, the device waits for the next occurrence of three consecutive ones to insert the bpv. this bit must be cleared and set again for a subsequent error to be inserted. toggling this bit has no affect when the t3/e3 interface is in the unipolar mode (section 4.2 for details about the unipolar mode). in the manual error insert mode (meims = 1), errors will be inserted on each toggle of the ftmei input signal as long as this bit is set high. when this bit is set low, no errors will be ins erted. bit 1/excessive zero insert (exzi). a zero to one transition on this bit will cause a single exz event to be inserted into the transmit data stream. an exz event is defined as three or more consecutive zeros in the t3 mode and four or more consecut ive zeros in the e3 mode. once this bit has been toggled from a zero to a one, the device waits for the next possible b3zs/hdb3 code word insertion and it suppresses that code word from being inserted and hence this creates the exz event. this bit must be cleared and set again for a subsequent error to be inserted. toggling this bit has no affect when the t3/e3 interface is in the unipolar mode (section 4.2 for details about the unipolar mode). in the manual error insert mode (meims = 1), errors will be ins erted on each toggle of the ftmei input signal as long as this bit is set high. when this bit is set low, no errors will be inserted. bit 2/t3 parity bit error insert (t3pbei). a zero to one transition on this bit will cause a single t3 parity error event to be inserted into the transmit data stream. a t3 parity event is defined as flipping the proper polarity of both the p bits in a t3 frame. (see section 15.2 for details about the p bits.) once this bit has been toggled from a zero to a one, the device w aits for the next t3 frame to flip both p bits. this bit must be cleared and set again for a subsequent error to be inserted. toggling this bit has no affect when the device is operated in the e3 mode. in the manual error insert mode (meims = 1), errors wi ll be inserted on each toggle of the ftmei input signal as long as this bit is set high. when this bit is set low, no errors will be inserted.
DS3112 52 of 135 bit 3/t3 c - bit parity error insert (t3cpbei). a zero to one transition on this bit will cause a single t3 c - bit parity error event to be inserted into the transmit data stream. a t3 parity event is defined as flipping the proper polarity of all three cp bits in a t3 frame. (see section 15.2 for details about the cp bits.) once this bit has been toggled from a zero t o a one, the device waits for the next t3 frame to flip the three cp bits. this bit must be cleared and set again for a subsequent error to be inserted. toggling this bit has no affect when the t3 framer is not operated in the c - bit parity mode (see sectio n 4.2 for details about the c - bit parity mode.) or when the device is operated in the e3 mode. in the manual error insert mode (meims = 1), errors will be inserted on each toggle of the ftmei input signal as long as this bit is set high. when this bit is s et low, no errors will be inserted. bit 4/frame bit error insert (fbei). a zero to one transition on this bit will cause the transmit framer to generate framing bit errors. the type of framing bit errors inserted is controlled by the fbeic0 and fbeic1 bit s (see discussion below). once this bit has been toggled from a 0 to a 1, the device waits for the next possible framing bit to insert the errors. this bit must be cleared and set again for a subsequent error to be inserted. in the manual error insert mode (meims = 1), errors will be inserted on each toggle of the ftmei input signal as long as this bit is set high. when this bit is set low, no errors will be inserted. bits 5 and 6/frame bit error insert control bits 0 and 1 (fbeic0 and fbeic1). fbeic1 fbe ic0 type of framing bit error inserted 0 0 t3 mode: a single f - bit error e3 mode: a single fas word of 1111000000 is generated instead of the normal fas word, which is 1111010000 (i.e., only 1 bit inverted) 0 1 t3 mode: a single m - bit error e3 mode: a si ngle fas word of 0000101111 is generated instead of the normal fas word, which is 1111010000 (i.e., all fas bits are inverted) 1 0 t3 mode: four consecutive f - bit errors (causes the far end to lose synchronization) e3 mode: four consecutive fas words of 1 111000000 are generated instead of the normal fas word, which is 1111010000 (i.e., only 1 bit inverted; causes the far end to lose synchronization) 1 1 t3 mode: three consecutive m - bit errors (causes the far end to lose synchronization) e3 mode: four cons ecutive fas words of 0000101111 are generated instead of the normal fas word, which is 1111010000 (i.e., all fas bits are inverted; causes the far end to lose synchronization) bit 7/manual error insert mode select (meims). when this bit is set low, the d evice will insert errors on each 0 to 1 transition of the bpvi, exzi, t3pbei, t3cpbei, or fbei control bits. when this bit is set high, the device will insert errors on each 0 to 1 transition of the ftmei input signal. the appropriate bpvi, exzi, t3pbei, t 3cpbei, or fbei control bit must be set to one for this to occur. if all of the bpvi, exzi, t3pbei, t3cpbei, and fbei control bits are set to zero, no errors are inserted. 0 = use zero to one transition on the bpvi, exzi, t3pbei, t3cpbei, or fbei control bits to insert errors 1 = use zero to one transition on the ftmei input signal to insert errors
DS3112 53 of 135 5.3 t3/e3 framer status and interrupt register description register name: t3e3sr register description: t3/e3 status register register address: 12h bit # 7 6 5 4 3 2 1 0 name n/a rsof tsof t3idle rai ais lof los default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a n/a n/a n/a n/a default - - - - - - - - note: see figure 5.3a for details on the signal flow for the status bits in t he t3e3sr register. bits that are underlined are read - only; all other bits are read - write. bit 0/loss of signal occurrence (los). this latched read - only alarm - status bit will be set to a one when the t3 or e3 framer detects a loss of signal. this bit wi ll be cleared when read unless a los condition still exists. a change in state of the los can cause a hardware interrupt to occur if the los bit in the interrupt mask for t3e3sr (it3e3sr) register is set to a one and the t3e3sr bit in the interrupt mask fo r msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. the los alarm criteria is described in tables 5.3a and 5.3b. bit 1/loss of frame occurrence (lof). this latched read - only alarm status bit will be set to a one when the t3 or e3 framer detects a loss of frame. this bit will be cleared when read unless a lof condition still exists. a change in state of the lof can cause a hardware interrupt to occur if the lof bit in the interrupt mask for t3e3sr (it3e3sr) register is set to a one and the t3e3sr bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. the lof alarm criteria is described in tables 5.3a and 5.3b. bit 2/alarm indication si gnal detected (ais). this latched read - only alarm - status bit will be set to a one when the t3 or e3 framer detects an incoming alarm indication signal. this bit will be cleared when read unless an ais signal is still present. a change in state of the ais d etection can cause a hardware interrupt to occur if the ais bit in the interrupt mask for t3e3sr (it3e3sr) register is set to a one and the t3e3sr bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear whe n this bit is read. the ais alarm detection criteria is described in tables 5.3a and 5.3b.
DS3112 54 of 135 bit 3/remote alarm indication detected (rai). this latched read - only alarm status bit will be set to a one when the t3 or e3 framer detects an incoming remote alarm indication (rai) signal. this bit will be cleared when read unless an rai signal is still present. a change in state of the rai detection can cause a hardware interrupt to occur if the rai bit in the interrupt mask for t3e3sr (it3e3sr) register is set to a one and the t3e3sr bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. the rai alarm detection criteria is described in tables 5.3a and 5.3b. rai can also be indicated via the f eac codes when the device is operated in the c - bit parity mode. bit 4/t3 idle signal detected (t3idle). this latched read - only alarm status bit will be set to a one when the t3 framer detects an incoming idle signal. this bit will be cleared when read unl ess the idle signal is still present. a change in state of idle detection can cause a hardware interrupt to occur if the idle bit in the interrupt mask for t3e3sr (it3e3sr) register is set to a one and the t3e3sr bit in the interrupt mask for msr (imsr) re gister is set to a one. the idle detection criteria is described in table 5.3a. the interrupt will be allowed to clear when this bit is read. when the DS3112 is operated in the e3 mode, this status bit should be ignored. bit 5/transmit t3/e3 start of fr ame (tsof). this latched read - only event - status bit will be set to a one on each t3/e3 transmit frame boundary. this bit is a software version of the ftsof hardware signal and it will be cleared when read. the setting of this bit can cause a hardware inter rupt to occur if the tsof bit in the interrupt mask for t3e3sr (it3e3sr) register is set to a one and the t3e3sr bit in the interrupt mask for msr (imsr) register is set to a one. bit 6/receive t3/e3 start of frame (rsof). this latched read - only event st atus bit will be set to a one on each t3/e3 receive frame boundary. this bit is a software version of the frsof hardware signal and it will be cleared when read. the setting of this bit can cause a hardware interrupt to occur if the rsof bit in the interru pt mask for t3e3sr (it3e3sr) register is set to a one and the t3e3sr bit in the interrupt mask for msr (imsr) register is set to a one.
DS3112 55 of 135 t3e3sr status bit flow figure 5.3a note: all event and alarm latches above are cleared when the t3e3sr register is read. or mask t3e3sr (imsr bit 9) int* hardware signal t3e3sr status bit (msr bit 9) alarm latch receive los signal from t3/e3 frame r los (t3e3sr bit 0) mask los (it3e3sr bit 0) change in state detect alarm latch receive lof signal from t3/e3 framer lof (t3e3sr bit 1) mask lof (it3e3sr bit 1) change in state detect alarm latch receive ais signal from t3/e3 framer ais (t3e3sr bit 2) mask ais (it3e3sr bit 2) change in state detect alarm latch receive rai signal from t3/e3 framer rai (t3e3sr bit 3) mask rai (it3e3sr bit 3) change in state detect alarm latch receive idle signal from t3/e3 framer t3idle (t3e3sr bit 4) mask t3idle (it3e3sr bit 4) change in state detect event latch receive start of frame signal from t3/e3 framer tsof (t3e3sr bit 5) mask tsof (it3e3sr bit 5) event latch transmit start of frame signal from t3/e3 framer rsof (t3e3sr bit 6) mask rsof (it3e3sr bit 6) event latch event latch event latch event latch event latch
DS3112 56 of 135 register name: it3e3sr register description: interrupt mask for t3/e3 status register register address: 14h bit # 7 6 5 4 3 2 1 0 name n/a rsof tsof t3idle rai ais lof los default - 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a n/a n/a n/a n/a default - - - - - - - - note : bits that are underlined are read - only; all other bits are read - write. bit 0/loss of signal occurrence (los). 0 = interrupt masked 1 = interrupt unmasked bit 1/loss of frame occurrence (lof). 0 = interrupt masked 1 = interrupt unmasked bit 2/alarm indication signal detected (ais). 0 = interrupt masked 1 = interrupt unmasked bit 3/remote alarm indication detected (rai). 0 = interrupt masked 1 = interrupt unma sked bit 4/t3 idle signal detected (t3idle). 0 = interrupt masked 1 = interrupt unmasked bit 5/transmit t3/e3 start of frame (tsof). 0 = interrupt masked 1 = interrupt unmasked bit 6/receive t3/e3 start of frame (rsof). 0 = interrupt masked 1 = interrupt unmasked
DS3112 57 of 135 t3 alarm criteria table 5.3a alarm/ condition definition set criteria clear criteria ais alarm indication signal properly framed 1010... pattern, which is aligned with the 1 just after each overhead bit and all c bits are set to zero in each 84 - bit information field, the properly aligned 10... pattern is detected with less than 4 - bit errors (out of 84 possible) for 1024 consecutive information bit fields (1.95ms) and all c bits are majority decoded to be zero during this time in each 84 bit information field, the properly aligned 10... pattern is detected with 4 or more bit errors (out of 84 possible) for 1024 consecutive information bit fields (1.95ms) los loss of signal (note 2) 192 consecutive zeros no exz events over a 192 - bit win dow that starts with the first one received lof loss of frame too many f bits or m bits in error three or more f bits in error out of 16 consecutive, or 2 or more m bits in error out of four consecutive synchronization occurs rai (note 1) remote alarm in dication (this is also referred to as sef/ais in bellcore gr - 820) inactive: x1 = x2 = 1 active: x1 = x2 = 0 x1 and x2 = 0 for four consecutive m frames (426s) x1 and x2 = 1 for four consecutive m frames (426s) idle signal properly framed 1100... patter n, which is aligned with the 11 just after each overhead bit and the c bits in subframe 3 are zero. in each 84 - bit information field, the properly aligned 1100... pattern is detected with less than 4 - bit errors (out of 84 possible) for 1024 consecutive inf ormation bit fields (1.95ms) and the c bits in subframe 3 are majority decoded to be zero during this time. in each 84 - bit information field, the properly aligned 1100... pattern is detected with four or more bit errors (out of 84 possible) for 1024 consec utive information bit fields (1.95ms) note 1: rai can also be indicated via feac codes in the c - bit parity mode note 2: los is not defined for unipolar (binary) operation.
DS3112 58 of 135 e3 alarm criteria table 5.3b alarm/ condition definition set criteria clear crite ria ais alarm indication signal unframed all ones four or fewer zeros in two consecutive 1536 - bit frames five or more zeros in two consecutive 1536 - bit frames los loss of signal (see note) 192 consecutive zeros no exz events over a 192 - bit window that st arts with the first one received lof loss of frame too many fas errors four consecutive bad fas three consecutive good fas rai remote alarm indication inactive: bit 11 of the frame = 0 active: bit 11 of the frame = 1 bit 11 = 1 for 4 consecutive frames ( 6144 bits / 179s) bit 11 = 0 for 4 consecutive frames (6144 bits / 179s) note: los is not defined for unipolar (binary) operation. register name: t3e3info register description: t3/e3 information register register address: 16h bit # 7 6 5 4 3 2 1 0 name n/a n/a sefe exz mbe fbe zscd cofa default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name n/a n/a raic aisc lofc losc t3aic e3sn default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. the stat us bits in the t3e3info cannot cause a hardware interrupt to occur. bit 0/change of frame alignment detected (cofa). this latched read - only event - status bit will be set to a one when the t3/e3 framer has experienced a change of frame alignment (cofa). a cofa occurs when the device achieves synchronization in a different alignment than it had previously. if the device has never acquired synchronization before, then this status bit is meaningless. this bit will be cleared when read and will not be set again until the framer has lost synchronization and reacquired synchronization in a different alignment. bit 1/zero suppression code word detected (zscd). this latched read - only event - status bit will be set to a one when the t3/e3 framer has detected a b3zs/h db3 code word. this bit will be cleared when read and will not be set again until the framer has detected another b3zs/hdb3 code word.
DS3112 59 of 135 bit 2/f bit or fas error detected (fbe). this latched read - only status bit will be set to a one when the DS3112 has det ected an error in either the f bits (t3 mode) or the fas word (e3 mode). this bit will be cleared when read and will not be set again until the device detects another error. bit 3/m bit error detected (mbe). this latched read - only event status bit will b e set to a one when the DS3112 has detected an error in the m bits. this bit will be cleared when read and will not be set again until the device detects another error in one of the m bits. this status bit has no meaning in the e3 mode and should be ignore d. bit 4/excessive zeros detected (exz). this latched read - only event status bit will be set to a one each time the DS3112 has detected a consecutive string of either three or more zeros (t3 mode) or four or more zeros (e3 mode). this bit will be cleared when read and will not be set again until the device detects another excessive zero event. bit 5/severely errored framing event detected (sefe). this latched read - only event - status bit will be set to a one each time the DS3112 has detected either three o r more f bits in error out of 16 consecutive f bits (t3 mode) or four bad fas words in a row (e3 mode). this bit will be cleared when read and will not be set again until the device detects another sefe event. bit 8/e3 national bit (e3sn). this read - only real - time status bit reports the incoming e3 national bit (sn). it is loaded at the start of each e3 frame as the sn bit is decoded. the host can use the rsof status bit in the t3/e3 status register (t3e3sr) to determine when to read this bit. bit 9/t3 application id channel status (t3aic). this read - only real - time status bit can be used to help determine whether an incoming t3 data stream is in c - bit parity mode or m23 mode. in c - bit parity mode, it is recommended that the first c bit in each m frame b e set to one. in m23 mode, the first c bit in each m frame should be toggling between zero and one to indicate that the bits need to be stuffed or not. this bit will be set to a one when the device detects that the first c bit in the m frame is set to one for 1020 times or more out of 1024 consecutive m frames (109ms). it will be allowed to be cleared when the device detects that the first c bit is set to one less than 1020 times out of 1024 consecutive m frames (109ms). this status bit has no meaning in th e e3 mode and should be ignored. bit10/loss of signal clear detected (losc). this latched read - only event - status bit will be set to a one each time the t3/e3 framer exits a loss of signal (los) state. this bit will be cleared when read and will not be se t again until the device once again exits the los state. the los alarm criteria is described in tables 5.3a and 5.3b. this status bit is useful in helping the host determine if the los persists as defined in ansi t1.231. bit11/loss of frame clear detected (lofc). this latched read - only event - status bit will be set to a one each time the t3/e3 framer exits a loss of frame (lof) state. this bit will be cleared when read and will not be set again until the device once again exits the lof state. the lof alarm criteria is described in tables 5.3a and 5.3b. this status bit is useful in helping the host determine if the lof persists as defined in ansi t1.231.
DS3112 60 of 135 bit12/alarm indication signal clear detected (aisc). this latched read - only event status bit will be se t to a one each time the t3/e3 framer no longer detects the ais alarm state. this bit will be cleared when read and will not be set again until the device once again exits the ais alarm state. the ais alarm criteria is described in tables 5.3a and 5.3b. th is status bit is useful in helping the host determine if the ais persists as defined in ansi t1.231. bit13/remote alarm indication clear detected (raic). this latched read - only event - status bit will be set to a one each time the t3/e3 framer no longer de tects the rai alarm state. this bit will be cleared when read and will not be set again until the device once again exits the rai alarm state. the rai alarm criteria is described in tables 5.3a and 5.3b. this status bit is useful in helping the host determ ine if the rai persists as defined in ansi t1.231. 5.4 t3/e3 performance error counters there are six error counters in the DS3112. all of the errors counters are 16 bits in length. the host has three options as to how these errors counters are updated. the device can be configured to automatically update the counters once a second or manually via either an internal software bit (mecu) or an external signal (frmecu). see section 4.2 for details. all the error counters saturate when full and will not rollo ver. register name: bpvcr register description: bipolar violation count register register address: 20h bit # 7 6 5 4 3 2 1 0 name bpv7 bpv6 bpv5 bpv4 bpv3 bpv2 bpv1 bpv0 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name bpv15 bpv14 bpv13 b pv12 bpv11 bpv10 bpv9 bpv8 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/16 - bit bipolar violation counter (bpv0 to bpv15). these bits report the number of bipolar violations (bpv). in the e3 mode, this counter can also be configured via the e3cve bit in the t3e3 control register (section 5.2) to count code violations (cv). a bpv is defined as consecutive pulses (or marks) of the same polarity that are not part of a b3zs/hdb3 code word. a cv is defined in itu o.161 as consecutive bpvs of the same polarity.
DS3112 61 of 135 register name: exzcr register description: excessive zero count register register address: 22h bit # 7 6 5 4 3 2 1 0 name exz7 exz6 exz5 exz4 exz3 exz2 exz1 exz0 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name exz15 exz14 exz13 exz12 exz11 exz10 exz9 exz8 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/16 - bit excessive zero counter (exz0 to exz15). these bits report the number of excessive zero occurrences (exz). an exz occurrence is defined as three or more consecutive zeros in the t3 mode and four or more consecutive zeros in the e3 mode. as an example, a string of eight consecutive zeros would o nly increment this counter once. register name: fecr register description: frame error count register register address: 24h bit # 7 6 5 4 3 2 1 0 name fe7 fe6 fe5 fe4 fe3 fe2 fe1 fe0 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name fe15 f e14 fe13 fe12 fe11 fe10 fe9 fe8 default - - - - - - - - note : bits that are underlined are read - only; all other bits are read - write. bits 0 to 15 / 16 - bit framing bit error counter (fe0 to fe15). these bits report either the number of loss of frame ( lof) occurrences or the number of framing bit errors received. the fecr is configured via the host by the frame error counting control bits (fecc0 and fecc1) in the t3e3 control register (section 5.2). the possible configurations are shown below. fecc1 fe cc0 frame error count register (fecr) configuration 0 0 t3 mode: count loss of frame (lof) occurrences e3 mode: count loss of frame (lof) occurrences 0 1 t3 mode: count both f bit and m bit errors e3 mode: count bit errors in the fas word 1 0 t3 mode: c ount only f bit errors e3 mode: count word errors in the fas word 1 1 t3 mode: count only m bit errors e3 mode: illegal state
DS3112 62 of 135 when the fecr is configured to count lof occurrences, the fecr increments by one each time the device loses receive synchronizat ion. when the fecr is configured to count framing bit errors, it can be configured via the ecc control bit in the t3/e3 control register (section 5.2) to either continue counting frame bit errors during a lof or not. register name: pcr register descripti on: t3 parity bit error count register register address: 26h bit # 7 6 5 4 3 2 1 0 name pe7 pe6 pe5 pe4 pe3 pe2 pe1 pe0 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name pe15 pe14 pe13 pe12 pe11 pe10 pe9 pe8 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/16 - bit t3 parity bit error counter (pe0 to pe15). these bits report the number of t3 parity bit errors. in the e3 mode, this counter is meaningless and should be ignored . a parity bit error is defined as an occurrence when the two parity bits do not match one another or when the two parity bits do not match the parity calculation made on the information bits. via the ecc control bit in the t3/e3 control register (section 5.2), the pcr can be configured to either continue counting parity bit errors during a lof or not. register name: cpcr register description: t3 c - bit parity bit error count register register address: 28h bit # 7 6 5 4 3 2 1 0 name cpe7 cpe6 cpe5 cpe4 cpe3 cpe2 cpe1 cpe0 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name cpe15 cpe14 cpe13 cpe12 cpe11 cpe10 cpe9 cpe8 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write.
DS3112 63 of 135 bits 0 to 15/16 - bit t3 c - bit parity bit error counter (cpe0 to cpe15). these bits report the number of t3 c - bit parity bit errors. when the device is not in the c - bit parity mode or when the device is in the e3 mode, this counter is meaningless and should be ignored. a c - bit p arity bit error is defined as an occurrence when the majority decoded three cp parity bits do not match the parity calculation made on the information bits. via the ecc control bit in the t3/e3 control register (section 5.2), the cpcr can be configured to either continue counting c - bit parity bit errors during a lof or not. register name: febecr register description: t3 far end block error or e3 rai count register register address: 2ah bit # 7 6 5 4 3 2 1 0 name febe7 febe6 febe5 febe4 febe3 febe2 feb e1 febe0 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name febe15 febe14 febe13 febe12 febe11 febe10 febe9 febe8 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/16 - bit t3 far end block error or e3 rai counter (febe0 to febe15). in the t3 c - bit parity mode, these bits report the number of t3 far end block errors (febe). this counter increments each time the three febe bits do not equal 111. in the e3 mode, these bits report th e number of times the rai bit is received in the ?disturbed state? (i.e., the number of times that it is set to a one). in the t3 mode, when the device is not in the c - bit parity mode, this counter is meaningless and should be ignored. via the ecc control bit in the t3/e3 control register (section 5.2), the febecr can be configured to either continue counting febes or active rai bits during a lof or not.
DS3112 64 of 135 6. m13/e13/g.747 multiplexer and t2/e2/g.747 framer 6.1 general description note: if the DS3112 is used as a standalone t3/e3 framer and the multiplexer functionality is disabled, then the registers and functionality described in this section are not applicable and should be ignored by the host. on the receive side, the t2/e2/g.747 framer locates the frame boundaries of the incoming t2/e2/g.747 data stream and monitors the data stream for alarms and errors. alarms are detected and reported in t2/e2 status registers (t2e2sr1 and t2e2sr2), which are described in section 6.3. the host can force the t2/e2/ g.747 framer to resynchronize via the t2e2rsy control bit in the mrid register (section 4.1). on the transmit side, the device formats the outgoing data stream with the proper framing pattern and overhead and can generate alarms. it can also inject errors for diagnostic testing purposes. the transmit side of the framer is called the ?formatter.? t1/e1 ais generation the DS3112 can generate an alarm indication signal (ais) for the t1 and e1 data streams in both the transmit and receive directions. ais for t 1 and e1 signals is defined as an unframed all ones pattern. on reset, the DS3112 will force ais in both the transmit and receive directions on all 28 t1 and 16/21 e1 data streams. it is the host?s task to configure the device to pass normal traffic via th e t1e1rais1, t1e1rais2, t1e1tais1, and t1e1tais2 registers (section 6.4). 6.2 t2/e2/g.747 framer control register description register name: t2e2cr1 register description: t2/e2 control register 1 register address: 30h bit # 7 6 5 4 3 2 1 0 name n/a trai 7 trai6 trai5 trai4 trai3 trai2 trai1 default - 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a tais7 tais6 tais5 tais4 tais3 tais2 tais1 default - 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write.
DS3112 65 of 135 bits 0 to 6/t2/e2/g.747 transmit remote alarm indication (train where n = 1 to 7). when this bit is set high in the t3 mode, the x bit will be set to zero. when this bit is set high in the e3 mode, the rai bit (bit number 11 of each e2 frame) will be set to a one. in the e3 mode, trai5 to trai7 (bits 4 to 6) are disabled and should be set low by the host. when this bit is set high in the g.747 mode, the rai bit (bit number 1 of set 2 in each g.747 frame) will be set to a one. when this bit it set low in the t3 mode, the x bit will be set to a one. when this bit is set low in the e3 and g.747 modes, the rai bit will be set to zero. 0 = do not transmit rai 1 = transmit rai bits 8 to 14/t2/e2/g.747 transmit alarm indication signal (taisn where n = 1 to 7). when this bit is set high, the transmit formatter will generate an unframed all ones pattern. when this bit it set low, normal data is transmitted. in the e3 mode, tais5 to tais7 (bits 4 to 6) are disabled and should be set low by the host. 0 = do not transmit ais 1 = transmit ais register name: t2e2cr2 register description: t2/e2 control register 2 register address: 32h bit # 7 6 5 4 3 2 1 0 name n/a lofg7 lofg6 lofg5 lofg4 lofg3 lofg2 lofg1 default - 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n /a n/a n/a n/a e2sn4 e2sn3 e2sn2 e2sn1 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 6/t2/e2/g.747 transmit loss of frame generation (lofgn where n = 1 to 7). a zero to one transition o n this bit will cause the t2/e2/g.747 transmit formatter to generate enough framing bit errors to cause the far end to lose frame synchronization. this bit must be cleared and set again for a subsequent set of errors to be generated. framing errors gener ated t3 mode four consecutive f bit errors e3 mode four consecutive fas words of 0000101111 generated instead of the normal fas word, which is 1111010000 (i.e., all fas bits are inverted) g.747 mode four consecutive fas words of 000101111 generated inst ead of the normal fas word, which is 111010000 (i.e., all fas bits are inverted) bits 8 to 11 / e2 transmit national bit setting (e2snn where n = 1 to 4). these bits are ignored in the t3 and g.747 modes. the received sn can be read from the t2e2 status register 2. 0 = force the sn bit to zero 1 = force the sn bit to one
DS3112 66 of 135 6.3 t2/e2/g.747 framer status and interrupt register description register name: t2e2sr1 register description: t2/e2 status register 1 register address: 34h bit # 7 6 5 4 3 2 1 0 name ielof lof7 lof6 lof5 lof4 lof3 lof2 lof1 default 0 - - - - - - - bit # 15 14 13 12 11 10 9 8 name ieais ais7 ais6 ais5 ais4 ais3 ais2 ais1 default 0 - - - - - - - note: see figure 6.3a for details on the signal flow for the status bits in the t2e2sr1 register. bits that are underlined are read - only; all other bits are read - write. bits 0 to 6/loss of frame occurrence (lofn when n = 1 to 7). this latched read - only alarm - status bit will be set to a one each time the corresponding t2/e2/g.747 framer detects a loss of frame (lof). this bit will be cleared when read unless a lof condition still exists in that t2/e2/g.747 framer. a change in state of the lof in one or more of the t2/e2/g.747 framers can cause the t2e2sr1 status bit (in the msr reg ister) to be set and a hardware interrupt to occur if the ielof bit is set to a one and the t2e2sr1 bit in the interrupt mask for msr (imsr) register is set to a one (figure 6.3a). the interrupt will be allowed to clear when this bit is read. the lof alarm criteria is described in tables 6.3a, 6.3b, and 6.3c. in the e3 mode, lof5 to lof7 (bits 4 to 6) are meaningless and should be ignored. bit 7/interrupt enable for loss of frame occurrence (ielof). this bit should be set to one if the host wishes to have t2/e2/g.747 lof occurrences cause a hardware interrupt or the setting of the t2e2sr1 status bit in the msr register (figure 6.3a). the t2e2sr1 bit in the interrupt mask for the master status register (imsr) must also be set to one for an interrupt to occu r. 0 = interrupt masked 1 = interrupt unmasked bits 8 to 14/alarm indication signal detected (aisn when n = 1 to 7). this latched read - only alarm - status bit will be set to a one each time the corresponding t2/e2/g.747 framer detects an incoming ais ala rm. this bit will be cleared when read unless the ais alarm still exists in that t2/e2/g.747 framer. a change in state of the ais detector in one or more of the t2/e2/g.747 framers can cause the t2e2sr1 status bit (in the msr register) to be set and a har dware interrupt to occur if the ieais bit is set to a one and the t2e2sr1 bit in the interrupt mask for msr (imsr) register is set to a one (figure 6.3a). the interrupt will be allowed to clear when this bit is read. the ais alarm criteria is described in tables 6.3a, 6.3b, and 6.3c. in the e3 mode, ais5 to ais7 (bits 4 to 6) are meaningless and should be ignored. bit 15/interrupt enable for alarm indication signal (ieais). this bit should be set to one if the host wishes to have t2/e2/g.747 ais detection occurrences cause a hardware interrupt or the setting of the t2e2sr1 status bit in the msr register (figure 6.3a). the t2e2sr1 bit in the interrupt mask for the master status register (imsr) must also be set to one for an interrupt to occur. 0 = interrup t masked 1 = interrupt unmasked
DS3112 67 of 135 t2e2sr1 status bit flow figure 6.3a note: all event and alarm latches above are cleared when the t2e2sr1 register is read. register name: t2e2sr2 register description: t2/e2 status register 2 register address: 36h bit # 7 6 5 4 3 2 1 0 name ierai rai7 rai6 rai5 rai4 rai3 rai2 rai1 default 0 - - - - - - - bit # 15 14 13 12 11 10 9 8 name e2sof4 e2sof3 e2sof2 e2sof1 e2sn4 e2sn3 e2sn2 e2sn1 default - - - - - - - - note: see figure 6.3b for details on the signa l flow for the status bits in the t2e2sr2 register. bits that are underlined are read - only; all other bits are read - write. alarm latch change in state detect lof1 (t2e2sr1 bit 0) internal lof signal from t2/e2 framer 1 alarm latch change in state detect internal lof signal from t2/e2 framer 2 alarm latch change in state detect internal lof signal from t2 framer 7 or mask ielof (t2e2sr1 bit 7) or lof2 (t2e2sr1 bit 1) lof7 (t2e2sr1 bit 6) alarm latch change in state detect ais1 (t2e2sr1 bit 8) internal ais signal from t2/e2 framer 1 alarm latch change in state detect internal ais signal from t2/e2 framer 2 alarm latch change in state detect internal ais signal from t2 framer 7 or mask ieais (t2e2sr1 bit 15) ais2 (t2e2sr1 bit 9) ais7 (t2e2sr1 bit 14) mask t2e2sr1 (imsr bit 5) int* hardware signal t2e2sr1 status bit (msr bit 5) event latch event latch event latch event latch event latch event latch
DS3112 68 of 135 bits 0 to 6/remote alarm indication signal detected (rain when n = 1 to 7). this latched read - only alarm - status bit will be set to a one each time the corresponding t2/e2/g.747 framer detects an incoming rai alarm. this bit will be cleared when read unless the rai alarm still exists in that t2/e2/g.747 framer. a change in state of the rai in one or more of the t2/e2/g.747 framers can cause the t2e2sr2 status bit (in the msr register) to be set and a hardware interrupt to occur if the ierai bit is set to a one and the t2e2sr2 bit in the interrupt mask for msr (imsr) register is set to a one (figure 6.3b). the interrupt will be allowed to clear when this bit is read. the rai alarm criteria is described in tables 6.3a, 6.3b, and 6.3c. in the e3 mode, rai5 to rai7 (bits 4 to 6) are meaningless and should be ignored. bit 7/interrupt enable for remote alarm indication signal (ierai). this bit should be set to one if the host wishes to have rai detection occurrences cause a hardware interrupt or the setting of the t2e2sr2 status bit in the msr register (figure 6.3b). the t2e2sr2 bit in the interrupt mask for the master status register (imsr) must also be set to one for an interrupt to occur. 0 = interrupt masked 1 = interrupt unmasked bits 8 to 11/e2 receive national bit (e2snn when n = 1 to 4). this read - only real - time status bit reports the incoming e2 national bit (sn). it is loaded at the start of each e2 frame as the sn bit is decoded. the host can use the e2sof status bit to determine when to read this bit. in the t3 and g.747 modes, this bit is meaningless and should be ignored. this bit cannot cause an interrupt to occur. bits 12 t o 15/e2 receive start of frame (e2sofn where n = 1 to 4). this latched read - only event - status bit will be set to a one on each e2 receive frame boundary. this bit will be cleared when read. the setting of this status bit cannot cause an interrupt to occur . t2e2sr2 status bit flow figure 6.3b note: all event and alarm latches above are cleared when the t2e2sr2 register is read. alarm latch change in state detect rai1 (t2e2sr2 bit 0) internal rai signal from t2/e2 framer 1 alarm latch change in state detect internal rai signal from t2/e2 framer 2 alarm latch change in state detect internal rai signal from t2 framer 7 or mask ierai (t2e2sr2 bit 7) rai2 (t2e2sr2 bit 1) rai7 (t2e2sr2 bit 6) mask t2e2sr2 (imsr bit 6) int* hardware signal t2e2sr2 status bit (msr bit 6) event latch event latch event latch
DS3112 69 of 135 t2 alarm criteria table 6.3a alarm/ condition definition set criteria clear criteria ais alarm indication signal unframed al l ones eight or fewer zeros in four consecutive m frames (4704 bits) nine or more zeros in four consecutive m frames (4704 bits) lof loss of frame too many f bits or m bits in error two or more f bits in error out of five, or two or more m bits in error o ut of four synchronization occurs rai remote alarm indication inactive: x = 1 active: x = 0 x = 0 for four consecutive m frames (4704 bits) x = 1 for four consecutive m frames (4704 bits) e2 alarm criteria table 6.3b alarm/ condition definition set crit eria clear criteria ais alarm indication signal unframed all ones four or fewer zeros in each of two consecutive 848 - bit frames five or more zeros in each of two consecutive 848 - bit frames lof loss of frame too many fas errors four consecutive bad fas t hree consecutive good fas rai remote alarm indication inactive: bit 11 of the frame = 0 active: bit 11 of the frame = 1 bit 11 = 1 for four consecutive frames (3392 bits) bit 11 = 0 for four consecutive frames (3392 bits) g.747 alarm criteria table 6.3 c alarm/ condition definition set criteria clear criteria ais alarm indication signal unframed all ones four or fewer zeros in each of two consecutive 840 - bit frames five or more zeros in each of two consecutive 840 - bit frames lof loss of frame too many fas errors four consecutive bad fas three consecutive good fas rai remote alarm indication inactive: bit 1 of set 2 = 0 active: bit 1 of set 2 = 1 bit 1 of set 2 = 1 for four consecutive frames (3360 bits) bit 1 of set 2 = 0 for four consecutive frames ( 3360 bits)
DS3112 70 of 135 6.4 t1/e1 ais generation control register description via the t1/e1 alarm indication signal (ais) control registers, the host can configure the DS3112 to generate an unframed all ones signal in either the transmit or receive paths on the 28 t1 ports or the 16/21 e1 ports. on reset, the device will force ais in both the transmit and receive paths and it is up to the host to modify the t1/e1 ais generation control registers to allow normal t1/e1 traffic to traverse the DS3112. see the block diagr ams in section 1 for details on where the ais signal is injected into the data flow. when the m13/e13 multiplexer function is disabled in the DS3112 (see the unchen control bit in the master control register 1 in section 4.2 for details), the t1/e1 ais ge neration control registers are meaningless and can be set to any value. register name: t1e1rais1 register description: t1/e1 receive path ais generation control register 1 register address: 40h bit # 7 6 5 4 3 2 1 0 name ais8 ais7 ais6 ais5 ais4 ais3 ais2 ais1 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name ais16 ais15 ais14 ais13 ais12 ais11 ais10 ais9 default 0 0 0 0 0 0 0 0 note : bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/receive ais genera tion control for t1/e1 ports 1 to 16 (ais1 to ais2). these bits determine whether the device will replace the demultiplexed t1/e1 data stream with an unframed all ones ais signal. ais1 controls the data at lrdat1, ais2 controls the data at lrdat2, and so o n. since ports 4, 8, 12, 16, 20, 24, and 28 are not active in the g.747 mode, the ais4, ais8, ais12, and ais16 bits have no affect in the g.747 mode. 0 = send ais to the lrdat output 1 = send normal data to the lrdat output register name: t1e1rais2 re gister description: t1/e1 receive path ais generation control register 2 register address: 42h bit # 7 6 5 4 3 2 1 0 name ais24 ais23 ais22 ais21 ais20 ais19 ais18 ais17 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a ais28 ais27 ais26 ais25 default - - - - 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write.
DS3112 71 of 135 bits 0 to 11/receive ais generation control for t1 ports 17 to 28 (ais17 to ais28). these bits determine whether the device will rep lace the demultiplexed t1/e1 data stream with an unframed all ones ais signal. ais17 controls the data at lrdat17, ais18 controls the data at lrdat18, and so on. since ports 17 to 28 are not active in the e3 mode, these bits have no effect in the e3 mode. since ports 4, 8, 12, 16, 20, 24, and 28 are not active in the g.747 mode, the ais20, ais24 and ais28 bits have no affect in the g.747 mode. 0 = send ais to the lrdat output 1 = send normal data to the lrdat output register name: t1e1tais1 register des cription: t1/e1 transmit path ais generation control register 1 register address: 44h bit # 7 6 5 4 3 2 1 0 name ais8 ais7 ais6 ais5 ais4 ais3 ais2 ais1 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name ais16 ais15 ais14 ais13 ais12 ais11 ai s10 ais9 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/transmit ais generation control for t1/e1 ports 1 to 16 (ais1 to ais2). these bits determine whether the device will replace the data input from the 28 t1 data streams or 16/21 e1 data streams with an unframed all ones ais signal. ais1 controls the data from ltdat1, ais2 controls the data from ltdat2, and so on. since ports 4, 8, 12, 16, 20, 24, and 28 are not active in the g.747 m ode, the ais4, ais8, ais12, and ais16 bits have no affect in the g.747 mode. 0 = replace data from ltdat with ais 1 = allow normal data from ltdat to flow through to the multiplexer
DS3112 72 of 135 register name: t1e1tais2 register description: t1/e1 transmit path ais generation control register 2 register address: 46h bit # 7 6 5 4 3 2 1 0 name ais24 ais23 ais22 ais21 ais20 ais19 ais18 ais17 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a ais28 ais27 ais26 ais25 default - - - - 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 11/transmit ais generation control for t1 ports 17 to 28 (ais17 to ais28). these bits determine whether the device will replace the data input from the 28 t1 data streams or 16/21 e1 data streams with an unframed all ones ais signal. ais17 controls the data from ltdat17, ais18 controls the data from ltdat18, and so on. since ports 17 to 28 are not active in the e3 mode, these bits have no affect in the e3 mode. sinc e ports 22 to 28 are not active in the g.747 mode, these bits have no affect in the g.747 mode. since ports 4, 8, 12, 16, 20, 24, and 28 are not active in the g.747 mode, the ais20, ais24, and ais28 bits have no effect in the g.747 mode. 0 = replace data from ltdat with ais 1 = allow normal data from ltdat to flow through to the multiplexer
DS3112 73 of 135 7. t1/e1 loopback and drop and insert functionality 7.1 general description on the t1 and e1 ports, the DS3112 has loopback capability in both directions. there is a per - port line loopback that loops the receive side back to the transmit side and a per - port diagnostic loopback that loops the transmit side back to the receive side. in addition, the device can detect the t1 line loopback command as well as generate it. also, the DS3112 has two drop and insert ports that allow any two of the 28 t1 or 16/21 e1 data streams to be dropped or inserted from two auxiliary ports. all of these functions are described below. t1/e1 line loopback each of the 28 t1 or 16/21 e1 rece ive demultiplexed ports can be looped back to the transmit side. this loopback is called a line loopback and is shown in the block diagrams in section 1. when the line loopback is invoked, the normal transmit data input at the ltclk and ltdat inputs is ign ored and replaced with the data from the associated receive port. the host invokes the line loopback via the t1e1llb1 and t1e1llb2 control registers (section 7.2). t1/e1 diagnostic loopback each of the 28 t1 or 16/21 e1 transmit multiplexed ports can be l ooped back to the receive side. this loopback is called a diagnostic loopback and is shown in the block diagrams in section 1. when the diagnostic loopback is invoked, the normal receive data output at the lrclk and lrdat outputs is replaced with the data from the associated transmit port. the host invokes the diagnostic loopback via the t1e1dlb1 and t1e1dlb2 control registers (section 7.2). t1 line loopback command m13 systems have the ability to request that a t1 line be looped back, which is achieved by inverting the c3 bit. see section 14.2 for details on m13 formats and operation. the DS3112 will detect when the c3 bit has been inverted and will indicate which t1 line is being requested to be placed into line loopback via the t1lbsr1 and t1lbsr2 regist ers (section 7.3). when the host detects that a t1 line is being requested to be placed into loopback, it should set the appropriate control bit in either the t1e1llb1 or t1e1llb2 register. the DS3112 can also generate a t1 line loopback command by inverti ng the c3 bit, which is accomplished via the t1lbcr1 and l1lbcr2 registers (section 7.2). please note that when e3 or g.747 mode is enabled, the t1 line loopback command functionality is not applicable. t1/e1 drop and insert the DS3112 has the ability to drop any of the 28 t1 or 16/21 e1 receive channels to either one of two drop ports. drop port a and drop port b consist of the outputs lrclka/lrdata and lrclkb/lrdatb, respectively. see the block diagrams in section 1 for more details. the host can determi ne which t1/e1 port should be dropped via the t1e1sdp control register (section 7.4). when a t1/e1 channel is dropped to either drop port a or b, the demultiplexed data is still output at the normal lrclk and lrdat outputs. on the transmit side, there are a complimentary pair of insert ports that are controlled via the t1e1sip control register (section 7.4). when enabled, the inserted port data and clock (ltdata/ltdatb and ltclka/ltclkb, respectively) replace the data that would normally be multiplexed in a t ltdat and ltclk inputs.
DS3112 74 of 13 5 7.2 t1/e1 loopback control register description register name: t1e1llb1 register description: t1/e1 line loopback control register 1 register address: 50h bit # 7 6 5 4 3 2 1 0 name llb8 llb7 llb6 llb5 llb4 llb3 llb2 llb1 def ault 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name llb16 llb15 llb14 llb13 llb12 llb11 llb10 llb9 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/t1/e1 line loopback enable for po rts 1 to 16 (llb1 to llb16). these bits enable or disable the t1/e1 line loopback (llb). see the block diagrams in section 1 for a visual description of this loopback. llb1 corresponds to t1/e1 port 1, llb2 corresponds to t1/e1 port 2, and so on. since por ts 4, 8, 12, 16, 20, 24, and 28 are not active in the g.747 mode, the llb4, llb8, llb12, and llb16 bits have no effect in the g.747 mode. 0 = disable loopback 1 = enable loopback register name: t1e1llb2 register description: t1/e1 line loopback control register 2 register address: 52h bit # 7 6 5 4 3 2 1 0 name llb24 llb23 llb22 llb21 llb20 llb19 llb18 llb17 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a llb28 llb27 llb26 llb25 default - - - - 0 0 0 0 note: bits tha t are underlined are read - only; all other bits are read - write. bits 0 to 11/t1 line loopback enable for ports 17 to 28 (llb17 to llb28). these bits enable or disable the t1 line loopback (llb). see the block diagrams in section 1 for a visual description of this loopback. llb1 corresponds to t17 port 17, llb18 corresponds to t1 port 18, and so on. since ports 17 to 28 are not active in the e3 mode, these bits have no effect in the e3 mode. since ports 4, 8, 12, 16, 20, 24, and 28 are not active in the g.74 7 mode, the llb20, llb24, and llb28 bits have no effect in the g.747 mode. 0 = disable loopback 1 = enable loopback
DS3112 75 of 135 register name: t1e1dlb1 register description: t1/e1 diagnostic loopback control register 1 register address: 54h bit # 7 6 5 4 3 2 1 0 name dlb8 dlb7 dlb6 dlb5 dlb4 dlb3 dlb2 dlb1 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name dlb16 dlb15 dlb14 dlb13 dlb12 dlb11 dlb10 dlb9 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - wri te. bits 0 to 15 / t1/e1 diagnostic loopback enable for ports 1 to 16 (dlb1 to dlb16). these bits enable or disable the t1/e1 diagnostic loopback (dlb). see the block diagrams in section 1 for a visual description of this loopback. dlb1 corresponds to t1/ e1 port 1, dlb2 corresponds to t1/e1 port 2, and so on. if the device is configured in low speed t1/e1 port loop timed mode (if lltm bit in the mc1 register is set to a one) then only data will be looped back ? the clock will not be looped back. since ports 4, 8, 12, 16, 20, 24, and 28 are not active in the g.747 mode, the dlb4, dlb8, dlb12, and dlb16 bits have no effect in the g.747 mode. 0 = disable loopback 1 = enable loopback register name: t1e1dlb2 register description: t1/e1 diagnostic loopback cont rol register 2 register address: 56h bit # 7 6 5 4 3 2 1 0 name dlb24 dlb23 dlb22 dlb21 dlb20 dlb19 dlb18 dlb17 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a dlb28 dlb27 dlb26 dlb25 default - - - - 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write.
DS3112 76 of 135 bits 17 to 28/t1 diagnostic loopback enable for ports 17 to 28 (dlb17 to dlb28). these bits enable or disable the t1 diagnostic loopback (dlb). see the block diagrams in section 1 for a vis ual description of this loopback. dlb1 corresponds to t17 port 17, dlb18 corresponds to t1 port 18, and so on. since ports 17 to 28 are not active in the e3 mode, these bits have no effect in the e3 mode. since ports 4, 8, 12, 16, 20, 24, and 28 are not ac tive in the g.747 mode, the dlb20, dlb24 and dlb28 bits have no affect in the g.747 mode. if the device is configured in low speed t1/e1 port loop timed mode (if lltm bit in the mc1 register is set to a one), then only data will be looped back, the clock w ill not be looped back. 0 = disable loopback 1 = enable loopback register name: t1lbcr1 register description: t1 line loopback command register 1 register address: 58h bit # 7 6 5 4 3 2 1 0 name lb8 lb7 lb6 lb5 lb4 lb3 lb2 lb1 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name lb16 lb15 lb14 lb13 lb12 lb11 lb10 lb9 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/t1 line loopback far end activate command for ports 1 to 1 6 (lb1 to lb16). these bits cause the appropriate t2 transmit formatter to generate a line loopback command for the far end. when this bit is set high, the t2 transmit formatter will force the c3 bit to be the inverse of the c1 and c2 bits. the t2 transmit formatter will continue to force the c3 bit to be the inverse of the c1 and c2 bits as long as this bit is held high. when this bit is set low, c3 will match the c1 and c2 bits. lb1 corresponds to t1/e1 port 1, lb2 corresponds to t1/e1 port 2, and so on. these bits are meaningless in the e3 and g.747 modes and should be set to 0. 0 = do not generate the line loopback command by inverting the c3 bit 1 = generate the line loopback command by inverting the c3 bit
DS3112 77 of 135 register name: t1lbcr2 register descriptio n: t1 line loopback command register 2 register address: 5ah bit # 7 6 5 4 3 2 1 0 name lb24 lb23 lb22 lb21 lb20 lb19 lb18 lb17 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a lb28 lb27 lb26 lb25 default - - - - 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 17 to 28/t1 line loopback far end activate command for ports 17 to 28 (lb17 to lb28). these bits cause the appropriate t2 transmit formatter to generate a line loopback com mand for the far end. when this bit is set high, the t2 transmit formatter will force the c3 bit to be the inverse of the c1 and c2 bits. the t2 transmit formatter will continue to force the c3 bit to be the inverse of the c1 and c2 bits as long as this bi t is held high. when this bit is set low, c3 will match the c1 and c2 bits. lb17 corresponds to t1/e1 port 17, l18 corresponds to t1/e1 port 18, and so on. these bits are meaningless in the e3 and g.747 modes and should be set to 0. 0 = do not generate th e line loopback command by inverting the c3 bit 1 = generate the line loopback command by inverting the c3 bit
DS3112 78 of 135 7.3 t1 line loopback command status register description register name: t1lbsr1 register description: t1 line loopback command status regist er 1 register address: 5ch bit # 7 6 5 4 3 2 1 0 name llb8 llb7 llb6 llb5 llb4 llb3 llb2 llb1 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name llb16 llb15 llb14 llb13 llb12 llb11 llb10 llb9 default - - - - - - - - note: see figure 7.3a for details on the signal flow for the status bits in the t1lbsr1 and t1lbsr2 registers. bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/t1 line loopback command status for ports 1 to 16 (llb1 to llb16). these read - onl y real - time status bits will be set to a one when the corresponding t2 framer detects that the c3 bit is the inverse of the c1 and c2 bits for 5 consecutive frames. these bits will be allowed to clear when the c3 bit is not the inverse of the c1 and c2 bit s for five consecutive frames. llb1 corresponds to t1/e1 port 1, llb2 corresponds to t1/e1 port 2, and so on. the setting of any of the bits in t1lbsr1 or t1lbsr2 can cause a hardware interrupt to occur if the t1lb bit in the interrupt mask for msr (imsr) is set to a one. in the e3 and g.747 modes, these bits are meaningless and should be ignored. register name: t1lbsr2 register description: t1 line loopback command status register 2 register address: 5eh bit # 7 6 5 4 3 2 1 0 name llb24 llb23 llb22 l lb21 llb20 llb19 llb18 llb17 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a llb28 llb27 llb26 llb25 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write.
DS3112 79 of 135 bits 0 to 11/t1 line loopback command status for ports 17 to 28 (llb17 to llb28). these read - only real - time status bits will be set to a one when the corresponding t2 framer detects that the c3 bit is the inverse of the c1 and c2 bits for 5 consecutive frames. these bits will be allowed to clear when the c3 bit is not the inverse of the c1 and c2 bits for five consecutive frames. llb17 corresponds to t1/e1 port 17, llb18 corresponds to t1/e1 port 18, and so on. the setting of any of the bits in t1lbsr1 or t1lbsr2 can cause a h ardware interrupt to occur if the t1lb bit in the interrupt mask for msr (imsr) is set to a one. in the e3 and g.747 modes, these bits are meaningless and should be ignored. t1lbsr1 and t1lbsr2 status bit flow figure 7.3a 7.4 t1/e1 drop and insert con trol register description register name: t1e1sdp register description: t1/e1 select register for receive drop ports a and b register address: 60h bit # 7 6 5 4 3 2 1 0 name n/a n/a n/a dpas4 dpas3 dpas2 dpas1 dpas0 default - - - 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a dpbs4 dpbs3 dpbs2 dpbs1 dpbs0 default - - - 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. llb1 (t1lbsr1 bit 0) internal t1 loopback command signal from t2/e2 framer or mask t1lb (imsr bit 8) int* hardware signal t1lb status bit (msr bit 8) llb2 (t1lbsr1 bit 1) internal t1 loopback command signal from t2/e2 framer llb28 (t1lbsr2 bit 11) internal t1 loopback command signal from t2/e2 framer
DS3112 80 of 135 bits 0 to 4/t1/e1 drop port a select bits (dpas0 to dpas4). bits 8 to 12/t1/e1 d rop port b select bits (dpbs0 to dpbs4). these bits select which of the 28 t1 ports or 16 e1 ports (if any) should be output at either drop port a or drop port b. if no port is selected, the lrdata, lrclka, lrdatb, and lrclkb output pins will be forced lo w. dpxs4:0 00000 no port 01000 port 8 10000 port 16 11000 port 24 00001 port 1 01001 port 9 10001 port 17 11001 port 25 00010 port 2 01010 port 10 10010 port 18 11010 port 26 00011 port 3 01011 port 11 10011 port 19 11011 port 27 00100 port 4 0 1100 port 12 10100 port 20 11100 port 28 00101 port 5 01101 port 13 10101 port 21 11101 no port 00110 port 6 01110 port 14 10110 port 22 11110 no port 00111 port 7 01111 port 15 10111 port 23 11111 no port register name: t1e1sip register description: t1/e1 select register for transmit insert ports a and b register address: 62h bit # 7 6 5 4 3 2 1 0 name n/a n/a n/a ipas4 ipas3 ipas2 ipas1 ipas0 default - - - 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a ipbs4 ipbs3 ipbs2 ipbs1 ipbs0 default - - - 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 4/t1/e1 insert port a select bits (ipas0 to ipas4). bits 8 to 12/t1/e1 insert port b select bits (ipbs0 to ipbs4). these bits select if cl ock and data from either of the two insert ports (insert port a or insert port b) should replace the clock and data presented at one of the 28 t1 ports or 16/21 e1 ports. if no port is selected, the clock and data presented at the ltdata, ltclka, ltdatb, a nd ltclkb input pins is ignored. the same port should not be selected for both insert port a and insert port b. ipxs4:0 00000 no port 01000 port 8 10000 port 16 11000 port 24 00001 port 1 01001 port 9 10001 port 17 11001 port 25 00010 port 2 0101 0 port 10 10010 port 18 11010 port 26 00011 port 3 01011 port 11 10011 port 19 11011 port 27 00100 port 4 01100 port 12 10100 port 20 11100 port 28 00101 port 5 01101 port 13 10101 port 21 11101 no port 00110 port 6 01110 port 14 10110 port 22 11110 no port 00111 port 7 01111 port 15 10111 port 23 11111 no port
DS3112 81 of 135 8. bert 8.1 general description the bert block is capable of generating and detecting the following patterns: the pseudorandom patterns 2 7 - 1, 2 11 ? 1 , 2 15 - 1 , and qrss a repetitive pa ttern from 1 to 32 bits in length alternating (16 - bit) words that flip every 1 to 256 words the bert receiver has a 32 - bit bit counter and a 24 - bit error counter. it can generate interrupts on detecting a bit error, a change in synchronization, or if an o verflow occurs in the bit and error counters. see section 8.2 for details on status bits and interrupts from the bert block. to activate the bert block, the host must configure the bert mux via the bert mux control register (section 8.2). data can be route d to the receive side of the bert from either the t3/e3 framer or from one of the 28 t1 or 16/21 e1 receive ports. data from the transmit side of the bert can be inserted either into the t3/e3 framer or into one of the 28 t1 or 16/21 e1 transmit ports. see figures 1a and 1b for a visual description of where data to and from the bert can be placed. 8.2 bert register description register name: bertmc register description: bert mux control register register address: 0x6eh bit # 7 6 5 4 3 2 1 0 name n/a n/a n/a rbps4 rbps3 rbps2 rbps1 rbps0 default - - - 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a tbps4 tbps3 tbps2 tbps1 tbps0 default - - - 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write.
DS3112 82 of 135 bits 0 to 4/r eceive bert port select bits 0 to 4 (rbps0 to rbps4). these bits determine if data from any of the 28 t1 or 16/21 e1 receive ports or the t3/e3 receive framer (with or without the overhead bits) will be routed to the receive side of the bert. if these bits are set to 11101, only the t3/e3 payload data will be routed to the receive bert. if these bits are set to 11110, all t3/e3 data (payload and the overhead bits) will be routed to the receive bert. rbps4:0 00000 no data 01000 port 8 00001 port 1 01001 port 9 00010 port 2 01010 port 10 00011 port 3 01011 port 11 00100 port 4 01100 port 12 00101 port 5 01101 port 13 00110 port 6 01110 port 14 00111 port 7 01111 port 15 10000 port 16 11000 port 24 10001 port 17 11001 port 25 10010 port 18 11010 p ort 26 10011 port 19 11011 port 27 10100 port 20 11100 port 28 10101 port 21 11101 t3/e3 framer (payload bits only) 10110 port 22 11110 t3/e3 framer (payload + overhead bits) 10111 port 23 11111 illegal state bits 8 to 12/transmit bert port select b its 0 to 4 (tbps0 to tbps4). these bits determine if the transmit bert will be used to replace the normal transmit data on any of the 28 t1 or 16/21 e1 transmit ports or at the t3/e3 transmit formatter. if these bits are set to 11101, data from the transmi t bert is only placed in the payload bit positions of the t3/e3 data stream. if these bits are set to 11110, then data from the transmit bert is placed into all bit positions of the t3/e3 data stream (payload and the overhead bits). tbps4:0 00000 no da ta 01000 port 8 00001 port 1 01001 port 9 00010 port 2 01010 port 10 00011 port 3 01011 port 11 00100 port 4 01100 port 12 00101 port 5 01101 port 13 00110 port 6 01110 port 14 00111 port 7 01111 port 15 10000 port 16 11000 port 24 10001 port 17 1 1001 port 25 10010 port 18 11010 port 26 10011 port 19 11011 port 27
DS3112 83 of 135 tbps4:0 10100 port 20 11100 port 28 10101 port 21 11101 t3/e3 framer (payload bits only) 10110 port 22 11110 t3/e3 framer (payload + overhead bits) 10111 port 23 11111 illegal state regis ter name: bertc0 register description: bert control register 0 register address: 70h bit # 7 6 5 4 3 2 1 0 name pbs tinv rinv ps2 ps1 ps0 lc resync default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name iesync iebed ieof n/a rpl3 rpl2 rpl1 rpl0 default 0 0 0 - 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bit 0/force resynchronization (resync). a low to high transition will force the receive bert synchronizer to resynchronize to the incoming data stream . this bit should be toggled from low to high whenever the host wishes to acquire synchronization on a new pattern. must be cleared and set again for a subsequent resynchronization. bit 1/load bit and error counters (lc). a low to high transition latches the current bit and error counts into the host accessible registers bertbc and bertec and clears the internal count. this bit should be toggled from low to high whenever the host wishes to begin a new acquisition period. must be cleared and set again for a subsequent loads. bits 2 to 4/pattern select bits 0 (ps0 to ps2). if pbs = 0: 000 = pseudorandom pattern 2 7 - 1 (ansi t1.403 - 1999 annex b) 001 = pseudorandom pattern 2 11 - 1 (itu o.153) 010 = pseudorandom pattern 2 15 - 1 (itu o.151) 011 = pseudorandom pattern qr ss (2e20 - 1 with a one forced if the next 14 positions are zero) 100 = repetitive pattern 101 = alternating word pattern 110 = illegal state 111 = illegal state if pbs = 1: 000 = psuedorandom patter n 2 9 - 1 001 = pseudorandom pat tern 2 20 - 1 (non - qrss) 0 1 0 = pseudorandom pat tern 2 2 3 - 1 ( itu o .151 ) 0 1 1 = illegal state 10x = illegal state (x = 0 or 1) 11x = lllegal state (x = 0 or 1)
DS3112 84 of 135 bit 5/receive invert data enable (rinv). 0 = do not invert the incoming data stream 1 = invert the incoming data stream bit 6/transmit invert data enable (tinv). 0 = do not invert the outgoing data stream 1 = invert the outgoing data stream bit 7/pattern bank select (pbs) 0 = ps[2:0] select a pattern from patt ern bank 0 1 = ps[2:0] select a pattern f rom pattern bank 1 bits 8 to 11/repetitive pattern length bits 5 (rpl0 to rpl3). rpl0 is the lsb and rpl3 is the msb of a nibble that describes the how long the repetitive pattern is. the valid range is 17 (0000) to 32 (1111). these bits are ignored if the receive bert is programmed for a pseudorandom pattern. to create repetitive patterns less than 17 bits in length, th e user must set the length to an integer number of the desired length that is less than or equal to 32. for example, to create a 6 - bit pattern, the user can set the length to 18 (0001) or to 24 (0111) or to 30 (1101). repetitive pattern length map length code length code length code length code 17 bits 0000 18 bits 0001 19 bits 0010 20 bits 0011 21 bits 0100 22 bits 0101 23 bits 0110 24 bits 0111 25 bits 1000 26 bits 1001 27 bits 1010 28 bits 1011 29 bits 1100 30 bits 1101 31 bits 1101 32 bits 1111 bit 13/interrupt enable for counter overflow (ieof). allows the receive bert to cause an interrupt if either the bit counter or the error counter overflows (figure 8.2a). 0 = interrupt masked 1 = interrupt enabled bit 14/interrupt enable for bit error d etected (iebed). allows the receive bert to cause an interrupt if a bit error is detected (figure 8.2a). 0 = interrupt masked 1 = interrupt enabled bit 15/interrupt enable for change of synchronization status (iesync). allows the receive bert to cause a n interrupt if there is a change of state in the synchronization status (i.e., the receive bert either goes into or out of synchronization) (figure 8.2a). 0 = interrupt masked 1 = interrupt enabled
DS3112 85 of 135 register name: bertc1 register description: bert contr ol register 1 register address: 72h bit # 7 6 5 4 3 2 1 0 name eib2 eib1 eib0 sbe n/a n/a n/a tc default - 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name awc7 awc6 awc5 awc4 awc3 awc2 awc1 awc0 default 0 0 0 0 0 0 0 0 note: bits that are underl ined are read - only; all other bits are read - write. bit 0/transmit pattern load (tc). a low to high transition loads the pattern generator with repetitive or pseudorandom pattern that is to be generated. this bit should be toggled from low to high whenever the host wishes to load a new pattern. must be cleared and set again for a subsequent loads. bit 4/single bit error insert (sbe). a low to high transition will create a single bit error. must be cleared and set again for a subsequent bit error to be inse rted. bits 5 to 7/error insert bits (eib0 to eib2). will automatically insert bit errors at the prescribed rate into the generated data pattern. useful for verifying error detection operation. eib2 eib1 eib0 error rate inserted 0 0 0 no errors automat ically inserted 0 0 1 10 - 1 (1 error per 10 bits) 0 1 0 10 - 2 (1 error per 100 bits) 0 1 1 10 - 3 (1 error per 1kbits) 1 0 0 10 - 4 (1 error per 10kbits) 1 0 1 10 - 5 (1 error per 100kbits) 1 1 0 10 - 6 (1 error per 1m bits) 1 1 1 10 - 7 (1 error per 10m bits) bits 8 to 15/alternating word count rate (awc0 to awc7). when the bert is programmed in the alternating word mode, the word in bertrp0 will be transmitted for the count loaded into this register plus one, then flip to the other word loaded in bertrp1 and again repeat for the same number of times. the valid count range is from 00h to ffh.
DS3112 86 of 135 awc value alternating count action 00h send the word in bertrp0 1 time followed by the word in bertrp1 1 time? 01h send the word in bertrp0 2 times followed by the wor d in bertrp1 2 times? 02h send the word in bertrp0 3 times followed by the word in bertrp1 3 times? 06h send the word in bertrp0 7 times followed by the word in bertrp1 7 times? 07h send the word in bertrp0 8 times followed by the word in bertrp1 8 time s? ffh send the word in bertrp0 256 times followed by the word in bertrp1 256 times? register name: bertrp0 register description: bert repetitive pattern 0 (lower word) register address: 74h bit # 7 6 5 4 3 2 1 0 name rp7 rp6 rp5 rp4 rp3 rp2 rp1 rp 0 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name rp15 rp14 rp13 rp12 rp11 rp10 rp9 rp8 default 0 0 0 0 0 0 0 0 register name: bertrp1 register description: bert repetitive pattern 1 (upper word) register address: 76h bit # 7 6 5 4 3 2 1 0 name rp23 rp22 rp21 rp20 rp19 rp18 rp17 rp16 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name rp31 rp30 rp29 rp28 rp27 rp26 rp25 rp24 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 31/bert repetitive pattern set (rp0 to rp31). rp0 is the lsb and rp31 is the msb. these registers must be properly loaded for the bert to properly generate and synchronize to either a repetitive pattern, a pseudorandom pattern, or a alternating word pattern. for a repetitive pattern that is less than 17 bits, then the pattern should be repeated so that all 32 bits are used to describe the pattern. for example, if the pattern was the repeating 5 - bit pattern ?01101? (where right most bit is one sen t first and received first) then bertrp0 should be loaded with xb5ad and bertrp1 should be loaded with x5ad6. for a pseudorandom pattern, both registers should be loaded with all ones (i.e., xffff) for an alternating word pattern, one word should be place d into bertrp0 and the other word should be placed into bertrp1. for example, if the dds stress pattern ?7e? is to be described, the user would place x0000 in bertrp0 and x7e7e in bertrp1 and the alternating word counter would be set to 50 (decimal) to all ow 100 bytes of 00h followed by 100 bytes of 7eh to be sent and received.
DS3112 87 of 135 register name: bertbc0 register description: bert 32 - bit bit counter (lower word) register address: 78h bit # 7 6 5 4 3 2 1 0 name bbc7 bbc6 bbc5 bbc4 bbc3 bbc2 bbc1 bbc0 defa ult 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name bbc15 bbc14 bbc13 bbc12 bbc11 bbc10 bbc9 bbc8 default 0 0 0 0 0 0 0 0 register name: bertbc1 register description: bert 32 - bit bit counter (upper word) register address: 7ah bit # 7 6 5 4 3 2 1 0 name bbc23 bbc22 bbc21 bbc20 bbc19 bbc18 bbc17 bbc16 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name bbc31 bbc30 bbc29 bbc28 bbc27 bbc26 bbc25 bbc24 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits a re read - write. bits 0 to 31/bert 32 - bit bit counter (bbc0 to bbc31). this 32 - bit counter will increment for each data bit (i.e., clock received). this counter is not disabled when the receive bert loses synchronization. this counter can be cleared by togg ling the lc control bit in bertc0. this counter saturates and will not rollover. upon saturation, the bbco status bit in the bertec0 register will be set. this error counter starts counting when the bert goes into receive synchronization (rlos = 0 or sync = 1) and it will not stop counting when the bert loses synchronization. it is recommended that the host toggle the lc bit in bertc0 register once the bert has synchronized and then toggle the lc bit again when the error checking period is complete. if the device loses synchronization during this period, then the counting results are suspect.
DS3112 88 of 135 register name: bertec0 register description: bert 24 - bit error counter (lower) and status information register address: 7ch bit # 7 6 5 4 3 2 1 0 name n/a ra1 ra0 rlos bed bbco beco sync default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name bec7 bec6 bec5 bec4 bec3 bec2 bec1 bec0 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bit 0/real - time synchron ization status (sync). read - only real - time status of the synchronizer (this bit is not latched). will be set when the incoming pattern matches for 32 consecutive bit positions. will be cleared when six or more bits out of 64 are received in error. bit 1/b ert error counter overflow (beco). a latched read - only event - status bit that is set when the 24 - bit bert error counter (bec) saturates. cleared when read and will not be set again until another overflow occurs (i.e., the bec counter must be cleared and all owed to overflow again). the setting of this status bit can cause a hardware interrupt to occur if the ieof bit in bert control register 0 is set to a one and the bert bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read (figure 8.2a). bit 2/bert bit counter overflow (bbco). a latched read - only event - status bit that is set when the 32 - bit bert bit counter (bbc) saturates. cleared when read and will not be set again until another ove rflow occurs (i.e., the bbc counter must be cleared and allowed to overflow again). the setting of this status bit can cause a hardware interrupt to occur if the ieof bit in bert control register 0 is set to a one and the bert bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read (figure 8.2a). bit 3/bit error detected (bed). a latched read - only event status bit that is set when a bit error is detected. the receive bert must be in sy nchronization for it to detect bit errors. this bit will be cleared when read. the setting of this status bit can cause a hardware interrupt to occur if the iebed bit in bert control register 0 is set to a one and the bert bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read (figure 8.2a). bit 4/receive loss of synchronization (rlos). a latched read - only alarm - status bit that is set whenever the receive bert begins searching for a p attern. once synchronization is achieved, this bit will remain set until read. a change in this status bit (i.e., the synchronizer goes into or out of synchronization) can cause a hardware interrupt to occur if the iesync bit in bert control register 0 is set to a one and the bert bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read (figure 8.2a). bit 5/receive all zeros (ra0). a latched read - only alarm - status bit that is set when 31 consecutive zeros are received. allowed to be cleared once a one is received.
DS3112 89 of 135 bit 6/receive all ones (ra1). a latched read - only alarm - status bit that is set when 31 consecutive ones are received. allowed to be cleared once a zero is received. bits 8 t o 15/bert 24 - bit error counter (bec0 to bec7). lower byte of the 24 - bit counter. see the bertec1 register description for details. bert status bit flow figure 8.2a note: all event and alarm latches above are cleared when the bertec0 register is read. register name: bertec1 register description: bert 24 - bit error counter (upper) register address: 7eh bit # 7 6 5 4 3 2 1 0 name bec15 bec14 bec13 bec12 bec11 bec10 bec9 bec8 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name bec23 bec22 be c21 bec20 bec19 bec18 bec17 bec16 default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bits 0 to 15/bert 24 - bit error counter (bec8 to bec23). upper two bytes of the 24 - bit counter. this 24 - bit counter w ill increment for each data bit received in error. this counter is not disabled when the receive bert loses synchronization. this counter can be cleared by toggling the lc control bit in bertbc0. this counter saturates and will not rollover. upon saturatio n, the beco status bit in the bertec0 register will be set. this error counter starts counting when the bert goes into receive synchronization (rlos = 0 or sync = 1) and it will not stop counting when the bert loses synchronization. it is recommended that the host toggle the lc bit in bertc0 register once the bert has synchronized and then toggle the lc bit again when the error checking period is complete. if the device loses synchronization during this period, then the counting results are suspect. alarm latch change in state detect rlos (bertec0 bit 4) internal rlos signal from bert event latch internal bit error detected signal from bert event latch internal counter overflow signal from bert or bed (bertec0 bit 3) beco or bbco (bertec0 bits 1 & 2) mask bert (imsr bit 2) int* hardware signal bert status bit (msr bit 2) mask iesync (bertc0 bit 15) mask mask iebed (bertc0 bit 14) ieof (bertc0 bit 13) event latch
DS3112 90 of 135 9. hdlc controller 9.1 general description the DS3112 contains an onboard hdlc controller with 256 - byte buffers in both the transmit and receive paths. when the device is operated in the t3 mode, the hdlc controller is only active in the c - bit parity mode. when the device is operated in the e3 mode, the user has the option to connect the hdlc controller to the sn bit position. on the receive side, the hdlc controller is always connected to the receive e3 framer. if the host does not wish to use the hdlc controll er for the sn bit, then the status updates provided by the hdlc controller are ignored. on the transmit side, the host selects the source of the sn via the e3snc0 and e3snc1 controls bits in the t3/e3 control register (section 5.2). receive operation on r eset, the receive hdlc controller will flush the receive fifo and begin searching for a new incoming hdlc packet. the receive hdlc controller performs a bit by bit search for a hdlc packet and when one is detected, it will zero destuff the incoming data st ream and automatically byte align to it and place the incoming bytes as they are received into the receive fifo. the first byte of each packet is marked in the receive fifo by setting the opening byte (obyte) bit. upon detecting a closing flag, the device will check the 16 - bit crc to see if the packet is valid or not and then mark the last byte of the packet in the receive fifo by setting the closing byte (cbyte) bit. the crc is not passed to the receive fifo. when the cbyte bit is set, the host can obtain the status of the incoming packet via the packet status bits (ps0 and ps1). incoming packets can be separated by a single flag or even by two flags that share a common zero. if the receive fifo ever fills beyond capacity, the new incoming packet data will be discarded and the receive fifo overrun (rovr) status bit will be set. if such a scenario occurs, then the last packet in the fifo is suspect and should be discarded. when an overflow occurs, the receive hdlc will stop accepting packets until either the fifo is completely emptied or reset. if the receive hdlc controller ever detects an incoming abort (seven or more ones in a row), it will set the receive abort sequence detected (rabt) status bit. if an abort sequence is detected in the middle of an incomi ng packet, then the receive hdlc controller will set the packet status bits accordingly. the receive hdlc has been designed to minimize its real - time host support requirements. the receive fifo is 256 bytes, which is deep enough to store the three t3 pack ets (path id, idle signal id, and test signal id) that can arrive once a second. hence in t3 applications, the host only needs to access the receive hdlc once a second to retrieve the three messages. the host will be notified when a new message has begun ( receive packet start status bit) to be received and when a packet has completed (receive packet end status bit). also, the host can be notified when the fifo has filled beyond a programmable level called the high watermark. the host will read the incoming packet data out of the receive fifo a byte at a time. when the receive fifo is empty, the rempty bit in the fifo will be set.
DS3112 91 of 135 transmit operation on reset, the transmit hdlc controller will flush the transmit fifo and transmit an abort followed by either 7 eh or ffh (depends on the setting of the tfs control bit) continuously. the transmit hdlc then waits until there are at least two bytes in the transmit fifo before beginning to send the packet. the transmit hdlc will automatically add an opening flag of 7e h to the beginning of the packet and zero stuff the outgoing data stream. when the transmit hdlc controller detects that the tmend bit in the transmit fifo is set, it will automatically calculate and add in the 16 - bit crc checksum followed by a closing fla g of 7eh. if the fifo is empty, then it will begin sending either 7eh or ffh continuously. if there is some more data in the fifo, then the transmit hdlc will automatically add in the opening flag and begin sending the next packet. between consecutive pac kets, there are always at least two flags of 7eh. if the transmit fifo ever empties when a packet is being sent (i.e., before the tmend bit is set), then the transmit hdlc controller will send an abort of seven ones in a row (feh) followed by a continuous transmission of either 7eh (flags) or ffh (idle) and the transmit fifo underrun (tudr) status bit will be set. when the fifo underruns, the transmit hdlc controller should be reset by the host. the transmit hdlc has been designed to minimize its real - time host support requirements. the transmit fifo is 256 bytes, which is deep enough to store the three t3 packets (path id, idle signal id, and test signal id) that need to be sent once a second. hence in t3 applications, the host only needs to access the tr ansmit hdlc once a second to load up the three messages. once the host has loaded an outgoing packet, it can monitor the transmit packet end (tend) status bit to know when the packet has finished being transmitted. also, the host can be notified when the f ifo has emptied below a programmable level called the low watermark. the host must never overfill the fifo. to keep this from occurring, the host can obtain the real - time depth of the transmit fifo via the transmit fifo level bits in the hdlc status regist er (hsr). 9.2 hdlc control and fifo register description register name: hcr register description: hdlc control register register address: 80h bit # 7 6 5 4 3 2 1 0 name n/a rhr thr tfs n/a tcrci tzsd tcrcd default - 0 0 0 - - 0 0 bit # 15 14 13 12 11 10 9 8 name rhwms2 rhwms1 rhwms0 tlwms2 tlwms1 tlwms0 rid tid default 0 0 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write. bit 0/transmit crc defeat (tcrcd). when this bit is set low, the hdlc will automatical ly calculate and append the 16 - bit crc to the outgoing hdlc message. when this bit is set high, the device will not append the crc to the outgoing message. 0 = enable crc generation (normal operation) 1 = disable crc generation
DS3112 92 of 135 bit 1/transmit zero stuffe r defeat (tzsd). when this bit is set low, the hdlc will automatically enable the zero stuffer in between the opening and closing flags of the hdlc message. when this bit is set high, the device will not enable the zero stuffer under any condition. 0 = en able zero stuffer (normal operation) 1 = disable zero stuffer bit 2/transmit crc invert (tcrci). when this bit is set low, the hdlc will allow the crc to be generated normally. when this bit is set high, the device will invert all 16 bits of the generat ed crc. this bit is ignored when the crc generation is disabled (tcrcd = 1). this bit is useful in testing hdlc operation. 0 = do not invert the generated crc (normal operation) 1 = invert the generated crc bit 4/transmit flag/idle select (tfs). this co ntrol bit determines whether flags or idle bytes will be transmitted in between packets. 0 = 7eh (flags) 1 = ffh (idle) bit 5/transmit hdlc reset (thr). a zero to one transition will reset the transmit hdlc controller. must be cleared and set again for a subsequent reset. a reset will flush the current contents of the transmit fifo and cause one feh abort sequence (7 ones is a row) to be sent followed by either 7eh (flags) or ffh (idle) until a new packet is initiated by writing new data (at least 2 byte s) into the fifo. bit 6/receive hdlc reset (rhr). a zero to one transition will reset the receive hdlc controller. must be cleared and set again for a subsequent reset. a reset will flush the current contents of the receive fifo and cause the receive hdlc controller to begin searching for a new incoming hdlc packet. bit 8/transmit invert data (tid). the control bit determines whether all of the data from the hdlc controller (including flags and crc checksum) will be inverted after processing. 0 = do not invert data (normal operation) 1 = invert all data bit 9/receive invert data (rid). the control bit determines whether all of the data into the hdlc controller (including flags and crc checksum) will be inverted before processing. 0 = do not invert data (normal operation) 1 = invert all data bits 10 to 12/transmit low watermark select bits (tlwms0 to tlwms2). these control bits determine when the hdlc controller should set the tlwm status bit in the hdlc status register (hsr). when the transmit fifo c ontains less than the number of bytes configured by these bits, the tlwm status bit will be set to a one.
DS3112 93 of 135 tlwms2 tlwms1 tlwms0 transmit low watermark (bytes) 0 0 0 16 0 0 1 48 0 1 0 80 0 1 1 112 1 0 0 144 1 0 1 176 1 1 0 208 1 1 1 240 bits 13 to 15/receive high watermark select bits (rhwms0 to rhwms2). these control bits determine when the hdlc controller should set the rhwm status bit in the hdlc status register (hsr). when the receive fifo contains more than the number of bytes configured by t hese bits, the rhwm status bit will be set to a one. rhwms2 rhwms1 rhwms0 receive high watermark (bytes) 0 0 0 16 0 0 1 48 0 1 0 80 0 1 1 112 1 0 0 144 1 0 1 176 1 1 0 208 1 1 1 240 register name: rhdlc register description: receive hdlc fifo register address: 82h bit # 7 6 5 4 3 2 1 0 name d7 d6 d5 d4 d3 d2 d1 d0 default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a ps1 ps0 cbyte obyte default - - - - - - - - note 1: when the cpu bus is operated in the 8 - bit mode (cms = 1), the host should always read the lower byte (bits 0 to 7) first followed by the upper byte (bits 8 to 15). bits that are underlined are read - only; all other bits are read - write.
DS3112 94 of 135 note 2: packets with three or fewer bytes (including th e crc fcs) in between flags are invalid and the data that appears in the fifo in such instances is meaningless. if only one byte is received between flags, then both the cbyte and obyte bits will be set. if two bytes are received, then obyte will be set fo r the first one received and cbyte will be set for the second byte received. if three bytes are received, then obyte will be set for the first one received and cbyte will be set for the third byte received. in all of these cases, the packet status will be reported as ps0 = 0 / ps1 = 1 and the data in the fifo should be ignored. bits 0 to 7/receive fifo data (d0 to d7). data from the receive fifo can be read from these bits. d0 is the lsb and is received first while d7 is the msb and is received last. bit 8/opening byte (obyte). this bit will be set to a one when the byte available at the d0 to d7 bits from the receive fifo is the first byte of a hdlc packet. bit 9/closing byte (cbyte). this bit will be set to a one when the byte available at the d0 to d7 bits from the receive fifo is the last byte of a hdlc packet whether the packet is valid or not. the host can use the ps0 and ps1 bits to determine if the packet is valid or not. bits 10 and 11/packet status bits 0 and 1 (ps0 and ps1). these bits are only valid when the cbyte bit is set to a one. these bits inform the host of the validity of the incoming packet and the cause of the problem if the packet was received in error. ps1 ps0 packet status reason for invalid reception of the packet 0 0 valid 0 1 invalid corrupt crc 1 0 invalid incoming packet was either too short (three or fewer bytes including the crc) or did not contain an integral number of octets 1 1 invalid abort sequence detected register name: thdlc register description: transmit hdlc fifo register address: 84h bit # 7 6 5 4 3 2 1 0 name d7 d6 d5 d4 d3 d2 d1 d 0 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name n/a n/a n/a n/a n/a n/a n/a tmend default - - - - - - - 0
DS3112 95 of 135 note 1: when the cpu bus is operated in the 8 - bit mode (cms = 1), the host should always write to the lower byte (bits 0 to 7) first followed by the upper byte (bits 8 to 15). note 2: the thdlc is a write - only register. note 3: the transmit fifo can be filled to a maximum capacity of 256 bytes. when the transmit fifo is full, it will not accept any additional data. bits 0 to 7/transmit fifo data (d0 to d7). data for the transmit fifo can be written to these bits. d0 is the lsb and is transmitted first while d7 is the msb and is transmitted last. bit 8/transmit message end (tmend). this bit is used to delineate multiple messages in the transmit fifo. it should be set to a one when the last byte of a packet is written to the transmit fifo. the setting of this bit indicates to the hdlc controller that the message is complete and that it should calculate and add in the crc checksum and at least two flags. this bit should be set to zero for all other data written to the fifo. all hdlc messages must be at least 2 bytes in length. 9.3 hdlc status and interrupt register description register name: hsr register description: hdlc status regist er register address: 86h bit # 7 6 5 4 3 2 1 0 name tudr rpe rps rhwm n/a tlwm n/a tend default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name rabt rempty rovr tempty tfl3 tfl2 tfl1 tfl0 default - - - - - - - - note: see figure 9.3a for de tails on the signal flow for the status bits in the hsr register. bits that are underlined are read - only; all other bits are read - write.
DS3112 96 of 135 bit 0/transmit packet end (tend). this latched read - only event - status bit will be set to a one each time the transmit hdlc controller reads a transmit fifo byte with the corresponding tmend bit set or if a fifo underrun occurs. this bit will be cleared when read and will not be set again until another message end is detected. the setting of this bit can cause a hardware interrupt to occur if the tend bit in the interrupt mask for hsr (ihsr) register is set to a one and the hdlc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. bit 2/transmit f ifo low watermark (tlwm). this read - only real time status bit will be set to a one when the transmit fifo contains less than the number of bytes configured by the transmit low watermark setting control bits (tlwms0 to tlwms2) in the hdlc control register (hcr). this bit will be cleared when the fifo fills beyond the low watermark. the setting of this bit can cause a hardware interrupt to occur if the tlwm bit in the interrupt mask for hsr (ihsr) register is set to a one and the hdlc bit in the interrupt m ask for msr (imsr) register is set to a one. bit 4/receive fifo high watermark (rhwm). this read - only real - time status bit will be set to a one when the receive fifo contains more than the number of bytes configured by the receive high watermark setting c ontrol bits (rhwms0 to rhwms2) in the hdlc control register (hcr). this bit will be cleared when the fifo empties below the high watermark. the setting of this bit can cause a hardware interrupt to occur if the rhwm bit in the interrupt mask for hsr (ihsr ) register is set to a one and the hdlc bit in the interrupt mask for msr (imsr) register is set to a one. bit 5/receive packet start (rps). this latched read - only event - status bit will be set to a one each time the hdlc controller detects an opening byte of an hdlc packet. this bit will be cleared when read and will not be set again until another message is detected. the setting of this bit can cause a hardware interrupt to occur if the rps bit in the interrupt mask for hsr (ihsr) register is set to a one and the hdlc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. bit 6/receive packet end (rpe). this latched read - only event - status bit will be set to a one each time the hdlc controller detects the finish of a message whether the packet is valid (crc correct) or not (bad crc, abort sequence detected, packet too small, not an integral number of octets, or an overrun occurred). this bit will be cleared when read and will not be set again until another message end is detected. the setting of this bit can cause a hardware interrupt to occur if the rpe bit in the interrupt mask for hsr (ihsr) register is set to a one and the hdlc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. bit 7/transmit fifo underrun (tudr). this latched read - only event - status bit will be set to a one each time the transmit fifo underruns and an abort is automatically sent. this b it will be cleared when read and will not be set again until another underrun occurs (i.e., the fifo has been written to and then allowed to empty again). the setting of this bit can cause a hardware interrupt to occur if the tudr bit in the interrupt mask for hsr (ihsr) register is set to a one and the hdlc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. bits 8 to 11/transmit fifo level bits 0 to 3 (tfl0 to tfl3). these read - only real - time status bits indicate the current depth of the transmit fifo with a 16 - byte resolution. these status bits cannot cause a hardware interrupt.
DS3112 97 of 135 tfl3 tfl2 tfl1 tfl0 transmit fifo level 0 0 0 0 empty to 15 bytes 0 0 0 1 16 to 31 bytes 0 0 1 0 32 to 47 bytes 0 0 1 1 48 to 63 bytes 0 1 0 0 64 to 79 bytes 0 1 0 1 80 to 95 bytes 0 1 1 0 96 to 111 bytes 0 1 1 1 112 to 127 bytes 1 0 0 0 128 to 143 bytes 1 0 0 1 144 to 159 bytes 1 0 1 0 160 to 175 bytes 1 0 1 1 176 to 191 bytes 1 1 0 0 192 to 207 bytes 1 1 0 1 208 to 223 bytes 1 1 1 0 224 to 239 bytes 1 1 1 1 240 to 256 bytes bit 12/transmit fifo empty (tempty). this read - only real - time status bit will be set to a one when the transmit fifo is empty. it will be cleared when the transmit fifo contains one or more bytes. this status bit cannot cause a hardware interrupt. bit 13/receive fifo overrun (rovr). this latched read - only event - status bit will be set to a one each time the receive fifo overruns. this bit will be cleared when read and will not be set again until another overrun occurs (i.e., the fifo has been read from and then allowed to fill up again). the setting of this bit can cause a hardware interrupt to occur if the rovr bit in the interrupt mask for hsr (ihsr) register is s et to a one and the hdlc bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when this bit is read. bit 14/receive fifo empty (rempty). this real - time bit will be set to a one when the receive fifo is empty and will be set to a zero when the receive fifo is not empty. bit 15/receive abort sequence detected (rabt). this latched read - only event - status bit will be set to a one each time the receive hdlc controller detects seven or more ones in a row duri ng packet reception. if the receive hdlc is not currently receiving a packet, then seven or more ones in a row will not trigger this status bit. this bit will be cleared when read and will not be set again until another abort is detected (at least one vali d flag must be detected before another abort can be detected). the setting of this bit can cause a hardware interrupt to occur if the rabt bit in the interrupt mask for hsr (ihsr) register is set to a one and the hdlc bit in the interrupt mask for msr (ims r) register is set to a one. the interrupt will be allowed to clear when this bit is read.
DS3112 98 of 135 hsr status bit flow figure 4.3e note: all event latches above are cleared when the hsr register is read. internal transmit low water mark signal from hdlc internal receive high water mark signal from hdlc event latch internal receive packet start signal from hdlc or rhwm (hsr bit 4) rps (hsr bit 5) mask hdlc (imsr bit 3) int* hardware signal hdlc status bit (msr bit 3) mask mask mask rhwm (ihsr bit 4) rps (ihsr bit 5) event latch rpe (hsr bit 6) internal receive packet end signal from hdlc event latch internal transmit fifo underrun signal from hdlc event latch internal receive fifo overrun signal from hdlc tudr (hsr bit 7) rovr (hsr bit 13) mask rpe (ihsr bit 6) mask mask tudr (ihsr bit 7) rovr (ihsr bit 13) event latch internal receive abort detect signal from hdlc rabt (hsr bit 15) mask rabt (ihsr bit 15) event latch transmit packet end signal from hdlc tend (hsr bit 0) mask tend (ihsr bit 0) tlwm (ihsr bit 2) tlwm (hsr bit 2)
DS3112 99 of 135 register name: ihsr register description: interrupt m ask for hdlc status register register address: 88h bit # 7 6 5 4 3 2 1 0 name tudr rpe rps rhwm n/a tlwm n/a tend default 0 0 0 0 - 0 - 0 bit # 15 14 13 12 11 10 9 8 name rabt n/a rovr n/a n/a n/a n/a n/a default 0 - 0 - - - - - note: bits that are underlined are read - only; all other bits are read - write. bit 0/transmit packet end (tend). 0 = interrupt masked 1 = interrupt unmasked bit 2/transmit fifo low watermark (tlwm). 0 = interrupt masked 1 = interrupt unmasked bit 4/receive fifo high watermark (rhwm). 0 = interrupt masked 1 = interrupt unmasked bit 5/receive packet start (rps). 0 = interrupt masked 1 = interrupt unmasked bit 6/receive packet end (rpe). 0 = interrupt masked 1 = interrupt unmasked bit 7/transmit fifo underrun ( tudr). 0 = interrupt masked 1 = interrupt unmasked bit 13/receive fifo overrun (rovr). 0 = interrupt masked 1 = interrupt unmasked bit 15/receive abort sequence detected (rabt). 0 = interrupt masked 1 = interrupt unmasked
DS3112 100 of 135 10. feac controller 10. 1 general description the DS3112 contains an onboard feac controller. when the device is operated in the t3 mode, the feac controller is only active in the c - bit parity mode. when the device is operated in the e3 mode, the user has the option to connect t he feac controller to the sn bit position. on the receive side, the feac controller is always connected to the receive e3 framer. if the host does not wish to use the feac controller for the sn bit, then the status updates provided by the feac controller a re ignored. on the transmit side, the host selects the source of the sn via the e3snc0 and e3snc1 controls bits in the t3/e3 control register (section 5.2). the DS3112 can both detect and generate far end alarm code words (feac). the feac code word is a r epeating 16 bit pattern of the form ...0xxxxxx011111111... where the rightmost bit is transmitted first. the feac code word must be transmitted at least 10 times. when no feac code word is being transmitted, the data pattern should be forced to all ones. the receive feac detector does a bit by bit search for a data pattern of the form of a feac code word. once found, the receive feac detector validates incoming code words by checking to see that the same code word is found in three consecutive opportuniti es. once validated, a code word is considered no longer present when it is received incorrectly twice in a row. once a code word is validated, the receive feac code word detect (rfcd) status bit is set and the code word is written into the receive feac fif o for the host to read. the host can use the rfcd status to know when to read the receive feac fifo. the receive feac fifo is four code words deep. if the fifo is full when the receive feac detector attempts to write a new incoming code word, the latest in coming code word(s) will be discarded and the receive feac fifo overflow (rffo) status bit will be set. the DS3112 can transmit two different feac code words. this is useful if the host wishes to generate a loopback command which is made up of 10 feac cod e words that indicate the type of loopback followed by 10 feac code words that indicate which line is to be looped back. 10.2 feac control register description register name: fcr register description: feac control register register address: 90h bit # 7 6 5 4 3 2 1 0 name tfs1 tfs0 tfca5 tfca4 tfca3 tfca2 tfca1 tfca0 default 0 0 0 0 0 0 0 0 bit # 15 14 13 12 11 10 9 8 name rfr ierfi tfcb5 tfcb4 tfcb3 tfcb2 tfcb1 tfcb0 default 0 - 0 0 0 0 0 0 note: bits that are underlined are read - only; all other bits are read - write.
DS3112 101 of 135 bits 0 to 5/transmit feac code word a data (tfca0 to tfca5). the feac code word is of the form ...0xxxxxx011111111... where the rightmost bit is transmitted first. these six bits are the middle six bits of the second byte of th e feac code word (i.e., the six ?x? bits). the device can generate two different code words and these six bits represent what will be transmitted for code word a. tfca0 is the lsb and is transmitted first while tfca5 is the msb and is transmitted last. the tfs0 and tfs1 control bits determine if this code word is to be generated. these bits should only be changed when the transmit feac controller is in the idle state (tfs0 = 0 and tfs1 = 0). bits 6 and 7/transmit feac code word select bits 0 and 1 (tfs0 an d tfs1). these two bits control what two available code words should be generated. both tfs0 and tfs1 are edge triggered. to change the action, the host must go back to the null state (tfs0 = tfs1 = 0) before proceeding to the desired action. wait a minimu m of (10) code words before changing to out - of - idle state. tfs1 tfs0 action 0 0 idle state; do not generate a feac code word (send all ones) 0 1 send 10 of code word a followed by all ones 1 0 send 10 of code word a followed by 10 of code word b follow ed by all ones 1 1 send code word a continuously (will be sent for at least 10 times) bits 8 to 13/transmit feac code word b data (tfcb0 to tfcb5). the feac code word is of the form ...0xxxxxx011111111... where the rightmost bit is transmitted first. t hese six bits are the middle six bits of the second byte of the feac code word (i.e., the six ?x? bits). the device can generate two different code words and these six bits represent what will be transmitted for code word b. tfcb0 is the lsb and is transmi tted first while tfcb5 is the msb and is transmitted last. the tfs0 and tfs1 control bits determine if this code word is to be generated. these bits should only be changed when the transmit feac controller is in the idle state (tfs0 = 0 and tfs1 = 0). bit 14/ interrupt enable, receive feac idle (ierfi). this bit masks or enables interrupts caused by the receive feac idle (rfi) bit in the fsr register. 0 = interrupt masked 1 = interrupt unmasked bit 15/receive feac controller reset (rfr). a zero to one t ransition will reset the receive feac controller and flush the receive feac fifo. this bit must be cleared and set again for a subsequent reset.
DS3112 102 of 135 10.3 feac status register description register name: fsr register description: feac status register regist er address: 92h bit # 7 6 5 4 3 2 1 0 name n/a n/a n/a n/a n/a n/a rfi rfcd default - - - - - - - - bit # 15 14 13 12 11 10 9 8 name rffo rffe rff5 rff4 rff3 rff2 rff1 rff0 default - - - - - - - - note: bits that are underlined are read - only; all other bits are read - write. bit 0/receive feac code word detected (rfcd). this latched read - only event - status bit will be set to a one each time the feac controller has detected and validated a new feac code word. this bit will be cleared when read and will not be set again until another new code word is detected. the setting of this bit can cause a hardware interrupt to occur if the feac bit in the interrupt mask for msr (imsr) register is set to a one. the interrupt will be allowed to clear when th is bit is read. bit 1/receive feac idle (rfi). this latched read - only event status bit will be set to a one each time the feac controller has detected 16 consecutive ones following a valid code word . this bit will be cleared when read. the setting of this bit can cause a hardware interrupt to occur if the ierfi bit in the feac control register (fcr) is set to one and the feac bit in the interrupt mask for msr (imsr) is set to one. bits 8 to 13/receive feac fifo data (rff0 to rff5). data from the receive f eac fifo can be read from these bits. the feac code word is of the form ...0xxxxxx011111111... where the rightmost bit is received first. these six bits are the debounced and integrated middle six bits of the second byte of the feac code word (i.e., the s ix ?x? bits). rff0 is the lsb and is received first while rff5 is the msb and is received last. bit 14/receive feac fifo empty (rffe). this read - only real time status bit will be set to a one when the receive feac fifo is empty and hence the rff0 to rff5 bits contain no valid information. bit 15/receive feac fifo overflow (rffo). this latched read - only event - status bit will be set to a one when the receive feac controller has attempted to write to an already full receive feac fifo and current incoming fea c code word is lost. this bit will be cleared when read and will not be set again until another fifo overflow occurs (i.e., the receive feac fifo has been read and then fills beyond capacity).
DS3112 103 of 135 11. jtag 11.1 jtag description the DS3112 device supports th e standard instruction codes sample/preload, bypass, and extest. optional public instructions included are high - z, clamp, idcode (figure 11.1a). the DS3112 contains the following items that meet the requirements set by the ieee 1149.1 standard test access port and boundary scan architecture: test access port (tap) tap controller instruction register bypass register boundary scan register device identification register the test access port has the necessary interface pins, namely jtclk, jtrst*, jtdi, jtdo, and jtms. details on these pins can be found in section 2.9. details on the boundary scan architecture and the test access port can be found in ieee 1149.1 - 1990, ieee 1149.1a - 1993, and ieee 1149.1b - 1994. jtag block diagram figure 11.1a boundary scan register identification register bypass register instruction register test access port controller mux select tri-state jtdi 10k jtms 10k jtclk jtrst* 10k jtdo
DS3112 104 of 135 11.2 tap contr oller state machine description this section describes the operation of the test access port (tap) controller state machine (figure 11.2a). the tap controller is a finite state machine that responds to the logic level at jtms on the rising edge of jtclk. tap controller state machine figure 11.2a test - logic - reset upon power - up of the DS3112, the tap controller will be in the test - logic - reset state. the instruction register will contain the idcode instruction. all system logic on the DS3112 will operate normally. run - test - idle run - test - idle is used between scan operations or during specific tests. the instruction register and test register will remain idle. select - dr - scan all test registers retain their previous state. with jt ms low, a rising edge of jtclk moves the controller into the capture - dr state and will initiate a scan sequence. jtms high moves the controller to the select - ir - scan state. test - logic - reset run - test/idle select dr - scan 1 0 capture - dr 1 0 shift - dr 0 1 exit1 - dr 1 0 pause - dr 1 exit2 - dr 1 update - dr 0 0 1 select ir - scan 1 0 capture - ir 0 shift - ir 0 1 exit1 - ir 1 0 pause - ir 1 exit2 - ir 1 update - ir 0 0 1 0 0 1 0 1 0 1
DS3112 105 of 135 capture - dr data can be parallel - loaded into the test data registers selected by the current instruction. if the instruction does not call for a parallel load or the selected register does not allow parallel loads, the test register will remain at its current value. on the rising edge of jtclk, the controller will go to the shift - dr state if jtms is low or it will go to the exit1 - dr state if jtms is high. shift - dr the test data register selected by the current instruction will be connected between jtdi and jtdo and will shift data one stage towards its serial output on each rising edge of jtclk. if a test register selected by the current instruction is not placed in the serial path, it will maintain its previous state. exit1 - dr while in this state, a rising edge on jtclk with jtms high will put the controller in the update - dr state which terminates the scanning process. a rising edge on jtclk with jtms low will put the controller in the pause - dr state. pause - dr shifting of the test registers is halted while in this state. all test registers selected by the current instruction will retain their previous state. the controller will remain in this state while jtms is low. a rising edge on jtclk with jtms high will put the controller in the exit2 - dr state. exit2 - dr while in this state, a rising edge on jtclk with jtms high will put the control ler in the update - dr state and terminate the scanning process. a rising edge on jtclk with jtms low will enter the shift - dr state. update - dr a falling edge on jtclk while in the update - dr state will latch the data from the shift register path of the test registers into the data output latches. this prevents changes at the parallel output due to changes in the shift register. a rising edge on jtclk with jtms low will put the controller in the run - test - idle state. with jtms high, the controller will enter th e select - dr - scan state. select - ir - scan all test registers retain their previous state. the instruction register will remain unchanged during this state. with jtms low, a rising edge on jtclk moves the controller into the capture - ir state and will initiate a scan sequence for the instruction register. jtms high during a rising edge on jtclk puts the controller back into the test - logic - reset state. capture - ir the capture - ir state is used to load the shift register in the instruction register with a fixed va lue. this value is loaded on the rising edge of jtclk. if jtms is high on the rising edge of jtclk, the controller will enter the exit1 - ir state. if jtms is low on the rising edge of jtclk, the controller will enter the shift - ir state.
DS3112 106 of 135 shift - ir in this st ate, the shift register in the instruction register is connected between jtdi and jtdo and shifts data one stage for every rising edge of jtclk towards the serial output. the parallel register, as well as all test registers remain at their previous states. a rising edge on jtclk with jtms high will move the controller to the exit1 - ir state. a rising edge on jtclk with jtms low will keep the controller in the shift - ir state while moving data one stage through the instruction shift register. exit1 - ir a risin g edge on jtclk with jtms low will put the controller in the pause - ir state. if jtms is high on the rising edge of jtclk, the controller will enter the update - ir state and terminate the scanning process. pause - ir shifting of the instruction register is ha lted temporarily. with jtms high, a rising edge on jtclk will put the controller in the exit2 - ir state. the controller will remain in the pause - ir state if jtms is low during a rising edge on jtclk. exit2 - ir a rising edge on jtclk with jtms high will put the controller in the update - ir state. the controller will loop back to the shift - ir state if jtms is low during a rising edge of jtclk in this state. update - ir the instruction shifted into the instruction shift register is latched into the parallel outpu t on the falling edge of jtclk as the controller enters this state. once latched, this instruction becomes the current instruction. a rising edge on jtclk with jtms low will put the controller in the run - test - idle state. with jtms high, the controller will enter the select - dr - scan state. 11.3 instruction register and instructions the instruction register contains a shift register as well as a latched parallel output and is 3 bits in length. when the tap controller enters the shift - ir state, the instructi on shift register will be connected between jtdi and jtdo. while in the shift - ir state, a rising edge on jtclk with jtms low will shift data one stage towards the serial output at jtdo. a rising edge on jtclk in the exit1 - ir state or the exit2 - ir state wit h jtms high will move the controller to the update - ir state. the falling edge of that same jtclk will latch the data in the instruction shift register to the instruction parallel output. instructions supported by the DS3112 and their respective operational binary codes are shown in table 11.3a. instruction codes table 11.3a instructions selected register instruction codes sample/preload boundary scan 010 bypass bypass 111 extest boundary scan 000 clamp bypass 011 high - z bypass 100 idcode device iden tification 001
DS3112 107 of 135 sample/preload a mandatory instruction for the ieee 1149.1 specification that supports two functions. the digital i/os of the DS3112 can be sampled at the boundary scan register without interfering with the normal operation of the device by using the capture - dr state. sample/preload also allows the DS3112 to shift data into the boundary scan register via jtdi using the shift - dr state. extest extest allows testing of all interconnections to the DS3112. when the extest instruction is latched in the instruction register, the following actions occur. once enabled via the update - ir state, the parallel outputs of all digital output pins will be driven. the boundary scan register will be connected between jtdi and jtdo. the capture - dr will sample a ll digital inputs into the boundary scan register. bypass when the bypass instruction is latched into the parallel instruction register, jtdi connects to jtdo through the one - bit bypass test register. this allows data to pass from jtdi to jtdo not affecti ng the device's normal operation. idcode when the idcode instruction is latched into the parallel instruction register, the identification test register is selected. the device identification code will be loaded into the identification register on the ris ing edge of jtclk following entry into the capture - dr state. shift - dr can be used to shift the identification code out serially via jtdo. during test - logic - reset, the identification code is forced into the instruction register's parallel output. the device id code will always have a one in the lsb position. the next 11 bits identify the manufacturer?s jedec number and number of continuation bytes followed by 16 bits for the device and 4 bits for the version. the device id code for the DS3112 is 0000b143h . high - z all digital outputs will be placed into a high impedance state. the bypass register will be connected between jtdi and jtdo. clamp all digital outputs will output data from the boundary scan parallel output while connecting the bypass register betw een jtdi and jtdo. the outputs will not change during the clamp instruction. 11.4 test registers ieee 1149.1 requires a minimum of two test registers, the bypass register and the boundary scan register. an optional test register, the identification regi ster, has been included in the DS3112 design. it is used in conjunction with the idcode instruction and the test - logic - reset state of the tap controller. bypass register this is a single one - bit shift register used in conjunction with the bypass, clamp, a nd high - z instructions that provides a short path between jtdi and jtdo. identification register the identification register contains a 32 - bit shift register and a 32 - bit latched parallel output. this register is selected during the idcode instruction and when the tap controller is in the test - logic - reset state.
DS3112 108 of 135 boundary scan register this register contains both a shift register path and a latched parallel output for all control cells and digital i/o cells and is 196 bits in length. table 11.4a shows all of the cell bit locations and definitions. boundary scan control bits table 11.4a bit symbol pin i/o or control bit description 0 out_enb control bit 0 = outputs are active 1 = outputs are 3 - state ( ?z? ) 1 test c3 i 2 cint_enb_n control bit 0 = cint * is a zero ( ?0? ) 1 = cint* is 3 - state ( ?z? ) 3 cint_out a2 o (open drain) 4 cint_in a2 i 5 cms b2 i 6 cim b3 i 7 ccs* c4 i 8 crd* d5 i 9 cwr* a3 i 10 t3e3ms b4 i 11 rst* c5 i 12 g.747e b6 i 13 cale c7 i 14 frmecu a7 i 15 frlof c8 o 16 frl os b8 o 17 frsof a8 o 18 frden c9 o 19 frd b9 o 20 frclk a9 o 21 ftden c10 o 22 ftd b10 i 23 ftclk a10 i 24 ftsof_enb_n control bit 1 = ftsof is an input 0 = ftsof is an output 25 ftsof_out a11 o 26 ftsof_in a11 i 27 ftmei c11 i 28 hrneg c12 i 29 hrclk a13 i 30 hrpos b13 i 31 htneg a14 o 32 htclk b14 o 33 htpos c14 o 34 ltcclk g19 i 35 lrcclk g20 i
DS3112 109 of 135 bit symbol pin i/o or control bit description 36 ltclk28 h18 i 37 ltdat28 h19 i 38 lrclk28 h20 o 39 lrdat28 j18 o 40 ltclk27 j19 i 41 ltdat27 j20 i 42 lrclk27 k18 o 43 lrdat27 k19 o 44 ltclk26 k20 i 45 ltdat26 l20 i 46 lrclk26 l18 o 47 lrdat26 l19 o 48 ltclk25 m20 i 49 ltdat25 m19 i 50 lrclk25 m18 o 51 lrdat25 m17 o 52 ltclk24 n20 i 53 ltdat24 n19 i 54 lrclk24 n18 o 55 lrdat24 p20 o 56 ltclk23 p19 i 57 ltdat23 p18 i 58 lrclk23 r20 o 59 lrdat23 r19 o 60 ltclk22 p17 i 61 ltdat22 r18 i 62 lrclk22 t20 o 63 lrdat22 t19 o 64 ltclk21 t18 i 65 ltdat21 u20 i 66 lrclk21 v20 o 67 lrdat21 t17 o 68 ltclk20 u18 i 69 ltdat20 u19 i 70 lrclk20 v19 o 71 lrdat20 w20 o 72 l tclk19 y20 i 73 ltdat19 w19 i 74 lrclk19 v18 o 75 lrdat19 y19 o 76 ltclk18 w18 i 77 ltdat18 v17 i 78 lrclk18 u16 o 79 lrdat18 y18 o 80 ltclk17 w17 i 81 ltdat17 v16 i
DS3112 110 of 135 bit symbol pin i/o or control bit description 82 lrclk17 y17 o 83 lrdat17 w16 o 84 ltclk16 v15 i 85 ltdat16 u14 i 86 lrclk 16 y16 o 87 lrdat16 w15 o 88 ltclk15 v14 i 89 ltdat15 y15 i 90 lrclk15 w14 o 91 lrdat15 y14 o 92 ltclk14 v13 i 93 ltdat14 w13 i 94 lrclk14 y13 o 95 lrdat14 v12 o 96 ltclk13 w12 i 97 ltdat13 y12 i 98 lrclk13 v11 o 99 lrdat13 w11 o 100 ltclk12 y11 i 101 ltdat12 y10 i 102 lrclk12 v10 o 103 lrdat12 w10 o 104 ltclk11 y9 i 105 ltdat11 w9 i 106 lrclk11 v9 o 107 lrdat11 u9 o 108 ltclk10 y8 i 109 ltdat10 w8 i 110 lrclk10 v8 o 111 lrdat10 y7 o 112 ltclk9 w7 i 113 ltdat9 v7 i 114 lrclk9 y6 o 115 lrdat9 w6 o 116 ltclk8 u7 i 117 ltdat8 v6 i 118 lrclk8 y5 o 119 lrdat8 w5 o 120 ltclk7 v5 i 121 ltdat7 y4 i 122 lrclk7 y3 o 123 lrdat7 u5 o 124 ltclk6 v4 i 125 ltdat6 w4 i 126 lrclk6 y2 o 127 lrdat6 w3 o
DS3112 111 of 135 bit symbol pin i/o or control bit description 128 ltclk5 v3 i 129 ltdat5 w1 i 130 lrclk5 v2 o 131 lrdat5 u3 o 132 ltclk4 t4 i 133 ltdat4 v1 i 134 lrclk4 u2 o 135 lrdat4 t3 o 136 ltclk3 u1 i 137 ltdat3 t2 i 138 lrclk3 r3 o 139 lrdat3 p4 o 140 ltclk2 r2 i 141 ltdat2 p3 i 142 lrclk2 r1 o 143 lrdat2 p2 o 144 ltclk1 p1 i 145 ltdat1 n3 i 146 lrclk1 n2 o 147 lrdat1 n1 o 148 ltclkb m3 i 149 ltdatb m2 i 150 lrclkb m1 o 151 lrdatb l3 o 152 ltclka l2 i 153 ltdata l1 i 154 lrclka k1 o 155 lrdata k3 o 156 ca7 k2 i 157 ca6 j1 i 158 ca5 j2 i 159 ca4 j3 i 160 ca3 j4 i 161 ca2 h1 i 162 ca1 h2 i 163 ca0 h3 i 164 cd15_out g1 o 165 cd15_in g1 i 166 cd14_out g2 o 167 cd14_in g2 i 168 cd13_out g3 o 169 cd13_in g3 i 170 cd12_out f1 o 171 cd12_in f1 i 172 cd11_out f2 o 173 cd11_in f2 i
DS3112 112 of 135 bit symbol pin i/o or control bit description 174 cd10_out g4 o 175 cd10 _in g4 i 176 cd9_out f3 o 177 cd9_in f3 i 178 cd8_out e1 o 179 cd8_in e1 i 180 cd7_out e2 o 181 cd7_in e2 i 182 cd6_out e3 o 183 cd6_in e3 i 184 cd5_out d1 o 185 cd5_in d1 i 186 cd4_out c1 o 187 cd4_in c1 i 188 cd3_out e4 o 189 cd3_in e4 i 1 90 cd2_out d3 o 191 cd2_in d3 i 192 cd1_out d2 o 193 cd1_in d2 i 194 cd0_out c2 o 195 cd0_in c2 i 196 cd_enb_n control bit 1 = cd is an input 0 = cd is an output
DS3112 113 of 135 12. electrical char acteristics absolute maximum ratings* voltage range on any pin w ith respect to v ss (except v dd ) - 0.3v to 5.5v supply voltage (v dd ) range with respect to v ss - 0.3v to 3.63v operating temperature range 0c to +70c storage temperature range - 55c to +125c soldering temperature range see j - std - 020a specification * thi s is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time can affect reliability. note: the typical values listed below are not production tested. recommend dc operating conditions (0 c to +70 c for DS3112; - 40 to +85 c for DS3112n) parameter symbol min typ max units notes logic 1 v ih 2.2 5.5 v logic 0 v il - 0.3 0.8 v supply (v dd ) v dd 3.135 3.465 v dc characteristics (0 c to +70 c; v dd = 3.3v 5% for DS3112; - 40 c to +85 c; v dd = 3.3v 5% for DS3112n) parameter symbol min typ max units notes supply current @ v dd = 3.465v i dd 150 ma 1 pin c apacitance c io 7 pf input leakage i il - 10 +10 ua 2 input leakage (w/pullups) i ilp - 500 +500 ua 2 output leakage i lo - 10 +10 ua 3 output current (2.4v) i oh - 4.0 ma output current (0.4v) i ol +4.0 ma notes: 1) ftclk = hrclk = 44.736mhz and ltc lk1 to ltclk28 = 1.544mhz; other inputs at v dd or grounded; other outputs left open - circuited. 2) 0v < v in < v dd. 3) outputs in 3 - state.
DS3112 114 of 135 ac characteristics ? low speed (t1 and e1) ports (0 c to +70 c; v dd = 3.3v 5% for DS3112; - 40 c to +85 c; v dd = 3.3v 5% for DS3112n) parameter symbol min typ max units notes lrclk/lrcclk/ltclk/ltcclk clock period t1 t1 648 488 ns ns 1 2 lrclk clock high time t2 t2 294 204 324 244 354 284 ns ns 1 2 ltclk/ltcclk/lrcclk clock high time t2 100 ns lrclk clock low time t3 t 3 294 204 324 244 354 284 ns ns 1 2 ltclk/ltcclk/lrcclk clock low time t3 100 ns ltdat set - up time to the falling edge or rising edge of ltclk/ltcclk t4 50 ns ltdat hold time from the falling edge or rising edge of ltclk/ltcclk t5 50 ns delay from the rising edge or falling edge of lrclk to data valid on lrdat t6 50 ns delay from the rising edge or falling edge of lrcclk to data valid on lrdat t6 100 ns 5 notes: 1) t3 mode. 2) e3 mode. 3) in normal mode, ltdat is sampled on the falling edge of l tclk/ltcclk and lrdat is updated on the rising edge of lrclk/lrcclk. 4) in inverted mode, ltdat is sampled on the rising edge of ltclk/ltcclk and lrdat is updated on the falling edge of lrclk/lrcclk. 5) lrcclk is enabled. (see section 4.2 and figures 1a and 1b a nd 1c for details.)
DS3112 115 of 135 low speed (t1 and e1) port ac timing diagram figure 12a ac characteristics ? high speed (t3 and e3) ports (0 c to +70 c; v dd = 3.3v 5% for DS3112; - 40 c to +85 c; v dd = 3.3v 5% for DS3112n) parameter symbol min typ max units notes hrclk/htclk clock period t1 t1 22.4 29.1 ns ns 1, 3 2, 3 hrclk clock low time t2 9 ns hrclk clock high time t3 9 ns hrpos/hrneg set - up time to the rising edge or falling edge of hrclk t4 3 ns hrpos/hrneg hold time from the rising edge or f alling edge of hrclk t5 3 ns delay from the rising edge or falling edge of htclk to data valid on htpos/htneg t6 3 10 ns notes: 1) t3 mode. 2) e3 mode. 3) htclk is a buffered version of either ftclk or hrclk and, as such, the duty cycle of htclk is determin ed by the source clock. 4) in normal mode, hrpos and hrneg are sampled on the rising edge of hrclk and htpos and htneg are updated on the rising edge of htclk. 5) in inverted mode, hrpos and hrneg are sampled on the falling edge of hrclk and htpos and htneg are updated on the falling edge of htclk. lrdat ltdat t4 t5 t6 t1 t2 t3 lrclk (or lrcclk) / ltclk (or ltcclk) normal mode ls_ac lrclk (or lrcclk) / ltclk (or ltcclk) inverted mode
DS3112 116 of 135 high speed (t3 and e3) port ac timing diagram figure 12b ac characteristics ? framer (t3 and e3) ports (0 c to +70 c; v dd = 3.3v 5% for DS3112; - 40 c to +85 c; v dd = 3.3v 5% for DS3112n) parameter symbol min typ max units notes frclk/ftclk clock period t1 t1 22.4 29.1 ns ns 1, 3 2, 3 ftclk clock low time t2 9 ns ftclk clock high time t3 9 ns ftd/ftsof set - up time to the rising edge or falling edge of ftclk t4 3 ns 4 ftd/ftsof hold time from the ris ing edge or falling edge of ftclk t5 3 ns 4 delay from the rising edge or falling edge of frclk/ftclk to data valid on frden/frd/ frsof/ftden/ftsof t6 3 10 ns 5 notes: 1) t3 mode. 2) e3 mode. 3) frclk is a buffered version of either ftclk or hrclk and, as su ch, the duty cycle of frclk is determined by the source clock. 4) ftsof is configured to be an input. 5) ftsof is configured to be an output. 6) in normal mode, ftd (and ftsof if it is configured as an input) is sampled on the rising edge of ftclk and frden, frd, f rsof, and ftden (and ftsof if it is configured as an output) are updated on the rising edge of frclk or ftclk. 7) in inverted mode, ftd (and ftsof if it is configured as an input) is sampled on the falling edge of ftclk and frden, frd, frsof, and ftden (and f tsof if it is configured as an output) are updated on the falling edge of frclk or ftclk hrclk / htclk normal mode hrpos / hrneg htpos / htneg t4 t5 t6 t1 t2 t3 hrclk / htclk inverted mode ls_ac
DS3112 117 of 135 framer (t3 and e3) port ac timing diagram figure 12c ac characteristics ? cpu bus (0 c to 70 c; v dd = 3.3v 5% for DS3112; - 40 c to +85 c; v dd = 3.3v 5% for DS3112 n) parameter symbol min typ max units notes set - up time for ca[7:0] valid to ccs* active t1 0 ns set - up time for ccs* active to crd*, cwr*, or cds* active t2 0 ns delay time from crd* or cds* active to cd[15:0] valid t3 65 ns hold time from cr d* or cwr* or cds* inactive to ccs* inactive t4 0 ns hold time from ccs* or crd* or cds* inactive to cd[15:0] 3 - state t5 5 20 ns wait time from cwr* or cds* active to latch cd[15:0] t6 65 ns cd[15:0] set up time to cwr* or cds* inactive t7 10 ns cd[15:0] hold time from cwr* or cds* inactive t8 2 ns ca[7:0] hold from cwr* or crd* or cds* inactive t9 5 ns frclk / ftclk normal mode ftd / ftsof frd / frden / frsof / ftsof / ftden t4 t5 t6 t1 t2 t3 frclk / ftclk inverted mode ls_ac
DS3112 118 of 135 parameter symbol min typ max units notes crd*, cwr* or cds* inactive time t10 75 ns muxed address valid to cale falling t11 10 ns 2 muxed address hold time t12 10 ns 2 cale pulse width t13 30 ns 2 setup time for cale high or muxed address valid to ccs* active t14 0 ns 2 notes: 1) in nonmultiplexed bus applications (figure 12d), cale should be tied high. 2) in multiplexed bus applications (figure 12e), ca[7:0] should be tied to cd[7:0] and the falling edge of cale will latch the address. cpu bus ac timing diagram (nonmultiplexed) figure 12d intel read cycle intel write cycle address valid data valid ca[7:0] cd[15:0] cwr* ccs* crd* t1 t2 t3 t4 t5 t9 t10 address valid ca[7:0] cd[15:0] crd* ccs* cwr* t1 t2 t6 t4 t7 t8 cpu_ac t9 t10
DS3112 119 of 135 cpu bus ac timing diagram (nonmultiplexed) figure 12d (continued) motorola read cycle motorola write cycle address valid data valid ca[7:0] cd[15:0] cr/w* ccs* cds* t1 t2 t3 t4 t5 t9 t10 address valid ca[7:0] cd[15:0] cr/w* ccs* cds* t1 t2 t6 t4 t7 t8 cpu_ac t9 t10
DS3112 120 of 135 cpu bus ac timing diagram (multiplexed) figure 12e intel read cycle note: t14 starts on the occurrence of either the rising edge of cale or a valid address, whichever occurs first. intel write cycle note: t14 starts on t he occurrence of either the rising edge of cale or a valid address, whichever occurs first. address valid data valid ca[7:0] cd[15:0] cwr* ccs* crd* t1 t2 t3 t4 t5 t10 cale t11 t12 t13 t14 t14 cd[15:0] crd* ccs* cwr* t1 t2 t6 t4 t7 t8 t10 address valid ca[7:0] cale t11 t12 t13 t14 t14
DS3112 121 of 135 cpu bus ac timing diagram (multiplexed) figure 12e (continued) motorola read cycle note: t14 starts on the occurrence of either the rising edge of cale or a v alid address, whichever occurs first. motorola write cycle note: t14 starts on the occurrence of either the rising edge of cale or a valid address, whichever occurs first. data valid cd[15:0] cr/w* ccs* cds* t1 t2 t3 t4 t5 t10 address valid ca[7:0] cale t11 t12 t13 t14 t14 cd[15:0] cr/w* ccs* cds* t1 t2 t6 t4 t7 t8 t10 address valid ca[7:0] cale t11 t12 t13 t14 t14
DS3112 122 of 135 ac characteristics ? jtag test port interface (0 c to +70 c; v dd = 3.3v 5% for DS3112; - 40 c to +85 c; v dd = 3.3v 5% for DS3112n) parameter symbol min typ max units notes jtclk clock period t1 1000 ns jtclk clock low time t2 400 ns jtclk clock high time t3 400 ns jtms/jtdi set - up time to the rising edge of jtclk t4 50 ns jtms/jtdi hold time from the rising edge of jtclk t5 50 ns delay time from the falling edge of jtclk to data valid on jtdo t6 2 50 ns jtag test port interface ac timing diagram figure 12f ac characteristics ? reset and manual error counter / insert signals (0 c to +70 c; v dd = 3.3v 5% for DS3112; - 40 c to +85 c; v dd = 3.3v 5% for DS3112n) parameter symbol min typ max units notes rst* low time t1 1000 ns frmecu/ftmei high time t2 50 ns frmecu/ftmei low time t3 1000 ns jtclk jtms / jtdi jtdo t4 t5 t6 t1 t2 t3 jtag_ac
DS3112 123 of 135 reset and manual error counter/insert ac timing diagram figure 12g rst* t1 frmecu / ftmei t2 t3
DS3112 124 of 135 13. mechanical dimensions
DS3112 125 of 135 14. applications an d standards overview 14.1 application examples figures 14.1a and 14.1b detail two possible applications of the DS3112. figure 14.1a show s an example of a channelized t3/e3 application. it shows the DS3112 being used to multiplex and demultiplex a t3/e3 data stream into either 28 t1 data streams or 16 e1 data streams. the demultiplexed t1/e1 data streams are fed into the ds21ff42/44 16 chan nel t1/e1 framer and the ds21ft42 12 channel t1 framer devices. the t1/e1 framers locate the frame boundaries and concatenate four t1/e1 data streams into one 8.192mhz data stream, which is feed into the ds3134 hdlc controller. figure 14.1b shows an exampl e of a dual unchannelized t3/e3 application. in this application, the multiplexing capability of the DS3112 is disabled and it is only used as a t3/e3 framer. channelized t3/e3 application figure 14.1a ds3134 chateau 256 channel hdlc controller ds21ff42/ ds21ff44 16 channel t1/e1 framer ds21ft42 12 channel t1 framer DS3112 tempe t3/e3 framer & m13/ e13/ g747 mux ds3150 t3/e3 line interface t3/e3 line pci bus oc-3/ oc-12/ oc-48 mux optical i/f bipolar i/f nrz i/f - or - t1/e1 datastreams 8.192mhz i/f 8.192mhz i/f
DS3112 126 of 135 unchannelized dual t3/e3 application figure 14.1b 14.2 m13 basics m13 multiplexing is a two - step process of merging 28 t1 lines into a single t3 line. first, four of the t1 lines are merged into a single t2 rate and then seven t2 rates are merged to form the t3. the first step of this process is calle d a m12 function since it is merging t1 lines into t2. the second step of this process is called a m23 function since it is merging t2 lines into a t3. the term m13 implies that both m12 and m23 are being performed to map 28 t1 lines into the t3. these two steps are independent and will be discussed separately. t carrier rates table 14.2a t carrier level nominal data rate (mbps) t1/ds1 1.544 t2/ds2 6.312 t3/ds3 44.736 t2 framing structure to understand the m12 function users must understand t2 framin g. the t2 frame structure is made up of four subframes called m subframes (figure 14.2a). the four m subframes are transmitted one after another (...m1/m2/m3/m4/m1/m2...) to make up the complete t2 m frame data structure. each m subframe is made up of six blocks and each block is made up of 49 bits. the first bit of each block is dedicated to overhead and the next 48 bits are the information bits where the t1 data will be placed for transport. the definitions of the overhead bits are shown in table 14.2b an d the placements of the overhead bits are shown in figure 14.2a. ds3134 chateau 256 channel hdlc controller pci bus DS3112 tempe t3/e3 framer & m13/ e13/ g747 mux ds3150 t3/e3 line interface t3/e3 line oc-3/ oc-12/ oc-48 mux optical i/f bipolar i/f nrz i/f - or - DS3112 tempe t3/e3 framer & m13/ e13/ g747 mux ds3150 t3/e3 line interface t3/e3 line oc-3/ oc-12/ oc-48 mux optical i/f bipolar i/f nrz i/f - or - 44.2mbps (t3) or 34mbps (e3) datastream 44.2mbps (t3) or 34mbps (e3) datastream
DS3112 127 of 135 t2 overhead bit assignments table 14.2b overhead bit description m bits (m1/m2/m3) the m bits provide the frame alignment pattern for the four m subframes. like all framing patterns, the m bits are fixed to a certain state (m1 = 0 / m2 = 1 / m3 = 1). f bits (f1/f2) the f bits provide the frame alignment pattern for the m frame. like all framing patterns, the f bits are fixed to a certain state (f1 = 0 / f2 = 1). c bits (c1/c2/c3) in the m1 2 application, the c bits are used to indicate when stuffing occurs. if all three c bits within a subframe are set to 1, then stuffing has occurred in the stuff block of that subframe. if all three c bits are set to zero, then no stuffing has occurred. wh en the three c bits are not equal, a majority vote is used to determine the true state. the exception to this rule is when the c3 bit is the inverse of c1 and c2. when this occurs, it indicates that the t1 signal should be looped back. x bit the x bit is used as a remote alarm indication (rai). it will be set to a zero (x = 0) when the t2 framer cannot synchronize. it will be set to a one (x = 1) otherwise. m12 multiplexing the m12 function multiplexes four t1 lines into a single t2 line. since there ar e four m subframes in the t2 framing structure, it might be concluded that each m subframe supports one t1 line but this is not the case. the four t1 lines are bit interleaved into the t2 framing structure. a bit from t1 line #1 is placed immediately after the overhead bit, followed by a bit from t1 line #2, which is followed by a bit from t1 line #3, which is followed by a bit from t1 line #4, and then the process repeats. since there are 48 information bits in each block, there are 12 bits from each t1 li ne in a block. the second and fourth t1 lines are logically inverted before the bit interleaving occurs. the four t1 lines are mapped asynchronously into the t2 data stream. this implies that there is no t1 framing information passed to the t2 level. the four t1 lines can have independent timing sources and they do not need to be timing locked to the t2 clock. to account for differences in timing, bit stuffing is used. the last block of each m subframe is the stuff block (figure 14.2a). in each stuff blo ck there is an associated stuff bit (figure 14.2b) that will be either an information bit (if the three c bits are decoded to be a zero) or a stuff bit (if the three c bits are decoded to be a one). as shown in figure 14.2b the position of the stuff bit va ries depending on the m subframe. this is done to allow a stuffing opportunity to occur on each t1 line in every t2 m frame. for example, if the c bits in m subframe 2 were all set to one, then the second bit after the f2 overhead bit in the last block wou ld be a stuff bit instead of an information bit.
DS3112 128 of 135 t2 m - frame structure figure 14.2a m1 subframe stuff block m1 (0) 48 info bits c1 48 info bits f1 (0) 48 info bits c2 48 info bits c3 48 info bits f2 (1) 48 info bits m2 subframe stuff block m2 (1) 48 info bits c1 48 info bits f1 (0) 48 info bits c2 48 info bits c3 48 info bits f2 (1) 48 info bits m3 subframe stuff block m3 (1) 48 info bits c1 48 info bits f1 (0) 48 info bits c2 48 info bits c3 48 info bits f2 (1) 48 info bits m4 subf rame stuff block x 48 info bits c1 48 info bits f1 (0) 48 info bits c2 48 info bits c3 48 info bits f2 (1) 48 info bits note: m1 is transmitted and received first. t2 stuff block structure figure 14.2b m1 subframe f2 stuff bit 1 info bit 2 info bit 3 info bit 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 48 m2 subframe f2 info bit 1 stuff bit 2 info bit 3 info bit 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 48 m3 subframe f2 info bit 1 info bit 2 stuff bit 3 info bit 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 48 m4 subframe f2 info bit 1 info bit 2 info bit 3 stuff bit 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 48
DS3112 129 of 135 t3 framing structure as with m12, to understand the m2 3 function requires an understanding of t3 framing. the t3 frame structure is very similar to the t2 frame structure; however, it is made up of seven m subframes (figure 14.2c). the seven m subframes are transmitted one after another (...m1/m2/m3/.../ m6/m 7m1/m2...) to make up the complete t3 m frame structure. each m subframe is made up of eight blocks and each block is made up of 85 bits. the first bit of each block is dedicated to overhead and the next 84 bits are the information bits where the t2 data w ill be placed for transport. the definitions of the overhead bits are shown in table 14.2c and the placements of the overhead bits are shown in figure 14.2c. t3 overhead bit assignments table 14.2c overhead bit description m bits (m1/m2/m3) the m bits p rovide the frame alignment pattern for the seven m subframes. like all framing patterns, the m bits are fixed to a certain state (m1 = 0 / m2 = 1 / m3 = 0). f bits (f1/f2/f3/f4) the f bits provide the frame alignment pattern for the m frame. like all fram ing patterns, the f bits are fixed to a certain state (f1 = 1 / f2 = 0 / f3 = 0 / f4 = 1). c bits (c1/c2/c3) in the m23 application, the c bits are used to indicate when stuffing occurs. if all three c bits within a subframe are set to 1, then stuffing ha s occurred in the stuff block of that subframe. if all three c bits are set to zero, then no stuffing has occurred. when the three c bits are not equal, a majority vote is used to determine the true state. in the c - bit parity application, the c bits are defined as shown in table 14.2d. p bits (p1/p2) the p bits provide parity information for the preceding m frame (not including the m, f, x, and c overhead bits). p1 and p2 are always the same value (if they are not the same value, this implies a parity er ror). x bits (x1/x2) the x bit is used as a remote alarm indication (rai). it will be set to a zero (x1 = x2 = 0) when the t3 framer cannot synchronize or detects ais. it will be set to a one (x1 = x2 = 1) otherwise. the value of the x bits should not ch ange more than once per second. x1 and x2 are always the same value. m23 multiplexing the m23 function multiplexes seven t2 data streams into a single t3 data stream. the seven t2 data streams are bit interleaved into the t3 framing structure. a bit from t2 line #1 is placed immediately after the overhead bit in the information bit field, followed by a bit from t2 line #2, and so on. since there are 84 information bits in each block, there are 12 bits from each t2 line in a block. the seven t2 lines are mapped asynchronously into the t3 data stream. this implies that there is no t2 framing information passed to the t3 level. the seven t2 lines can have independent timing sources and they do not need to be timing locked to the t3 clock. to account for dif ferences in timing, bit stuffing is used. the last block of each m subframe is the stuff block (figure 14.2c). in each stuff block there is an associated stuff bit (figure 14.2d) that will be either an information bit (if the three c bits are decoded to be zero) or a stuff bit (if the three c bits are decoded to be a one). as shown in figure 14.2d, the position of the stuff bit varies depending on the m subframe. this is done to allow a stuffing opportunity to occur on each t2 line in every t3 frame. for ex ample, if the c bits in m subframe 5 were all set to one, then the fifth bit after the f4 overhead bit in the last block would be a stuff bit instead of an information bit.
DS3112 130 of 135 c - bit parity mode unlike the m23 application that uses the c bits for stuffing, th e c - bit parity mode assumes that a stuff bit should be placed at every opportunity and, hence, the c bits can be used for other purposes. see table 14.2d for a list of how the c bits are redefined in the c - bit parity mode. c bit assignment for c - bit parit y mode table 14.2d m subframe number c bit number function description 1 1 2 3 application id reserved far end alarm and control (feac) this bit (which is fixed to a value of 1) identifies the t3 data stream as operating in c - bit parity mode. must be set to one (1). a serial communications channel that contains a repeating 16 - bit code word that indicates the state of the far - end and can control the near - end by invoking loopbacks both on the t3 and t1 lines. if no code words are being sent, the cha nnel contains all ones. 2 1 2 3 unused unused unused all unused bits are set to a one (1). 3 1 2 3 c - bit parity (cp) c - bit parity (cp) c - bit parity (cp) all three cp bits are set to the same value as the two p bits. if the three cp bits are not equal, a majority vote is used to decode the true value. 4 1 2 3 febe febe febe all three far end block error (febe) bits shall be set to one (111) if the local t3 framer did not incur an error in either the m bits or f bits nor has it detected a cp parity error. the febe bits are set to any value except 111 when an error is detected in the m bits or f bits or if a cp parity error is detected. during an lof event, these bits are set to 000. 5 1 2 3 data link data link data link these three c bits make up a 28.2kb ps hdlc (lapd) maintenance data link over which three 76 octet messages are sent from the local end to the remote end once a second. 6 1 2 3 unused unused unused must be set to 1. must be set to 1. must be set to 1. 7 1 2 3 unused unused unused mu st be set to 1. must be set to 1. must be set to 1.
DS3112 131 of 135 t3 m - frame structure figure 14.2c m1 subframe stuff block x1 84 info bits f1 (1) 84 info bits c1 84 info bits f2 (0) 84 info bits c2 84 info bits f3 (0) 84 info bits c3 84 info bits f4 (1) 84 info bits m2 subframe stuff block x2 84 info bits f1 (1) 84 info bits c1 84 info bits f2 (0) 84 info bits c2 84 info bits f3 (0) 84 info bits c3 84 info bits f4 (1) 84 info bits m3 subframe stuff block p1 84 info bits f1 (1) 84 info bits c1 84 info bits f2 (0) 84 info bits c2 84 info bits f3 (0) 84 info bits c3 84 info bits f4 (1) 84 info bits m4 subframe stuff block p2 84 info bits f1 (1) 84 info bits c1 84 info bits f2 (0) 84 info bits c2 84 info bits f3 (0) 84 info bits c3 84 info bits f4 (1) 84 info bits m5 subframe stuff block m1 (0) 84 info bits f1 (1) 84 info bits c1 84 info bits f2 (0) 84 info bits c2 84 info bits f3 (0) 84 info bits c3 84 info bits f4 (1) 84 info bits m6 s ubframe stuff block m2 (1) 84 info bits f1 (1) 84 info bits c1 84 info bits f2 (0) 84 info bits c2 84 info bits f3 (0) 84 info bits c3 84 info bits f4 (1) 84 info bits m7 subframe stuff block m3 (0) 84 info bits f1 (1) 84 info bits c1 84 info bits f2 (0) 84 info bits c2 84 info bits f3 (0) 84 info bits c3 84 info bits f4 (1) 84 info bits note: x1 is transmitted and received first.
DS3112 132 of 135 t3 stuff block structure figure 14.2d m1 subframe f4 stuff bit 1 info bit 2 info bit 3 info bit 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 84 m2 subframe f4 info bit 1 stuff bit 2 info bit 3 info bit 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 84 m3 subframe f4 info bit 1 info bit 2 stuff bit 3 info b it 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 84 m4 subframe f4 info bit 1 info bit 2 info bit 3 stuff bit 4 info bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 84 m5 subframe f4 info bit 1 info bit 2 info bit 3 info bit 4 st uff bit 5 info bit 6 info bit 7 info bit 8 ...... info bit 84 m6 subframe f4 info bit 1 info bit 2 info bit 3 info bit 4 info bit 5 stuff bit 6 info bit 7 info bit 8 ...... info bit 84 m7 subframe f4 info bit 1 info bit 2 info bit 3 info bit 4 info bit 5 info bit 6 stuff bit 7 info bit 8 ...... info bit 84 14.3 e13 basics e13 multiplexing is a two - step process of merging 16 e1 lines into a single e3 line. first, four of the e1 lines are merged into a single e2 rate and then four e2 rates are merged to form the e3. the first step of this process is called a e12 function since it is merging e1 lines into e2. the second step of this process is called a e23 function since it is merging e2 lines into a e3. the term e13 implies that both e12 and e23 are be ing performed to map 16 e1 lines into the e3. these two steps are independent and will be discussed separately. e carrier rates table 14.3a e carrier level nominal data rate (mbps) e1 2.048 e2 8.448 e3 34.368 e2 framing structure and e12 multiplexin g the e2 frame structure is made up of four 212 - bit sets (figure 14.3a). the four sets are transmitted one after another (...set1/set2/set3/set4/set1...) to make up the complete e2 frame structure. the frame alignment signal (fas) is placed in the first 10 bits of set 1 and is followed by the remote alarm indication (rai) bit and a national bit (sn). the remainder of set 1 is filled with bits from the four tributaries. the four tributaries are bit interleaved starting with a bit from tributary 1 immediately after the sn bit. the first four bits of sets 2, 3, and 4 are the justification control bits. bits 5 to 8 of set 4 are the stuffing bits. the justification control bits control when data will be stuffed into the stuffing bit
DS3112 133 of 135 positions. when a majority of the three justification control bits from a particular tributary is set to zero, the stuffing bit position will be used for tributary data. when the justification control bits are majority decoded to be one, the stuffing bit will not be used for tributary data. e3 framing structure and e23 multiplexing the e3 frame structure and the e23 multiplexing scheme is almost identical to the e2 framing structure and the e12 multiplexing scheme. the e3 frame structure is made up of four 384 - bit sets (figure 14.3b). the four sets are transmitted one after another (...set1/set2/set3/set4/set1...) to make up the complete e3 frame structure. the frame alignment signal (fas) is placed in the first 10 bits of set 1 and is followed by the remote alarm indication (rai) bit a nd a national bit (sn). the remainder of set 1 is filled with bits from the four tributaries. the four tributaries are bit interleaved starting with a bit from tributary 1 immediately after the sn bit. the first four bits of sets 2, 3, and 4 are the justif ication control bits. bits 5 to 8 of set 4 are the stuffing bits. the justification control bits control when data will be stuffed into the stuffing bit positions. when a majority of the three justification control bits from a particular tributary is set t o zero, the stuffing bit position will be used for tributary data. when the justification control bits are majority decoded to be one, the stuffing bit will not be used for tributary data. e2 frame structure figure 14.3a set 1 bit 1 bit 212 fas (11110100 00) rai sn b 11 b 21 b 31 b 41 b 12 ...bits from the tributaries... set 2 bit 1 bit 212 c 11 c 21 c 31 c 41 ...bits from the tributaries... set 3 bit 1 bit 212 c 12 c 22 c 32 c 42 ...bits from the tributaries... set 4 bit 1 bit 212 c 13 c 23 c 33 c 43 s 1 s 2 s 3 s 4 ... bits from the tributaries... notes: 1) bit 1 of set 1 is transmitted first 2) bji tributary bits j = tributary number i = bit number 3) cji justification control bits j = tributary number i = control bit number 4) sj stuffing bits j = trib utary number
DS3112 134 of 135 e3 frame structure figure 14.3b set 1 bit 1 bit 384 fas (1111010000) rai sn b 11 b 21 b 31 b 41 b 12 ...bits from the tributaries... set 2 bit 1 bit 384 c 11 c 21 c 31 c 41 ...bits from the tributaries... set 3 bit 1 bit 384 c 12 c 22 c 32 c 42 .. .bits from the tributaries... set 4 bit 1 bit 384 c 12 c 22 c 32 c 42 s 1 s 2 s 3 s 4 ...bits from the tributaries... notes: 1) bit 1 of set 1 is transmitted first 2) bji tributary bits j = tributary number i = bit number 3) cji justification control bits j = tributary number i = control stuffing bit number 4) sj stuffing bits j = tributary number 14.4 g.747 basics g.747 multiplexing is a mixture of t3 and e1. it is a two - step process of merging 21 e1 lines into a single t3 line. first, three of the e1 lines are merged into a single t2 rate and then seven t2 rates are merged to form the t3 just like the normal t2 to t3 multiplexing scheme. once the three e1 lines have been multiplexed together, the resultant 6.312mbps data stream is treated ju st like a t2 data stream that contains four t1 lines. we will only discuss the g.747 multiplexing scheme in this section. see section 14.2 for details on the t2 to t3 multiplexing scheme (e.g., m23) and the t3 framing structure. g.747 carrier rates table 14.4a t or e carrier level nominal data rate (mbps) e1 2.048 t2 6.312 t3 44.736
DS3112 135 of 135 g.747 framing structure and e12 multiplexing the g.747 frame structure is made up of five 168 - bit sets (figure 14.4a). the five sets are transmitted one after another (. ..set1/set2/set3/set4/set5/set1...) to make up the complete g.747 frame structure. the frame alignment signal (fas) is placed in the first 9 bits of set 1. set 2 contains the remote alarm indication (rai) bit and a parity bit (par) as well as a reserved bi t, which is fixed to a one. the par bit will be set to a one when there are odd number of ones from the tributaries in the preceding frame and it will be set to a zero when there are an even number of ones. the parity calculation does not include the fas, rai, reserved bit, or justification control bits. the three tributaries are bit interleaved starting with a bit from tributary 1 immediately after the fas in set 1. the first three bits of sets 3, 4, and 5 are the justification control bits. bits 4 to 6 o f set 5 are the stuffing bits. the justification control bits control when data will be stuffed into the stuffing bit positions. when a majority of the three justification control bits from a particular tributary is set to zero, the stuffing bit position w ill be used for tributary data. when the justification control bits are majority decoded to be one, the stuffing bit will not be used for tributary data. g.747 frame structure figure 14.4a set 1 bit 1 bit 168 fas (111010000) b 11 b 21 b 31 b 12 b 22 b 32 b 13 . ..bits from the tributaries... set 2 bit 1 bit 168 rai par 1 ...bits from the tributaries... set 3 bit 1 bit 168 c 11 c 21 c 31 ...bits from the tributaries... set 4 bit 1 bit 168 c 12 c 22 c 32 ...bits from the tributaries... set 5 bit 1 bit 168 c 13 c 23 c 33 s 1 s 2 s 3 ...bits from the tributaries... notes: 1) bit 1 of set 1 is transmitted first 2) bji tributary bits j = tributary number i = bit number 3) cji justification control bits j = tributary number i = control stuffing bit number 4) sj stuffing bits j = tributary number


▲Up To Search▲   

 
Price & Availability of DS3112

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X