Part Number Hot Search : 
HP147TSW 3A010 SDW85F1C ISL2900 BT66T JCS8N60B MTZJ2 1PMT5297
Product Description
Full Text Search
 

To Download PEF81902F Datasheet File

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


  Datasheet File OCR Text:
  t-smintix 4b3 t s econd gen. m odular i sdn nt ( i ntelligent e x tended) pef 81902 version 1.1 data sheet, ds 1, nov. 2001 wired communications never stop thinking.
edition 2001-11-12 published by infineon technologies ag, st.-martin-strasse 53, d-81541 mnchen, germany ? infineon technologies ag 2001. all rights reserved. attention please! the information herein is given to describe certain components and shall not be considered as warranted characteristics. terms of delivery and rights to technical change reserved. we hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. infineon technologies is an approved cecc manufacturer. information for further information on technology, delivery terms and conditions and prices please contact your nearest infineon technologies office in germany or our infineon technologies representatives worldwide (see address list). warnings due to technical requirements components may contain dangerous substances. for information on the types in question please contact your nearest infineon technologies office. infineon technologies components may only be used in life-support devices or systems with the express written approval of infineon technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. if they fail, it is reasonable to assume that the health of the user or other persons may be endangered.
wired communications t-smintix 4b3 t s econd gen. m odular i sdn nt ( i ntelligent e x tended) pef 81902 version 1.1 data sheet, ds 1, nov. 2001 never stop thinking.
for questions on technology, delivery and prices please contact the infineon technologies offices in germany or the infineon technologies companies and representatives worldwide: see our webpage at http://www.infineon.com pef 81902 revision history: 2001-11-12 ds 1 previous version: preliminary data sheet 06.01 page subjects (major changes since last revision) table 18 figure 34 chapter 2.4.7.4 additional c/i-command ltd chapter 3.2.3 chapter 4.3 chapter 4.9.4 the framer / deframer loopback (dlb) is no more supported chapter 4.3 reset value of masku is ffh (not 00h) chapter 4.3 chapter 4.9.8 reset value of fw-version is 3eh chapter 4.9.4 restriction of loop.lb1, lb2 and lbbd to transparent state chapter 5.2 input leakage current ain, bin: max. 30a chapter 5.4 reduced power consumption
pef 81902 table of contents page data sheet 2001-11-12 1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 not supported are ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.5 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.6 pin definitions and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.6.1 specific pins and test modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.7 system integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.1 microcontroller interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.1.1 serial control interface (sci) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.1.1.1 programming sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.1.2 parallel microcontroller interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.1.3 microcontroller clock generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.2 reset generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.3 iom ? -2 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.3.1 iom?-2 functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.3.2 iom?-2 handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.3.2.1 controller data access (cda) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2.3.2.2 serial data strobe signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 2.3.3 iom?-2 monitor channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.3.3.1 handshake procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.3.3.2 error treatment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 2.3.3.3 monitor channel programming as a master device . . . . . . . . . . . 47 2.3.3.4 monitor channel programming as a slave device . . . . . . . . . . . . 47 2.3.3.5 monitor time-out procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 2.3.3.6 monitor interrupt logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 2.3.4 c/i channel handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 2.3.5 d-channel access control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 2.3.5.1 application example for d-channel access control . . . . . . . . . . . . . 51 2.3.5.2 tic bus handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 2.3.5.3 stop/go bit handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 2.3.5.4 d-channel arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 2.3.5.5 state machine of the d-channel arbiter . . . . . . . . . . . . . . . . . . . . . . 54 2.3.6 activation/deactivation of iom ? -2 interface . . . . . . . . . . . . . . . . . . . . . 56 2.4 u-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 2.4.1 4b3t frame structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 2.4.2 maintenance channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 2.4.3 coding from binary to ternary data . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 2.4.4 decoding from ternary to binary data . . . . . . . . . . . . . . . . . . . . . . . . . 63 2.4.4.1 monitoring of code violations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
pef 81902 table of contents page data sheet 2001-11-12 2.4.4.2 block error counter (rds error counter) . . . . . . . . . . . . . . . . . . . . . 64 2.4.5 scrambler / descrambler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 2.4.6 command/indication codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 2.4.7 state machine for activation and deactivation . . . . . . . . . . . . . . . . . . . 66 2.4.7.1 state machine notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 2.4.7.2 awake protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 2.4.7.3 nt state machine (iec-t / ntc-t compatible) . . . . . . . . . . . . . . . . 70 2.4.7.4 inputs to the u-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 2.4.7.5 outputs of the u-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 2.4.7.6 nt-states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 2.4.8 u-transceiver interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 2.5 s-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 2.5.1 line coding, frame structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 2.5.2 s/q channels, multiframing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 2.5.3 data transfer between iom?-2 and s0 . . . . . . . . . . . . . . . . . . . . . . . . . 81 2.5.4 loopback 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 2.5.5 control of s-transceiver / state machine . . . . . . . . . . . . . . . . . . . . . . . 81 2.5.5.1 c/i codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 2.5.5.2 state machine nt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 2.5.5.3 state machine lt-s mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 2.5.6 s-transceiver enable / disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 2.5.7 interrupt structure s-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 2.6 hdlc controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 2.6.1 message transfer modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 2.6.2 data reception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 2.6.2.1 structure and control of the receive fifo . . . . . . . . . . . . . . . . . . . . 96 2.6.2.2 receive frame structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 2.6.3 data transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 2.6.3.1 structure and control of the transmit fifo . . . . . . . . . . . . . . . . . . 104 2.6.3.2 transmit frame structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 2.6.4 access to iom?-2 channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 2.6.5 extended transparent mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 2.6.6 timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 2.6.7 hdlc controller interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 2.6.8 test function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 2.6.9 reset behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 3 operational description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 3.1 layer 1 activation/deactivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 3.1.1 generation of 4b3t signal elements . . . . . . . . . . . . . . . . . . . . . . . . . 115 3.1.2 complete activation initiated by exchange . . . . . . . . . . . . . . . . . . . . . 118 3.1.3 complete activation initiated by te . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 3.1.4 complete activation initiated by nt . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
pef 81902 table of contents page data sheet 2001-11-12 3.1.5 complete deactivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 3.1.6 loop 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 3.2 layer 1 loopbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 3.2.1 analog loop-back s-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 3.2.2 loopback no.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 3.2.2.1 complete loopback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 3.2.2.2 loopback no.2 - single channel loopbacks . . . . . . . . . . . . . . . . . . 125 3.2.3 local loopbacks featured by the loop register . . . . . . . . . . . . . . . 125 3.3 external circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 3.3.1 power supply blocking recommendation . . . . . . . . . . . . . . . . . . . . . . 127 3.3.2 u-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 3.3.3 s-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 3.3.4 oscillator circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 3.3.5 general . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 4 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 4.1 address space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 4.2 interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 4.3 register summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 4.3.1 reset of u-transceiver functions during deactivation or with c/i-code reset 143 4.3.2 mode register evaluation timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 4.4 detailed hdlc control and c/i registers . . . . . . . . . . . . . . . . . . . . . . . . 145 4.4.1 rfifo - receive fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 4.4.2 xfifo - transmit fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 4.4.3 istah - interrupt status register hdlc . . . . . . . . . . . . . . . . . . . . . . . 145 4.4.4 maskh - mask register hdlc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 4.4.5 star - status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 4.4.6 cmdr - command register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 4.4.7 modeh - mode register hdlc controller . . . . . . . . . . . . . . . . . . . . . 150 4.4.8 exmr - extended mode register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 4.4.9 timr - timer register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 4.4.10 sap1 - sapi1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 4.4.11 sap2 - sapi2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 4.4.12 rbcl - receive frame byte count low . . . . . . . . . . . . . . . . . . . . . . . 155 4.4.13 rbch - receive frame byte count high for d-channel . . . . . . . . . . 156 4.4.14 tei1 - tei1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 4.4.15 tei2 - tei2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 4.4.16 rsta - receive status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 4.4.17 tmh -test mode register hdlc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 4.4.18 cir0 - command/indication receive 0 . . . . . . . . . . . . . . . . . . . . . . . . 160 4.4.19 cix0 - command/indication transmit 0 . . . . . . . . . . . . . . . . . . . . . . . . 161 4.4.20 cir1 - command/indication receive 1 . . . . . . . . . . . . . . . . . . . . . . . . 162
pef 81902 table of contents page data sheet 2001-11-12 4.4.21 cix1 - command/indication transmit 1 . . . . . . . . . . . . . . . . . . . . . . . . 162 4.5 detailed s-transceiver registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 4.5.1 s_conf0 - s-transceiver configuration register 0 . . . . . . . . . . . . . . 163 4.5.2 s_conf2 - s-transmitter configuration register 2 . . . . . . . . . . . . . . 164 4.5.3 s_sta - s-transceiver status register . . . . . . . . . . . . . . . . . . . . . . . 165 4.5.4 s_cmd - s-transceiver command register . . . . . . . . . . . . . . . . . . . . 166 4.5.5 sqrr - s/q-channel receive register . . . . . . . . . . . . . . . . . . . . . . . 167 4.5.6 sqxr- s/q-channel transmit register . . . . . . . . . . . . . . . . . . . . . . . 167 4.5.7 istas - interrupt status register s-transceiver . . . . . . . . . . . . . . . . . 168 4.5.8 masks - mask s-transceiver interrupt . . . . . . . . . . . . . . . . . . . . . . . . 169 4.5.9 s_mode - s-transceiver mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 4.6 interrupt and general configuration registers . . . . . . . . . . . . . . . . . . . . 171 4.6.1 ista - interrupt status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 4.6.2 mask - mask register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 4.6.3 mode1 - mode1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 4.6.4 mode2 - mode2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 4.6.5 id - identification register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 4.6.6 sres - software reset register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 4.7 detailed iom ? -2 handler registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 4.7.1 cdaxy - controller data access register xy . . . . . . . . . . . . . . . . . . . . 176 4.7.2 xxx_tsdpxy - time slot and data port selection for chxy . . . . . . . 177 4.7.3 cdax_cr - control register controller data access ch1x . . . . . . . . 178 4.7.4 s_cr - control register s-transceiver data . . . . . . . . . . . . . . . . . . . 179 4.7.5 hci_cr - control register for hdlc and ci1 data . . . . . . . . . . . . . . 180 4.7.6 mon_cr - control register monitor data . . . . . . . . . . . . . . . . . . . . . 182 4.7.7 sds1_cr - control register serial data strobe 1 . . . . . . . . . . . . . . . 182 4.7.8 sds2_cr - control register serial data strobe 2 . . . . . . . . . . . . . . . 183 4.7.9 iom_cr - control register iom data . . . . . . . . . . . . . . . . . . . . . . . . . 184 4.7.10 mcda - monitoring cda bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 4.7.11 sti - synchronous transfer interrupt . . . . . . . . . . . . . . . . . . . . . . . . . 186 4.7.12 asti - acknowledge synchronous transfer interrupt . . . . . . . . . . . . . 187 4.7.13 msti - mask synchronous transfer interrupt . . . . . . . . . . . . . . . . . . . 187 4.8 detailed monitor handler registers . . . . . . . . . . . . . . . . . . . . . . . . . . 188 4.8.1 mor - monitor receive channel . . . . . . . . . . . . . . . . . . . . . . . . . . 188 4.8.2 mox - monitor transmit channel . . . . . . . . . . . . . . . . . . . . . . . . . . 188 4.8.3 mosr - monitor interrupt status register . . . . . . . . . . . . . . . . . . . 189 4.8.4 mocr - monitor control register . . . . . . . . . . . . . . . . . . . . . . . . . . 189 4.8.5 msta - monitor status register . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 4.8.6 mconf - monitor configuration register . . . . . . . . . . . . . . . . . . . . 191 4.9 detailed u-transceiver registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 4.9.1 opmode - operation mode register . . . . . . . . . . . . . . . . . . . . . . . . . 191 4.9.2 ucir - c/i code read register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
pef 81902 table of contents page data sheet 2001-11-12 4.9.3 uciw - c/i code write register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 4.9.4 loop - loopback register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 4.9.5 rds - block error counter register . . . . . . . . . . . . . . . . . . . . . . . . . . 194 4.9.6 istau - interrupt status register u-interface . . . . . . . . . . . . . . . . . . . 194 4.9.7 masku - mask register u-interface . . . . . . . . . . . . . . . . . . . . . . . . . . 195 4.9.8 fw_version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 5 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 5.1 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 5.2 dc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 5.3 capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 5.4 power consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 5.5 supply voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 5.6 ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 5.6.1 iom ? -2 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 5.6.2 serial p interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 5.6.3 parallel p interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 5.6.4 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 5.6.5 undervoltage detection characteristics . . . . . . . . . . . . . . . . . . . . . . . 210 6 package outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 7 appendix: differences between q- and t-smint?ix . . . . . . . . . . . . . . 214 7.1 pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 7.1.1 pin definitions and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 7.1.2 led pin act . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 7.2 u-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 7.2.1 u-interface conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 7.2.2 u-transceiver state machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 7.2.3 command/indication codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 7.2.4 interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 7.2.5 register summary u-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 7.3 external circuitry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 8 index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
pef 81902 list of figures page data sheet 2001-11-12 figure 1 pin configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 2 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 3 application example t-smint ? ix: low cost intelligent nt . . . . . . . . 13 figure 4 control via p interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 5 control via iom?-2 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 6 serial control interface timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 7 serial command structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 8 direct/indirect register address mode . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 9 reset generation of the t-smint?ix . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 10 iom ? -2 frame structure of the t-smint?ix . . . . . . . . . . . . . . . . . . . . 27 figure 11 architecture of the iom?-2 handler . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 12 data access via cdax0 and cdax1 register pairs . . . . . . . . . . . . . . . 31 figure 13 examples for data access via cdaxy registers . . . . . . . . . . . . . . . . . 32 figure 14 data access when looping tsa from du to dd . . . . . . . . . . . . . . . . . 33 figure 15 data access when shifting tsa to tsb on du (dd) . . . . . . . . . . . . . . 34 figure 16 example for monitoring data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 17 interrupt structure of the synchronous data transfer . . . . . . . . . . . . . 38 figure 18 examples for the synchronous transfer interrupt control with one stixy enabled 39 figure 19 data strobe signal generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 20 monitor channel protocol (iom?-2) . . . . . . . . . . . . . . . . . . . . . . . . 43 figure 21 monitor channel, transmission abort requested by the receiver. . . . 46 figure 22 monitor channel, transmission abort requested by the transmitter. . 46 figure 23 monitor channel, normal end of transmission . . . . . . . . . . . . . . . . . . 46 figure 24 monitor interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 25 cic interrupt structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 26 d-channel arbitration: c has no hdlc and no direct access to tic bus 51 figure 27 structure of last octet of ch2 on du . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 28 structure of last octet of ch2 on dd . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 29 state machine of the d-channel arbiter (simplified view). . . . . . . . . . 55 figure 30 deactivation of the iom ? -2 clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 31 state diagram example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 figure 32 awake procedure initiated by the lt . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 33 awake procedure initiated by the nt. . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 34 nt state machine (iec-t/ntc-t compatible). . . . . . . . . . . . . . . . . . . 70 figure 35 interrupt structure u-transceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 figure 36 s/t -interface line code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 figure 37 frame structure at reference points s and t (itu i.430). . . . . . . . . . 79 figure 38 s-transceiver control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 figure 39 state diagram notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 40 state machine nt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
pef 81902 list of figures page data sheet 2001-11-12 figure 41 state machine lt-s mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 figure 42 interrupt structure s-transceiver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 43 rfifo operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 44 data reception procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 figure 45 reception sequence example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 figure 46 receive data flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 47 data transmission procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 figure 48 transmission sequence example . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 49 transmit data flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 figure 50 timer register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 51 interrupt status registers of the hdlc controller . . . . . . . . . . . . . . . 113 figure 52 layer 2 test loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 53 activation initiated by exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 figure 54 activation initiated by te . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 figure 55 activation initiated by nt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 figure 56 complete deactivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 57 loop 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 figure 58 test loopbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 figure 59 external loop at the s/t-interface . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 figure 60 complete loopback options in nt-mode . . . . . . . . . . . . . . . . . . . . . 125 figure 61 loopbacks featured by register loop . . . . . . . . . . . . . . . . . . . . . . 126 figure 62 power supply blocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 figure 63 external circuitry u-transceiver with external hybrid . . . . . . . . . . . . 128 figure 64 external circuitry s-interface transmitter . . . . . . . . . . . . . . . . . . . . . 131 figure 65 external circuitry s-interface receiver . . . . . . . . . . . . . . . . . . . . . . . 131 figure 66 crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 figure 67 address space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 figure 68 t-smint?ix interrupt status registers . . . . . . . . . . . . . . . . . . . . . . . 134 figure 69 maximum sinusoidal ripple on supply voltage . . . . . . . . . . . . . . . 201 figure 70 input/output waveform for ac tests. . . . . . . . . . . . . . . . . . . . . . . . . 202 figure 71 iom?-2 interface - bit synchronization timing . . . . . . . . . . . . . . . . . 203 figure 72 iom ? -2 interface - frame synchronization timing . . . . . . . . . . . . . . 203 figure 73 serial control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 figure 74 microprocessor read cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 figure 75 microprocessor write cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 figure 76 multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206 figure 77 non-multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 figure 78 microprocessor read timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 figure 79 microprocessor write cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 figure 80 non-multiplexed address timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 figure 81 reset input signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 figure 82 undervoltage control timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
pef 81902 list of figures page data sheet 2001-11-12 figure 83 ntc-q compatible state machine q-smint?ix: 2b1q . . . . . . . . . . . 217 figure 84 simplified state machine q-smint?ix: 2b1q . . . . . . . . . . . . . . . . . . 218 figure 85 iec-t/ntc-t compatible state machine t-smint?ix: 4b3t . . . . . . 219 figure 86 interrupt structure u-transceiver q-smint?ix: 2b1q . . . . . . . . . . . . 221 figure 87 interrupt structure u-transceiver t-smint?ix: 4b3t . . . . . . . . . . . . 222 figure 88 external circuitry q- and t-smint?ix . . . . . . . . . . . . . . . . . . . . . . . . 226
pef 81902 list of tables page data sheet 2001-11-12 table 1 nt products of the 2nd generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2 pin definitions and functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 table 3 act states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 4 interface selection for the t-smint?ix . . . . . . . . . . . . . . . . . . . . . . . . 16 table 5 header byte code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 6 bus operation modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 7 mclk frequencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 8 reset source selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 9 examples for synchronous transfer interrupts . . . . . . . . . . . . . . . . . . 37 table 10 transmit direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 11 receive direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 12 t-smint?ix configuration settings in intelligent nt applications . . . . 54 table 13 frame structure a for downstream transmission lt to nt . . . . . . . . 59 table 14 frame structure b for upstream transmission nt to lt. . . . . . . . . . . 61 table 15 mms 43 coding table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 16 4b3t decoding table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 17 active states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 18 c/i codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 19 differences to the former nt-sm of the iec-t/ntc-t . . . . . . . . . . . . . 71 table 20 timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 21 m symbol output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 22 signal output on uk0 in state test . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 23 c/i-code output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 24 s/q-bit position identification and multi-frame structure . . . . . . . . . . 80 table 25 receive byte count with rbc11...0 in the rbch and rbcl registers 98 table 26 receive information at rme interrupt . . . . . . . . . . . . . . . . . . . . . . . . 104 table 27 xpr interrupt (availability of the xfifo) after xtf, xme commands 106 table 28 timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 table 29 4b3t signal elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 table 30 generation of the 4b3t signal elements. . . . . . . . . . . . . . . . . . . . . . 116 table 31 s/t-interface signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 32 u-transformer parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 table 33 s-transformer parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 table 34 crystal parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 table 35 reset of u-transceiver functions during deactivation or with c/i- code reset 144 table 36 mode register with immediate evaluation and execution . . . . . . . . . 144 table 37 maximum input currents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 table 38 s-transceiver characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 table 39 u-transceiver characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 table 40 pin capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 table 41 reset input signal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . 209
pef 81902 list of tables page data sheet 2001-11-12 table 42 parameters of the uvd/por circuit . . . . . . . . . . . . . . . . . . . . . . . . . 210 table 43 design number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 table 45 act states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
pef 81902 overview data sheet 1 2001-11-12 1 overview the peb 81902 (t-smint  ix) offers many features in addition to the peb 8090 [9] which ease the realization of an intelligent nt. the t-smint  ix features u-transceiver, s-transceiver, hdlc controller and an iom  - 2 interface on a single chip. a microcontroller interface provides access to both transceivers, the hdlc controller as well as to the iom  -2 interface. main target applications of the t-smint  ix are intelligent nt applications which require one single hdlc controller. table 1 on page 1 summarizes the 2nd generation nt products.  table 1 nt products of the 2nd generation pef 80902 pef 81902 pef 82902 t-smint ? o t-smint ? ix t-smint ? i package p-mqfp- 44 p-mqfp-64 p-tqfp-64 p-mqfp-64 p-tqfp-64 register access no u+s+hdlc+ iom  ?2 u+s+iom  ?2 access via n.a parallel (or sci or iom  ?2 ) parallel (or sci or iom  ?2 ) mclk, watchdog timer, sds, bcl, d- channel arbitration, iom  ?2 access and manipulation etc. provided no yes yes hdlc controller no yes no nt1 mode available yes (only) no no
pef 81902 overview data sheet 2 2001-11-12 1.1 references [1] ts 102 080, transmission and multiplexing; isdn basic rate access; digital transmission system on metallic local lines, etsi, november 1998 [2] ftz 1 tr 220 technische richtlinie, spezifikation der isdn schnittstelle uk0 schicht 1, deutsche telecom ag, august 1991 [3] ts 0284/96 technische spezifikation intelligenter netzabschlu? (int) mit den funktionen eines terminaladapters ta 2a/b (ohne internverkehr), deutsche telekom ag, m?rz 2001 [4] pr ets 300 012 draft, isdn; basic user network interface (uni), etsi, november 1996 [5] t1.605-1991, isdn-basic access interface for s and t reference points (layer 1 specification), ansi, 1991 [6] i.430, isdn user-network interfaces: layer 1 recommendations, itu, november 1988 [7] iec-t, isdn echocancellation circuit, peb 20901 (iec - td) / peb 20902 (iec - ta), preliminary target specification 11.88, siemens ag, 1988 [8] sbcx, s/t bus interface circuit extended, peb 2081 v3.4, user?s manual 11.96, siemens ag, 1996 [9] ntc-t, network termination controller (4b3t), peb 8090 v1.1, data sheet 06.98, siemens ag, 1998 [10] intc-q, intelligent network termination controller (2b1q), peb 8191 v1.1, data sheet 10.97, siemens ag, 1997 [11] q-sminto, 2b1 q s econd gen. m odular i sdn nt (o rdinary), pef 80912 q-smintix, 2b1 q s econd gen. m odular i sdn nt (i ntelligent e x ended), pef 81912 q-sminti, 2b1 q s econd gen. m odular i sdn nt (i ntelligent), pef 82912 v1.3, data sheets 03.01, infineon ag, 2001 [12] iom  -2 interface reference guide, siemens ag, 03.91 [13] scout-s(x), siemens codec with s/t-transceiver, psb 2138x v1.1, preliminary data sheet 08.98, infineon technologies ag, 1999 [14] pita, pci interface for telephony/data applications v0.3, sican gmbh, september1997 [15] dual channel slicofi-2, hv-slic; duslic; peb3265, 4265, 4266; data sheet ds2, infineon technologies, july 2000.
data sheet 3 2001-11-12 type package pef 81902 p-mqfp-64 pef 81902 p-tqfp-64 4b3t second gen. modular isdn nt (intelligent extended) t-smint ? ix pef 81902 version 1.1  p-mqfp-64-1,-2 p-tqfp-64-1 1.2 features features known from the peb 8090  u-transceiver and s-transceiver on one chip  u-interface (4b3t) conform to etsi [1] and ftz [2] : ? meets all transmission requirements on all etsi and ftz loops with margin  s/t-interface conform to etsi [4], ansi [5] and itu [6] ? supports point-to-point and bus configurations ? meets and exceeds all transmission requirements  access to iom  -2 c/i and monitor channels  power-on reset and undervoltage detection with no external components  esd robustness 2kv new features  conforms to ? technische spezifikation intelligenter netzabschlu ? (int) mit den funktionen eines terminaladapters ta 2a/b ? of deutsche telekom ag [3]  perfectly suited for low cost intelligent nts that require one single hdlc controller  pin compatible with q-smint  ix (2nd generation)  hdlc controller on chip, including ? hdlc access to b-channels, d-channel and any combination of them. ? improved fifo structure ? hdlc extended transparent mode ? automatic d-channel arbitration between s-bus and local hdlc controller  parallel or serial p-interface ? siemens/intel non-multiplexed (direct or indirect addressing)
pef 81902 overview data sheet 4 2001-11-12 ? siemens/intel multiplexed ? motorola ? programmable mclk (can be disabled)  enhanced iom  ?2 interface ? timeslot access and manipulation ? bcl output; programmable and flexible strobes sds1/2, e.g. active during several timeslots. ? optional: all registers can be read and written to via new monitor channel concept ? external awake (eaw )  optional use of transformers with non-negligible resistance corresponding to up to 20 ? on the line side  optional: implementation of s-transceiver statemachine in software  power-down mode and reset states (e.g. s-transceiver) for individual circuits  pin vref and the according external capacitor removed  inputs accept 3.3v and 5v  i/o (open drain) accepts pull-up to 3.3v 1)  led signal is programmable to display the states specified in [3]; but can also automatically indicate the activation status (mode select via 1 bit).  lowest power consumption due to ? low power cmos technology (0.35) ? newly optimized low power libraries ? high output swing on u- and s-line interface leads to minimized power consumption ? single 3.3 volt power supply 1.3 not supported are ...  no integrated hybrid is provided by the t-smint  ix. therefore, an external hybrid is always required, which consists of only two additional resistors as compared to an integrated hybrid, but allows for more flexibility in board design.  auxiliary iom  ?2 interface  sra (capacitive receiver coupling is not suited for s-feeding)  nt-star with star point on the iom ? -2 bus (already not supported in ntc-t).  hdlc automode  no access to s2-5 channels. access only to s1 and q channel as in scout-s. no selection betweeen transparent and non-auto mode provided. 1) pull-ups to 5v must be avoided. a so-called ? hot-electron-effect ? would lead to long term degradation.
pef 81902 overview data sheet 5 2001-11-12 1.4 pin configuration  figure 1 pin configuration 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 /rsto vdda_sr vssa_sr /vdddet xout xin bout vdda_ux vssa_ux aout a5 s r 2 s r 1 v d d a _ s x v s s a _ s x t p 1 a 4 a 3 a 2 a 1 a 0 b c l d u d d fsc dcl a d 7 o r s d x a d 6 o r s d r a d 5 o r s c l k ad4 vssd vddd ad3 ad2 ad1 ad0 /eaw mclk /act v s s a _ u r v d d a _ u r a i n b i n / r s t v s s d v d d d a l e / w r o r r / w / r d o r / d s / c s / i n t s d s 2 s d s 1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 s x 1 s x 2 t p 2 a6 pin_2.vsd t-smint ? ix pef 81902
pef 81902 overview data sheet 6 2001-11-12 1.5 block diagram  figure 2 block diagram clock generation s-transceiver u-tansceiver por/uvd factory tests iom-2 interface p interface (e.g. multiplexed mode) xin xout rst rsto aout bout ain bin tp2 sx2 sx1 sr2 sr1 tp1 led hdlc controller act eaw mclk int cs wr rd ale ad0-ad7 sds2 sds1 dd du bcl dcl fsc block diagram.vsd vdddet d-channel arbitration fifo m o n c/i tic c d a w d t
pef 81902 overview data sheet 7 2001-11-12 1.6 pin definitions and functions  table 2 pin definitions and functions pin symbol type function 2 vdda_ur ? supply voltage for u-receiver (3.3 v 5%) 1 vssa_ur ? analog ground (0 v) u-receiver 62 vdda_ux ? supply voltage for u-transmitter (3.3 v 5%) 63 vssa_ux ? analog ground (0 v) u-transmitter 51 vdda_sr ? supply voltage for s-receiver (3.3 v 5%) 52 vssa_sr ? analog ground (0 v) s-receiver 46 vdda_sx ? supply voltage for s-transmitter (3.3 v 5%) 45 vssa_sx ? analog ground (0 v) s-transmitter 29 vddd ? supply voltage digital circuits (3.3 v 5%) 30 vssd ? ground (0 v) digital circuits 13 vddd ? supply voltage digital circuits (3.3 v 5%) 14 vssd ? ground (0 v) digital circuits 32 fsc o frame sync: 8-khz frame synchronization signal 31 dcl o data clock: iom  -2 interface clock signal (double clock): 1.536 mhz 35 bcl o bit clock: the bit clock is identical to the iom  -2 data rate (768 khz) 33 dd i/o od data downstream: data on the iom  -2 interface 34 du i/o od data upstream: data on the iom  -2 interface
pef 81902 overview data sheet 8 2001-11-12 8 sds1 o serial data strobe1: programmable strobe signal for time slot and/or d-channel indication on iom  -2 7 sds2 o serial data strobe2: programmable strobe signal for time slot and/or d-channel indication on iom  -2 12 cs i chip select: a low level indicates a microcontroller access to the t-smint  ix 26 26 sclk ad5 i i/o serial clock: clock signal of the sci interface if a serial interface is selected multiplexed bus mode: address/data bus address/data line ad5 if the parallel interface is selected non-multiplexed bus mode: data bus data line d5 if the parallel interface is selected 27 27 sdr ad6 i i/o serial data receive: receive data line of the sci interface if a serial interface is selected multiplexed bus mode: address/data bus address/data line ad6 if the parallel interface is selected non-multiplexed bus mode: data bus data line d6 if the parallel interface is selected table 2 pin definitions and functions (cont ? d) pin symbol type function
pef 81902 overview data sheet 9 2001-11-12 28 28 sdx ad7 od/o i/o serial data transmit: transmit data line of the sci interface if a serial interface is selected multiplexed bus mode: address/data bus address/data line ad7 if the parallel interface is selected non-multiplexed bus mode: data bus data line d7 if the parallel interface is selected 21 22 23 24 25 ad0 ad1 ad2 ad3 ad4 i/o i/o i/o i/o i/o multiplexed bus mode: address/data bus transfers addresses from the microcontroller to the t-smint  ix and data between the microcontroller and the t-smint  ix. non-multiplexed bus mode: data bus. transfers data between the microcontroller and the t-smint  ix (data lines d0-d4). 36 37 38 39 40 53 54 a0 a1 a2 a3 a4 a5 a6 i i i i i i i non-multiplexed bus mode: address bus transfers addresses from the microcontroller to the t-smint  ix. for indirect address mode only a0 is valid. multiplexed bus mode not used in multiplexed bus mode. in this case a0-a6 should directly be connected to vdd. 11 rd ds i i read indicates a read access to the registers (intel bus mode). data strobe the rising edge marks the end of a valid read or write operation (motorola bus mode). table 2 pin definitions and functions (cont ? d) pin symbol type function
pef 81902 overview data sheet 10 2001-11-12 10 wr r/w i i write indicates a write access to the registers (intel bus mode). read/write a high identifies a valid host access as a read operation and a low identifies a valid host access as a write operation (motorola bus mode). 9 ale i address latch enable an address on the external address/data bus (multiplexed bus type only) is latched with the falling edge of ale. ale also selects the microcontroller interface type (multiplexed or non multiplexed). 5 rst i reset: low active reset input. schmitt-trigger input with hysteresis of typical 360mv. tie to ? 1 ? if not used. 6 rsto od reset output: low active reset output. 15 int od interrupt request: int becomes active if the t-smint  ix requests an interrupt. 18 mclk o microcontroller clock: clock output for the microcontroller 20 eaw i external awake : a low level on eaw during power down activates the clock generation of the t- smint  ix, i.e. the iom  -2 interface provides fsc, dcl and bcl for read and write access. 1) 43 sx1 o s-bus transmitter output ( positive ) 44 sx2 o s-bus transmitter output ( negative ) 47 sr1 i s-bus receiver input table 2 pin definitions and functions (cont ? d) pin symbol type function
pef 81902 overview data sheet 11 2001-11-12 48 sr2 i s-bus receiver input 60 xin i crystal 1: connected to a 15.36 mhz crystal 59 xout o crystal 2: connected to a 15.36 mhz crystal 64 aout o differential u-interface output 61 bout o differential u-interface output 3 ain i differential u-interface input 4 bin i differential u-interface input 49 vdddet i vdd detection: this pin selects if the v dd detection is active ( ? 0 ? ) and reset pulses are generated on pin rsto or whether it is deactivated ( ? 1 ? ) and an external reset has to be applied on pin rst. 17 act o activation led . indicates the activation status of u- and s- transceiver. can directly drive a led (4ma). 42 tp1 i test pin 1. used for factory device test. tie to ? v ss ? 50 tp2 i test pin 2. used for factory device test. tie to ? v ss ? 16, 19, 41, 55 tie to ? 1 ? 56, 57, 58 res reserved these pins are reserved for future use. do not connect. 1) this function of pin eaw is different to that defined in ref. [13] table 2 pin definitions and functions (cont ? d) pin symbol type function
pef 81902 overview data sheet 12 2001-11-12 i: input o: output (push-pull) od: output (open drain) 1.6.1 specific pins and test modes led pin act a led can be connected to pin act to display four different states (off, slow flashing, fast flashing, on). it displays the activation status of the u- and s-transceiver according to table 3 . or it is programmable via two bits (led1 and led2 in register mode2). note: * denotes the duty cycle ?high? : ?low?. with: u_deactivated : ? deactivated state ? as defined in chapter 2.4.7.6 . u_activated : ? sbc synchronizing ? , ? wait for info u4h ? , and ? transparent ? as defined in chapter 2.4.7.6 . s-activated : ? activated state ? as defined in chapter 2.5.5.2 . note: optionally, pin act can drive a second led with inverse polarity (connect this additional led to 3.3v only). test modes the test patterns on the s-interface ( ? 2 khz single pulses ? , ? 96 khz continuous pulses ? ) and on the u-interface ( ? data through ? , ? send single pulses ? ,) are invoked via c/i codes (tm1, tm2, dt, ssp). setting sres.res_u to ? 1 ? forces the u-transceiver into test mode ? quiet mode ? (qm), i.e. the u-transceiver is hardware reset. table 3 act states pin act led u_deactivated u_activated s_activated v dd off 1 x x 2hz (1 : 1)* fast flashing 0 0 x 1hz (3 : 1)* slow flashing 0 1 0 gndon011
pef 81902 overview data sheet 13 2001-11-12 1.7 system integration  figure 3 application example t-smint ? ix: low cost intelligent nt the u-transceiver, the s-transceiver, the iom  -2 channels and the hdlc-controller can be controlled and monitored via: a) the parallel or serial microprocessor interface - access of on-chip registers via p interface address/data format - activation/deactivation control of u- and s-transceiver via p interface and c/i handler - t-smint  ix is monitor channel master - tic bus is transparent on iom  ?2 interface and is used for d-channel arbitration between s-transceiver and on-chip hdlc controller. s u u - interface s/t - interface idcc peb2023 hdlc / fifo c513 slicofi-2 hv - slic hv - slic iom-2 p pots interface lcntappl.vsd t-smintix pef81902 dc/dc-converter
pef 81902 overview data sheet 14 2001-11-12  figure 4 control via p interface alternatively, the t-smint  ix can be controlled via b) the iom  -2 interface - access of on-chip registers via the monitor channel with header/address/data format (device is monitor slave) - activation/deactivation control of u- and s-transceiver via the c/i channels ci0 and ci1 - tic bus is transparent on iom  ?2 interface and is used for d-channel arbitration between s-transceiver and on-chip hdlc controller. s u c - interface iom -2 iom-2 slave e.g. slicofi-2 c mon c/i register mon c/i1 c/i0 iommaster.vsd
pef 81902 overview data sheet 15 2001-11-12  figure 5 control via iom  -2 interface s u iom -2 iom-2 master e.g. utah register c/i1 c/i0 mon iomslave.vsd int
pef 81902 functional description data sheet 16 2001-11-12 2 functional description 2.1 microcontroller interfaces the t-smint  ix supports either a serial or a parallel microcontroller interface. for applications where no controller is connected to the t-smint  ix microcontroller interface, register programming is done via the iom  -2 monitor channel from a master device. in such applications the t-smint  ix operates in the iom  -2 slave mode (refer to the corresponding chapter of the iom  -2 monitor handler). the interface selections are all done by pinstrapping. the possible interface selections are listed in table 4 . the selection pins are evaluated when the reset input rst is released. for the pin levels stated in the tables the following is defined: ? high ? :dynamic pin value which must be ? high ? when the pin level is evaluated v dd , v ss :static ? high ? or ? low ? level (tied to v dd , v ss )  note: for a selected interface mode which does not require all pins (e.g. address pins) the unused pins must be tied to v dd . the microcontroller interface also consists of a microcontroller clock generation at pin mclk, an interrupt request at pin int , a reset input pin rst and a reset output pin rsto . the interrupt request pin int (open drain output) becomes active if the t-smint  ix requests an interrupt. 2.1.1 serial control interface (sci) the serial control interface (sci) is compatible to the spi interface of motorola and to the siemens c510 family of microcontrollers. the sci consists of 4 lines: sclk, sdx, sdr and cs . data is transferred via the lines sdr and sdx at the rate given by sclk. the falling edge of cs indicates the beginning table 4 interface selection for the t-smint  ix pins serial /parallel interface pins interface type/mode wr (r/w) rd (ds) cs ale v dd motorola ? high ?? high ? parallel ? high ? v ss siemens/intel non-mux edge siemens/intel mux v ss v ss serial ? high ? v ss serial control interface(sci) v ss v ss iom  -2 monitor channel (slave mode)
pef 81902 functional description data sheet 17 2001-11-12 of a serial access to the registers. the t-smint  ix latches incoming data at the rising edge of sclk and shifts out at the falling edge of sclk. each access must be terminated by a rising edge of cs . data is transferred in groups of 8 bits with the msb first. pad mode of sdx can be selected ? open drain ? or ? push-pull ? by programming mode2.ppsdx. figure 6 shows the timing of a one byte read/write access via the serial control interface.
pef 81902 functional description data sheet 18 2001-11-12  figure 6 serial control interface timing cs sclk sdr sdx cs sclk sdr sdx sci_tim.vsd write access header command/address data 77 0 1 2 3 4 5 61 2 3 4 5 65 6 7 02 3 40 1 `0` write read access header command/address data 77 0 1 2 3 4 5 61 2 3 4 5 6 5 6 7 0 2 3 40 1 `1` read
pef 81902 functional description data sheet 19 2001-11-12 2.1.1.1 programming sequences the basic structure of a read/write access to the t-smint  ix registers via the serial control interface is shown in figure 7 .  figure 7 serial command structure a new programming sequence starts with the transfer of a header byte. the header byte specifies different programming sequences allowing a flexible and optimized access to the individual functional blocks of the t-smint  ix. the possible sequences are listed in table 5 and are described after that.  header 40 h : non-interleaved a-d-a-d sequences the non-interleaved a-d-a-d sequences give direct read/write access to the address range 00 h -7f h and can have any length. in this mode sdx and sdr can be connected table 5 header byte code header byte sequence sequence type access to 40 h adr-data-adr-data non-interleaved address range 00 h -7f h 48 h interleaved 43 h adr-data-data-data read-/write-only address range 00 h -7f h 41 h non-interleaved 49 h interleaved sdr write sequence: read sequence: sdr 7 076 07 0 write data address (command) read data 0 1 write read 7 076 07 0 header byte 2 byte 3 header byte 2 byte 3 sdx address (command)
pef 81902 functional description data sheet 20 2001-11-12 together allowing data transmission on one line. example for a read/write access with header 40 h : header 48 h : interleaved a-d-a-d sequences the interleaved a-d-a-d sequences give direct read/write access to the address range 00 h -7f h and can have any length. this mode allows a time optimized access to the registers by interleaving the data on sdx and sdr. example for a read/write access with header 48 h : header 43 h : read-/write- only a-d-d-d sequence this mode (header 43 h ) can be used for a fast access to the hdlc fifo data. any address (rdadr, wradr) in the range between 00 h -1f h gives access to the current fifo location selected by an internal pointer which is automatically incremented with every data byte following the first address byte. generally, it can be used for any register access to the address range 00 h -7d h . the sequence can have any length and is terminated by the rising edge of cs . example for a write access with header 43 h : example for a read access with header 43 h : header 41 h : non-interleaved a-d-d-d sequence this sequence (header 41 h ) allows in front of the a-d-d-d write access a non- interleaved a-d-a-d read access. this mode is useful for reading status information before writing to the hdlc xfifo. generally, it can be used for any register access to sdr header wradr wrdata rdadr rdadr wradr wrdata sdx rddata rddata sdr header wradr wrdata rdadr rdadr wradr wrdata sdx rddata rddata sdr header wradr wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) wrdata (wradr) sdx sdr header rdadr sdx rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr) rddata (rdadr)
pef 81902 functional description data sheet 21 2001-11-12 the address range 00 h -7d h . the termination condition of the read access is the reception of the wradr. the sequence can have any length and is terminated by the rising edge of cs . example for a read/write access with header 41 h : header 49 h : interleaved a-d-d-d sequence this sequence (header 49 h ) allows in front of the a-d-d-d write access an interleaved a-d-a-d read access. this mode is useful for reading status information before writing to the hdlc xfifo. generally, it can be used for any register access to the address range 00 h -7d h . the termination condition of the read access is the reception of the wradr. the sequence can have any length and is terminated by the rising edge of cs . example for a read/write access with header 49 h : 2.1.2 parallel microcontroller interface the 8-bit parallel microcontroller interface with address decoding on chip allows an easy and fast microcontroller access. the parallel interface of the t-smint  ix provides three types of p busses which are selected via pin ale. the bus operation modes with corresponding control pins are listed in table 6 .  the occurrence of an edge on ale, either positive or negative, at any time during the operation immediately selects the interface type (3). a return to one of the other interface types is possible only if a hardware reset is issued. note: for a selected interface mode which does not require all pins (e.g. address pins) the unused pins must be tied to v dd . sdr header rdadr rdadr wradr wrdata (wradr) wrdata (wradr) wrdata (wradr) sdx rddata rddata sdr header rdadr rdadr wradr wrdata (wradr) wrdata (wradr) wrdata (wradr) sdx rddata rddata table 6 bus operation modes bus mode pin ale control pins (1) motorola v dd cs , r/w , ds (2) siemens/intel non-multiplexed v ss cs , wr , rd (3) siemens/intel multiplexed edge cs , wr , rd , ale
pef 81902 functional description data sheet 22 2001-11-12 a read/write access to the t-smint  ix registers can be done in multiplexed or non- multiplexed mode. in non-multiplexed mode the register address must be applied to the address bus (a0- a6) for the data access via the data bus (d0-d7). in multiplexed mode the address on the address bus (ad0-ad7) is latched in by ale before a read/write access via the address/data bus is performed. the t-smint  ix provides two different ways to address the register contents which can be selected with the amod bit in the mode2 register. the address mode after reset is the indirect address mode (amod = ? 0 ? ). reprogramming into the direct address mode (amod = ? 1 ? ) has to take place in the indirect address mode. figure 8 illustrates both register addressing modes. direct address mode (amod = ? 1 ? ): the register address to be read or written is directly set in the way described above. indirect address mode (amod = ? 0 ? ):  non-muxed: only the lsb of the address bus (a0)  muxed: only the lsb of the address-data bus (ad0) gets evaluated to address a virtual address (0 h ) and a virtual data (1 h ) register. every access to a target register consists of:  a write access (muxed or non-muxed) to address to store the target register s address, as well as  a read access (muxed or non-muxed) from data to read from the target register or  a write access (muxed or non-muxed) to data to write to the target register
pef 81902 functional description data sheet 23 2001-11-12  figure 8 direct/indirect register address mode 2.1.3 microcontroller clock generation the microcontroller clock is derived from the unregulated 15.36 mhz clock from the oscillator and provided by the pin mclk. five clock rates are selectable by a programmable prescaler which is controlled by the bits mode1.mclk and mode1.cds corresponding to the following table. table 7 mclk frequencies the clock rate is changed after cs becomes inactive. mode1. mclk bits mclk frequency with mode1.cds = ?0? mclk frequency with mode1.cds = ?1? 0 0 3.84 mhz 7.68 mhz 0 1 0.96 mhz 1.92 mhz 1 0 7.68 mhz 15.36 mhz 1 1 disabled disabled data a0 address 1h 0h data data a6 - a0 00h 01h 02h 03h 04h 7ch 7dh 7eh 7fh d7 - d0 d7 - d0 indirect address mode amod = 0 (default) direct address mode amod = 1 regacces.vsd
pef 81902 functional description data sheet 24 2001-11-12 2.2 reset generation figure 9 shows the organization of the reset generation of the t-smint  ix.  . figure 9 reset generation of the t-smint  ix 1) reset source selection the internal reset sources c/i code change and watchdog timer can be output at the low active reset pin rsto . these reset sources can be selected with the rss2,1 bits in the mode1 register according to table 8 . 1) the ? or ? -gates shall illustrate in a symbolic way, that ? source a active ? or ? source b active ? is forwarded. the real polarity of the different sources is not considered. watchdog c/i0 code change (exchange awake) software reset register (sres) reset functional block res_ci res_s res_hdlc res_u internal reset of all registers 1 1 por/uvd vdddet rst pin rss2,1 rss2,1 rss1 resetgen.vsd rsto 0,1= open 0 1 1,x 0,0 125s t 250s t = 125s deacti- vation delay vdddet 0 1 reset mode1 register 0 1
pef 81902 functional description data sheet 25 2001-11-12 the internal reset sources set the mode1 register to its reset value. table 8 reset source selection   c/i code change (exchange awake) a change in the downstream c/i channel (c/i0) generates a reset pulse of 125 s t 250 s.  watchdog timer after the selection of the watchdog timer (rss = ? 11 ? ) an internal timer is reset and started. during every time period of 128 ms the microcontroller has to program the wtc1- and wtc2 bits in the following sequence to reset and restart the watchdog timer: otherwise the timer expires and a wov-interrupt (ista register) together with a reset out pulse on pin rsto of 125 s is generated. deactivation of the watchdog timer is only possible with a hardware reset (including expiration of the watchdog timer). as in the scout-s, the watchdog timer is clocked with the iom  -2 clocks and works only if the internal iom  -2 clocks are active. hence, the power consumption is minimized in state power down. software reset register (sres) several main functional blocks of the t-smint  ix can be reset separately by software setting the corresponding bit in the sres register. this is equivalent to a hardware reset of the corresponding functional block. the reset state is activated as long as the bit is set to ? 1 ? . rss2 bit 1 rss1 bit 0 c/i code change watchdog timer por/uvd 1) and rst 1) por/uvd can be enabled/disabled via pin vdddet 0 0 -- -- x 0 1 /rsto disabled (= high impedance) 10 x -- x 11 -- x x wtc1 wtc2 1. 2. 1 0 0 1
pef 81902 functional description data sheet 26 2001-11-12 external reset input at the rst input an external reset can be applied forcing the t-smint  ix in the reset state. this external reset signal is additionally fed to the rsto output. after release of an external reset, the c has to wait for min. t c before it starts read or write access to the t-smint  ix (see table 41 ). reset ouput if vdddet is active, then the deactivation of a reset output on rsto is delayed by t deact (see table 42 ). reset generation the t-smint  ix has an on-chip reset generator based on a power-on reset (por) and under voltage detection (uvd) circuit (see table 42 ). the por/uvd requires no external components. the por/uvd circuit can be disabled via pin vdddet . the requirements on v dd ramp-up during power-on reset are described in chapter 5.6.5 . clocks and data lines during reset during reset the data clock (dcl), the bit clock (bcl), the microcontroller clock 1) (mclk) and the frame synchronization (fsc) keep running. during reset dd and du are high; with the exception of:  the output c/i code from the u-transceiver on dd iom  -2 channel 0 is ? dr ? = 0000 (value after reset of register ucir = ? 00 h ? )  the output c/i code from the s-transceiver on du iom  -2 channel 1 is ? tim ? = 0000. 1) during a power-on/uvd reset, the microcontroller clock mclk is not running, but starts running as soon as timer t deac is started.
pef 81902 functional description data sheet 27 2001-11-12 2.3 iom ? -2 interface the t-smint  ix supports the iom  -2 interface in terminal mode (dcl=1.536 mhz) according to the iom  -2 reference guide [12]. 2.3.1 iom  -2 functional description the iom  -2 interface consists of four lines: fsc, dcl, dd, du and optionally bcl. the rising edge of fsc indicates the start of an iom  -2 frame. the dcl and the bcl clock signals synchronize the data transfer on both data lines du and dd. the dcl is twice the bit rate, the bcl rate is equal to the bit rate. the bits are shifted out with the rising edge of the first dcl clock cycle and sampled at the falling edge of the second clock cycle. with bcl the bits are shifted out with the rising edge and sampled with the falling edge of the single clock cycle. the iom  -2 interface can be enabled/disabled with the dis_iom bit in the iom_cr registerthe fsc signal is an 8 khz frame sync signal. the number of pcm timeslots on the receive and transmit lines is determined by the frequency of the dcl clock (or bcl), with the 1.536 mhz (bcl=768 khz) clock 3 channels consisting of 4 timeslots each are available. iom ? -2 frame structure of the t-smint  ix the frame structure on the iom  -2 data ports (du,dd) of the t-smint  ix with a dcl clock of 1.536 mhz (or bcl=768 khz) and if tic bus is not disabled (iom_cr.tic_dis) is shown in figure 10 .  figure 10 iom ? -2 frame structure of the t-smint  ix macro_19
pef 81902 functional description data sheet 28 2001-11-12 the frame is composed of three channels:  channel 0 contains 144-kbit/s of user and signaling data (2b + d), a monitor programming channel (mon0) and a command/indication channel (ci0) for control and programming of e.g. the u-transceiver.  channel 1 contains two 64-kbit/s intercommunication channels (ic), a monitor programming channel (mon1) and a command/indication channel (ci1) for control and programming of e.g. the s-transceiver.  channel 2 is used for d-channel access mechanism (tlc-bus, s/g bit). additionally, channel 2 supports further ic and mon channels. 2.3.2 iom  -2 handler the iom  -2 handler offers a great flexibility for handling the data transfer between the different functional units of the t-smint  ix and voice/data devices connected to the iom  -2 interface. additionally it provides a microcontroller access to all time slots of the iom  -2 interface via the four controller data access registers (cda). the pcm data of the functional units  s-transceiver (s) and the  controller data access (cda) can be configured by programming the time slot and data port selection registers (tsdp). with the tss bits (time slot selection) the pcm data of the functional units can be assigned to each of the 12 pcm time slots of the iom  -2 frame. with the dps bit (data port selection) the output of each functional unit is assigned to du or dd respectively. the input is assigned vice versa. with the control registers (cr) the access to the data of the functional units can be controlled by setting the corresponding control bits (en, swap). the iom  -2 handler also provides access to the  u and s transceiver  monitor channel  c/i channels (ci0,ci1)  tic bus (tic) and  d- and/or b-channel for hdlc control the access to these channels is controlled by the registers s_cr, hci_cr and mon_cr. the iom  -2 interface with the two serial data strobes (sds1,2) is controlled by the control registers iom_cr, sds1_cr and sds2_cr. the following figure 11 shows the architecture of the iom  -2 handler.
pef 81902 functional description data sheet 29 2001-11-12  figure 11 architecture of the iom  -2 handler 21150_0 7 control data access (tsdp, dps, en, swap, tbm, mcda, sti) cda registers cda10 cda11 cda20 cda21 cda_tsdpxy cda_crx mcda sti msti asti controller data access (cda) control monitor data mon_cr tic bus disable iom_cr control hdlc b1-data en b2-data en d-data en hci_cr control c/i1 data control transceiver data access (tss, dps, en) s_tsdp_b1 s_tsdp_b2 s_cr d data d/b1/b2 data c/i0 data c/i1 data c/i0 data tic bus data monitor data cda data transceiver data (tr=u/s) tr_b1_x tr_b2_x tr_d_x tr_b1_r tr_b2_r tr_d_r mon handler tic c/i0 c/i1 data b1/b2/d-ch fifos microcontroller interface sds1/2_cr iom_cr (en, tlen, tss) iom-2 interface (en, od) du dd fsc dcl bcl/sclk sds1 sds2 iom-2 handler tr represents the u and s transceiver
pef 81902 functional description data sheet 30 2001-11-12 2.3.2.1 controller data access (cda) the four controller data access registers (cda10, cda11, cda20, cda21) provide microcontroller access to the 12 iom  -2 time slots and more:  looping of up to four independent pcm channels from du to dd or vice versa over the four cda registers  shifting or switching of two independent pcm channels to another two independent pcm channels on both data ports (du, dd). between reading and writing the data can be manipulated (processed with an algorithm) by the microcontroller. if this is not the case a switching function is performed.  monitoring of up to four time slots on the iom  -2 interface simultaneously  microcontroller read and write access to each pcm channel the access principle, which is identical for the two channel register pairs cda10/11 and cda20/21, is illustrated in figure 12 . the index variables x,y used in the following description can be 1 or 2 for x, and 0 or 1 for y. the prefix ? cda_ ? from the register names has been omitted for simplification. to each of the four cdaxy data registers a tsdpxy register is assigned by which the time slot and the data port can be determined. with the tss (time slot selection) bits a time slot from 0...11 can be selected. with the dps (data port selection) bit the output of the cdaxy register can be assigned to du or dd respectively. the time slot and data port for the output of cdaxy is always defined by its own tsdpxy register. the input of cdaxy depends on the swap bit in the control registers crx. if the swap bit = ? 0 ? (swap is disabled) the time slot and data port for the input and output of the cdaxy register is defined by its own tsdpxy register. if the swap bit = ? 1 ? (swap is enabled) the input port and time slot of the cdax0 is defined by the tsdp register of cdax1 and the input port and time slot of cdax1 is defined by the tsdp register of cdax0. the input definition for time slot and data port cdax0 are thus swapped to cdax1 and for cdax1 swapped to cdax0. the output timeslots are not affected by swap. the input and output of every cdaxy register can be enabled or disabled by setting the corresponding en (-able) bit in the control register cdax_cr. if the input of a register is disabled the output value in the register is retained. usually one input and one output of a functional unit (transceiver, hdlc controller, cda register) is programmed to a timeslot on iom  -2 (e.g. for b-channel transmission in upstream direction the s-transceiver writes data onto iom  -2 and the u-transceiver reads data from iom  -2). for monitoring data in such cases a cda register is programmed as described below under ? monitoring data ? . besides that none of the iom  -2 timeslots must be assigned more than one input and output of any functional unit.
pef 81902 functional description data sheet 31 2001-11-12  . figure 12 data access via cdax0 and cdax1 register pairs looping and shifting data figure 13 gives examples for typical configurations with the above explained control and configuration possibilities with the bits tss, dps, en and swap in the registers tsdpxy or cdax_cr: a) looping iom  -2 time slot data from du to dd or vice versa (swap = ? 0 ? ) b) shifting data from tsa to tsb and tsc to tsd in both transmission directions (swap = ? 1 ? ) c) switching data from tsa to tsb and looping from du to dd or switching tsc to tsd and looping from dd to du . tsa is programmed in tsdp10, tsb in tsdp11, tsc in tsdp20 and tsd in tsdp21. x = 1 or 2; a,b = 0...11 iom_hand.fm4 du cdax1 control register cda_crx dd 1 1 time slot selection (tss) 1 data port cda_tsdpx1 0 1 0 1 1 0 1 1 enable input (en_o0) output cda_tsdpx0 1 0 cdax0 1 (en_i0) (en_i1) input enable output (en_o1) selection (dps) data port selection (dps) selection (tss) time slot tsa tsa tsb tsb input swap (swap)
pef 81902 functional description data sheet 32 2001-11-12  figure 13 examples for data access via cdaxy registers a) looping data b) shifting (switching) data c) switching and looping data tsa tsb tsc tsd cda10 cda11 cda20 cda21 tsa tsb tsc tsd du dd tsa tsb tsc tsd cda10 cda11 cda20 cda21 du dd b) shifting data a) looping data .tss: .dps .swap ? 0 ? ? 1 ? ? 1 ? ? 0 ? ? 0 ? ? 0 ? tsa tsb tsc tsd .tss: .dps .swap ? 1 ? ? 1 ? ? 0 ? ? 1 ? ? 0 ? ? 1 ? tsa tsb tsc tsd cda10 cda11 cda20 cda21 du dd c) switching data tsa tsb tsc tsd .tss: .dps .swap ? 1 ? ? 1 ? ? 1 ? ? 0 ? ? 0 ? ? 1 ?
pef 81902 functional description data sheet 33 2001-11-12 figure 14 shows the timing of looping tsa from du to dd via cdaxy register. tsa is read in the cdaxy register from du and is written one frame later on dd. figure 15 shows the timing of shifting data from tsa to tsb on du(dd). in figure 15 a) shifting is done in one frame because tsa and tsb didn ? t succeed directly one another (a = 0...9 and b a+2) . in figure 15 b) shifting is done from one frame to the following frame. this is the case when the time slots succeed one other (b = a+1) or b is smaller than a (b < a). at looping and shifting the data can be accessed by the controller between the synchronous transfer interrupt (sti) and the status overflow interrupt (stov). sti and stov are explained in the section ? synchronous transfer ? . if there is no controller intervention the looping and shifting is done autonomously.  . figure 14 data access when looping tsa from du to dd tsa du tsa fsc cdaxy c rd wr ack stov tsa dd tsa sti *) if access by the c is required *)
pef 81902 functional description data sheet 34 2001-11-12  figure 15 data access when shifting tsa to tsb on du (dd) tsa du tsb fsc cdaxy c rd wr ack stov sti tsa sti tsa fsc cdaxy c rd wr ack stov sti tsb tsa tsb (dd) (a,b: 0...11 and (b = a+1 or b pef 81902 functional description data sheet 35 2001-11-12 monitoring data figure 16 gives an example for monitoring of two iom  -2 time slots each on du or dd simultaneously. for monitoring on du and/or dd the channel registers with even numbers (cda10, cda20) are assigned to time slots with even numbers ts(2n) and the channel registers with odd numbers (cda11, cda21) are assigned to time slots with odd numbers ts(2n+1). the user has to take care of this restriction by programming the appropriate time slots. this mode is only valid if two blocks (e.g. both transceivers) are programmed to these timeslots and communicating via iom  -2. however, if only one block is programmed to this timeslot the timeslots for cdax0 and cdax1 can be programmed completely independently.  . figure 16 example for monitoring data monitoring tic bus monitoring the tic bus (ts11) is handled as a special case. the tic bus can be monitored with the registers cdax0 by setting the en_tbm (enable tic bus monitoring) cda10 cda11 cda20 cda21 ts(2n) ts(2n+1) du dd a) monitoring data tss: ts(2n) ts(2n+1) tss: ? 1 ? ? 1 ? dps: ? 0 ? ? 0 ? dps: ? 0 ? ? 0 ? en_o: ? 1 ? ? 1 ? en_i: ? 0 ? ? 0 ? en_o: ? 1 ? ? 1 ? en_i: cda_cr1. cda_cr2.
pef 81902 functional description data sheet 36 2001-11-12 bit in the control registers crx. the tsdpx0 must be set to 08 h for monitoring from du or 88 h for monitoring from dd. by this it is possible to monitor the tic bus (ts11) and the odd numbered d-channel (ts3) simultaneously on du and dd. synchronous transfer while looping, shifting and switching the data can be accessed by the controller between the synchronous transfer interrupt (sti) and the synchronous transfer overflow interrupt (stov). the microcontroller access to each of the cdaxy registers can be synchronized by means of four programmable synchronous transfer interrupts (stixy) 1) and synchronous transfer overflow interrupts (stovxy) 2) in the sti register. depending on the dps bit in the corresponding tsdpxy register the stixy is generated two (for dps= ? 0 ? ) or one (for dps= ? 1 ? ) bcl clock after the selected time slot (cda_tsdpxy.tss). one bcl clock is equivalent to two dcl clocks. in the following description the index xy 0 and xy 1 are used to refer to two different interrupt pairs (sti/stov) out of the four cda interrupt pairs (sti10/stov10, sti11/ stov11, sti20/stov20, sti21/stov21). a stovxy 0 is related to its stixy 0 and is only generated if stixy 0 is enabled and not acknowledged. however, if stixy 0 is masked, the stovxy0 is generated for any other stixy1 which is enabled and not acknowledged. table 9 gives some examples for that. it is assumed that a stov interrupt is only generated because a sti interrupt was not acknowledged before. in example 1 only the stixy 0 is enabled and thus stixy 0 is only generated. if no sti is enabled, no interrupt will be generated even if stov is enabled (example 2). in example 3 stixy 0 is enabled and generated and the corresponding stovxy 0 is disabled. stixy 1 is disabled but its stovxy 1 is enabled, and therefore stovxy 1 is generated due to stixy 0 . in example 4 additionally the corresponding stovxy 0 is enabled, so stovxy 0 and stovxy 1 are both generated due to stixy 0 . in example 5 additionally the stixy 1 is enabled with the result that stovxy 0 is only generated due to stixy 0 and stovxy 1 is only generated due to stixy 1 . compared to the previous example stovxy 0 is disabled in example 6, so stovxy 0 is not generated and stovxy 1 is only generated for stixy 1 but not for stixy 0 . 1) in order to enable the sti interrupts the input of the corresponding cda register has to be enabled. this is also valid if only a synchronous write access is wanted. the enabling of the output alone does not effect an sti interrupt. 2) in order to enable the stov interrupts the output of the corresponding cda register has to be enabled. this is also valid if only a synchronous read access is wanted. the enabling of the input alone does not effect an interrupt.
pef 81902 functional description data sheet 37 2001-11-12  compared to example 5 in example 7 a third stovxy 2 is enabled and thus stovxy2 is generated additionally for both stixy 0 and stixy 1 . a stov interrupt is not generated if all stimulating sti interrupts are acknowledged. a stixy must be acknowledged by setting the ackxy bit in the asti register two bcl clock (for dps= ? 0 ? ) or one bcl clocks (for dps= ? 1 ? ) before the time slot which is selected for the appropriate stixy. the interrupt structure of the synchronous transfer is shown in figure 17 . table 9 examples for synchronous transfer interrupts enabled interrupts (register msti) generated interrupts (register sti) sti stov sti stov xy 0 -xy 0 - example 1 -xy 0 - - example 2 xy 0 xy 1 xy 0 xy 1 example 3 xy 0 xy 0 ; xy 1 xy 0 xy 0 ; xy 1 example 4 xy 0 ; xy 1 xy 0 ; xy 1 xy 0 xy 1 xy 0 xy 1 example 5 xy 0 ; xy 1 xy 1 xy 0 xy 1 - xy 1 example 6 xy 0 ; xy 1 xy 0 ; xy 1 ; xy 2 xy 0 xy 1 xy 0 ; xy 2 xy 1 ; xy 2 example 7
pef 81902 functional description data sheet 38 2001-11-12  . figure 17 interrupt structure of the synchronous data transfer figure 18 shows some examples based on the timeslot structure. figure a) shows at which point in time a sti and stov interrupt is generated for a specific timeslot. figure b) is identical to example 3 above, figure c) corresponds to example 5 and figure d) shows example 4. cic st mos s wov cic st mos s wov int sti11 ista mask msti sti sti10 sti20 sti21 stov10 stov11 stov20 stov21 sti11 sti10 sti20 sti21 stov10 stov11 stov20 stov21 ack11 asti ack10 ack20 ack21 u u hdlc hdlc tin tin
pef 81902 functional description data sheet 39 2001-11-12  . figure 18 examples for the synchronous transfer interrupt control with one stixy enabled  . xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '1' '1' '1' msti.stovxy: '0' '1' '1' '1' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 a) interrupts for data access to time slot 0 (b1 after reset), msti.sti10 and msti.stov10 enabled xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '1' '1' '1' msti.stovxy: '1' '1' '1' '0' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 b) interrupts for data access to time slot 0 (b1 after reset), stov interrupt used as flag for "last possible cda access"; msti.sti10 and msti.stov20 enabled c) interrupts for data access to time slot 0 and 1 (b1 and b2 after reset), msti.sti10, msti.stov10, msti.sti11 and msti.stov11 enabled sti_stov.vsd xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '0' '1' '1' msti.stovxy: '0' '0' '1' '1' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 d) interrupts for data access to time slot 0 (b1 after reset), stov20 interrupt used as flag for "last possible cda access", stov10 interrupt used as flag for "cda access failed"; msti.sti10, msti.stov10 and msti.stov20 enabled xy: 10 11 21 20 cda_tdspxy.tss: ts0 ts1 ts5 ts11 msti.stixy: '0' '1' '1' '1' msti.stovxy: '0' '1' '1' '0' ts7 ts5 ts6 ts4 ts3 ts1 ts2 ts0 ts11 ts9 ts10 ts8 ts0 ts11 : stov interrupt generated for a not acknowledged sti interrupt : sti interrupt generated
pef 81902 functional description data sheet 40 2001-11-12 2.3.2.2 serial data strobe signal for time slot oriented standard devices at the iom  -2 interface, the t-smint  ix provides two independent data strobe signals sds1 and sds2. the two strobe signals can be generated with every 8-khz-frame and are controlled by the registers sds1/2_cr. by programming the tss bits and three enable bits (ens_tss, ens_tss+1, ens_tss+3) a data strobe can be generated for the iom  -2 time slots ts, ts+1 and ts+3 (bit7,6) and the combinations of them. the data strobes for ts and ts+1 are always 8 bits long (bit7 to bit0) whereas the data strobe for ts+3 is always 2 bits long (bit7, bit6).  figure 19 data strobe signal generation fsc dd,du m r m x d ci0 sds1,2 (example1) sds1,2 (example2) sds1,2 (example3) tss ens_tss ens_tss+1 ens_tss+3 example 1: = '0 h ' = '0' = '1' = '0' tss ens_tss ens_tss+1 ens_tss+3 example 2: = '5 h ' = '1' = '1' = '0' tss ens_tss ens_tss+1 ens_tss+3 example 3: = '0 h ' = '1' = '1' = '1' ts0 ts11 ts10 ts9 ts8 ts7 ts6 ts5 ts4 ts3 ts2 ts1 ts0 ts1 b1 b2 mon0 ic1 ic2 mon1 m r m x ci1 strobe.vsd
pef 81902 functional description data sheet 41 2001-11-12 figure 19 shows three examples for the generation of a strobe signal. in example 1 the sds is active during channel b2 on iom  -2, whereas in the second example during ic2 and mon1. the third example shows a strobe signal for 2b+d channels which is used e.g. at an idsl (144 kbit/s) transmission. 2.3.3 iom  -2 monitor channel the iom  -2 monitor channel is utilized for information exchange between the t- smint  ix and other devices in the monitor channel. the montior channel data can be controlled by the bits in the monitor control register (mon_cr). for the transmission of the monitor data one of the 3 iom  -2 channels can be selected by setting the monitor channel selection bits (mcs) in the monitor control register (mon_cr). the dps bit in the same register selects between an output on du or dd respectively and with en_mon the monitor data can be enabled/disabled. the default value is monitor channel 0 (mon0) enabled and transmission on dd. the monitor channel of the t-smint  ix can be used in the following applications (refer also to and ):  as a master device the t-smint  ix can program and control other devices (e.g. psb 2161) attached to the iom  -2, which therefore, do not need a microcontroller interface.  as a slave device the t-smint  ix is programmed and controlled from a master device on iom  -2 (e.g. utah). this is used in applications where no microcontroller is connected directly to the t-smint  ix. the monitor channel operates according to the iom  -2 reference guide [12]. note: in contrast to the ntc-t, the t-smint  ix does neither issue nor react on monitor commands (mon0,1,2,8). instead, the t-smint  ix operated in iom  -2 slave mode must be programmed via new monitor channel concept (see chapter 2.3.3.4 ), which provides full register access. the monitor time out procedure is available. reporting of the t-smint  ix is performed via interrupts. 2.3.3.1 handshake procedure the monitor channel operates on an asynchronous basis. while data transfers on the bus take place synchronized to frame sync, the flow of data is controlled by a handshake procedure using the monitor channel receive (mr) and monitor channel transmit (mx) bits. data is placed onto the monitor channel and the mx bit is activated. this data will be transmitted once per 8-khz frame until the transfer is acknowledged via the mr bit.
pef 81902 functional description data sheet 42 2001-11-12 the monitor channel protocol is described in the following section and figure 22 shall illustrate this. the relevant control and status bits for transmission and reception are listed in table 10 and table 11 . table 10 transmit direction control/ status bit register bit function control mocr mxc mx bit control mie transmit interrupt (mda, mab, mer) enable status mosr mda data acknowledged mab data abort msta mac transmission active table 11 receive direction control/ status bit register bit function control mocr mrc mr bit control mre receive interrupt (mdr) enable status mosr mdr data received mer end of reception
pef 81902 functional description data sheet 43 2001-11-12  figure 20 monitor channel protocol (iom ? -2) before starting a transmission, the microprocessor should verify that the transmitter is inactive, i.e. that a possible previous transmission has been terminated. this is indicated by a ? 0 ? in the monitor channel active mac status bit. after having written the monitor data transmit (mox) register, the microprocessor sets the monitor transmit control bit mxc to ? 1 ? . this enables the mx bit to go active (0), indicating the presence of valid monitor data (contents of mox) in the corresponding frame. as a result, the receiving device stores the monitor byte in its monitor receive mor register and generates a mdr interrupt status. alerted by the mdr interrupt, the microprocessor reads the monitor receive (mor) register. when it is ready to accept data (e.g. based on the value in mor, which in a point-to-multipoint application might be the address of the destination device), it sets the mr control bit mrc to ? 1 ? to enable the receiver to store succeeding monitor channel bytes and acknowledge them according to the monitor channel protocol. in addition, itd10032 mon mx transmitter mr 1 1 ff ff 1 1 adr 0 1 0 0 data1 0 1 data1 adr 0 0 data1 0 1 data1 0 0 0 0 data2 0 1 data2 data2 0 1 data2 0 0 ff 1 0 ff 1 0 ff 1 1 ff 1 1 receiver mie = 1 mox = adr mxc = 1 mac = 1 mox = data1 mda int. mda int. mda int. mxc = 0 mdr int. rd mor (=adr) mrc = 1 mdr int. mdr int. mrc = 0 mer int. p p 125 s rd mor (=data1) rd mor (=data2) mox = data2 mac = 0
pef 81902 functional description data sheet 44 2001-11-12 it enables other monitor channel interrupts by setting monitor interrupt enable (mie) to ? 1 ? . as a result, the first monitor byte is acknowledged by the receiving device setting the mr bit to ? 0 ? . this causes a monitor data acknowledge mda interrupt status at the transmitter. a new monitor data byte can now be written by the microprocessor in mox. the mx bit is still in the active (0) state. the transmitter indicates a new byte in the monitor channel by returning the mx bit active after sending it once in the inactive state. as a result, the receiver stores the monitor byte in mor and generates a new mdr interrupt status. when the microprocessor has read the mor register, the receiver acknowledges the data by returning the mr bit active after sending it once in the inactive state. this in turn causes the transmitter to generate a mda interrupt status. this "mda interrupt ? write data ? mdr interrupt ? read data ? mda interrupt" handshake is repeated as long as the transmitter has data to send. note that the monitor channel protocol imposes no maximum reaction times to the microprocessor. when the last byte has been acknowledged by the receiver (mda interrupt status), the microprocessor sets the monitor transmit control bit mxc to ? 0 ? . this enforces an inactive ( ? 1 ? ) state in the mx bit. two frames of mx inactive signifies the end of a message. thus, a monitor channel end of reception mer interrupt status is generated by the receiver when the mx bit is received in the inactive state in two consecutive frames. as a result, the microprocessor sets the mr control bit mrc to 0, which in turn enforces an inactive state in the mr bit. this marks the end of the transmission, making the monitor channel active mac bit return to ? 0 ? . during a transmission process, it is possible for the receiver to ask a transmission to be aborted by sending an inactive mr bit value in two consecutive frames. this is effected by the microprocessor writing the mr control bit mrc to ? 0 ? . an aborted transmission is indicated by a monitor channel data abort mab interrupt status at the transmitter. the monitor transfer protocol rules are summarized in the following section  a pair of mx and mr in the inactive state for two or more consecutive frames indicates an idle state or an end of transmission .  a start of a transmission is initiated by the transmitter by setting the mxc bit to ? 1 ? enabling the internal mx control. the receiver acknowledges the received first byte by setting the mr control bit to ? 1 ? enabling the internal mr control.  the internal mx, mr control indicates or acknowledges a new byte in the mon slot by toggling mx, mr from the active to the inactive state for one frame.  two frames with the mr-bit set to inactive indicate a receiver request for abort .  the transmitter can delay a transmission sequence by sending the same byte continuously. in that case the mx-bit remains active in the iom  -2 frame following the first byte occurrence. delaying a transmission sequence is only possible while the receiver mr-bit and the transmitter mx-bit are active.
pef 81902 functional description data sheet 45 2001-11-12  since a double last-look criterion is implemented the receiver is able to receive the mon slot data at least twice (in two consecutive frames), the receiver waits for the acknowledge of the reception of two identical bytes in two successive frames.  to control this handshake procedure a collision detection mechanism is implemented in the transmitter. this is done by making a collision check per bit on the transmitted monitor data and the mx bit.  monitor data will be transmitted repeatedly until its reception is acknowledged or the transmission time-out timer expires.  two frames with the mx bit in the inactive state indicates the end of a message (eom).  transmission and reception of monitor messages can be performed simultaneously. this feature is used by the device to send back the response before the transmission from the controller is completed (the device does not wait for eom from controller). 2.3.3.2 error treatment in case the device does not detect identical monitor messages in two successive frames, transmission is not aborted. instead the device will wait until two identical bytes are received in succession. a transmission is aborted by the device if  an error in the mr handshaking occurs  a collision on the iom  -2 bus of the monitor data or mx bit occurs  the transmission time-out timer expires a reception is aborted by the device if  an error in the mx handshaking occurs or  an abort request from the opposite device occurs mx/mr treatment in error case in the master mode the mx/mr bits are under control of the microcontroller through mxc or mrc, respectively. an abort is indicated by an mab interrupt or mer interrupt, respectively. in the slave mode the mx/mr bits are under control of the device. an abort is always indicated by setting the mx/mr bit inactive for two or more iom  -2 frames. the controller must react with eom. figure 21 shows an example for an abort requested by the receiver, figure 22 shows an example for an abort requested by the transmitter and figure 23 shows an example for a successful transmission.
pef 81902 functional description data sheet 46 2001-11-12  figure 21 monitor channel, transmission abort requested by the receiver  figure 22 monitor channel, transmission abort requested by the transmitter  figure 23 monitor channel, normal end of transmission mx (du) iom -2 frame no. 1 2 345 67 eom mr (dd) 1 0 1 0 mon_rec-abort.vsd abort request from receiver mr (du) iom -2 frame no. 1 2 345 67 mx (dd) 1 0 1 0 eom mon_tx-abort.vsd abort request from transmitter mr (du) iom -2 frame no. 1 2 345 67 mx (dd) 1 0 1 0 eom mon_norm.vsd 8
pef 81902 functional description data sheet 47 2001-11-12 2.3.3.3 monitor channel programming as a master device the master mode is selected by default if one of the microcontroller interfaces is selected. the monitor data is written by the microcontroller in the mox register and transmitted via iom  -2 dd(du) line to the programmed/controlled device e.g. arcofi- ba psb 2161. the transfer of the commands in the mon channel is regulated by the handshake protocol mechanism with mx, mr. 2.3.3.4 monitor channel programming as a slave device monitor slave mode can be selected by pinstrapping the microcontroller interface pins according to table 4 . all programming data required by the device is received in the monitor time slot on the iom  -2 and is transferred to the mor register. the transfer of the commands in the mon channel is regulated by the handshake protocol mechanism with mx, mr which is described in the previous chapter 2.3.3.1 . the first byte of the monitor message must contain in the higher nibble the monitor channel address code which is ? 1000 ? for the t-smint  ix. the lower nibble distinguishes between a programming command and an identification command. identification command in order to be able to identify unambiguously different hardware designs of the t- smint  ix by software, the following identification command is used: the t-smint  ix responds to this identification sequence by sending a identification sequence: design: six bit code, specific for each device in order to identify differences in operation (see ?id - identification register? on page 175 ). this identification sequence is usually done once, when the t-smint  ix is connected for the first time. this function is used so that the software can distinguish between different possible hardware configurations. however this sequence is not compulsory. programming sequence the programming sequence is characterized by a ? 1 ? being sent in the lower nibble of the received address code. the data structure after this first byte is equivalent to the structure of the serial control interface described in chapter chapter 2.1.1 . du 1st byte value 10000000 du 2nd byte value 00000000 dd 1st byte value 10000000 dd 2nd byte value 0 0 design
pef 81902 functional description data sheet 48 2001-11-12  all registers can be read back when setting the r/w bit to ? 1 ? . the t-smint  ix responds by sending his iom  -2 specific address byte (81 h ) followed by the requested data. note: application hint: it is not allowed to disable the mx- and mr-control in the programming device at the same time! first, the mx-control must be disabled, then the c has to wait for an end of reception before the mr-control may be disabled. otherwise, the t- smint  ix does not recognize an end of reception. 2.3.3.5 monitor time-out procedure to prevent lock-up situations in a monitor transmission a time-out procedure can be enabled by setting the time-out bit (tout) in the monitor configuration register (mconf). an internal timer is always started when the transmitter must wait for the reply of the addressed device or for transmit data from the microcontroller. after 40 iom  -2 frames (5 ms) without reply the timer expires and the transmission will be aborted with an eom (end of message) command by setting the mx bit to ? 1 ? for two consecutive iom  -2 frames. 2.3.3.6 monitor interrupt logic figure 24 shows the interrupt structure of the monitor handler. the monitor data receive interrupt status mdr has two enable bits, monitor receive interrupt enable (mre) and mr bit control (mrc). the monitor channel end of reception mer, monitor channel data acknowledged mda and monitor channel data abort mab interrupt status bits have a common enable bit monitor interrupt enable mie. mre set to ? 0 ? prevents the occurrence of mdr status, including when the first byte of a packet is received. when mre is set to ? 1 ? but mrc is set to ? 0 ? , the mdr interrupt status is generated only for the first byte of a receive packet. when both mre and mrc are set to ? 1 ? , mdr is always generated and all received monitor bytes - marked by a 1-to-0 transition in mx bit - are stored. additionally, a mrc set to ? 1 ? enables the control of the mr handshake bit according to the monitor channel protocol. du 1st byte value 10000001 du 2nd byte value header byte du 3rd byte value r/w command/ register address du 4th byte value data 1 du (nth + 3) byte value data n
pef 81902 functional description data sheet 49 2001-11-12  figure 24 monitor interrupt structure 2.3.4 c/i channel handling the command/indication channel carries real-time status information between the t- smint  ix and another device connected to the iom  -2. 1) c/i0 channel lies in iom  -2 channel 0 and access may be arbitrated via the tic bus access protocol. in this case the arbitration is done in iom  -2 channel 2. the c/i0 channel is accessed via register cir0 (received c/i0 data from dd) and register cix0 (transmitted c/i0 data to du). the c/i0 code is four bits long. in the receive direction, the code from layer-1 is continuously monitored, with an interrupt being generated any time a change occurs (ista.cic). c/i0 only: a new code must be found in two consecutive iom  -2 frames to be considered valid and to trigger a c/i code change interrupt status (double last look criterion). in the transmit direction, the code written in cix0 is continuously transmitted in c/i0. 2) a second c/i channel (called c/i1) lies in iom  -2 channel 1 and is used to convey real time status information of the on-chip s-transceiver or an external device. the c/i1 channel consists of four or six bits in each direction. the width can be changed from 4 bit to 6 bit by setting bit cix1.cicw. cic st mos s wov int ista cic st mos s wov u u mask mre mdr mie mda mer mab mosr mocr tin tin hdlc hdlc
pef 81902 functional description data sheet 50 2001-11-12 in 4-bit mode 6-bits are written whereby the higher 2 bits must be set to ? 1 ? and 6-bits are read whereby only the 4 lsbs are used for comparison and interrupt generation (i.e. the higher two bits are ignored). the c/i1 channel is accessed via registers cir1 and cix1. the connection of cir1 and cix1 to dd and du, respectively, can be selected by setting bit hci_cr.dps_ci1. a change in the received c/i1 code is indicated by an interrupt status without double last look criterion. cic interrupt logic figure 25 shows the cic interrupt structure. the two corresponding status bits cic0 and cic1 are read in cir0 register. cic1 can be individually disabled by clearing the enable bit ci1e in the cix1 register. in this case the occurrence of a code change in cir1 will not be displayed by cic1 until the corresponding enable bit has been set to one. bits cic0 and cic1 are cleared by a read of cir0. an interrupt status is indicated every time a valid new code is loaded in cir0 or cir1. the cir0 is buffered with a fifo size of two. if a second code change occurs in the received c/i channel 0 before the first one has been read, immediately after reading of cir0 a new interrupt will be generated and the new code will be stored in cir0. if several consecutive codes are detected, only the first and the last code are obtained at the first and second register read, respectively. for cir1 no fifo is available. the actual code of the received c/i channel 1 is always stored in cir1.  figure 25 cic interrupt structure cic st mos s wov int ista mask cic1 ci1e cic0 cir0 cix1 cic st mos s wov u u hdlc hdlc tin tin
pef 81902 functional description data sheet 51 2001-11-12 2.3.5 d-channel access control the upstream d-channel is arbitrated between the s-bus, the internal hdlc controller and external hdlc controllers via the tic bus (s/g, bac, tba bits) according to the iom  -2 reference guide 1) . further to the implementation in the intc-q it is possible, to set the priority (8 or 10) of all hdlc-controllers connected to iom  -2, which is particularly useful for use of the t-smint  ix together with the utah. 2.3.5.1 application example for d-channel access control figure 26 shows a scenario for the local d-channel arbitration between the s-bus and the microcontroller.  figure 26 d-channel arbitration: c has no hdlc and no direct access to tic bus 2.3.5.2 tic bus handling the tic bus is implemented to organize the access to the c/i0-channel and to the d- channel from up to 7 d-channels hdlc controllers. the arbitration mechanism must be activated by setting modeh.dim2-0=00x. the arbitration mechanism is implemented in the last octet in iom  -2 channel 2 of the iom  -2 interface (see figure 27 ). an access request to the tic bus may either be generated by software (c access to the c/i0-channel via cix0 register) or by an internal 1) the a/b-bit is not supported by the u-transceiver s u hdlc p - i/f iom-2 i/f arbitr. c e.g. c513, c161-ri iom-2 prio e-bit bac, tba s/g d d . cix0 cir0 c writes data into fifo, transmission happens automatically q-smintix delivers an interrupt, when transmission is complete t-smint  ix
pef 81902 functional description data sheet 52 2001-11-12 or an external d-channel hdlc controller (transmission of an hdlc frame in the d- channel). a software access request to the bus is effected by setting the bac bit in register cix0 to ? 1 ? (resulting in bac = ? 0 ? on iom  -2). in the case of an access request by the t-smint  ix, the bus accessed-bit bac (bit 5 of last octet of ch2 on du, see figure 27 ) is checked for the status "bus free ? , which is indicated by a logical ? 1 ? . if the bus is free, the t-smint  ix transmits its individual tic bus address tad programmed in the cix0 register (cix0.tba2-0). while being transmitted the tic bus address tad is compared bit by bit with the value read back on du. if a sent bit set to ? 1 ? is read back as ? 0 ? because of the access of an external device with a lower tad, the t-smint  ix withdraws immediately from the tic bus, i.e. the remaining tad bits are not transmitted. the tic bus is occupied by the device which sends and reads back its address error-free. if more than one device attempt to seize the bus simultaneously, the one with the lowest address values wins. this one will set bac=0 on tic bus and starts d-channel transmission in the same frame.  figure 27 structure of last octet of ch2 on du when the tic bus is seized by the t-smint  ix, the bus is identified to other devices as occupied via the du ch2 bus accessed-bit state ? 0 ? until the access request is withdrawn. after a successful bus access, the t-smint  ix is automatically set into a lower priority class, that is, a new bus access cannot be performed until the status "bus free" is indicated in two successive frames. if none of the devices connected to the iom  -2 interface request access to the d and c/ i0 channels, the tic bus address 7 will be present. the device with this address will therefore have access, by default, to the d and c/i0 channels. note: bit bac (cix0 register) should be reset by the c when access is no more requested, to grant other devices access to the d and c/i0 channels. b1 b2 mon0 d ci0 ic1 ic2 mon1 ci1 mx mr mx mr bac tad bus accessed ("1" no tic-bus access) itd02575.vsd bac tad 21 0 tic-bus address (tad 2 - 0) du
pef 81902 functional description data sheet 53 2001-11-12 2.3.5.3 stop/go bit handling the availability of the du d channel is indicated in bit 5 "stop/go" (s/g) of the last octet in dd channel 2 ( figure 28 ). the arbitration mechanism must be activated by setting modeh.dim2-0=0x1. s/g = 1 : stop s/g = 0 : go the stop/go bit is available to other layer-2 devices connected to the iom  -2 interface to determine if they can access the d channel in upstream direction.  figure 28 structure of last octet of ch2 on dd 2.3.5.4 d-channel arbitration in intelligent nt applications (selected via register s_mode.mode2-0) the t- smint  ix has to share the upstream d-channel with one or more d-channel controllers on the iom  -2 interface and with all connected tes on the s interface. the s-transceiver incorporates an elaborate state machine for d-channel priority handling on iom  -2 ( chapter 2.3.5.5 ). for the access to the d-channel a similar arbitration mechanism as on the s interface (writing d-bits, reading back e-bits) is performed for all d-channel sources on iom  -2. due to this an equal and fair access is guaranteed for all d-channel sources on both the s interface and the iom  -2 interface. the access to the upstream d-channel is handled via the s/g bit for the hdlc controllers and via e-bit for all connected terminals on s (e-bits are inverted to block the terminals on s). furthermore, if more than one hdlc source is requesting d-channel access on iom  -2 the tic bus mechanism is used (see chapter 2.3.5.2 ). the arbiter permanently counts the ? 1s ? in the upstream d-channel on iom  -2. if the necessary number of ? 1s ? is counted and an hdlc controller on iom  -2 requests upstream d-channel access (bac bit is set to 0), the arbiter allows this d-channel controller immediate access and blocks other tes on s (e-bits are inverted). similar as on the s-interface the priority for d-channel access on iom  -2 can be configured to 8 or 10 (s_cmd.dprio). b1 b2 mon 0 d ci0 ic1 ic2 mon1 ci1 mx mr mx mr s/g a/b s/g a/b stop/go available/blocked itd09693.vsd dd
pef 81902 functional description data sheet 54 2001-11-12 the configuration settings of the t-smint  ix in intelligent nt applications are summarized in table 12 .  note: for mode selection in the s_mode register the mode1/2 bits are used to select intelligent nt mode, mode0 selects nt or lt-s state machine. with the configuration settings shown above the t-smint  ix in intelligent nt applications provides for equal access to the d-channel for terminals connected to the s-interface and for d-channel sources on iom  -2. 2.3.5.5 state machine of the d-channel arbiter figure 29 gives a simplified view of the state machine of the d-channel arbiter. cnt is the number of ? 1 ? on the iom  -2 d-channel and bac corresponds to the bac-bit on iom  -2. the number n depends on configuration settings (selected priority 8 or 10) and the condition of the previous transmission, i.e. if an abort was seen (n = 8 or 10, respectively) or if the last transmission was successful (n = 9 or 11, respectively). table 12 t-smint  ix configuration settings in intelligent nt applications functional block configuration description configuration setting layer 1 select intelligent nt mode s-transceiver mode register: s_mode.mode0 = 0 (nt state machine) or s_mode.mode0 = 1 (lt-s state machine) s_mode.mode1 = 1 s_mode.mode2 = 1 layer 2 enable s/g bit and tic bus evaluation d-channel mode register: modeh.dim2-0 = 001
pef 81902 functional description data sheet 55 2001-11-12  figure 29 state machine of the d-channel arbiter (simplified view) 1) 1. local d-channel controller transmits upstream in the initial state ( ? ready ? state) neither the local d-channel sources nor any of the terminals connected to the s-bus transmit in the d-channel. the t-smint  ix s-transceiver thus receives bac = ? 1 ? (iom  -2 du line) and transmits s/g = ? 1 ? (iom  -2 dd line). the access will then be established according to the following procedure:  local d-channel source verifies that bac bit is set to one (currently no bus access).  local d-channel source issues tic bus address and verifies that no controller with higher priority requests transmission (tic bus access must always be performed even if no other d-channel sources are connected to iom  -2).  local d-channel source issues bac = ? 0 ? to block other sources on iom  -2 and to announce d-channel access.  t-smint  ix s-transceiver pulls s/g bit to zero ( ? local access ? state) as soon as cnt n (see note) to allow sending d-channel data from the entitled source. 1) if the s-transceiver is reset by sres.res_s = ? 1 ? or disabled by s_conf0.dis_tr = ? 1 ? , then the d-channel arbiter is in state ready (s/g = ? 1 ? ), too. the s/g evaluation of the hdlc has to be disabled in this case; otherwise, the hdlc is not able to send data. bac = 1 & dci = 0 ready s/g = 1 e = d 1)2) rst=0, a/b=0, mode=0xx d-channel_arbitration.vsd bac = d.c. dci = 0 s access s/g = 1 e = d 1) & cnt n (bac=0 or dci=1) (bac=1 & dci=0) cnt 6 (cnt 2 & d=0) & [bac = 1 or (bac = 0 & cnt < n)] 1) setting dci = 1 causes e = d 2) setting a/b = 0 causes e = d bac = 0 or dci = 1 local access wait for start flag s/g = 0 e = d cnt = 6 bac = d.c. dci = d.c. local access transmit / stop flag s/g = 0 e = d bac dci state s/g e in out
pef 81902 functional description data sheet 56 2001-11-12 t-smint  ix s-transceiver transmits inverted echo channel (e bits) on the s-bus to block all connected s-bus terminals (e = d ).  local d-channel source commences with d data transmission on iom  -2 as long as it receives s/g = ? 0 ? .  after d-channel data transmission is completed the controller sets the bac bit to one.  t-smint  ix s-transceiver transmits non-inverted echo (e = d).  t-smint  ix s-transceiver pulls s/g bit to one ( ? ready ? state) to block the d-channel controller on iom  -2. note: if right after d-data transmission the d-channel arbiter goes to state ?ready? and the local d-channel source wants to transmit again, then it may happen that the leading ?0? of the start flag is written into the d-channel before the d-channel source recognizes that the s/g bit is pulled to ?1? and stops transmission. in order to prevent unintended transitions to state ?s-access?, the additional condition cnt 2 is introduced. as soon as cnt n, the s/g bit is set to ?0? and the d-channel source may start transmission again (if tic bus is occupied). this allows an equal access for d-channel sources on iom  -2 and on the s interface. 2. terminal transmits d-channel data upstream the initial state is identical to that described in the last paragraph. when one of the connected s-bus terminals needs to transmit in the d-channel, access is established according to the following procedure:  s-transceiver recognizes that the d-channel on the s-bus is active via d = ? 0 ? .  s-transceiver transfers s-bus d-channel data transparently through to the upstream iom  -2 bus. 2.3.6 activation/deactivation of iom ? -2 interface the deactivation procedure of the iom  -2 interface is shown in figure 30. after detecting the code di (deactivation indication) the t-smint  ix responds by transmitting dc (deactivation confirmation) during subsequent frames and stops the timing signals after the fourth frame. the clocks stop at the end of the c/i-code in iom  - 2 channel 0.
pef 81902 functional description data sheet 57 2001-11-12  figure 30 deactivation of the iom ? -2 clocks conditions for power-down if none of the following conditions is true, the iom  -2 interface can be switched off, reducing power consumption to a minimum.  s-transceiver is not in state ? deactivated ?  signal info0 on the s-interface  uk0-transceiver is not in state ? deactivated ?  pin du is low (either at the iom  -2 interface or via iom_cr.spu)  external pin eaw external awake is low  bit mode 1.cfs = ? 0 ?  stop on the correct place in the iom  -2 frame. dcl must be low during power down (stop on falling edge of dcl) (see figure 30 ). a deactivated iom  -2 can be reactivated by one of the following methods:  pulling pin du line low: ? directly at the iom  -2 interface ? via the p interface with "software power up" (iom_cr:spu bit)  pulling pin eaw ? external awake ? low  setting ? configuration select ? mode1:cfs bit = ? 0 ?  level detection at the s-interface  activation from the u-interface itd10292 di di di di di di fsc din dout dc dc dc dc dr dr detail see fig.b din dcl dc/ ? / c / c / c deactivated deactivated a) b) r iom -2 interface iom -2 interface r
pef 81902 functional description data sheet 58 2001-11-12 2.4 u-transceiver the statemachine of the u-transceiver is compatible to the nt state machine in the peb 8090 documentation [9], but includes some minor changes for simplification and compliance to ref. [1]. the u-transceiver is configured and controlled via the registers described in chapter 4. the u-transceiver is always in iom  -2 channel 0. 2.4.1 4b3t frame structure the 4b3t u-interface performs full duplex data transmission and reception at the u- reference point according to etsi ts 102 080 and ftz 1tr 220. it applies the 4b3t block code together with adaptive echo cancelling and equalization. transmission performance shall be such, that it meets all etsi and ftz test loops with margin. the u-interface is designed for data transmission on twisted pair wires in local telephone loops, with basic access to isdn and a user bit rate of 144 kbit/s. the following information is transmitted over the twisted pair:  bidirectional: ? b1, b2, d data channels ? 120 khz symbol clock ? 1 khz frame ? activation ? 1 kbit/s transparent channel (m symbol), (not implemented)  from lt to nt side: ? power feeding ? deactivation ? remote control of test loops (m symbol)  from nt to lt side: ? indication of monitored code violations (m symbol) performance requirements according to ftz 1 tr 220 (august 1991): on the u-interface, the following transmission ranges are achieved without additional signal regeneration on the loop (bit error rate 10 -7 ):  with noise : 4.2 km on wires of 0.4 mm diameter and 8 km on 0.6 mm wires  without noise : 5 km on wires of 0.4 mm diameter and 10 km on 0.6 mm wires note: typical attenuation of ftz wires of 0.4 mm diameter is about 7db/km in contrast to etsi wires of 0.4 mm with about 8db/km. the transmission ranges can be doubled by inserting a repeater for signal regeneration. performance requirements according to etsi ts 102 080 are met, too. 1 ms frames are transmitted via the u-interface, each consisting of:
pef 81902 functional description data sheet 59 2001-11-12  108 symbols: 144 bit scrambled and coded b1 + b2 + d data  11 symbols: barker code for both symbol and frame synchronization (not scrambled)  1 symbol: ternary maintenance symbol (not scrambled) the 108 user data symbols are split into four equally structured groups. each group (27 ternary symbols, resp. 36 bits) contains the user data of two iom ? -2 frames in the same order (8b + 8b + 2d + 8b + 8b + 2d). different syncwords are used for each direction:  downstream from lt to nt + + + ? ? ? + ? ? + ?  upstream from nt to lt ? + ? ? + ? ? ? + + + on the nt side, the transmitted barker code begins 60 symbols after the received barker code and vice versa. table 13 frame structure a for downstream transmission lt to nt 123456789101112 d 1 d 1 d 1 d 1 d 1 d 1 d 1 d 1 d 1 d 1 d 1 d 1 13 14 15 16 17 18 19 20 21 22 23 24 d 1/2 d 1/2 d 1/2 d 2 d 2 d 2 d 2 d 2 d 2 d 2 d 2 d 2 25 26 27 28 29 30 31 32 33 34 35 36 d 2 d 2 d 2 d 3 d 3 d 3 d 3 d 3 d 3 d 3 d 3 d 3 37 38 39 40 41 42 43 44 45 46 47 48 d 3 d 3 d 3 d 3/4 d 3/4 d 3/4 d 4 d 4 d 4 d 4 d 4 d 4 49 50 51 52 53 54 55 56 57 58 59 60 d 4 d 4 d 4 d 4 d 4 d 4 d 5 d 5 d 5 d 5 d 5 d 5 61 62 63 64 65 66 67 68 69 70 71 72 d 5 d 5 d 5 d 5 d 5 d 5 d 5/6 d 5/6 d 5/6 d 6 d 6 d 6 73 74 75 76 77 78 79 80 81 82 83 84 d 6 d 6 d 6 d 6 d 6 d 6 d 6 d 6 d 6 d 7 d 7 d 7 85 86 87 88 89 90 91 92 93 94 95 96 m d 7 d 7 d 7 d 7 d 7 d 7 d 7 d 7 d 7 d 7/8 d 7/8 97 98 99 100 101 102 103 104 105 106 107 108 d 7/8 d 8 d 8 d 8 d 8 d 8 d 8 d 8 d 8 d 8 d 8 d 8 109 110 111 112 113 114 115 116 117 118 119 120 d 8 +++???+??+?
pef 81902 functional description data sheet 60 2001-11-12 d 1 ... d 8 ternary 2b + d data of iom ? -2 frames 1 ... 8 m maintenance symbol +, ? syncword
pef 81902 functional description data sheet 61 2001-11-12  u 1 ... u 8 ternary 2b + d data of iom ? -2 frames 1... 8 m maintenance symbol +, - syncword table 14 frame structure b for upstream transmission nt to lt 123456789101112 u 1 u 1 u 1 u 1 u 1 u 1 u 1 u 1 u 1 u 1 u 1 u 1 13 14 15 16 17 18 19 20 21 22 23 24 u 1/2 u 1/2 u 1/2 u 2 u 2 u 2 u 2 u 2 u 2 u 2 u 2 u 2 25 26 27 28 29 30 31 32 33 34 35 36 m u 2 u 2 u 2 u 3 u 3 u 3 u 3 u 3 u 3 u 3 u 3 37 38 39 40 41 42 43 44 45 46 47 48 u 3 u 3 u 3 u 3 u 3/4 u 3/4 u 3/4 u 4 u 4 u 4 u 4 u 4 49 50 51 52 53 54 55 56 57 58 59 60 u 4 ?+??+???+++ 61 62 63 64 65 66 67 68 69 70 71 72 u 4 u 4 u 4 u 4 u 4 u 4 u 5 u 5 u 5 u 5 u 5 u 5 73 74 75 76 77 78 79 80 81 82 83 84 u 5 u 5 u 5 u 5 u 5 u 5 u 5/6 u 5/6 u 5/6 u 6 u 6 u 6 85 86 87 88 89 90 91 92 93 94 95 96 u 6 u 6 u 6 u 6 u 6 u 6 u 6 u 6 u 6 u 7 u 7 u 7 97 98 99 100 101 102 103 104 105 106 107 108 u 7 u 7 u 7 u 7 u 7 u 7 u 7 u 7 u 7 u 7/8 u 7/8 u 7/8 109 110 111 112 113 114 115 116 117 118 119 120 u 8 u 8 u 8 u 8 u 8 u 8 u 8 u 8 u 8 u 8 u 8 u 8
pef 81902 functional description data sheet 62 2001-11-12 2.4.2 maintenance channel the 4b3t frame structure provides a 1 kbit/s m(aintenance)-channel for the transfer of remote loopback commands and error indications. loopback commands the lt station uses the m-channel to request remote loopbacks. loopback commands are coded with a series of ? 0 ? and ? + ? symbols.  a continuous series of ? + ? requests for loopback 2 activation in the nt  a continuous series of ? 0 ? requests for deactivation of any loopback the nt station reacts as soon as the pattern has been detected in 8 consecutive symbols. error indications the nt u-transceiver reports line code violations via the m-channel to the exchange by setting one m-bit to ? + ? polarity. transparent messages the exchange of transparent messages via the transparent channel is not supported by the t-smint  ix. 2.4.3 coding from binary to ternary data each 4 bit block of binary data is coded into 3 ternary symbols of mms 43 block code according to table 15 . the number of the next column to be used, is given at the right hand side of each block. the left hand signal elements in the table (both ternary and binary) are transmitted first.  table 15 mms 43 coding table s1 s2 s3 s4 t t t t t 0 0010 ? +10 ? +20 ? +30 ? +4 0 111 ? 0+1 ? 0+2 ? 0+3 ? 0+4 0 100 ? +01 ? +02 ? +03 ? +04 0 010+ ? 01+ ? 02+ ? 03+ ? 04 1 011+0 ? 1+0 ? 2+0 ? 3+0 ? 4 1 1100+ ? 10+ ? 20+ ? 30+ ? 4 1 001+ ? +2+ ? +3+ ? +4 ??? 1
pef 81902 functional description data sheet 63 2001-11-12 2.4.4 decoding from ternary to binary data decoding is done in the reverse manner of coding. the received blocks of 3 ternary symbols are converted into blocks of 4 bits. the decoding algorithm is given in table 16 . as in the encoding table, the left hand symbol of each block (both binary and ternary) is the first bit and the right hand is the last. if a ternary block "0 0 0" is received, it is decoded to binary "0 0 0 0". this pattern usually occurs only during deactivation.  0 01100+200+300+4 ?? 02 1 1010+020+030+04 ? 0 ? 2 1 000+002+003+0040 ?? 2 0 110 ? ++2 ? ++3 ?? +2 ?? +3 1 010++ ? 2++ ? 3+ ?? 2+ ?? 3 1 111++0300 ? 100 ? 200 ? 3 0 000+0+30 ? 010 ? 020 ? 03 0 1010++3 ? 001 ? 002 ? 003 1 100+++4 ? + ? 1 ? + ? 2 ? + ? 3 table 16 4b3t decoding table ternary block binary block 0 0 0, + 0 +, 0 ? 0 0 0 0 0 0 ? + 0001 + ? 0 0 0 1 0 0 0 +, ? ? 0 0 0 1 1 ? + 0 0 1 0 0 0 + +, ? 0 0 0 1 0 1 ? + +, ? ? + 0 1 1 0 ? 0 + 0 1 1 1 + 0 0, 0 ? ? 1000 + ? +, ? ? ? 1001 + + ? ,+ ? ? 1010 + 0 ? 1011 + + +, ? + ? 1100 table 15 mms 43 coding table (cont ? d) s1 s2 s3 s4
pef 81902 functional description data sheet 64 2001-11-12 2.4.4.1 monitoring of code violations the running digital sum monitor (rdsm) computes the running digital sum from the received ternary symbols by adding the polarity of the received user data (+ 1, 0, ? 1). at the end of each block, the running digital sum is supposed to reflect the number of the next column in table 15 . a code violation has occurred if the running digital sum is less than one or more than four at the end of a ternary block, or if the ternary block 0 0 0 (three user symbols with zero polarity) is found in the received data. if at the end of a ternary block no error was found, the running digital sum retains its current value. if the counter value is greater than 4, it is set to 4 at the beginning of the next ternary block, if its value is 0 or less, it is set to one. so after a code violation has been detected, the rdsm synchronizes itself within a period depending on the received data pattern. note there are some transmission errors which do not cause a code violation. 2.4.4.2 block error counter (rds error counter) the t-smint  ix provides a block error counter. this feature allows monitoring the transmission quality on the u-interface. on the nt side a block error is given, if a u-frame with at least one code violation has been detected (near-end block error). in the following frame the nt transmits a positive m-symbol upstream. on the lt side a block error is given, if a u-frame with at least one code violation has been detected (near-end block error) or a positive m-symbol has been received from the nt (far-end block error). the current status of the block error counter can be retrieved by the system interface. when the block error counter is read (register rds), it is automatically reset. the counter is enabled in all states listed in table 17 and reset in all other states. the counter is saturated at its maximum value (255). 0 + 0, ? 0 ? 1101 0 + ? 1110 + + 0, 0 0 ? 1111 table 17 active states sbc sychronizing wait for info u4h transparent table 16 4b3t decoding table (cont ? d)
pef 81902 functional description data sheet 65 2001-11-12 note that every frame with a detected code violation causes about 10 to 20 binary bit errors on average. so a bit error rate of 10 ? 7 in both directions is equivalent to 2 detected frame errors within 1000 s in the lt (1 frame error detected in the nt and transmitted via m-symbol). 2.4.5 scrambler / descrambler scrambler the binary transmit data from the iom ? -2 interface is scrambled with a polynomial of 23 bits, before it is sent to the 4b3t coder. the scrambler polynomial is:: descrambler the received data (after decoding from ternary to binary) is multiplied with a polynomial of 23 bits in order to recover the original data before it is forwarded to the iom ? -2 interface.the descrambler is self synchronized after 23 symbols. the descrambler polynomial is:: the scrambling / descrambling process is controlled fully by the t-smint  ix. hence, no influence can be taken by the user. 2.4.6 command/indication codes both commands and indications depend on the data direction. table 18 presents all defined c/i codes. a new command or indication will be recognized as valid after it has been detected in two successive iom ? -2 frames (double last-look criterion). note: unconditional c/i-commands must be applied for at least 4 iom ? -2 frames for reliable recognition by the u-transceiver. indications are strictly state orientated. refer to the state diagrams in the following sections for commands and indications applicable in various states. table 18 c/i codes code in out 0000 tim dr 0001 ?? 0010 ?? z 23 ? z 18 ? 1 ++ z 23 ? z 5 ? 1 ++
pef 81902 functional description data sheet 66 2001-11-12  2.4.7 state machine for activation and deactivation 2.4.7.1 state machine notation the following state diagram describes all the actions/reactions resulting from any command or detected signal and resulting from the various operating modes. the states with its inputs and outputs are interpreted as shown below: 0011 ltd ? 0100 ? rsy 0101 ssp ? 0110 dt ? 0111 ?? 1000 ar ar 1001 reserved 1) ? 1010 ? arl 1011 ?? 1100 ai ai 1101 res ? 1110 ? ail 1111 di dc 1) c/i code ? 1010 ? must not be input to the u-transceiver. ai activation indication di deactivation indication. ail activation indication loop 2 dr deactivation request ar activation request ltd lt disable arl activation request local loop res reset dt data through mode rsy resynchronization indication dc deactivation confirmation ssp send-single-pulses tim timing request
pef 81902 functional description data sheet 67 2001-11-12 figure 31 state diagram example each state has one or more transitions to other states. these transitions depend on certain conditions which are noted next to the transition lines. these conditions are the only possibility to leave a state. if more conditions have to be fulfilled together, they are put into parentheses with an and operator (&). if more than one condition leads to the same transition, they are put into parentheses with an or operator (|). the meaning of a condition may be inverted by the not operator (/). only the described states and transitions exist. at some transitions, an internal timer is started. the start of a timer is indicated by txs ( ? x ? is the timer number). transitions that are caused if a timer has expired are labelled by txe. some conditions lead to the same target state. to reduce the number of lines and the complexity of the figures, a state named ? any state ? acts on behalf of all state. the state machines are designed to cope with all isdn devices with iom ? -2 standard interfaces. undefined situations are excluded. in any case, the involved devices will enter defined conditions as soon as the line is deactivated. 2.4.7.2 awake protocol for the awake process two signals are defined ? u1w ? and ? u2w ? . depending on the call direction (up-, downstream) u1w and u2w are interpreted as awake or acknowledge signals (see figures below). c/i channel indication (dout) out state name transmitted u-signal
pef 81902 functional description data sheet 68 2001-11-12  figure 32 awake procedure initiated by the lt  figure 33 awake procedure initiated by the nt acting as calling station after sending the awake signal, the awaking u-transceiver waits for the acknowledge. after 12 ms, the awake signal is repeated, if no acknowledge has been recognized. if an acknowledge signal has been recognized, the u-transceiver waits for its possible repetition (in case of previous coincidence of two awake signals). if no repetition was detected, the u-transceiver starts transmitting u2 with a delay of 7 ms. if such a repetition is detected, the u-transceiver interprets it as an awake signal and behaves like a device awoken by the far end. 2.133 ms info u2w lt info u2 (a) 2.133 ms info u1w nt info u1a 12 ms 7 ms 13 ms itd06385.vsd 2. 133 ms info u1w nt 13 ms info u1a 6 ms 2. 133 ms info u2w lt info u2 (a) 7 ms itd06386.vsd
pef 81902 functional description data sheet 69 2001-11-12 acknowledging a wake-up call if a deactivated device detects an awake signal on u, an acknowledge signal is sent out. after that, the u-transceiver waits for a possible repetition of the awake signal (in case the acknowledge hasn ? t been recognized). if no repetition is found, the awoken u-transceiver starts sending u2 after 7 ms from detecting the awake signal. if a repeated awake signal is found, the procedure in the awoken u-transceiver starts again.
pef 81902 functional description data sheet 70 2001-11-12 2.4.7.3 nt state machine (iec-t / ntc-t compatible)  figure 34 nt state machine (iec-t/ntc-t compatible) note: the test modes ?data through? (dt) and ?send single pulses? (ssp) are invoked via c/i codes ?dt? and ?ssp? according to table 18 . setting sres.res_u to ?1? forces the u-transceiver into test mode ?quiet mode? (qm), i.e. the u-transceiver is hardware reset. awr any state awr dt awr awake signal sent rsy ack. sent / received rsy u0, da ar awt start awaking uk0 rsy iom awaked dc t6e awt sending awake-ack. rsy tim awr deactivated dc deactivating dc ar di awr t05e u0 t6s t05s t6s u1w u0 t13s u0 u1w t13s t05s t13s u0 u0 res ssp or ltd (di & t05e) t05s nt_sm_4b3t_cust.emf di t6s rsy loss of framing u0 u0 u0 u0 pend. deactivation dr u0 (u0 & t12e) u2 t12s t13e ai u4h ar / arl sbc synchronizing u1 ar / arl wait for info u4h u3 transparent ai / ail u5 lof lof lof u0 t05s reset dr u0 di test dr sp / u0 synchronizing rsy u1a
pef 81902 functional description data sheet 71 2001-11-12  2.4.7.4 inputs to the u-transceiver c/i-commands ai activation indication the downstream device issues this indication to announce that layer 1 is available. the u-transceiver in turn informs the lt side by transmitting u3. ar activation request the u-transceiver is requested to start the activation process (if not already done) by sending the wake-up signal u1w. di deactivation indication this indication is used during a deactivation procedure to inform the u- transceiver that it may enter the ? deactivated ? (power-down) state. dt data through test mode this unconditional command is used for test purposes only and forces the u- transceiver into state ? transparent ? . table 19 differences to the former nt-sm of the iec-t/ntc-t no. state/ signal change comment 1. state ? deact. request rec. ? split into 3 states - ? pend. deactivation 1 ? - ? reset ? state - ? test ? state simplifies sm implementation 2. state ? loss of framing ? new inserted, results in different behavior in state ? transparent ? , no return to normal transmission possible after detection of lof compliance to etsi ts 102 080, corresponds to state nt1.10 3. c/i-code ltd new inserted 4. state ? power down ? renamed to state ? deactivated ? for consistency reasons to 2b1q 5. state ? data transmission ? renamed to state ? transparent ? 6. timer variables introduced name duration see table 20
pef 81902 functional description data sheet 72 2001-11-12 res reset unconditional command which resets the u-transceiver. ssp send single pulses unconditional command which requests the transmission of single pulses on the u-interface. tim timing the u-transceiver is requested to enter state ? iom awaked ? . u-interface events u0 u0 detected u0 is recognized after 120 symbols (1ms) with zero level in a row. detection may last up to 2 ms. u2 u2 detected the u-transceiver detects u2 if continuous binary 0 ? s are found after descrambling and lof = 0 for at least 8 subsequent u-frames. u2 is detected after 8 to 9 ms. u4h u4h detected u4h is recognized, if the u-transceiver detects 16 subsequent binary 1 ? s after descrambling. awr awake signal (u2w) detected awt awake signal (u1w) has been sent out lof loss of framing on u-interface txe timer ended, the started timer has expired timers the start of timers is indicated by txs, the expiry by txe. the following table shows which timers are used.  table 20 timers timer duration (ms) function state t05 0.5 c/i code recognition pend. deactivation, deactivating t6 6 supervises u1w repetition start awaking uk0
pef 81902 functional description data sheet 73 2001-11-12 2.4.7.5 outputs of the u-transceiver below the signals and indications are summarized that are issued on iom ? -2 (c/i indications) and on the u-interface (predefined u-signals). c/i indications ai activation indication the u-transceiver has established transparency of transmission. the downstream device is requested to establish layer-1 functionality. ail activation indication loop-back the u-transceiver has established transparency of transmission. the downstream device is requested to establish a loopback #2. ar activation request the downstream device is requested to start the activation procedure. arl activation request loop-back the u-transceiver has detected a loop-back 2 command in the m-channel and has established transparency of transmission in the direction iom ? to u- interface. the downstream device is requested to start the activation procedure and to establish a loopback #2. dc deactivation confirmation idle code on the iom ? -2 interface. dr deactivation request the u-transceiver has detected a deactivation request command from the lt- side for a complete deactivation. the downstream device is requested to start the deactivation procedure. ltd lt disable this unconditional command forces the u-transceiver to state ? test ? , where it transmits u0. no further action is initiated. t12 12 prevents the u-transceiver in state synchronizing from immediate transition to state ? pend. deactivation ? if u0 is detected synchronizing t13 13 supervises u2w repetition ack. sent / received sending awake-ack. table 20 timers (cont ? d) timer duration (ms) function state
pef 81902 functional description data sheet 74 2001-11-12 rsy resynchronizing indication rsy informs the downstream device that the u-transceiver is not synchronous. signals on u-interface the signals u0, u1w, u1a, u1, u3, u5 and sp are transmitted on the u-interface.they are defined in table 29 . signals on iom ? -2 the data (b+b+d) is set to all ? 1 ? s in all states besides the states listed in table 17 . dependence of outputs the m-symbol output in states with valid m-symbol output its value is set according to table 21  :   2.4.7.6 nt-states in this section each state is described with its function. table 21 m symbol output rds error not detected detected m symbol output ? 0 ? ? + ? table 22 signal output on uk0 in state test input c/i-code ssp applied all other except c/i-code ? di ? signal output on uk0 sp u0 table 23 c/i-code output loopback command sbc synchronizing wait for info u4h transparent not received ar ar ai received arl arl ail
pef 81902 functional description data sheet 75 2001-11-12 acknowledge sent / receive after having sent the awake signal, the u-transceiver has received the acknowledge wake tone. if being awoken the u-transceiver has sent the acknowledge. in both cases the u-transceiver waits for possible repetition or time-out. awake signal sent the nt has sent out the awake signal u1w and waits now for a response. if the lt does not react in time timer t6 expires and the nt repeats its wake-up call. deactivated only in ? deactivated ? state the device may enter the power-down mode. deactivating state deactivating assures that the c/i-channel code dc is issued four times before entering the ? deactivated ? state. iom ? awaked the u-transceiver is deactivated, but may not enter the power-down mode. loss of framing this state is entered on loss of framing (lof). no signal is transmitted on the u-interface. a receiver-reset is performed by. note that there is no return to the ? transparent ? state that has been possible before in the former iec-t based state machine. pending deactivation the u-transceiver has received u0. the u-transceiver remains at least 0.5ms in this state before it accepts di. sbc synchronizing the nt is now synchronized and indicates this by ar/arl towards the downstream device. the nt waits for the acknowledge ? ai ? from the downstream device. sending awake-ack. on the receipt of the awake signal u2w the u-transceiver responds with the transmission of u1w.
pef 81902 functional description data sheet 76 2001-11-12 start awaking uk0 on the receipt of ar in the c/i-channel the u-transceiver sends the awake signal u1w to start an activation. synchronizing after the successful awake procedure the u-transceiver trains its receiver coefficients until it is able to detect the signals u2. reset in state ? reset ? a software-reset is performed. test state ? test ? is entered when the unconditional commands c/i=ssp is applied. the test signal ssp is issued as long as pin ssp is active or c/i=ssp is applied. transparent the transmission line is fully activated. user data is transparently exchanged by u4/u5. transparent state is entered in the case of a loopback 2. the downstream device is informed by c/i code ai that the transparent state has been reached note that in contrast to the former iec-t state machine there is no resynchronization mechanism. once loss of framing (lof) has been detected a deactivation is initiated. wait for info u4h the nt is synchronized and waits now for the permission (u4h) to go to the ? transparent ? state. 2.4.8 u-transceiver interrupt structure the u-interrupt status register (istau) contains the interrupt sources of the u- transceiver ( figure 35 ). each source can be masked by setting the corresponding bit of the u-interrupt mask register (masku) to ? 1 ? . such masked interrupt status bits are not indicated when istau is read and do not generate an interrupt request. the istau register is cleared on read access. the interrupt sources of the istau register (ucir, rds, 1ms) need not be evaluated. when at time t1 an interrupt source generates an interrupt, all further interrupts are collected. reading the istau register clears all interrupts set before t1, even if masked. all interrupts, which are flagged after t1 remain active. after the istau read access, the next unmasked interrupt will generate the next interrupt at time t2. after t2 it is possible to reprogram the masku register, so that all interrupts, which arrived between t1 and t2 are accessible.
pef 81902 functional description data sheet 77 2001-11-12  i figure 35 interrupt structure u-transceiver u s ... ... ... ... ... ... ista mask int intstruct_4b3t.emf 0 ci 0 0 1ms 1 ci 1 1 1ms 0 7 ucir 0 7 0 0 0 0 c/i c/i c/i c/i rds rds 0 0 1 1 istau masku
pef 81902 functional description data sheet 78 2001-11-12 2.5 s-transceiver the s-transceiver offers the nt and lt-s mode state machines described in the user ? s manual v3.4 [8]. the s-transceiver lies in iom  -2 channel 1 (default) and is configured and controlled via the registers described in chapter 4.5 . the state machine is set to nt mode (default) but can be set to lt-s mode via register programming. the te mode (s-transceiver te mode, u-transceiver disabled) is not supported. 2.5.1 line coding, frame structure line coding the following figure illustrates the line code. a binary one is represented by no line signal. binary zeros are coded with alternating positive and negative pulses with two exceptions: for the required frame structure a code violation is indicated by two consecutive pulses of the same polarity. these two pulses can be adjacent or separated by binary ones. in bus configurations a binary zero always overwrites a binary one.  figure 36 s/t -interface line code frame structure each s/t frame consists of 48 bits at a nominal bit rate of 192 kbit/s. for user data (b1+b2+d) the frame structure applies to a data rate of 144 kbit/s (see figure 36 ). in the direction te nt the frame is transmitted with a two bit offset. for details on the framing rules please refer to itu i.430 section 6.3. the following figure illustrates the standard frame structure for both directions (nt te and te nt) with all framing and maintenance bits. 011 code violation
pef 81902 functional description data sheet 79 2001-11-12  figure 37 frame structure at reference points s and t (itu i.430) note: the itu i.430 standard specifies s1 - s5 for optional use. ? f framing bit f = (0b) identifies new frame (always positive pulse, always code violation) ? l. d.c. balancing bit l. = (0b) number of binary zeros sent after the last l. bit was odd ? d d-channel data bit signaling data specified by user ? e d-channel echo bit e = d received e-bit is equal to transmitted d-bit ? f a auxiliary framing bit see section 6.3 in itu i.430 ? nn = ? b1 b1-channel data bit user data ? b2 b2-channel data bit user data ? a activation bit a = (0b) info 2 transmitted a = (1b) info 4 transmitted ? s s-channel data bit s 1 channel data (see note below) ? m multiframing bit m = (1b) start of new multi-frame f a
pef 81902 functional description data sheet 80 2001-11-12 2.5.2 s/q channels, multiframing according to itu recommendation i.430 a multi-frame provides extra layer-1 capacity in the te-to-nt direction through the use of an extra channel between the te and nt (q- channel). the q bits are defined to be the bits in the f a bit position. in the nt-to-te direction the s-channel bits are used for information transmission. the s- and q-channels are accessed via c by reading/writing the sqr or sqx bits in the s/q channel registers (sqrr, sqxr). table 24 shows the s and q bit positions within the multi-frame. table 24 s/q-bit position identification and multi-frame structure the s-transceiver starts multiframing if sqxr1.mfen is set. after multi-frame synchronization has been established in the te, the q data will be inserted at the upstream (te nt) f a bit position by the te in each 5th s/t frame, the frame number nt-to-te f a bit position nt-to-te m bit nt-to-te s bit te-to-nt f a bit position 1 2 3 4 5 one zero zero zero zero one zero zero zero zero s11 s21 s31 s41 s51 q1 zero zero zero zero 6 7 8 9 10 one zero zero zero zero zero zero zero zero zero s12 s22 s32 s42 s52 q2 zero zero zero zero 11 12 13 14 15 one zero zero zero zero zero zero zero zero zero s13 s23 s33 s43 s53 q3 zero zero zero zero 16 17 18 19 20 one zero zero zero zero zero zero zero zero zero s14 s24 s34 s44 s54 q4 zero zero zero zero 1 2 one zero one zero s11 s21 q1 zero
pef 81902 functional description data sheet 81 2001-11-12 s data will be inserted at the downstream (nt te) s bit position in each 5th s/t frame (see table 24 ). access to s2-s5-channel is not supported. interrupt handling for multi-framing to trigger the microcontroller for a multi-frame access an interrupt can be generated once per multi-frame (sqw) or if the received q-channel have changed (sqc). in both cases the microcontroller has access to the multiframe within the duration of one multiframe (5 ms). the start of a multiframe can not be synchronized to an external signal. 2.5.3 data transfer between iom  -2 and s 0 in the state g3 (activated) or if the internal layer-1 statemachine is disabled and xinf of register s_cmd is programmed to ? 011 ? the b1, b2 and d bits are transferred transparently from the s/t to the iom  -2 interface and vice versa. in all other states ? 1 ? s are transmitted to the iom  -2 interface. note: in intelligent nt or intelligent lt-s mode the d-channel access can be blocked by the iom  -2 d-channel handler. 2.5.4 loopback 2 c/i commands arl and ail close the analog loop as close to the s-interface as possible. etsi refers to this loop under ? loopback 2 ? . etsi requires, that b1, b2 and d channels have the same propagation delay when being looped back. the d-channel echo bit is set to bin. 0 during an analog loopback (i.e. loopback 2). the loop is transparent. note: after c/i-code ail has been recognized by the s-transceiver, zeros are looped back in the b and d-channels (du) for four frames. 2.5.5 control of s-transceiver / state machine the s-transceiver activation/ deactivation can be controlled by an internal statemachine via the iom  -2 c/i-channel or by software via the c interface directly. in the default state the internal layer-1 statemachine of the s-transceiver is used. by setting the l1sw bit in the s_conf0 register the internal statemachine can be disabled and the layer-1 transmit commands, which are normally generated by the internal statemachine can be written directly into the s_cmd register or the received status read out from the s_sta register, respectively. the s-transceiver layer-1 control flow is shown in figure 38 .
pef 81902 functional description data sheet 82 2001-11-12  figure 38 s-transceiver control the state diagram notation is given in figure 39 . the information contained in the state diagrams are: ? state name ? signal received from the line interface (info) ? signal transmitted to the line interface (info) ? c/i code received (commands) ? c/i code transmitted (indications) ? transition criteria the transition criteria are grouped into: ? c/i commands ? signals received from the line interface (infos) ? reset iom-2 layer-1 control layer-1 state machine macro_14 transmit info transmitter receiver receive info command register for transmitter (s_cmd) status register of receiver (s_sta) c/i command c/i indication c-interface disable internal statemachine (s_conf.l1sw)
pef 81902 functional description data sheet 83 2001-11-12  figure 39 state diagram notation as can be seen from the transition criteria, combinations of multiple conditions are possible as well. a ? ? ? stands for a logical and combination. and a ? + ? indicates a logical or combination. test signals  2 khz single pulses (tm1) one pulse with a width of one bit period per frame with alternating polarity.  96 khz continuous pulses (tm2) continuous pulses with a pulse width of one bit period. note: the test signals tm1 and tm2 are invoked via c/i codes ?tm1? and ?tm2? according to chapter 2.5.5.1 . external layer-1 statemachine instead of using the integrated layer-1 statemachine it is also possible to implement the layer-1 statemachine completely in software. the internal layer-1 statemachine can be disabled by setting the l1sw bit in the s_conf0 register to ? 1 ? . the transmitter is completely under control of the microcontroller via register s_cmd. the status of the receiver is stored in register s_sta and has to be evaluated by the microcontroller. this register is updated continuously. if not masked a ric interrupt is generated by any change of the register contents. the interrupt is cleared after a read access to this register. reset states after an active signal on the reset pin rst the s-transceiver state machine is in the reset state. iom-2 interface c/i code macro_17.vsd state ind. cmd. i x i r s/t interface info in out unconditional transition
pef 81902 functional description data sheet 84 2001-11-12 c/i codes in reset state in the reset state the c/i code 0000 (tim) is issued. this state is entered either after a hardware reset (rst ) or with the c/i code res. c/i codes in deactivated state if the s-transceiver is in state ? deactivated ? and receives i0 , the c/i code 0000 (tim) is issued until expiration of the 8 ms timer. otherwise, the c/i code 1111 (di) is issued. 2.5.5.1 c/i codes the table below presents all defined c/i0 codes. a command needs to be applied continuously until the desired action has been initiated. indications are strictly state orientated. refer to the state diagrams in the following sections for commands and indications applicable in various states.  code lt-s nt cmd ind cmd ind 0000dr tim dr tim 0001res ? res ? 0010tm1 ? tm1 ? 0011tm2 ? tm2 ? 0100 ? rsy rsy rsy 0101 ???? 0110 ???? 0111 ???? 1000ar ar ar ar 1001 ???? 1010arl ? arl ? 1011 ? cvr ? cvr 1100 ? ai ai ai 1101 ???? 1110 ?? ail ? 1111dc di dc di
pef 81902 functional description data sheet 85 2001-11-12 receive infos on s/t i0 info 0 detected i0 level detected (signal different to i0) i3 info 3 detected i3 any info other than info 3 transmit infos on s/t i0 info 0 i2 info 2 i4 info 4 it send single pulses (tm1). send continuous pulses (tm2).
pef 81902 functional description data sheet 86 2001-11-12 2.5.5.2 state machine nt mode  figure 40 state machine nt mode note: state ?test mode? can be entered from any state except from state ?test mode? itself, i.e. c/i-code ?tmi? must not be followed by c/i-code ?tmj? directly. g2 pend. act ar ard i2 i3 reset tim res i0 * g1 i0 detected ar dc i0 * g2 lost framing s/t rsy aid ard i2 i3 g1 deactivated di tim dc i0 i0 statem_nt_s.vsd g4 pend. deact. tim dr i0 i0 test mode i tim tm1 tm2 it * dr dr g4 wait for dr di dr i0 * (i0*16ms)+32ms dc dc tm1 tm2 any state dr dc any state res ard 1) ard 1) dr i3 i3*aid 2) rst ard 1) g2 wait for aid ai ard i2 i3 g3 lost framing u rsy rsy i2 * g3 activated ai aid i4 i3 ard 1) aid 2) i3*ard 1) i3*ard dr dr dr rsy rsy dr rsy ard 1) aid 2) 1) : ard = ar or arl 2) : aid =ai or ail ard 1) i3*aid 2) (i0*8ms)
pef 81902 functional description data sheet 87 2001-11-12 g1 deactivated the s-transceiver is not transmitting. there is no signal detected on the s/t-interface, and no activation command is received in the c/i channel. activation is possible from the s/t interface and from the iom  -2 interface. g1 i0 detected an info 0 is detected on the s/t-interface, translated to an ? activation request ? indication in the c/i channel. the s-transceiver is waiting for an ar command, which normally indicates that the transmission line upstream is synchronized. g2 pending activation as a result of the ard command, an info 2 is sent on the s/t-interface. info 3 is not yet received. in case of arl command, loop 2 is closed. g2 wait for aid info 3 was received, info 2 continues to be transmitted while the s-transceiver waits for a ? switch-through ? command aid from the device upstream. g3 activated info 4 is sent on the s/t-interface as a result of the ? switch through ? command aid: the b and d-channels are transparent. on the command ail, loop 2 is closed. g2 lost framing s/t this state is reached when the transceiver has lost synchronism in the state g3 activated. g3 lost framing u on receiving an rsy command which usually indicates that synchronization has been lost on the transmission line, the s-transceiver transmits info 2. g4 pending deactivation this state is triggered by a deactivation request dr, and is an unstable state. indication di (state ? g4 wait for dr ? ) is issued by the transceiver when: either info0 is received for a duration of 16 ms or an internal timer of 32 ms expires.
pef 81902 functional description data sheet 88 2001-11-12 g4 wait for dr final state after a deactivation request. the s-transceiver remains in this state until dc is issued. unconditional states test mode tm1 send single pulses test mode tm2 send continuous pulses c/i commands  command abbr. code remark deactivation request dr 0000 deactivation request. initiates a complete deactivation by transmitting info 0. reset res 0001 reset of state machine. transmission of info0. no reaction to incoming infos. res is an unconditional command. send single pulses tm1 0010 send single pulses. send continuous pulses tm2 0011 send continuous pulses. receiver not synchronous rsy 0100 receiver is not synchronous activation request ar 1000 activation request. this command is used to start an activation. activation request loop arl 1010 activation request loop. the transceiver is requested to operate an analog loop-back close to the s/t-interface. activation indication ai 1100 activation indication. synchronous receiver, i.e. activation completed.
pef 81902 functional description data sheet 89 2001-11-12 activation indication loop ail 1110 activation indication loop deactivation confirmation dc 1111 deactivation confirmation. transfers the transceiver into a deactivated state in which it can be activated from a terminal (detection of info 0 enabled). indication abbr. code remark timing tim 0000 interim indication during deactivation procedure. receiver not synchronous rsy 0100 receiver is not synchronous. activation request ar 1000 info 0 received from terminal. activation proceeds. illegal code ciolation cvr 1011 illegal code violation received. this function has to be enabled in s_conf0.en_icv. activation indication ai 1100 synchronous receiver, i.e. activation completed. deactivation indication di 1111 timer (32 ms) expired or info 0 received for a duration of 16 ms after deactivation request. command abbr. code remark
pef 81902 functional description data sheet 90 2001-11-12 2.5.5.3 state machine lt-s mode  figure 41 state machine lt-s mode note: state ?test mode? can be entered from any state except from state ?test mode? itself, i.e. c/i-code ?tmi? must not be followed by c/i-code ?tmj ?directly. g3 activated ai dc ard i4 i3 reset tim res i0 * g2 pend. act. ar dc ard i2 i3 g2 lost framing s/t rsy dc ard i2 i3 g1 deactivated di tim dc i0 i0 1) : ard = ar or arl statem_lts_s.vsd g4 pend. deact. tim dr i0 i0 test mode i tim tm1 tm2 it * dr dr g4 wait for dr di dr i0 * (i0*16ms)+32ms dc dc tm1 tm2 any state dr dc any state res ard 1) ard 1) dr i3 dr dr i3 i3 rst (i0*8ms)+ard 1)
pef 81902 functional description data sheet 91 2001-11-12 g1 deactivated the s-transceiver is not transmitting. there is no signal detected on the s/t-interface, and no activation command is received in the c/i channel. activation is possible from the s/t interface and from the iom  -2 interface. g2 pending activation as a result of an info 0 detected on the s/t line or an ard command, the s-transceiver begins transmitting info 2 and waits for reception of info 3. the timer to supervise reception of info 3 is to be implemented in software. in case of an arl command, loop 2 is closed. g3 activated normal state where info 4 is transmitted to the s/t-interface. the transceiver remains in this state as long as neither a deactivation nor a test mode is requested, nor the receiver looses synchronism. when receiver synchronism is lost, info 2 is sent automatically. after reception of info 3, the transmitter keeps on sending info 4. g2 lost framing this state is reached when the s-transceiver has lost synchronism in the state g3 activated. g4 pending deactivation this state is triggered by a deactivation request dr. it is an unstable state: indication di (state ? g4 wait for dr. ? ) is issued by the s-transceiver when: either info0 is received for a duration of 16 ms, or an internal timer of 32 ms expires. g4 wait for dr final state after a deactivation request. the transceiver remains in this state until dc is issued. unconditional states test mode - tm1 single alternating pulses are sent on the s/t-interface.
pef 81902 functional description data sheet 92 2001-11-12 test mode - tm2 continuous alternating pulses are sent on the s/t-interface.  command abbr. code remark deactivation request dr 0000 dr - deactivation request. initiates a complete deactivation by transmitting info 0. reset res 0001 reset of state machine. transmission of info0. no reaction to incoming infos. res is an unconditional command. send single pulses tm1 0010 send single pulses. send continuous pulses tm2 0011 send continuous pulses. activation request ar 1000 activation request. this command is used to start an activation. activation request loop arl 1010 activation request loop. the transceiver is requested to operate an analog loop-back close to the s/t-interface. deactivation confirmation dc 1111 deactivation confirmation. transfers the transceiver into a deactivated state in which it can be activated from a terminal (detection of info 0 enabled). indication abbr. code remark timing tim 0000 interim indication during activation procedure in g1. receiver not synchronous rsy 0100 receiver is not synchronous activation request ar 1000 info 0 received from terminal. activation proceeds. illegal code ciolation cvr 1011 illegal code violation received. this function has to be enabled in s_conf0.en_icv. activation indication ai 1100 synchronous receiver, i.e. activation completed. deactivation indication di 1111 timer (32 ms) expired or info 0 received for a duration of 16 ms after deactivation request
pef 81902 functional description data sheet 93 2001-11-12 2.5.6 s-transceiver enable / disable the layer-1 part of the s-transceiver can be enabled/disabled with the two bits s_conf0.dis_tr and s_conf2.dis_tx. if dis_tx= ? 1 ? the transmit buffers are disabled. the receiver will monitor for incoming data in this configuration. by default the transmitter is disabled (dis_tx = ? 1 ? ). if the transceiver is disabled (dis_tr = ? 1 ? , dis_tx = don ? t care) all layer-1 functions are disabled including the level detection circuit of the receiver. in this case the power consumption of the s-transceiver is reduced to a minimum.
pef 81902 functional description data sheet 94 2001-11-12 2.5.7 interrupt structure s-transceiver  figure 42 interrupt structure s-transceiver 0 0 0 0 ld ric sqc sqw 1 1 1 1 ld ric sqc sqw istas masks 0 7 reserved interr.vsd s ista mask int level detect sqx3 0 mfen 0 0 sqx1 sqx2 sqx4 msyn mfen 0 0 sqr1 sqr2 sqr3 sqr4 rinf 0 fecv 0 fsyn 0 ld s_sta sqrr sqxr 0 7 0 7 0 7 0 7
pef 81902 functional description data sheet 95 2001-11-12 2.6 hdlc controller the t-smint  ix contains a hdlc controller which can be used for the layer-2 functions of the d- channel protocol (lapd) or b-channel protocols. by setting the enable hdlc channel bits (en_d, en_b1h, en_b2h) in the hci_cr register the hdlc controller can access the d or b-channels or any combination of them e.g. 18 bit idsl data (2b+d). the hdlc transceiver in the t-smint  ix performs the framing functions used in hdlc based communication: flag generation/recognition, bit stuffing, crc check and address recognition. the hdlc controller contains a 64 byte fifo in both receive and transmit direction which is implemented as a cyclic buffer. the transceivers read and write data sequentially with constant data rate, whereas the data transfer between fifo and c interface uses a block oriented protocol with variable block sizes. 2.6.1 message transfer modes the hdlc controller can be programmed to operate in various modes, which are different in the treatment of the hdlc frame in receive direction. thus, the receive data flow and the address recognition features can be programmed in a flexible way to satisfy different system requirements. the structure of a lapd two-byte address is shown below.  for the address recognition the t-smint  ix contains four programmable registers for individual sapi and tei values (sap1, 2 and tei1, 2), plus two fixed values for the ? group ? sapi (sapg = ? fe ? or ? fc ? ) and tei (teig = ? ff ? ). the received c/r bit is excluded from the address comparison. ea is the address field extension bit which is set to ? 1 ? according to the lapd protocol. there are 5 different operating modes which can be selected via the mode selection bits mds2-0 in the modeh register: non-auto mode (mds2-0 = ? 01x ? ) characteristics: full address recognition with one-byte (mds = ? 010 ? ) or two-byte (mds = ? 011 ? ) address comparison all frames with valid addresses are accepted and the bytes following the address are transferred to the p via rfifo. additional information is available in rsta. transparent mode 0 (mds2-0 = ? 110 ? ). high address byte low address byte sapi1, 2, sapg c/r 0 tei 1, 2, teig ea
pef 81902 functional description data sheet 96 2001-11-12 characteristics: no address recognition every received frame is stored in rfifo (first byte after opening flag to crc field). additional information can be read from rsta. transparent mode 1 (mds2-0 = ? 111 ? ). characteristics: sapi recognition a comparison is performed on the first byte after the opening flag with sap1, sap2 and ? group ? sapi (fe h /fc h ). in the case of a match, all the following bytes are stored in rfifo. additional information can be read from rsta. transparent mode 2 (mds2-0 = ? 101 ? ). characteristics: tei recognition a comparison is performed only on the second byte after the opening flag, with tei1, tei2 and group tei (ff h ). in case of a match the rest of the frame is stored in the rfifo. additional information is available in rsta. extended transparent mode (mds2-0 = ? 100 ? ). characteristics: fully transparent in extended transparent mode fully transparent data transmission/reception without hdlc framing is performed i.e. without flag generation/recognition, crc generation/ check and bitstuffing mechanism. this allows user specific protocol variations. also refer to chapter 2.6.5 . 2.6.2 data reception 2.6.2.1 structure and control of the receive fifo the 64-byte cyclic rfifo buffer has variable fifo block sizes (thresholds) of 4, 8, 16 or 32 bytes which can be selected by setting the corresponding rfbs bits in the exmr register. the variable block size allows an optimized hdlc processing concerning frame length, i/o throughput and interrupt load. the transfer protocol between hdlc fifo and microcontroller is block orientated with the microcontroller as master. the control of the data transfer between the cpu and the t-smint  ix is handled via interrupts (t-smint  ix host) and commands (host t- smint  ix). there are three different interrupt indications in the istah register concerned with the reception of data:
pef 81902 functional description data sheet 97 2001-11-12 ? rpf ( r eceive p ool f ull) interrupt, indicating that a data block of the selected length (exmr.rfbs) can be read from rfifo. the message which is currently received exceeds the block size so further blocks will be received to complete the message. ? rme ( r eceive m essage e nd) interrupt, indicating that the reception of one message has been completed and the message has been stored in the rfifo. either ? a short message has been received (message length the defined block size (exmr.rfbs) or ? the last part of a long message has been received (message length > the defined block size (exmr.rfbs)). ? rfo ( r eceive f rame o verflow) interrupt, indicating that a complete frame could not be stored in rfifo and is therefore lost as the rfifo is occupied. this occurs if the host fails to respond quick enough to rpf/rme interrupts since previous data was not read by the host. there are two control commands that are used with the reception of data: ? rmc ( r eceive m essage c omplete) command, telling the t-smint  ix that a data block has been read from the rfifo and the corresponding fifo space can be released for new receive data. ? rres ( r eceiver r eset) command, resetting the hdlc receiver and clearing the receive fifo of any data (e.g. used before start of reception). it has to be used after a change of the message transfer mode. rres does not clear pending interrupt indications of the receiver, but have to be be cleared by reading these interrupts. note: the significant interrupts and commands are underlined as only these are usually used during a normal reception sequence. the following description of the receive fifio operation is illustrated in figure 43 for a rfifo block size (threshold) of 16 and 32 bytes. the rfifo requests service from the microcontroller by setting a bit in the istah register, which causes an interrupt (rpf, rme, rfo). the microcontroller then reads status information (rbch,rbcl), data from the rfifo and changes the rfifo block size (exmr.rfbs). a block transfer is completed by the microcontroller via a receive message complete (cmdr.rmc) command. this causes the space of the transferred bytes being released for new data and in case the frame was complete (rme) the reset of the receive byte counter rbc (rbch,rbcl). 1) the total length of the frame is contained in the rbch and rbcl registers which contain a 12 bit number (rbc11...0), so frames up to 4095 byte length can be counted. if a frame is longer than 4095 bytes, the rbch.ov (overflow) bit will be set. the least significant 1) if rmc is omitted, then no new interrupt can be generated.
pef 81902 functional description data sheet 98 2001-11-12 bits of rbcl contain the number of valid bytes in the last data block indicated by rme (length of last data block selected block size). table 25 shows which rbc bits contain the number of bytes in the last data block or number of complete data blocks, respectively. if the number of bytes in the last data block is ? 0 ? the length of the last received block is equal to the block size.  the transfer block size (exmr.rfbs) is 32 bytes by default. if it is necessary to react to an incoming frame within the first few bytes the microcontroller can set the rfifo block size to a smaller value. each time a cmdr.rmc or cmdr.rres command is issued, the rfifo access controller sets its block size to the value specified in exmr.rfbs, so the microcontroller has to write the new value for rfbs before the rmc command. when setting an initial value for rfbs before the first hdlc activities, a rres command must be issued afterwards. the rfifo can hold any number of frames fitting in the 64 bytes independent on rfbs. at the end of a frame, the rsta byte is always inserted. all generated interrupts are inserted together with all additional information into a wait line to be individually passed to the host. for example if several data blocks have been received to be read by the host and the host acknowledges the current block, a new rpf or rme interrupt from the wait line is immediately generated to indicate new data. table 25 receive byte count with rbc11...0 in the rbch and rbcl registers exmr.rfbs bits selected block size number of complete data blocks in bytes in the last data block in ? 00 ? 32 byte rbc11...5 rbc4...0 ? 01 ? 16 byte rbc11...4 rbc3...0 ? 10 ? 8 byte rbc11...3 rbc2...0 ? 11 ? 4 byte rbc11...2 rbc1...0
pef 81902 functional description data sheet 99 2001-11-12  figure 43 rfifo operation hdlc receiver 32 16 8 4 rpf rfifo p rbc=4h ram hdlc receiver rfifo access controller 32 16 8 4 rfbs=01 ram exmr.rfbs=01 rmc exmr.rfbs=11 so after the first 4 bytes of a new frame have been stored in the fifo a receive pool full interrupt istah.rpf the p has read the 4 bytes, sets rfbs=01 (16 bytes) and completes the block transfer by a cmdr.rmc command. following cmdr.rmc the 4 bytes of the last block are deleted. rfacc rfacc is set. rfifo access controller rfbs=11 hdlc receiver 32 16 8 rpf rfifo p rbc=14h ram rsta rsta rsta the hdlc receiver has written further data into the fifo. when a frame is complete, a status byte (rsta) is appended. fifo. when the rfacc detects 16 valid bytes, it sets a rpf interrupt. the p reads the 16 bytes hdlc receiver 32 16 8 rme rfifo rbc=16h ram rsta rsta rsta after the rmc acknowledgement the the frame, therefore it asserts a rme interupt and increments the rbc counter by 2. rmc rfacc rfacc meanwhile two more short frames have been received. and acknowledges the transfer by setting cmdr.rmc. this causes the space occupied by the 16 bytes being released. p rfifo access controller rfbs=01 rfifo access controller rfbs=01 rfacc detects a rsta byte, i.e. end of
pef 81902 functional description data sheet 100 2001-11-12 possible error conditions during reception of frames if parts of a frame get lost because the receive fifo is full, the receive data overflow (rdo) byte in the rsta byte will be set. if a complete frame is lost, i.e. if the fifo is full when a new frame is received, the receiver will assert a receive frame overflow (rfo) interrupt. the microcontroller sees a cyclic buffer, i.e. if it tries to read more data than available, it reads the same data again and again. on the other hand, if it does not read or does not want to read all data, they are deleted anyway after the rmc command. if the microcontroller tries to read data without a prior rme or rpf interrupt, the content of the rfifo would not be corrupted, but new data is only transferred to the host as long as new valid data is available in the rfifo, otherwise the last data is read again and again. the general procedures for a data reception sequence are outlined in the flow diagram in figure 44 .
pef 81902 functional description data sheet 101 2001-11-12  figure 44 data reception procedures figure 45 gives an example of an interrupt controlled reception sequence, supposed that a long frame (68 byte) followed by two short frames (12 byte each) are received. the fifo threshold (block size) is set to 32 bytes (exmr.rfbs = ? 00 ? ) in this example:  after 32 bytes have been received off frame 1 a rpf interrupt is generated to indicate that a data block can be read from the rfifo. hdlc_rflow.vsd start receive message end rme ? receive pool full rpf ? read counter rd_count := rfbs or rd_count := rbc read rd_count bytes from rfifo receive message complete write rmc change block size write exmr.rfbs (optional) read rbc rd_count := rbc y y n n * 1) rbc = rbch + rbcl register rfbs: refer to exmr register in case of rme the last byte in rfifo contains the receive status information rsta * 1)
pef 81902 functional description data sheet 102 2001-11-12  the host reads the first data block from rfifo and acknowledges the reception by rmc. meanwhile the second data block is received and stored in rfifo.  the second 32 byte block is indicated by rpf which is read and acknowledged by the host as described before.  the reception of the remaining 4 bytes are indicated by rme (i.e. the receive status in rsta register is always appended to the end of a frame).  the host gets the number of received bytes (count = 5) from rbcl/rbch and reads out the rfifo and optionally the status register rsta. the frame is acknowledged by rmc.  the second frame is received and indicated by rme interrupt.  the host gets the number of bytes (count = 13) from rbcl/rbch and reads out the rfifo and status registers. the rfifo is acknowledged by rmc.  the third frame is transferred in the same way.  figure 45 reception sequence example 2.6.2.2 receive frame structure the management of the received hdlc frames as affected by the different operating modes (see chapter 2.6.1 ) is shown in figure 46 . fifoseq_rec.vsd * 1) the last byte contains the receive status information rmc rpf rme rpf rmc rme rmc rmc rmc rme iom interface cpu interface receive frame 68 bytes 12 bytes 12 bytes 32 412 12 32 rd count rd 13 bytes * 1) rd count rd 13 bytes * 1) rd count rd 5 bytes * 1) rd 32 bytes rd 32 bytes
pef 81902 functional description data sheet 103 2001-11-12  figure 46 receive data flow note: the figure shows all modes except the extended transparent mode as this mode uses no typical frame structure or address recognition. data is transferred purely transparent. flag macro_12.vsd mds0 mds2 mds1 mode ctrl crc flag i address control data status addr rfifo * 1) rsta * 4) 0 01 non auto/8 tei1 tei2 * 2) * 3) 0 11 transparent 0 1 01 non auto/16 sap1 sapg sap2 tei1 teig tei2 rfifo * 1) * 2) * 2) rsta * 4) 1 11 transparent 1 sap1 sapg sap2 * 2) 1 10 transparent 2 tei1 teig tei2 * 2) description of symbols: compared with registers stored in fifo/registers * 1) crc optionally stored in rfifo if exmr.rcrc = 1 * 2) address optionally stored in rfifo if exmr.sra = 1 * 3) start of the control field in case of a 8 bit address rfifo * 1) rsta * 4) rfifo * 1) rsta * 4) rfifo * 1) rsta * 4) * 4) content of rsta register appended at the frameend into rfifo.
pef 81902 functional description data sheet 104 2001-11-12 the t-smint  ix indicates to the host that a new data block can be read from the rfifo by means of a rpf interrupt (see previous chapter). user data is stored in the rfifo and information about the received frame is available in the rsta, rbcl and rbch registers which are listed in table 26 . the rsta register is appended as last byte to the end of a frame. 2.6.3 data transmission 2.6.3.1 structure and control of the transmit fifo the 64-byte cyclic xfifo buffer has variable fifo block sizes (thresholds) of 16 or 32 bytes, selectable by the xfbs bit in the exmr register. there are three different interrupt indications in the istah register concerned with the transmission of data: table 26 receive information at rme interrupt information register bit mode type of frame (command/ response) rsta c/r non-auto mode, 2-byte address field transparent mode 1 recognition of sapi rsta sa1, 0 non-auto mode, 2-byte address field transparent mode 1 recognition of tei rsta ta all except transparent mode 0 and 1 result of crc check (correct/incorrect) rsta crc all valid frame rsta vfr all abort condition detected (yes/no) rsta rab all data overflow during reception of a frame (yes/no) rsta rdo all number of bytes received in rfifo rbcl rbcx-0 all (see table 25 ) message length rbcl rbch rbc11-0 all rfifo overflow rbch ov all
pef 81902 functional description data sheet 105 2001-11-12 ? xpr ( t ransmit p ool r eady) interrupt, indicating that a data block of up to 16 or 32 bytes (block size selected via exmr:xfbs) can be written to the xfifo. a xpr interrupt is generated either ? after a xres (transmitter reset) command (which is issued for example for frame abort) or ? when a data block from the xfifo is transmitted and the corresponding fifo space is released to accept further data from the host. ? xdu ( t ransmit d ata u nderrun) interrupt, indicating that the transmission of the current frame has been aborted (seven consecutive ? 1 ? s are transmitted) as the xfifo holds no further transmit data. this occurs if the host fails to respond to a xpr interrupt quick enough. ? xmr ( t ransmit m essage r epeat) interrupt, indicating that the transmission of the complete last frame has to be repeated as a collision on the s bus has been detected while the first data bytes have already been overwritten with new data. so the xfifo does not hold the first data bytes of the frame (the hdlc transmitter is stopped if a collision on the s bus has been detected). the occurrence of a xdu or xmr interrupt clears the xfifo and a xpr interrupt is issued together with a xdu or xmr interrupt, respectively. data cannot be written to the xfifo as long as a xdu/xmr interrupt is pending. three different control commands are used for transmission of data: ? xtf ( t ransmit t ransparent f rame) command, telling the t-smint  ix that up to 16 or 32 bytes (according to selected block size) have been written to the xfifo and should be transmitted. a start flag is generated automatically. ? xme ( t ransmit m essage e nd) command, telling the t-smint  ix that the last data block written to the xfifo completes the corresponding frame and should be transmitted. this implies that according to the selected mode a frame end (crc + closing flag) is generated and appended to the frame. ? xres ( t ransmitter r eset) command, resetting the hdlc transmitter and clearing the transmit fifo of any data. after a xres command the transmitter always sends an abort sequence, i.e. this command can be used to abort a transmission. xres does not clear pending interrupt indications of the transmitter, but has to be be cleared by reading these interrupts. optionally two additional status conditions can be read by the host: ? xdov ( t ransmit d ata o verflow), indicating that the data block size has been exceeded, i.e. more than 16 or 32 bytes were entered and data was overwritten. ? xfw ( t ransmit f ifo w rite enable), indicating that data can be written to the xfifo. this status flag may be polled instead of or in addition to xpr. note: the significant interrupts and commands are underlined as only these are usually used during a normal transmission sequence.
pef 81902 functional description data sheet 106 2001-11-12 the xfifo requests service from the microcontroller by setting a bit in the istah register, which causes an interrupt (xpr, xdu, xmr). the microcontroller can then read the status register star (xfw, xdov), write data in the fifo and it may optionally change the transmit fifo block size (exmr.xfbs) if required. the instant of the initiation of a transmit pool ready (xpr) interrupt after different transmit control commands is listed in table 27 .  when setting xme the transmitter appends the fcs and the endflag at the end of the frame. when xtf & xme have been set, the xfifo is locked until successful transmission of the current frame, so a consecutive xpr interrupt also indicates successful transmission of the frame, whereas after xme the xpr interrupt is asserted as soon as there is space for one data block in the xfifo. the transfer block size is 32 bytes by default, but sometimes, if the microcontroller has a high computational load, it is useful to increase the maximum reaction time for a xpr interrupt. the maximum reaction time is: t max = (xfifo size - xfbs) / data transmission rate with a selected block size of 16 bytes indicates a xpr interrupt when there are still 48 bytes (64 bytes - 16 bytes) to be transmitted. with a 32 bytes block size the xpr is initiated when there are still 32 bytes (64 bytes - 32 bytes), i.d. the maximum reaction time for the smaller block size is 50 % higher with the trade-off of a doubled interrupt load. a selected block size of 32 or 16 bytes respectively always indicates the available space in the xfifo. so any number of bytes smaller than the selected xfbs may be stored in the fifo during one ? write block ? access cycle. similar to rfbs for the receive fifo, a new setting of xfbs takes effect after the next xtf,xme or xres command. xres resets the xfifo. the xfifo can hold any number of frames fitting in the 64 bytes. table 27 xpr interrupt (availability of the xfifo) after xtf, xme commands cmdr. transmit pool ready (xpr) interrupt initiated... xtf as soon as the selected buffer size in the fifo is available xtf & xme after the successful transmission of the closing flag. the transmitter always sends an abort sequence xme as soon as the selected buffer size in the fifo is available, two consecutive frames share flags (endflag = startflag of next frame).
pef 81902 functional description data sheet 107 2001-11-12 possible error conditions during transmission of frames if the transmitter sees an empty fifo, i.e. if the microcontroller does not react quickly enough to a xpr interrupt, a xdu (transmit data underrun) interrupt will be raised. if the hdlc channel becomes unavailable during transmission the transmitter tries to repeat the current frame as specified in the lapd protocol. this is impossible after the first data block has been sent (16 or 32 bytes), in this case a xmr transmit message repeat interrupt is set and the microcontroller has to send the whole frame again. both xmr and xdu interrupts cause a reset of the xfifo. the xfifo is locked while a xmr or xdu interrupt is pending, i.e. all write actions of the microcontroller will be ignored as long as the microcontroller has not read the istah register with the set xdu, xmr interrupts. if the microcontroller writes more data than allowed (16 or 32 bytes) , then the data in the xfifo will be corrupted and the star.xdov bit is set. if this happens, the microcontroller has to abort the transmission by cmdr.xres and start new. the general procedures for a data transmission sequence are outlined in the flow diagram in figure 47 .
pef 81902 functional description data sheet 108 2001-11-12  figure 47 data transmission procedure the following description gives an example for the transmission of a 76 byte frame with a selected block size of 32 byte (exmr:xfbs=0):  the host writes 32 bytes to the xfifo, issues a xtf command and waits for a xpr interrupt in order to continue with entering data.  the t-smint  ix immediately issues a xpr interrupt (as remaining xfifo space is not used) and starts transmission.  due to the xpr interrupt the host writes the next 32 bytes to the xfifo, followed by the xtf command, and waits for xpr. macro_13.vsd start transmit pool ready xpr ? issue command - xme or - xtf+xme write data (up to 32 bytes) to xfifo n y y n end of message ? end command xtf
pef 81902 functional description data sheet 109 2001-11-12  as soon as the last byte of the first block is transmitted, the t-smint  ix issues a xpr interrupt (xfifo space of first data block is free again) and continues transmitting the second block.  the host writes the remaining 12 bytes of the frame to the xfifo and issues the xtf command together with xme to indicate that this is the end of frame.  after the last byte of the frame has been transmitted the t-smint  ix releases a xpr interrupt and the host may proceed with transmission of a new frame.   figure 48 transmission sequence example 2.6.3.2 transmit frame structure the transmission of transparent frames (xtf command) is shown in figure 49 . for transparent frames, the whole frame including address and control field must be written to the xfifo. the host configures whether the crc is generated and appended to the frame (default) or not (selected in exmr.xcrc). further, the host selects the interframe time fill signal which is transmitted between hdlc frames (exmr:itf). one option is to send continuous flags ( ? 01111110 ? ), or an idle sequence (continuous ? 1 ? s are transmitted), which is used if d-channel access handling (collision resolution on the s bus) is required for example. reprogramming of itf takes effect only after the transmission of the current frame has been completed or after a xres command. transmit frame 76 bytes fifoseq_tran.vsd iom interface cpu interface wr 32 bytes xtf 32 12 32 xpr xpr wr 32 bytes xtf wr 12 bytes xtf+xme xpr
pef 81902 functional description data sheet 110 2001-11-12  figure 49 transmit data flow 2.6.4 access to iom  -2 channels by setting the enable hdlc data bits (en_d, en_b1h, en_b2h) in the hci_cr register the hdlc controller can access the d, b1, b2 channels or any combination of them (e.g. 18 bit idsl data (2b+d). in all modes (except extended transparent mode) sending works always frame aligned, i.e. it starts with the first selected channel whereas reception looks for a flag anywhere in the serial data stream. 2.6.5 extended transparent mode this non-hdlc mode is selected by setting modeh.mds2-0 to ? 100 ? . in extended transparent mode fully transparent data transmission/reception without hdlc framing is performed i.e. without flag generation/recognition, crc generation/check, bitstuffing mechanism. this allows user specific protocol variations. transmitter the transmitter sends the data out of the fifo without manipulation. transmission is always iom  -2-frame aligned and byte aligned, i.e. transmission starts in the first selected channel (b1, b2, d, according to the setting of register hci_cr in the iom  -2 handler) of the next iom  -2 frame. the fifo indications and commands are the same as in other modes. if the microcontroller sets xtf & xme the transmitter responds with a xpr interrupt after sending the last byte, then it returns to its idle state (sending continuous ? 1 ? ). if the collision detection is enabled (modeh.dim = ? 0x1 ? ) the stop go bit (s/g) can be used as a clear-to-send indication as in any other mode. if the s/g bit is set to ? 1 ? (stop) flag fifoflow_tran.vsd transmit transparent frame (xtf) ctrl crc flag i address control data checkram addr * 1) xfifo * 1) the crc is generated by default. if exmr.xcrc is set no crc is appended
pef 81902 functional description data sheet 111 2001-11-12 during transmission the transmitter responds always with a xmr (transmit message repeat) interrupt and stops transmission. if the microcontroller fails to respond to a xpr interrupt in time and the transmitter runs out of data then it will assert a xdu (transmit data underrun) interrupt. receiver the reception is iom  -2-frame aligned and byte aligned, like transmission, i.e. reception starts in the first selected channel (b1, b2, d, according to the setting of register hci_cr in the iom  -2 handler) of the next iom  -2 frame. the fifo indications and commands are the same as in others modes. all incoming data bytes are stored in the rfifo. if the fifo is full a rfo interrupt is asserted (exmr.sra = ? 0 ? ). note: in the extended transparent mode the exmr register has to be set to ?xxx00000? 2.6.6 timer the timer provides two modes ( table 28 ), a count down timer interrupt, i.e. an interrupt is generated only once after expiration of the selected period, and a periodic timer interrupt, which means an interrupt is generated continuously after every expiration of that period.  when the programmed period has expired an interrupt is generated (ista.tin). the host controls the timer by setting bit cmdr.sti to start the timer and by writing register timr to stop the timer. after time period t1 an interrupt is generated continuously if cnt=7 or a single interrupt is generated after timer period t if cnt<7 ( figure 50 ). table 28 timer address register modes period 04 h timr periodic 64 ... 2048 ms count down 2.048 ... 14.336 s
pef 81902 functional description data sheet 112 2001-11-12  figure 50 timer register 2.6.7 hdlc controller interrupts all interrupt sources from the istah register are combined (ored) to a single hdlc controller interrupt signal hint. each of the interrupt sources can individually be masked in the maskh register. a masked interrupt is not indicated in the istah register but remains internally stored and pending until the interrupt is unmasked and read by the host. the individual interrupt sources of the hdlc controller during reception and transmission of data are explained in chapter 2.6.2.1 or chapter 2.6.3.1 respectively. the hdlc controller interrupts xdu and xmr have a special impact on the internal functions. e.g. the transmitter of the hdlc controller is locked if a data underrun condition occurs and the istah.xdu is not read (the interrupt can only be read if unmasked), same applies for xmr. 21150_14 cnt value 7 6 5 4 3 2 1 0 24 h expiration period t1 = (value + 1) x 0.064 sec retry counter 0 ... 6 : count down timer t = cnt x 2.048 sec + t1 7 : periodic timer t = t1 timr1
pef 81902 functional description data sheet 113 2001-11-12  figure 51 interrupt status registers of the hdlc controller 2.6.8 test function the t-smint  ix provides test and diagnostic functions for the hdlc controller: digital loop via tlp (test loop, tmh register) command bit ( figure 52 ): the tx path of the hdlc controller is still connected to iom  -2 but it is internally connected with the rx path. all incoming data from the iom  -2 is ignored. this is used for testing hdlc functionality excluding layer 1 (u-transceiver (loopback between xfifo and rfifo).  figure 52 layer 2 test loops rme rpf rfo xpr xmr xdu cic st mos s rme rpf rfo xpr xmr xdu maskh istah wov int ista mask cic st mos s wov u u hdlc hdlc tin tin hdlc tmh:tlp = 0 hdlc tmh:tlp = 1 macro_8 i o m - 2 d a t a o u t d a t a i n i o m - 2 d a t a o u t d a t a i n
pef 81902 functional description data sheet 114 2001-11-12 2.6.9 reset behavior after reset all pointers to the fifos are set to ? 0 ? , the xpr interrupt is set to ? 1 ? but cannot be read by the host as it is masked, i.e. it must be unmasked so it can be read.
pef 81902 operational description data sheet 115 2001-11-12 3 operational description 3.1 layer 1 activation/deactivation 3.1.1 generation of 4b3t signal elements for control and monitoring purposes of the activation/deactivation progress the following signal elements are defined by ts 102 080 and ftz 1 tr 220. table 29 4b3t signal elements u0 no signal or deactivation signal that is used in both directions. downstream, it requests the nt to deactivate. upstream, the nt acknowledges by u0 that it is deactivated. u1w, u2w awake or awake acknowledge signal used in the awake procedure of the u-interface. u2 the lt sends u2 to enable the own echo canceller to adapt the coefficients. by the barker code the nt at the other end is enabled to synchronize. the detection of u2 is used by the nt as a criterion for synchronization. the m-channel on u may be used to transfer loop commands. u2a while the nt-rp is synchronizing on the received signal, the lt-rp sends out u2a to enable its echo canceller to adapt the coefficients, but sending no barker code it inhibits the nt to synchronize on the still asynchronous signal. due to proceeding synchronization, the u-frame may jump from time to time. u2a can not be detected in the nt at the far end. u1a u1a is similar to u1 but without framing information. while the nt synchronizes on the received signal, it sends out u1a to enable its echo canceller to adapt its coefficients, but sends no barker code to prevent the lt from synchronizing on the still asynchronous signal. due to proceeding synchronization, the u-frame may jump from time to time. u1a can not be detected by the far-end lt. u1 when synchronized, the nt sends the barker code and the lt may synchronize itself. u1 indicates additionally that a terminal equipment has not yet activated. upon receiving u1 the lt indicates the synchronized state by c/i ? uai ? to layer-2. usually during activation, no u1 signal is detected in the lt because the te is activated first and u1 changes to u3 before being detected. the m-channel on u may be used to transfer code error indications and 1 kbit/s transparent data.
pef 81902 operational description data sheet 116 2001-11-12 u3 u3 indicates that the whole link to the te is synchronous in both directions. on detecting u3 the lt requests the nt by u4h to establish a fully transparent connection. the m-channel on u may be used to transfer code error indications and 1 kbit/s transparent data. u4h u4h requires the nt to go to the ? transparent ? state. on detecting u4h the nt stops sending signal u3 and informs the s-transceiver or a layer-2 device via the system interface. the m-channel on u may be used to transfer loop commands and 1 kbit/s transparent data. u4 u4 transports operational data on b and d channels. the m-channel on u may be used to transfer loop commands and 1 kbit/s transparent data. u5 u5 transports operational data on b and d channels. the m-channel on u may be used to transfer code error indications and 1 kbit/s transparent data. sp the t-smintix sends periodically single pulses once per millisecond on the u-interface. the test mode can be used for pulse mask measurements. lof loss of frame, generated by flywheel table 30 generation of the 4b3t signal elements upstream (nt to lt) downstream (lt to nt) symbols (ternary) sync word (tern ary) m sym bol (tern ary) binary data before scram bling u1w u2w resulting in a tone of: frequency: 7.5 khz duration: 2.13 ms when sending the wakeup tone is finished, signal awt is set and ternary "0" is sent 16 times + + + + + + + + ? ? ? ? ? ? ? ? n/a n/a n/a u1a u2a scrambled binary data 0 0 0 u1 u2 scrambled binary data yes yes 0 u3 scrambled binary data yes yes 1 table 29 4b3t signal elements (cont ? d)
pef 81902 operational description data sheet 117 2001-11-12 table 31 s/t-interface signals u4h duration: 1 ms (warranted by state machine) yes yes 1 u5 u4 binary data from the digital interface yes yes bbd u0 u0 ternary continuous "0" 0 0 0 n/a sp sp single pulses once "+", 119 times "0" (repeatedl y) n/a n/a n/a signals from nt to te signals from te to nt info 0 no signal. info 0 no signal. info 1 a continuous signal with the following pattern: positive zero, negative zero, six ones. info 2 frame with all bits of b, d, and d-echo channels set to binary zero. bit a set to binary zero. n and l bits set according to the normal coding rules. info 3 synchronized frames with operational data on b and d-channels. info 4 frames with operational data on b, d, and d-echo channels. bit a set to binary one. table 30 generation of the 4b3t signal elements (cont ? d)
pef 81902 operational description data sheet 118 2001-11-12 3.1.2 complete activation initiated by exchange  figure 53 activation initiated by exchange note: the lt starts issuing signal u2 before the nt starts issuing u1a. this chronological order is not displayed for clarification. iom  -2 te s/t-reference point nt u-reference point lt iom  -2 dc info 0 dc u0 di info 0 di di actbylt_tsmint.vsd u0 u0 rsy ar ar u0 ar dc u1w u1a u2 u1 u2w info 2 ai u3 info 3 ar u4h u5 uai ai info 4 ai ar8/10 s 0 u k0 dfe-t sbcx-x or ipac-x u4 ai 1 ms c dc di ar ar ai ai uai
pef 81902 operational description data sheet 119 2001-11-12 3.1.3 complete activation initiated by te  figure 54 activation initiated by te note: the lt starts issuing signal u2 before the nt starts issuing u1a. this chronological order is not displayed for clarification. iom  -2 te s/t-reference point nt u-reference point lt iom  -2 dc info 0 dc u0 dc di info 0 di u0 di tim pu ar8/10 info 1 tim ar ar info 2 rsy info 0 info 3 ar ai ai info 4 ai u1w u0 u2w u0 u1a u2 actbyte_tsmint.vsd ar sbcx-x or ipac-x s 0 u k0 dfe-t rsy u1 u3 u4h u5 uai u4 ai 1 ms 8ms tim dc di ar ar ai ai uai
pef 81902 operational description data sheet 120 2001-11-12 3.1.4 complete activation initiated by nt  figure 55 activation initiated by nt note: the lt starts issuing signal u2 before the nt starts issuing u1a. this chronological order is not displayed for clarification. iom  -2 te s/t-reference point nt u-reference point lt iom  -2 dc info 0 dc u0 dc di info 0 di u0 di tim ar ar info 2 info 3 ar ai ai info 4 ai u1w u0 u2w u0 u1a u2 ac tbynt_ t smint .vs d ar sbcx-x or ipac-x s 0 u k0 dfe-t rsy u1 u3 u4h u5 uai u4 ai 1 ms dc di ar ai ai ar c ar 8/10 uai
pef 81902 operational description data sheet 121 2001-11-12 3.1.5 complete deactivation  figure 56 complete deactivation iom  -2 te s/t-reference point nt u-reference point lt iom  -2 ai info 4 ai u4 ar ar info 3 ai ai tim deac_tsmint.vsd dc u5 dr deac u0 u0 dr info 0 dc di dc di sbcx-x or ipac-x s 0 u k0 dfe-t info 0 di dr rsy dr ai ai dc di
pef 81902 operational description data sheet 122 2001-11-12 3.1.6 loop 2  figure 57 loop 2 note: closing/resolving loop 2 may provoke the s-transceiver to resynchronize. in this case, the following c/i-codes are exchanged immediately on reception of ail/ai, respectively: du: ?rsy?, du: ?ai?, dd: ?ail?/?ai?. iom  -2 te s/t-reference point nt u-reference point lt iom  -2 ai info 4 u4 ar8/10 info 3 ai act_loop2_tsmint.vsd u5 ar ai ai 2b+d 2b+d 2b+d ail u4 (m-bit= 8x '+' ) ar2 ai u4 (m-bit= 8x '0' ) ar sbcx-x or ipac-x s 0 u k0 dfe-t ai ai ail ai
pef 81902 operational description data sheet 123 2001-11-12 3.2 layer 1 loopbacks test loopbacks are specified by the national ptts in order to facilitate the location of defect systems. four different loopbacks are defined. the position of each loopback is illustrated in figure 58 .  figure 58 test loopbacks loopbacks #1, #1a and #2 are controlled by the exchange. loopback #3 is controlled locally on the remote side. all four loopback types are transparent. this means all bits that are looped back will also be passed onwards in the normal manner. only the data looped back internally is processed; signals on the receive pins are ignored. the propagation delay of actually looped b and d channels data must be identical in all loopbacks. besides the remote controlled loopback stimulation via the m channel, the t-smint  ix features also direct loopback control via its register set. 3.2.1 analog loop-back s-transceiver the t-smint  ix provides test and diagnostic functions for the s/t interface: the internal local loop (internal loop a) is activated by a c/i command arl or by setting the bit lp_a (loop analog) in the s_cmd register if the layer-1 statemachine is disabled. the transmit data of the transmitter is looped back internally to the receiver. the data of the iom  -2 input b- and d-channels are looped back to the output b- and d-channels. iom ? -2 pbx or te u-transceiver iom ? -2 iom ? -2 iom ? -2 u-transceiver u-transceiver u-transceiver u-transceiver u-transceiver loop 2 loop 3 loop 2 loop 1 a loop 2 loop 1 s-bus nt u u loop 2 repeater (optional) s-transceiver layer-1 controller layer-1 controller iom-2 exchange loop_2b1q.emf
pef 81902 operational description data sheet 124 2001-11-12 the s/t interface level detector is enabled, i.e. if a level is detected this will be reported by the resynchronization indication (rsy) but the loop function is not affected. depending on the dis_tx bit in the s_conf2 register the internal local loop can be transparent or non transparent to the s/t line. the external local loop (external loop a) is activated in the same way as the internal local loop described above. additionally the exlp bit in the s_conf0 register has to be programmed and the loop has to be closed externally as described in figure 59 . the s/t interface level detector is disabled.  figure 59 external loop at the s/t-interface 3.2.2 loopback no.2 for loopback #2 several alternatives exist. both the type of loopback and the location may vary. the following loopback types belong to the loopback-#2 category:  complete loopback (b1,b2,d), in the u-transceiver  complete loopback (b1,b2,d), in a downstream device  b1-channel loopback, always performed in the u-transceiver  b2-channel loopback, always performed in the u-transceiver all loop variations performed by the u-transceiver are closed as near to the internal iom  -2 interface as possible. normally loopback #2 is controlled by the exchange. the maintenance channel is used for this purpose. scout-s(x) sx1 sx2 sr1 sr2 100 ? 100 ?
pef 81902 operational description data sheet 125 2001-11-12 3.2.2.1 complete loopback when receiving the request for a complete loopback, the u transceiver passes it on to the downstream device, e.g. the s-bus transceiver. this is achieved by issuing the c/i- code ail in the ? transparent ? state or c/i = arl in states different than ? transparent ?  figure 60 complete loopback options in nt-mode the complete loopback is either opened under control of the exchange via the maintenance channel or locally controlled via the c. no reset is required for loopback #2. the line stays active and is ready for data transmission. 3.2.2.2 loopback no.2 - single channel loopbacks single channel loopbacks are always performed directly in the u-transceiver. no difference between the b1-channel and the b2-channel loopback control procedure exists. 3.2.3 local loopbacks featured by the loop register besides the standardized remote loopbacks the u-transceiver features additional local loopbacks for enhanced test and debugging facilities. the local loopbacks that are featured by register loop are shown in figure 61 . they are closed in the u-transceiver itself and can be activated regardless of the current operational status. by the loop register it can be configured whether the loopback is closed only for the b1 and/or b2 or for 2b+d channels and whether the loopback is closed towards the internal iom  -2 interface or towards the u-interface. by default the loopbacks are set to transparent mode. in transparent mode the data is both passed on and looped back. in non-transparent mode the data is not forwarded but substituted by 1s (idle code). 2b+d 2 b+d loop request u loop command l p2bymon8.vsd u-transceiver controller s-transceiver loop command
pef 81902 operational description data sheet 126 2001-11-12  figure 61 loopbacks featured by register loop loopreg.emf loop.lb1=1 loop.lb2=1 loop.lbbd= 1 & loop.u/iom= 1 loop.lb1=1 loop.lb2=1 loop.lbbd= 1 & loop.u/iom= 0 iom-2 interface echo canceller + timing recovery bandgap, bias, refer. analog part line interface unit tx-fifo rx-fifo a g c equalizer pdm filter ? ? ? ? adc dac digital part u-transceiver u-de- framing de- scrambler scrambler 2b1q u- framing activation/ deactivation controller 2b1q
pef 81902 operational description data sheet 127 2001-11-12 3.3 external circuitry 3.3.1 power supply blocking recommendation the following blocking circuitry is suggested.  figure 62 power supply blocking 3.3.2 u-transceiver the t-smintix is connected to the twisted pair via a transformer. figure 63 shows the recommended external circuitry with external hybrid. the recommended protection circuitry is not displayed. vddd vddd vssd vssd vdda_sr vdda_ur vdda_ux vdda_sx vssa_ur vssa_ux vssa_sr vssa_sx 100nf 100nf 100nf 100nf 100nf 100nf gnd 3.3v 1f these capacitors should be located as near to the pins as possible 1) 1) 1) 1) 1) 1) 1) blocking_caps_smint.vsd
pef 81902 operational description data sheet 128 2001-11-12  figure 63 external circuitry u-transceiver with external hybrid u-transformer parameters the following table lists parameters of typical u-transformers. table 32 u-transformer parameters u-transformer parameters symbol value unit u-transformer ratio; device side : line side n1 : 1.6 main inductanc of windings on the line side l h 7.5 mh leakage inductance of windings on the line side l s 120 h coupling capacitance between the windings on the device side and the windings on the line side c k 30 pf dc resistance of the windings on device side r b 0.9 ? dc resistance of the windings on line side r l 1.8 ? loop aout bout ain bin n c r t r4 r comp r comp >1 r3 r3 r4 r t extcirc_u_q2_exthybrid.emf
pef 81902 operational description data sheet 129 2001-11-12 resistors of the external hybrid r3, r4 and r t r3 = 1.75 k ? r4 = 1.0 k ? r t = 25 ? resistors r comp / r t  optional use of trafos with non negligible resistance r b , r l requires compensation resistors r comp depending on r b and r l : n 2 (2r comp + r b ) + r l = 20 ? (1)  compliance with return loss measurements: n 2 (2r comp + 2r t + r out + r b ) + r l = 150 ? (2) r b , r l : see table 32 r out : see table 39 15nf capacitor to achieve optimum performance the 15nf capacitor should be mkt. a ceramic capacitor is not recommended. tolerances  rs: 1%  c = 15nf: 10-20%  l h = 7.5mh: 10% 3.3.3 s-transceiver in order to comply to the physical requirements of itu recommendation i.430 and considering the national requirements concerning overvoltage protection and electromagnetic compatibility (emc), the s-transceiver needs some additional circuitry.
pef 81902 operational description data sheet 130 2001-11-12 s-transformer parameters the following table 33 lists parameters of a typical s-transformer: table 33 s-transformer parameters transmitter the transmitter requires external resistors r stx = 47 ? in order to adjust the output voltage to the pulse mask (nominal 750 mv according to itu i.430, to be tested with the test mode ? tm1 ? ) on the one hand and in order to meet the output impedance of minimum 20 ? on the other hand (to be tested with the testmode ? continuous pulses ? ) on the other hand. note: the resistance of the s-transformer must be taken into account when dimensioning the external resistors r stx . if the transmit path contains additional components (e.g. a choke), then the resistance of these additional components must be taken into account, too. transformer parameters symbol value unit transformer ratio; device side : line side n 2 : 1 main inductance of windings on the line side l h typ. 30 mh leakage inductance of windings on the line side l s typ. <3 h coupling capacitance between the windings on the device side and the windings on the line side c k typ. <100 pf dc resistance of the windings on device side r b typ. 2.4 ? dc resistance of the windings on line side r l typ. 1.4 ?
pef 81902 operational description data sheet 131 2001-11-12  figure 64 external circuitry s-interface transmitter receiver the receiver of the s-transceiver is symmetrical. 10 k ? overall resistance are recommended in each receive path. it is preferable to split the resistance into two resistors for each line. this allows to place a high resistance between the transformer and the diode protection circuit (required to pass 96 khz input impedance test of itu i.430 [6] and ets 300012-1). the remaining resistance (1.8 k ? ) protects the s- transceiver itself from input current peaks.  figure 65 external circuitry s-interface receiver 20...40 47 sx1 sx2 2 : 1 gnd v dd 47 dc point extcirc_s.vsd 1k8 1k8 sr1 sr2 2 : 1 gnd v dd 8k2 8k2 dc point extcirc_s.vsd
pef 81902 operational description data sheet 132 2001-11-12 3.3.4 oscillator circuitry figure 66 illustrates the recommended oscillator circuit.  figure 66 crystal oscillator table 34 crystal parameters external components and parasitics the load capacitance c l is computed from the external capacitances c ld , the parasitic capacitances c par (pin and pcb capacitances to ground and v dd ) and the stray capacitance c io between xin and xout: for a specific crystal the total load capacitance is predefined, so the equation must be solved for the external capacitances c ld , which is usually the only variable to be determined by the circuit designer. typical values for the capacitances c ld connected to the crystal are 22 - 33 pf. 3.3.5 general ? low power leds parameter symbol limit values unit frequency f 15.36 mhz frequency calibration tolerance +/-60 ppm load capacitance c l 20 pf max. resonance resistance r1 20 ? max. shunt capacitance c 0 7pf oscillator mode fundamental 15.36 mhz xout xin c ld c ld c l c ld c par + () c ld c par + () c ld c par + () c ld c par + () + ------------------------------------------------------------------------ c io + =
pef 81902 register description data sheet 133 2001-11-12 4 register description 4.1 address space figure 67 address space iom  -2 handler interrupt, global registers 40 h 60 h (cda, tsdp, cr, sti) u-transceiver 7d h s-transceiver 3c h monitor handler 5c h hdlc controller, ci reg. hdlc rfifo/xfifo 00 h 20 h 30 h
pef 81902 register description data sheet 134 2001-11-12 4.2 interrupts special events in the t-smint  ix are indicated by means of a single interrupt output, which requests the host to read status information from the t-smint  ix or transfer data from/to the t-smint  ix. since only one int request output is provided, the cause of an interrupt must be determined by the host reading the interrupt status registers of the t-smint  ix. the structure of the interrupt status registers is shown in figure 68 . figure 68 t-smint  ix interrupt status registers 0 1 1 cic st mos s wov int sti11 ista mask sqc msti sti sti10 sti20 sti21 stov10 stov11 stov20 stov21 cic1 ci1e cic0 cir0 istas cix1 ric sqc ric masks ld ld cic st mos s wov mre mdr mie mda mer mab mosr mocr sti11 sti10 sti20 sti21 stov10 stov11 stov20 stov21 sqw sqw ack11 ack10 ack20 ack21 asti uu istau masku ci rds 1 1 1 1ms ci rds 0 0 0 0 1ms rme rpf rfo xpr xmr xdu rme rpf rfo xpr xmr xdu maskh istah hdlc hdlc tin tin
pef 81902 register description data sheet 135 2001-11-12 after the t-smint  ix has requested an interrupt by setting its int pin to low, the host must read first the t-smint  ix interrupt status register (ista) in the associated interrupt service routine. the int pin of the t-smint  ix remains active until all interrupt sources are cleared. therefore, it is possible that the int pin is still active when the interrupt service routine is finished. each interrupt indication of the interrupt status registers can selectively be masked by setting the respective bit in the mask register. for some interrupt controllers or hosts it might be necessary to generate a new edge on the interrupt line to recognize pending interrupts. this can be done by masking all interrupts at the end of the interrupt service routine (writing ff h into the mask register) and writing back the old mask to the mask register.
pef 81902 register description data sheet 136 2001-11-12 4.3 register summary r(0) = reserved, implemented as zero hdlc control registers, ci handler name 7654 3 210addrr/wres rfifo d-channel receive fifo 00 h - 1f h r xfifo d-channel transmit fifo 00 h - 1f h w istah rme rpf rfo xpr xmr xdu r(0) r(0) 20 h r10 h maskh rme rpf rfo xpr xmr xdu 0 0 20 h wfc h star xdov xfw r(0) r(0) raci r(0) xaci r(0) 21 h r40 h cmdr rmc rres 0 sti xtf 0 xme xres 21 h w00 h modeh mds2 mds1 mds0 r(0) rac dim2 dim1 dim0 22 h r/w c0 h exmr xfbs rfbs sra xcrc rcrc r(0) itf 23 h r/w 00 h timr cnt value 24 h r/w 00 h sap1 sapi1 0 mha 25 h wfc h sap2 sapi2 0 mla 26 h wfc h rbcl rbc7 rbc0 26 h r00 h rbch r(0) r(0) r(0) ov rbc11 rbc8 27 h r00 h tei1 tei1 ea1 27 h wff h tei2 tei2 ea1 28 h wff h rsta vfr rdo crc rab sa1 sa0 c/r ta 28 h r0f h tmh r(0) r(0) r(0) r(0) r(0) r(0) r(0) tlp 29 h r/w 00 h reserved 2a h - 2d h
pef 81902 register description data sheet 137 2001-11-12 cir0 codr0 cic0 cic1 s/g bas 2e h rf3 h cix0 codx0 tba2 tba1 tba0 bac 2e h wfe h cir1 codr1 cicw ci1e 2f h rfe h cix1 codx1 cicw ci1e 2f h wfe h
pef 81902 register description data sheet 138 2001-11-12 s-transceiver name76543210addrr/wres s_ conf0 dis_ tr bus en_ icv 0 l1sw 0 exlp 0 30 h r/w 40 h reserved 31 h s_ conf2 dis_ tx 000000032 h r/w 80 h s_sta rinf 0 icv 0 fsyn 0 ld 33 h r00 h s_cmd xinf dprio 1 pd lp_a 0 34 h r/w 08 h sqrr msyn mfen 0 0 sqr1 sqr2 sqr3 sqr4 35 h r00 h sqxr 0 mfen 0 0 sqx1 sqx2 sqx3 sqx4 35 h w00 h reserved 36 h -37 h istas 0 x x x ld ric sqc sqw 38 h r00 h masks 1 1 1 1 ld ric sqc sqw 39 h r/w ff h s_ mode 0000dch_ inh mode2-0 3a h r/w 02 h reserved 3b h
pef 81902 register description data sheet 139 2001-11-12 interrupt, general configuration name76543210addrr/wres ista u st cic tin wov s mos hdlc 3c h r00 h mask u st cic tin wov s mos hdlc 3c h wff h mode1 mclk cds wtc1 wtc2 cfs rss2 rss1 3d h r/w 04 h mode2 led2 led1 ledc 0 0 amod ppsdx 3e h r/w 00 h id 0 0 design 3f h r20 h sres 0 0 res_ ci/tic 0 res_ hdlc 0 res_ s res_ u 3f h w00 h
pef 81902 register description data sheet 140 2001-11-12 iom handler (timeslot, data port selection, cda data and cda control register) name 7 6 5 4 3 2 1 0 addr r/w res cda10 controller data access register 40 h r/w ff h cda11 controller data access register 41 h r/w ff h cda20 controller data access register 42 h r/w ff h cda21 controller data access register 43 h r/w ff h cda_ tsdp10 dps 0 0 0tss44 h r/w 00 h cda_ tsdp11 dps 0 0 0tss45 h r/w 01 h cda_ tsdp20 dps 0 0 0tss46 h r/w 80 h cda_ tsdp21 dps 0 0 0tss47 h r/w 81 h reserved 48 h - 4b h s_ tsdp_ b1 dps 0 0 0tss4c h r/w 84 h s_ tsdp_ b2 dps 0 0 0tss4d h r/w 85 h cda1_ cr 0 0en_ tbm en_i1 en_i0 en_o1 en_o0 swap 4e h r/w 00 h cda2_ cr 0 0en_ tbm en_i1 en_i0 en_o1 en_o0 swap 4f h r/w 00 h
pef 81902 register description data sheet 141 2001-11-12 iom handler (control registers, synchronous transfer interrupt control) name 7 6 5 4 3 2 1 0 addr r/w res reserved 50 h s_cr 1 ci_cs en_ d en_ b2r en_ b1r en_ b2x en_ b1x d_cs 51 h r/w ff h hci_cr dps_ ci1 en_ ci1 en_d en_ b2h en_ b1h dps_ h hcs 52 h r/w 04 h mon_ cr dps en_ mon 0000 mcs 53 h r/w 40 h sds1_ cr ens_ tss ens_ tss+1 ens_ tss+3 0tss54 h r/w 00 h sds2_ cr ens_ tss ens_ tss+1 ens_ tss+3 0tss55 h r/w 00 h iom_cr spu 0 0 tic_ dis en_ bcl 0dis_ od dis_ iom 56 h r/w 08 h mcda mcda21 mcda20 mcda11 mcda10 57 h rff h sti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 58 h r00 h asti 0000ack 21 ack 20 ack 11 ack 10 58 h w00 h msti stov 21 stov 20 stov 11 stov 10 sti 21 sti 20 sti 11 sti 10 59 h r/w ff h reserved 5a h - 5b h
pef 81902 register description data sheet 142 2001-11-12 monitor handler name 7 6 5 4 3 2 1 0 addr r/w res mor monitor receive data 5c h rff h mox monitor transmit data 5c h wff h mosr mdr mer mda mab 0 0 0 0 5d h r00 h mocr mre mrc mie mxc 0 0 0 0 5e h r/w 00 h msta 00000mac0tout5f h r00 h mconf 0 0 0 0 0 0 0 tout 5f h w00 h
pef 81902 register description data sheet 143 2001-11-12 note: registers, which are denoted as ?reserved?, may not be accessed by the c, neither for read nor for write operations. 4.3.1 reset of u-transceiver functions during deactivation or with c/i-code reset the following u-transceiver register is reset upon transition to state ? deactivating ? or with software reset: u-transceiver name 76543210addrr/wres opmode0uci0000 0 060 h r*/w 00 h reserved 61 h - 6c h ucir 0 0 0 0 c/i code output 6d h r00 h uciw 0 0 0 0 c/i code input 6e h w01 h reserved 6f h loop 0 0 trans u/iom 1 lbbd lb2 lb1 70 h r*/w 08 h reserved 71 h rds block error counter value 72 h r00 h reserved 73 h - 79 h istau 0cirds00001ms7a h r00 h masku 1 ci rds 1 1 1 1 1 ms 7b h r*/w ff h reserved 7c h fw_ version fw version number 7d h r3e h
pef 81902 register description data sheet 144 2001-11-12  4.3.2 mode register evaluation timing table 36 lists registers, which are evaluated and executed immediately.  table 35 reset of u-transceiver functions during deactivation or with c/i- code reset register affected bits/ comment loop only the bits lbbd, lb2 and lb1 are reset table 36 mode register with immediate evaluation and execution register affected bits comment opmode uci loop complete register masku complete register
pef 81902 register description data sheet 145 2001-11-12 4.4 detailed hdlc control and c/i registers 4.4.1 rfifo - receive fifo rfifo read address: 00-1f h the rfifo contains up to 32 bytes of received data. after an istah.rpf interrupt, a complete data block is available. the block size can be 4, 8, 16, 32 bytes depending on the exmr.rfbs setting. after an istah.rme interrupt, the number of received bytes can be obtained by reading the rbcl register. a read access to any address within the range 00 h -1f h gives access to the ? current ? fifo location selected by an internal pointer which is automatically incremented after each read access. this allows for the use of efficient ? move string ? type commands by the microcontroller. 4.4.2 xfifo - transmit fifo xfifo write address: 00-1f h depending on exmr.xfbs up to 16 or 32 bytes of transmit data can be written to the xfifo following an istah.xpr interrupt. a write access to any address within the range 00-1f h gives access to the ? current ? fifo location selected by an internal pointer which is automatically incremented after each write access. this allows the use of efficient ? move string ? type commands by the microcontroller. 4.4.3 istah - interrupt status register hdlc istah read address: 20 h value after reset: 10 h 70 receive data 70 transmit data
pef 81902 register description data sheet 146 2001-11-12 note: the reset value cannot be read right after reset as all interrupts are masked, i.e. the xpr interrupt remains internally stored and can only be read as soon as the corresponding mask bit is set to ? 0 ? . 76543210 rme rpf rfo xpr xmr xdu r(0) r(0) rme receive message end 0 = inactive 1 = one complete frame of length less than or equal to the defined block size (exmr.rfbs) or the last part of a frame of length greater than the defined block size has been received. the contents are available in the rfifo. the message length and additional information may be obtained from rbch and rbcl and the rsta register. rpf receive full 0 = inactive 1 = a data block of a frame longer than the defined block size (exmr.rfbs) has been received and is available in the rfifo. the frame is not yet complete. rfo receive frame overflow 0 = inactive 1 = the received data of a frame could not be stored, because the rfifo is occupied. the whole message is lost. this interrupt can be used for statistical purposes and indicates that the microcontroller does not respond quickly enough to a rpf or rme interrupt (istah). xpr transmit pool ready 0 = inactive
pef 81902 register description data sheet 147 2001-11-12 4.4.4 maskh - mask register hdlc maskh write address: 20 h value after reset: fc h 1 = a data block of up to the defined block size (exmr.xfbs) can be written to the xfifo. a xpr interrupt will be generated in the following cases:  after a xtf or xme command as soon as the 16 / 32 bytes in the xfifo are available and the frame is not yet complete.  after a xtf together with a xme command is issued, when the whole frame has been transmitted.  after reset  after xres xmr transmit message repeat 0 = inactive 1 = the transmission of the last frame has to be repeated because a collision on the s bus has been detected after the 16 th /32 nd data byte of a transmit frame. if a xmr interrupt occurs the transmit fifo is locked until the xmr interrupt is read by the host (interrupt cannot be read if masked in maskh). xdu transmit data underrun 0 = inactive 1 = the current transmission of a frame is aborted by transmitting seven ? 1 ? s because the xfifo holds no further data. this interrupt occurs whenever the microcontroller has failed to respond to a xpr interrupt (istah register) quick enough, after having initiated a transmission and the message to be transmitted is not yet complete. if a xmr interrupt occurs the transmit fifo is locked until the xdu interrupt is read by the host (interrupt cannot be read if masked in maskh).
pef 81902 register description data sheet 148 2001-11-12 each interrupt source in the istah register can be selectively masked by setting the corresponding bit in maskh to ? 1 ? . masked interrupt status bits are not indicated when istah is read. instead, they remain internally stored and pending, until the mask bit is reset to ? 0 ? . 4.4.5 star - status register star read address: 21 h value after reset: 40 h 76543210 rme rpf rfo xpr xmr xdu 0 0 bit 0..7 mask bits 0 = interrupt active 1 = interrupt masked 76543210 xdov xfw r(0) r(0) raci r(0) xaci 0 xdov transmit data overflow 0 = no transmit data overflow 1 = more than the selected block size of 16 or 32 bytes have been written into the xfifo, i.e. data has been overwritten. xfw transmit fifo write enable 0 = data can not be written in the xfifo 1 = data can be written in the xfifo. this bit may be polled instead of (or in addition to) using the xpr interrupt. raci receiver active indication 0 = the hdlc receiver is not active
pef 81902 register description data sheet 149 2001-11-12 4.4.6 cmdr - command register cmdr write address: 21 h value after reset: 00 h 1 = the hdlc receiver is active when raci = ? 1 ? . this bit may be polled. the raci bit is set active after a begin flag has been received and is reset after receiving an abort sequence. xaci transmitter active indication 0 = the hdlc-transmitter is not active 1 = the hdlc-transmitter is active when xaci = ? 1 ? . this bit may be polled. the xaci-bit is active when a xtf-command is issued and the frame has not been completely transmitted. 76543210 rmc rres 0 sti xtf 0 xme xres rmc receive message complete 0 = inactive 1 = reaction to rpf (receive pool full) or rme (receive message end) interrupt. by setting this bit, the microcontroller confirms that it has fetched the data, and indicates that the corresponding space in the rfifo may be released. rres receiver reset 0 = inactive 1 = hdlc receiver is reset, the rfifo is cleared of any data. sti start timer 0 = inactive 1 = the t-smint  ix hardware timer is started (see timr register). xtf transmit transparent frame 0 = inactive
pef 81902 register description data sheet 150 2001-11-12 all of these bits must not be set twice within one bcl clock cycle. note: after a xpr interrupt further data has to be written to the xfifo and the appropriate transmit command (xtf) has to be written to the cmdr register again to continue transmission, when the current frame is not yet complete (see also xpr in istah). during frame transmission, the 0-bit insertion according to the hdlc bit-stuffing mechanism is done automatically except in extended transparent mode. 4.4.7 modeh - mode register hdlc controller modeh read/write address: 22 h value after reset: c0 h 1 = after having written up to 16 or 32 bytes (exmr.xfbs) in the xfifo, the microcontroller initiates the transmission of a transparent frame by setting this bit to ? 1 ? . the opening flag is automatically added to the message by the t-smint  ix except in the extended transparent mode. xme transmit message end 0 = inactive 1 = by setting this bit to ? 1 ? the microcontroller indicates that the data block written last in the xfifo completes the corresponding frame. the t-smint  ix completes the transmission by appending the crc (if xcrc = 0) and the closing flag sequence to the data except in the extended transparent mode. xres transmitter reset 0 = inactive 1 = hdlc transmitter is reset and the xfifo is cleared of any data. this command can be used by the microcontroller to abort a frame currently in transmission. 70 mds2 mds1 mds0 r(0) rac dim2 dim1 dim0
pef 81902 register description data sheet 151 2001-11-12 mds2-0 mode select determines the message transfer mode of the hdlc controller, as follows : note: sap1, sap2: two programmable address values for the first received address byte (in the case of an address field longer than 1 byte); sapg = fixed value fc / fe h . tei1, tei2: two programmable address values for the second (or the only, in the case of a one-byte address) received address byte; teig = fixed value ff h . two different methods of the high byte and/or low byte address comparison can be selected by setting sap1.mha and/or sap2.mla (see also description of these bits in chapter 4.4.10 or chapter 4.4.11 respectively). rac receiver active 0 = the hdlc data is not evaluated in the receiver 1 = the hdlc receiver is activated mds2-0 mode address comparison remark 1.byte 2.byte 0 0 0 reserved ??? 0 0 1 reserved ??? 0 1 0 non-auto mode/8 tei1,tei2 ? one-byte address compare. 0 1 1 non-auto mode/16 sap1,sap2, sapg tei1,tei2, teig two-byte address compare. 1 0 0 extended transparent mode ??? 1 1 0 transparent mode 0 ?? no address compare. all frames accepted. 1 1 1 transparent mode 1 sap1,sap2, sapg ? high-byte address compare. 1 0 1 transparent mode 2 ? tei1,tei2, teig low-byte address compare.
pef 81902 register description data sheet 152 2001-11-12 4.4.8 exmr - extended mode register exmr read/write address: 23 h value after reset: 00 h dim2-0 digital interface modes these bits define the characteristics of the iom data ports (du, dd). the dim0 bit enables/disables the stop/go bit (s/g) evaluation. the dim1 bit enables/disables the tic bus access. the effect of the individual dim bits is as follows: 0-0 = stop/go bit evaluation is disabled 0-1 = stop/go bit evaluation is enabled 00- = tic bus access is enabled 01- = tic bus access is disabled 1xx = reserved 70 xfbs rfbs sra xcrc rcrc r(0) itf xfbs transmit fifo block size 0 = block size for the transmit fifo data is 32 byte 1 = block size for the transmit fifo data is 16 byte note: a change of xfbs will take effect after a transmitter command (cmdr.xme, cmdr.xres, cmdr.xtf) has been written. rfbs receive fifo block size 00 = 32 byte 01 = 16 byte 10 = 8 byte 11 = 4 byte note: a change of rfbs will take effect after a receiver command (cmdr.rmc, cmdr.rres) has been written.
pef 81902 register description data sheet 153 2001-11-12 4.4.9 timr - timer register timr read/write address: 24 h value after reset: 00 h sra store receive address 0 = receive address is not stored in the rfifo 1 = receive address is stored in the rfifo xcrc transmit crc 0 = crc is transmitted 1 = crc is not transmitted rcrc receive crc 0 = crc is not stored in the rfifo 1 = crc is stored in the rfifo itf interframe time fill selects the inter-frame time fill signal which is transmitted between hdlc- frames. 0 = idle (continuous ? 1 ? ) 1 = flags (sequence of patterns: ? 0111 1110 ? ) note: itf must be set to ? 0 ? for power down mode. in applications with d-channel access handling (collision resolution), the only possible inter-frame time fill is idle (continuous ? 1 ? ). otherwise the d-channel on the s/t-bus cannot be accessed. 754 0 cnt value
pef 81902 register description data sheet 154 2001-11-12 4.4.10 sap1 - sapi1 register sap1 write address: 25 h value after reset: fc h cnt cnt together with value determines the time period t after which a tin interrupt (ista) will be generated in the normal case: cnt=0...6: t = cnt x 2.048 sec + t1 with t1 = (value+1) x 0.064 sec cnt=7: t = t1 = (value+1) x 0.064 sec (generated periodically) the timer can be started by setting the sti-bit in cmdr and will be stopped when a tin interrupt is generated or the timr register is written. note: if cnt is set to 7, a tin interrupt is indefinitely generated after every expiration of t = t1. value determines the time period t1 t1 = (value + 1) 0.064 sec 70 sapi1 0 mha sapi1 sapi1 value value of the programmable high address byte. in isdn ladp protocol (d- channel) this is the service access point identifier (sapi) and for b-channel applications it is the rah value. mha mask high address 0 = the high address of an incoming frame is compared with sap1, sap2 and sapg. 1 = the high address of an incoming frame is compared with sap1 and sapg. sap1 can be masked with sap2. bit positions of sap1 are not compared if they are set to ? 1 ? in sap2.
pef 81902 register description data sheet 155 2001-11-12 4.4.11 sap2 - sapi2 register sap2 write address: 26 h value after reset: fc h 4.4.12 rbcl - receive frame byte count low rbcl read address: 26 h value after reset: 00 h 70 sapi2 0 mla sapi2 sapi2 value value of the programmable high address byte. in isdn ladp protocol (d- channel) this is the service access point identifier (sapi) and for b-channel applications it is the ral value. mla mask low address 0 = the tei address of an incoming frame is compared with tei1, tei2 and teig. 1 = the tei address of an incoming frame is compared with tei1 and teig. tei1 can be masked with tei2. bit positions of tei1 are not compared if they are set to ? 1 ? in tei2. 70 rbc7 rbc0 rbc7-0 receive byte count eight least significant bits of the total number of bytes in a received message (see rbch register).
pef 81902 register description data sheet 156 2001-11-12 4.4.13 rbch - receive frame byte count high for d-channel rbch read address: 27 h value after reset: 00 h . note: normally rbch and rbcl should be read by the microcontroller after a rme- interrupt, in order to determine the number of bytes to be read from the rfifo, and the total message length. the contents of the registers are valid only after a rme or rpf interrupt, and remain so until the frame is acknowledged via the rmc bit or rres. 4.4.14 tei1 - tei1 register tei1 write address: 27 h value after reset: ff h 70 r(0) r(0) r(0) ov rbc11 rbc8 ov overflow 0 = message shorter than (2 12 ? 1) = 4095 bytes. 1 = message longer than (2 12 ? 1) = 4095 bytes. rbc8-11 receive byte count four most significant bits of the total number of bytes in a received message (see rbcl register). 70 tei1 ea1
pef 81902 register description data sheet 157 2001-11-12 4.4.15 tei2 - tei2 register tei2 write address: 28 h value after reset: ff h 4.4.16 rsta - receive status register rsta read address: 28 h value after reset: 0f h tei1 terminal endpoint identifier in all message transfer modes except for transparent modes 0, 1 and extended transparent mode, tei1 is used by the t-smint  ix for address recognition. in the case of a two-byte address field, it contains the value of the first programmable terminal endpoint identifier according to the isdn lapd-protocol. ea1 address field extension bit this bit is set to ? 1 ? according to hdlc/lapd. 70 tei2 ea2 tei2 terminal endpoint identifier in all message transfer modes except in transparent modes 0, 1 and extended transparent mode, tei2 is used by the t-smint  ix for address recognition. in the case of a two-byte address field, it contains the value of the second programmable terminal endpoint identifier according of the isdn lapd-protocol. ea2 address field extension bit this bit is to be set to ? 1 ? according to hdlc/lapd.
pef 81902 register description data sheet 158 2001-11-12 70 vfr rdo crc rab sa1 sa0 c/r ta vfr valid frame determines whether a valid frame has been received. a frame is invalid when there is not a multiple of 8 bits between flag and frame end (flag, abort). 0 = the frame is invalid 1 = the frame is valid rdo receive data overflow 0 = no receive data overflow 1 = at least one byte of the frame has been lost, because it could not be stored in rfifo. as opposed the istah.rfo a rdo indicates that the beginning of a frame has been received but not all bytes could be stored as the rfifo was temporarily full. crc crc check 0 = the crc is incorrect 1 = the crc is correct rab receive message aborted 0 = the receive message was not aborted 1 = the receive message was aborted by the remote station, i.e. a sequence of seven 1 ? s was detected before a closing flag. sa1-0 sapi address identification ta tei address identification
pef 81902 register description data sheet 159 2001-11-12 4.4.17 tmh -test mode register hdlc tmh read/write address: 29 h value after reset: 00 h these bits are only relevant in modes with address comparison. the result of the address comparison is given by sa1-0 and ta, as follows: note: if sap1 and sap2 contain identical values, the combination sap1,2-teig will only be indicated by sap1,0 = ? 10 ? (i.e. the value ? 00 ? will not occur in this case). c/r command/response the c/r bit contains the c/r bit of the received frame (bit1 in the sapi address). note: the contents of rsta corresponds to the last received hdlc frame; it is duplicated into rfifo for every frame (last byte of frame). 70 r(0) r(0) r(0) r(0) r(0) r(0) r(0) tlp address match with mds2-0 sa1 sa0 ta 1 st byte 2 nd byte 010 (non-auto/8 mode) x x x x 0 1 tei2 tei1 - - 011 (non-auto/16 mode) 0 0 0 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 sap2 sap2 sapg sapg sap1 sap1 teig tei2 teig tei1 or tei2 teig tei1 111 (transparent mode 1) 0 0 1 0 1 0 x x x sap2 sapg sap1 - - - 101 (transparent mode 2) - - - - 0 1 - - teig tei1 or tei2 11x reserved
pef 81902 register description data sheet 160 2001-11-12 note: the bits7-1 have to be set to ? 0 ? . 4.4.18 cir0 - command/indication receive 0 cir0 read address: 2e h value after reset: f3 h tlp test loop 0 = inactive 1 = the tx path of the hdlc controller is internally connected to its rx path. data coming from the iom-2 will not be forwarded to the hdlc controller. setting of tlp is only valid if iom-2 is active. 70 codr0 cic0 cic1 s/g bas codr0 c/i0 code receive value of the received command/indication code. a c/i-code is loaded in codr0 only after being the same in two consecutive iom-frames and the previous code has been read from cir0. cic0 c/i0 code change 0 = no change in the received command/indication code has been recognized 1 = a change in the received command/indication code has been recognized. this bit is set only when a new code is detected in two consecutive iom-frames. it is reset by a read of cir0. cic1 c/i1 code change 0 = no change in the received command/indication code has been recognized 1 = a change in the received command/indication code in iom-channel 1 has been recognized. this bit is set when a new code is detected in one iom-frame. it is reset by a read of cir0.
pef 81902 register description data sheet 161 2001-11-12 note: the codr0 bits are updated every time a new c/i-code is detected in two consecutive iom-frames. if several consecutive valid new codes are detected and cir0 is not read, only the first and the last c/i code are made available in cir0 at the first and second read of that register. 4.4.19 cix0 - command/indication transmit 0 cix0 write address: 2e h value after reset: fe h s/g stop/go bit monitoring indicates the availability of the upstream d-channel; 0 = go 1 = stop bas bus access status indicates the state of the tic-bus: 0 = the t-smint  ix itself occupies the d- and c/i-channel 1 = another device occupies the d- and c/i-channel 70 codx0 tba2 tba1 tba0 bac codx0 c/i0-code transmit code to be transmitted in the c/i-channel 0. the code is only transmitted if the tic bus is occupied, otherwise ? 1s ? are transmitted. tba2-0 tic bus address defines the individual address for the t-smint  ix on the iom bus. this address is used to access the c/i- and d-channel on the iom interface. note: if only one device is liable to transmit in the c/i- and d-channels of the iom it should always be given the address value ? 7 ? . bac bus access control only valid if the tic-bus feature is enabled (mode:dim2-0).
pef 81902 register description data sheet 162 2001-11-12 4.4.20 cir1 - command/indication receive 1 cir1 read address: 2f h value after reset: fe h 4.4.21 cix1 - command/indication transmit 1 cix1 write address: 2f h value after reset: fe h 0 = inactive 1 = the t-smint  ix will try to access the tic-bus to occupy the c/i- channel even if no d-channel frame has to be transmitted. it should be reset when the access has been completed to grant a similar access to other devices transmitting in that iom-channel. note: access is always granted by default to the t-smint  ix with tic-bus address (tba2-0, cix0 register) ? 7 ? , which has the lowest priority in a bus configuration. 70 codr1 cicw ci1e codr1 c/i1-code receive cicw c/i-channel width contains the read back value from cix1 register (see below) 0 = 4 bit c/i1 channel width 1 = 6 bit c/i1 channel width ci1e c/i1-channel interrupt enable contains the read back value from cix1 register (see below) 0 = interrupt generation ista.cic of cir0.cic1is masked 1 = interrupt generation ista.cic of cir0.cic1 is enabled
pef 81902 register description data sheet 163 2001-11-12 4.5 detailed s-transceiver registers 4.5.1 s_conf0 - s-transceiver configuration register 0 s_ conf0 read/write address: 30 h value after reset: 40 h 70 codx1 cicw ci1e codx1 c/i1-code transmit bits 5-0 of c/i-channel 1 cicw c/i-channel width 0 = 4 bit c/i1 channel width 1 = 6 bit c/i1 channel width the c/i1 handler always reads and writes 6-bit values but if 4-bit is selected, the higher two bits are ignored for interrupt generation. however, in write direction the full codx1 code is transmitted, i.e. the host must write the higher two bits to ? 1 ? . ci1e c/i1-channel interrupt enable 0 = interrupt generation ista.cic of cir0.cic1is masked 1 = interrupt generation ista.cic of cir0.cic1 is enabled 70 dis_tr bus en_ icv 0 l1sw 0 exlp 0 dis_tr disable transceiver 0 = all s-transceiver functions are enabled.
pef 81902 register description data sheet 164 2001-11-12 4.5.2 s_conf2 - s-transmitter configuration register 2 s_ conf2 read/write address: 32 h value after reset: 80 h 1 = all s-transceiver functions are disabled and powered down (analog and digital parts). bus point-to-point / bus selection 0 = adaptive timing (point-to-point, extended passive bus). 1 = fixed timing (short passive bus), directly derived from transmit clock. en_icv enable far end code violation 0 = normal operation. 1 = icv enabled. the receipt of at least one illegal code violation within one multi-frame according to ansi t1.605 is indicated by the c/i indication ? 1011 ? (cvr) in two consecutive iom frames. l1sw enable layer 1 state machine in software 0 = layer 1 state machine of the t-smint  ix is used. 1 = layer 1 state machine is disabled. the functionality must be realized in software. the commands are written to register s_cmd and the status read in the s_sta. exlp external loop in case the analog loopback is activated with c/i = arl or with the lp_a bit in the s_cmd register the loop is a 0 = internal loop next to the line pins 1 = external loop which has to be closed between sr1/sr2 and sx1/ sx2 note: for the external loop the transmitter must be enabled (s_conf2:dis_tx = 0).
pef 81902 register description data sheet 165 2001-11-12 4.5.3 s_sta - s-transceiver status register s_ sta read address: 33 h value after reset: 00 h important: this register is used only if the layer 1 state machine of the device is disabled (s_conf0:l1sw = 1) and implemented in software! with the layer 1 state machine enabled, the signals from this register are automatically evaluated. 70 dis_tx0000000 dis_tx disable line driver 0 = transmitter is enabled 1 = transmitter is disabled 70 rinf 0 icv 0 fsyn 0 ld rinf receiver info 00 = received info 0 (no signal) 01 = received any signal except info 0 or info 3 10 = reserved 11 = received info 3 icv illegal code violation 0 = no illegal code violation is detected. 1 = illegal code violation (ansi t1.605) in data stream is detected. fsyn frame synchronization state 0 = the s/t receiver is not synchronized. 1 = the s/t receiver has synchronized to the framing bit f.
pef 81902 register description data sheet 166 2001-11-12 4.5.4 s_cmd - s-transceiver command register s_ cmd read/write address: 34 h value after reset: 08 h important: this register - except bit dprio - is writable only if the layer 1 state machine of the device is disabled (s_conf0.l1sw = 1) and implemented in software! with the device layer 1 state machine enabled, the signals from this register are automatically generated. dprio can also be written in intelligent nt mode. ld level detection 0 = no receive signal has been detected on the line. 1 = any receive signal has been detected on the line. 70 xinf dprio 1 pd lp_a 0 xinf transmit info 000 = transmit info 0 001 = reserved 010 = transmit info 2 011 = transmit info 4 100 = send continuous pulses at 192 kbit/s alternating or 96 khz rectangular, respectively (tm2) 101 = send single pulses at 4 kbit/s with alternating polarity corresponding to 2 khz fundamental mode (tm1) 11x = reserved dprio d-channel priority 0 = priority class 1 for d channel access on iom 1 = priority class 2 for d channel access on iom pd power down 0 = the transceiver is set to operational mode
pef 81902 register description data sheet 167 2001-11-12 4.5.5 sqrr - s/q-channel receive register sqrr read address: 35 h value after reset: 00 h 4.5.6 sqxr- s/q-channel transmit register sqxr write address: 35 h value after reset: 00 h 1 = the transceiver is set to power down mode lp_a loop analog the setting of this bit corresponds to the c/i command arl. 0 = analog loop is open 1 = analog loop is closed internally or externally according to the exlp bit in the s_conf0 register 70 msyn mfen 0 0 sqr1 sqr2 sqr3 sqr4 msyn multi-frame synchronization state 0 = the s/t receiver has not synchronized to the received f a and m bits 1 = the s/t receiver has synchronized to the received f a and m bits mfen multiframe enable read-back of the mfen bit of the sqxr register 0 = s/t multiframe is disabled 1 = s/t multiframe is enabled sqr1-4 received s/q bits received q bits in frames 1, 6, 11 and 16
pef 81902 register description data sheet 168 2001-11-12 4.5.7 istas - interrupt status register s-transceiver istas read address: 38 h value after reset: 00 h 70 0 mfen 0 0 sqx1 sqx2 sqx3 sqx4 mfen multiframe enable used to enable or disable the multiframe structure. 0 = s/t multiframe is disabled 1 = s/t multiframe is enabled sqx1-4 transmitted s/q bits transmitted s bits in frames 1, 6, 11 and 16 70 xxxxldricsqcsqw these bits are set if an interrupt status occurs and an interrupt signal is activated if the corresponding mask bit is set to ? 0 ? . if the mask bit is set to ? 1 ? no interrupt is generated, however the interrupt status bit is set in istas. ric, sqc and sqw are cleared by reading the corresponding source register s_sta, sqrr or writing sqxr, respectively. x reserved ld level detection 0 = inactive 1 = any receive signal has been detected on the line. this bit is set to ? 1 ? (i.e. an interrupt is generated if not masked) as long as any receive signal is detected on the line.
pef 81902 register description data sheet 169 2001-11-12 4.5.8 masks - mask s-transceiver interrupt masks read/write address: 39 h value after reset: ff h ric receiver info change 0 = inactive 1 = ric is activated if one of the s_sta bits rinf or icv has changed. sqc s/q-channel change 0 = inactive 1 = a change in the received 4-bit q-channel has been detected. the new code can be read from the sqrx bits of registers sqrr within the next multiframe 1) . this bit is reset by a read access to the sqrr register. sqw s/q-channel writable 0 = inactive 1 = the s channel data for the next multiframe is writable. the register for the s bits to be transmitted has to be written within the next multiframe. this bit is reset by writing register sqxr. this timing signal is indicated with the start of every multiframe. data which is written right after sqw-indication will be transmitted with the start of the following multiframe. data which is written before sqw-indication is transmitted in the multiframe which is indicated by sqw. sqw and sqc could be generated at the same time. 1) register sqrr stays valid as long as no code change has been received. 70 1111ldricsqcsqw bit 3..0 mask bits
pef 81902 register description data sheet 170 2001-11-12 4.5.9 s_mode - s-transceiver mode s_ mode read/write address: 3a h value after reset: 02 h 0 = the transceiver interrupts ld, ric, sqc and sqw are enabled 1 = the transceiver interrupts ld, ric, sqc and sqw are masked 70 0 0 0 0 dch_inh mode dch_ inh d-channel inhibit 0 = inactive 1 = the s-transceiver blocks the access to the d-channel on s by inverting the e-bits. mode mode selection 000 = reserved 001 = reserved 010 = nt (without d-channel handler) 011 = lt-s (without d-channel handler) 110 intelligent nt mode (with nt state machine and with d-channel handler) 111 intelligent nt mode (with lt-s state machine and with d-channel handler) 100 reserved 101 reserved
pef 81902 register description data sheet 171 2001-11-12 4.6 interrupt and general configuration registers 4.6.1 ista - interrupt status register ista read address: 3c h value after reset: 00 h 70 u st cic tin wov s mos hdlc u u-transceiver interrupt 0 = inactive 1 = an interrupt was generated by the u-transceiver. read the istau register. st synchronous transfer 0 = inactive 1 = this interrupt enables the microcontroller to lock on to the iom ? -2 timing, for synchronous transfers. cic c/i channel change 0 = inactive 1 = a change in c/i0 channel or c/i1 channel has been recognized. the actual value can be read from cir0 or cir1. tin timer interrupt 0 = inactive 1 = the internal timer and repeat counter has expired (see timr register). wov watchdog timer overflow 0 = inactive
pef 81902 register description data sheet 172 2001-11-12 note: a read of the ista register clears only the tin and wov interrupts. the other interrupts are cleared by reading the corresponding status register. 4.6.2 mask - mask register mask write address: 3c h value after reset: ff h 1 = signals the expiration of the watchdog timer, which means that the microcontroller has failed to set the watchdog timer control bits wtc1 and wtc2 (mode1 register) in the correct manner. a reset out pulse on pin rsto has been generated by the t-smint  ix. s s-transceiver interrupt 0 = inactive 1 = an interrupt was generated by the s-transceiver. read the istas register. mos monitor status 0 = inactive 1 = a change in the monitor status register (mosr) has occurred. hdlc hdlc interrupt 0 = inactive 1 = an interrupt originated in the hdlc interrupt sources has been recognized. 70 u st cic tin wov s mos hdlc bit 7..0 mask bits 0 = interrupt is not masked 1 = interrupt is masked
pef 81902 register description data sheet 173 2001-11-12 each interrupt source in the ista register can be selectively masked by setting the corresponding bit in mask to ? 1 ? . masked interrupt status bits are not indicated when ista is read. instead, they remain internally stored and pending, until the mask bit is reset to ? 0 ? . note: in the event of a c/i channel change, cic is set in ista even if the corresponding mask bit in mask is active, but no interrupt is generated. 4.6.3 mode1 - mode1 register mode1 read/write address: 3d h value after reset: 04 h 70 mclk cds wtc1 wtc2 cfs rss2 rss1 mclk master clock frequency the master clock frequency bits control the microcontroller clock output depending on mode1.cds = ? 0 ? or ? 1 ? (table table 2.1.3 ). mode1.cds = ? 0 ? mode1.cds = ? 1 ? 00 = 3.84 mhz 7.68 mhz 01 = 0.96 mhz 1.92 mhz 10 = 7.68 mhz 15.36 mhz 11 = disabled disabled cds clock divider selection 0 = the 15.36 mhz oscillator clock divided by two is input to the mclk prescaler 1 = the 15.36 mhz oscillator clock is input to the mclk prescaler. wtc1, 2 watchdog timer control 1, 2 after the watchdog timer mode has been selected (rss = ? 11 ? ) the watchdog timer is started. during every time period of 128 ms the microcontroller has to program the wtc1 and wtc2 bit in the following sequence ( chapter 2.2 ): 10 first step
pef 81902 register description data sheet 174 2001-11-12 4.6.4 mode2 - mode2 register mode2 read/write address: 3e h value after reset: 00 h 01 second step to reset and restart the watchdog timer. if not, the timer expires and a wov-interrupt (ista register) together with a reset out pulse on pin rsto is generated. the watchdog timer runs only when the internal iom ? -2 clocks are active, i.e. the watchdog timer is dead when bit cfs = 1 and the u and s- transceivers are in state power down. cfs configuration select 0 = the iom ? -2 interface clock and frame signals are always active, ? deactivated state ? of the u-transceiver and the s-transceiver included. 1 = the iom ? -2 interface clocks and frame signals are inactive in the ? deactivated state ? of the u-transceiver and the s-transceiver. rss2, rss1 reset source selection 2,1 the t-smint  ix reset sources can be selected according to the table below. c/i code change watchdog timer por/uvd and rst 00 = -- -- x 01 = rsto disabled (high impedance) 10 = x -- x 11 = -- x x 70 led2 led1 ledc 0 0 0 amod ppsdx led2,1 led control on pin act 00 = high
pef 81902 register description data sheet 175 2001-11-12 4.6.5 id - identification register id read address: 3f h value after reset: 20 h 01 = flashing at 2 hz (1 : 1)* 10 = flashing at 1 hz (3 : 1)* 11 = low ledc led control enable 0 = led is controlled by the state machines as defined in table 3 . 1 = led is controlled via bits led2,1. amod address mode selects between direct and indirect register access of the parallel microcontroller interface. 0 = indirect address mode is selected. the address line a0 is used to select between address (a0 = ? 0 ? ) and data (a0 = ? 1 ? ) register 1 = direct address mode is selected. the address is applied to the address bus (a0-a6) ppsdx push/pull output for sdx 0 = the sdx pin has open drain characteristic 1 = the sdx pin has push/pull characteristic 70 0 0 design design design number the design number (design) allows to identify different hardware designs 1) of the t-smint  ix by software. 100000: version 1.1
pef 81902 register description data sheet 176 2001-11-12 4.6.6 sres - software reset register sres write address: 3f h value after reset: 00 h 4.7 detailed iom ? -2 handler registers 4.7.1 cdaxy - controller data access register xy these registers are used for microcontroller access to the iom ? -2 timeslots as well as for timeslot manipulations. (e.g. loops, shifts, ... see also ?controller data access (cda)? on page 30 ). cdaxy read/write address: 40-43 h data register cdaxy which can be accessed by the controller. 1) distinction of different firmware versions is also possible by reading register (7d) h in the address space of the u-transceiver (see chapter 4.9.8 ). 70 00res_ ci/tic 0res_ hdlc 0res_sres_u res_xx reset_xx 0 = deactivates the reset of the functional block xx 1 = activates the reset of the functional block xx. the reset state is activated as long as the bit is set to ? 1 ? 70 controller data access register register value after reset register address cda10 ff h 40 h cda11 ff h 41 h
pef 81902 register description data sheet 177 2001-11-12 4.7.2 xxx_tsdpxy - time slot and data port selection for chxy xxx_tsdpxy read/write address: 44-4d h this register determines the time slots and the data ports on the iom ? -2 interface for the data channels xy of the functional units xxx (controller data access (cda) and s- transceiver (s)). note: the u-transceiver is always in iom-2 channel 0. cda20 ff h 42 h cda21 ff h 43 h 70 dps 0 0 0 tss register value after reset register address cda_tsdp10 00 h (= output on b1-dd) 44 h cda_tsdp11 01 h (= output on b2-dd) 45 h cda_tsdp20 80 h (= output on b1-du) 46 h cda_tsdp21 81 h (= output on b2-du) 47 h reserved 48-4b h s_tsdp_b1 84 h (= output on ts4-du) 4c h s_tsdp_b2 85 h (= output on ts5-du) 4d h dps data port selection 0 = the data channel xy of the functional unit xxx is output on dd. the data channel xy of the functional unit xxx is input from du. 1 = the data channel xy of the functional unit xxx is output on du. the data channel xy of the functional unit xxx is input from dd. note: for the cda (controller data access) data the input is determined by the cdax_cr.swap bit. if swap = ? 0 ? the input for the cdaxy data is vice versa to the output setting for cdaxy. if the swap = ? 1 ? the input from cdax0 is vice versa to the output setting of cdax1 and the input from cdax1 is vice versa to the output setting of cdax0.
pef 81902 register description data sheet 178 2001-11-12 4.7.3 cdax_cr - control register controller data access ch1x cdax_cr read/write address: 4e-4f h tss timeslot selection selects one of the 12 timeslots from 0...11 on the iom ? -2 interface for the data channels. 70 0 0 en_tbm en_i1 en_i0 en_o1 en_o0 swap register value after reset register address cda1_cr 00 h 4e h cda2_cr 00 h 4f h en_tbm enable tic bus monitoring 0 = the tic bus monitoring is disabled 1 = the tic bus monitoring with the cdax0 register is enabled. the tsdpx0 register must be set to 08 h for monitoring from du, or 88 h for monitoring from dd. en_i1, en_i0 enable input cdax1, cdax0 0 = the input of the cdax1, cdax0 register is disabled 1 = the input of the cdax1, cdax0 register is enabled en_o1, en_o0 enable output cdax1, cdax0 0 = the output of the cdax1, cdax0 register is disabled 1 = the output of the cdax1, cdax0 register is enabled
pef 81902 register description data sheet 179 2001-11-12 4.7.4 s_cr - control register s-transceiver data s_cr read/write address: 51 h value after reset: ff h swap swap inputs 0 = the time slot and data port for the input of the cdaxy register is defined by its own tsdpxy register. the data port for the cdaxy input is vice versa to the output setting for cdaxy. 1 = the input (time slot and data port) of the cdax0 is defined by the tsdp register of cdax1 and the input of cdax1 is defined by the tsdp register of cdax0. the data port for the cdax0 input is vice versa to the output setting for cdax1. the data port for the cdax1 input is vice versa to the output setting for cdax0. the input definition for time slot and data port cdax0 are thus swapped to cdax1 and for cdax1 to cdax0. the outputs are not affected by the swap bit. 70 1 ci_cs en_d en_b2r en_b1r en_b2x en_b1x d_cs ci_cs c/i channel selection this bit is used to select the iom channel to which the s-transceiver c/i- channel is related to. 0 = c/i-channel in iom-channel 0 1 = c/i-channel in iom-channel 1 en_d enable transceiver d-channel data 0 = the corresponding data path to the transceiver is disabled 1 = the corresponding data path to the transceiver is enabled. en_b2r enable transceiver b2 receive data (transmitter receives from iom) 0 = the corresponding data path to the transceiver is disabled
pef 81902 register description data sheet 180 2001-11-12 4.7.5 hci_cr - control register for hdlc and ci1 data hci_cr read/write address: 52 h value after reset: 04 h 1 = the corresponding data path to the transceiver is enabled. en_b1r enable transceiver b1 receive data (transmitter receives from iom) 0 = the corresponding data path to the transceiver is disabled 1 = the corresponding data path to the transceiver is enabled. en_b2x enable transceiver b2 transmit data (transmitter transmits to iom) 0 = the corresponding data path to the transceiver is disabled 1 = the corresponding data path to the transceiver is enabled. en_b1x enable transceiver b1 transmit data (transmitter transmits to iom) 0 = the corresponding data path to the transceiver is disabled 1 = the corresponding data path to the transceiver is enabled. these bits are used to individually enable/disable the d-channel and the receive/transmit paths for the b-channels for the s-transceiver. d_cs d channel selection this bit is used to select the iom channel to which the s-transceiver d- channel is related to. 0 = d-channel in iom-channel 0 1 = d-channel in iom-channel 1 70 dps_ci1 en_ci1 en_d en_b2h en_b1h dps_h hcs dps_ci1 data port selection ci1 handler 0 = the ci1 data is output on dd and input from du 1 = the ci1 data is output on du and input from dd
pef 81902 register description data sheet 181 2001-11-12 en_ci1 enable ci1 handler 0 = ci1 data access is disabled 1 = ci1 data access is enabled note: the timeslot for the c/i1 handler cannot be programmed but is fixed to iom channel 1. en_d enable d-timeslot for hdlc controller 0 = the hdlc controller does not access timeslot data d 1 = the hdlc controller does access timeslot data d en_b2h enable b2-timeslot for hdlc controller 0 = the hdlc controller does not access timeslot data b2 1 = the hdlc controller does access timeslot data b2 en_b1h enable b1-timeslot for hdlc controller 0 = the hdlc controller does not access timeslot data b1 respectively 1 = the hdlc controller does access timeslot data b1 the bits en_d, en_b2h and en_b1h are used to select the timeslot length for the d- channel hdlc controller access as it is capable to access not only the d-channel timeslot. the host can individually enable two 8-bit timeslots b1- and b2-channel, i.e. the first and second octett, (en_b1h, en_b2h) and one 2-bit timeslot d-channel (en_d) on iom-2. the position is selected via hcs. dps_h data port selection hdlc 0 = transmit on dd, receive on du 1 = transmit on du, receive on dd hcs hdlc channel selection these two bits determine the iom ? -2 channel of the hdlc controller. the hdlc controller will read and write hdlc data into the selected b1, b2 and d channel timeslots of the selected iom ? -2 channel. 00 = the hdlc data is read and output on iom-channel 0 01 = the hdlc data is read and output on iom-channel 1
pef 81902 register description data sheet 182 2001-11-12 4.7.6 mon_cr - control register monitor data mon_cr read/write address: 53 h value after reset: 40 h 4.7.7 sds1_cr - control register serial data strobe 1 sds1_cr read/write address: 54 h value after reset: 00 h 10 = the hdlc data is read and output on iom-channel 2 1) 11 = not defined 1) if the tic-bus is enabled, then an hdlc access in iom-channel 2 is possible only to the b channels. 70 dps en_mon 0 0 0 0 mcs dps data port selection 0 = the monitor data is output on dd and input from du 1 = the monitor data is output on du and input from dd en_mon enable output 0 = the monitor data input and output is disabled 1 = the monitor data input and output is enabled mcs monitor channel selection 00 = the monitor data is output on mon0 01 = the monitor data is output on mon1 10 = the monitor data is output on mon2 11 = not defined
pef 81902 register description data sheet 183 2001-11-12 this register is used to select position and length of the strobe signal 1. the length can be any combination of two 8-bit timeslot (ens_tss, ens_tss+1) and one 2-bit timeslot (ens_tss+3). 4.7.8 sds2_cr - control register serial data strobe 2 sds2_cr read/write address: 55 h value after reset: 00 h 70 ens_ tss ens_ tss+1 ens_ tss+3 0tss ens_ tss enable serial data strobe of timeslot tss 0 = the serial data strobe signal sds1 is inactive during tss 1 = the serial data strobe signal sds1 is active during tss ens_ tss+1 enable serial data strobe of timeslot tss+1 0 = the serial data strobe signal sds1 is inactive during tss+1 1 = the serial data strobe signal sds1 is active during tss+1 ens_ tss+3 enable serial data strobe of timeslot tss+3 (d-channel) 0 = the serial data strobe signal sds1 is inactive during the d-channel (bit7, 6) of tss+3 1 = the serial data strobe signal sds1 is active during the d-channel (bit7, 6) of tss+3 tss timeslot selection selects one of 12 timeslots on the iom ? -2 interface (with respect to fsc) during which sds1 is active high. the data strobe signal allows standard data devices to access a programmable channel.
pef 81902 register description data sheet 184 2001-11-12 this register is used to select position and length of the strobe signal 2. the length can be any combination of two 8-bit timeslot (ens_tss, ens_tss+1) and one 2-bit timeslot (ens_tss+3). 4.7.9 iom_cr - control register iom data iom_cr read/write address: 56 h value after reset: 08 h 70 ens_ tss ens_ tss+1 ens_ tss+3 0tss ens_ tss enable serial data strobe of timeslot tss 0 = the serial data strobe signal sds2 is inactive during tss 1 = the serial data strobe signal sds2 is active during tss ens_ tss+1 enable serial data strobe of timeslot tss+1 0 = the serial data strobe signal sds2 is inactive during tss+1 1 = the serial data strobe signal sds2 is active during tss+1 ens_ tss+3 enable serial data strobe of timeslot tss+3 (d-channel) 0 = the serial data strobe signal sds2 is inactive during the d-channel (bit7, 6) of tss+3 1 = the serial data strobe signal sds2 is active during the d-channel (bit7, 6) of tss+3 tss timeslot selection selects one of 12 timeslots on the iom ? -2 interface (with respect to fsc) during which sds2 is active high. the data strobe signal allows standard data devices to access a programmable channel.
pef 81902 register description data sheet 185 2001-11-12 70 spu 0 0 tic_dis en_bcl 0 dis_od dis_iom spu software power up 0 = the du line is normally used for transmitting data. 1 = setting this bit to ? 1 ? will pull the du line to low. this will enforce the t-smint  i and other connected layer 1 devices to deliver iom- clocking. tic_dis tic bus disable 0 = the last octet of the last iom time slot (ts 11) is used as tic bus. 1 = the tic bus is disabled. the last octet of the last iom time slot (ts 11) can be used like any other time slot. this means that the timeslots tic, a/b, s/g and bac are not available any more. en_bcl enable bit clock bcl 0 = the bcl clock is disabled (output is high impedant) 1 = the bcl clock is enabled dis_od disable open drain 0 = iom outputs are open drain driver 1 = iom outputs are push pull driver dis_iom disable iom dis_iom should be set to ? 1 ? if external devices connected to the iom interface should be ? disconnected ? e.g. for power saving purposes. however, the t-smint  ix internal operation is independent of the dis_iom bit. 0 = the iom interface is enabled 1 = the iom interface is disabled (fsc, dcl, clock outputs have high impedance; du, dd data line inputs are switched off and outputs are high impedant)
pef 81902 register description data sheet 186 2001-11-12 4.7.10 mcda - monitoring cda bits mcda read address: 57 h value after reset: ff h 4.7.11 sti - synchronous transfer interrupt sti read address: 58 h value after reset: 00 h 70 mcda21 mcda20 mcda11 mcda10 bit7 bit6 bit7 bit6 bit7 bit6 bit7 bit6 mcdaxy monitoring cdaxy bits bit 7 and bit 6 of the cdaxy registers are mapped into the mcda register. this can be used for monitoring the d-channel bits on du and dd and the ? echo bits ? on the tic bus with the same register. 70 stov21 stov20 stov11 stov10 sti21 sti20 sti11 sti10 for all interrupts in the sti register the following logical states are applied 0 = interrupt has not occurred 1 = interrupt has occurred stovxy synchronous transfer overflow interrupt enabled stov interrupts for a certain stixy interrupt are generated when the stixy has not been acknowledged in time via the ackxy bit in the asti register. this must be one (for dps = ? 0 ? ) or zero (for dps = ? 1 ? ) bcl clock cycles before the time slot which is selected for the stov.
pef 81902 register description data sheet 187 2001-11-12 note: st0vxy and ackxy are useful for synchronizing microcontroller accesses and receive/transmit operations. one bcl clock is equivalent to two dcl clocks. 4.7.12 asti - acknowledge synchronous transfer interrupt asti write address: 58 h value after reset: 00 h 4.7.13 msti - mask synchronous transfer interrupt msti read/write address: 59 h value after reset: ff h stixy synchronous transfer interrupt depending on the dps bit in the corresponding tsdpxy register the synchronous transfer interrupt stixy is generated two (for dps = ? 0 ? ) or one (for dps = ? 1 ? ) bcl clock cycles after the selected time slot (tsdpxy.tss). 70 0000ack21ack20ack11ack10 ackxy acknowledge synchronous transfer interrupt after a stixy interrupt the microcontroller has to acknowledge the interrupt by setting the corresponding ackxy bit. 0 = no activity is initiated 1 = sets the acknowledge bit ackxy for a stixy interrupt 70 stov21 stov20 stov11 stov10 sti21 sti20 sti11 sti10 for the msti register the following logical states are applied: 0 = interrupt is not masked
pef 81902 register description data sheet 188 2001-11-12 4.8 detailed monitor handler registers 4.8.1 mor - monitor receive channel mor read address: 5c h value after reset: ff h contains the monitor data received in the iom ? -2 monitor channel according to the monitor channel protocol. the monitor channel (0,1,2) can be selected by setting the monitor channel select bit mon_cr.mcs. 4.8.2 mox - monitor transmit channel mox write address: 5c h value after reset: ff h contains the monitor data to be transmitted in iom ? -2 monitor channel according to the monitor channel protocol. the monitor channel (0,1,2) can be selected by setting the monitor channel select bit mon_cr.mcs 1 = interrupt is masked stovxy mask synchronous transfer overflow xy mask bits for the corresponding stovxy interrupt bits. stixy synchronous transfer interrupt xy mask bits for the corresponding stixy interrupt bits. 70 70
pef 81902 register description data sheet 189 2001-11-12 4.8.3 mosr - monitor interrupt status register mosr read address: 5d h value after reset: 00 h 4.8.4 mocr - monitor control register mocr read/write address: 5e h value after reset: 00 h 70 mdr mer mda mab 0 0 0 0 mdr monitor channel data received 0 = inactive 1 = monitor channel data received mer monitor channel end of reception 0 = inactive 1 = monitor channel end of reception mda monitor channel data acknowledged the remote end has acknowledged the monitor byte being transmitted. 0 = inactive 1 = monitor channel data acknowledged mab monitor channel data abort 0 = inactive 1 = monitor channel data abort 70 mremrcmiemxc0000
pef 81902 register description data sheet 190 2001-11-12 4.8.5 msta - monitor status register msta read address: 5f h value after reset: 00 h mre monitor receive interrupt enable 0 = monitor interrupt status mdr generation is masked. 1 = monitor interrupt status mdr generation is enabled. mrc mr bit control determines the value of the mr bit: 0 = mr is always ? 1 ? . in addition, the mdr interrupt is blocked, except for the first byte of a packet (if mre = 1). 1 = mr is internally controlled by the t-smint  ix according to monitor channel protocol. in addition, the mdr interrupt is enabled for all received bytes according to the monitor channel protocol (if mre = 1). mie monitor interrupt enable 0 = monitor interrupt status mer, mda, mab generation is masked 1 = monitor interrupt status mer, mda, mab generation is enabled mxc mx bit control determines the value of the mx bit: 0 = the mx bit is always ? 1 ? . 1 = the mx bit is internally controlled by the t-smint  ix according to monitor channel protocol. 70 00000mac0tout mac monitor transmit channel active 0 = no data transmission in the monitor channel
pef 81902 register description data sheet 191 2001-11-12 4.8.6 mconf - monitor configuration register mconf write address: 5f h value after reset: 00 h 4.9 detailed u-transceiver registers 4.9.1 opmode - operation mode register the op eration mode register determines the operating mode of the u-transceiver. opmode read* ) / write address: 60 h reset value: 00 h 1 = the data transmission in the monitor channel is in progress. tout time-out read-back value of the tout bit 0 = the monitor time-out function is disabled 1 = the monitor time-out function is enabled 70 0000000tout tout time-out 0 = the monitor time-out function is disabled 1 = the monitor time-out function is enabled 76543210 0uci000000
pef 81902 register description data sheet 192 2001-11-12 4.9.2 ucir - c/i code read register via the u -transceiver c/i code r ead register a microcontroller can access the c/i code that is output from the state machine. ucir read address: 6d h reset value: 00 h 4.9.3 uciw - c/i code write register the u- transceiver c/i code w rite register allows a microcontroller to control the state of the u-transceiver. to enable this function bit uci in register opmode must be set to ? 1 ? before. uciw write address: 6e h reset value: 01 h 4.9.4 loop - loopback register the loop register controls local digital loopbacks of the u-transceiver. uci enable/disable p-control of c/i codes 0 = p control disabled - c/i codes are exchanged via iom ? -2 read access to register ucir by the p is still possible 1 = p control enabled - c/i codes are exchanged via ucir and uciw registers in this case, the according c/i-channel on iom ? -2 is idle ? 1111 ? 76543210 0 0 0 0 c/i code output 76543210 0 0 0 0 c/i code input
pef 81902 register description data sheet 193 2001-11-12 loop read* ) / write address: 70 h reset value: 08 h 76543210 00tran s u/iom 1 lbbd lb2 lb1 trans transparent/ non-transparent loopback in transparent mode data is both passed on and looped back, whereas in non-transparent mode data is not forwarded but substituted by 1s (idle code) and just looped back 0 = transparent mode 1 = non-transparent mode ? 1 ? s are sent on the iom ? -2 interface in the corresponding time-slot u/iom ? close lbbd, lb2, lb1 towards u or towards iom ? switch that selects whether loopback lb1, lb2 or lbbd is closed towards u or towards iom ? -2 the setting affects all test loops, lbbd, lb2 and lb1 an individual selection for lbbd, lb2, lb1 is not possible 0 = lb1, lb2, lbbd loops are closed towards iom ? 1 = lb1, lb2, lbbd loops are closed towards u lbbd close complete loop (b1, b2, d) near the system interface ? the direction towards which the loop is closed is determined by bit u/iom ? ? the state machine has to be in state ? transparent ? first (e.g. by c/i = dt) before data is output on the u-interface 0 = complete loopback open 1 = complete loopback closed lb2 close loop b2 near the system interface ? the direction towards which the loop is closed is determined by bit u/iom ? ? the state machine has to be in state ? transparent ? first (e.g. by c/i = dt) before data is output on the u-interface
pef 81902 register description data sheet 194 2001-11-12 4.9.5 rds - block error counter register see chapter 2.4.4.2 . rds read address: 72 h reset value: 00 h 4.9.6 istau - interrupt status register u-interface the i nterrupt sta tus register u -interface generates an interrupt for the unmasked interrupt flags. refer to chapter 2.4.8 for details on masking and clearing of interrupt flags. istau read address: 7a h reset value: 00 h 0 = loopback b2 open 1 = loopback b2 closed lb1 close loop b1 near the system interface ? the direction towards which the loop is closed is determined by bit u/iom ? ? the state machine has to be in state ? transparent ? first (e.g. by c/i = dt) before data is output on the u-interface 0 = loopback b1 open 1 = loopback b1 closed 76543210 block error counter value 76543210 0cirds00001 ms ci c/i code indication the ci interrupt is generated independently on opmode.uci
pef 81902 register description data sheet 195 2001-11-12 4.9.7 masku - mask register u-interface the interrupt mask register u -interface selectively masks each interrupt source in the istau register by setting the corresponding bit to ? 1 ? . masku read* ) / write address: 7b h reset value: ff h 4.9.8 fw_version fw _ v ersion register contains the firmware version number 0 = inactive 1 = ci code change has occurred rds code violation occurred 0 = inactive 1 = code violation has occurred 1 ms start of a new frame on the u-interface useful for synchronization of register accesses by an external c 0 = inactive 1 = signals the start of a new frame on the u-interface 76543210 1cirds11111 ms bit 0..7 mask bits 0 = interrupt active 1 = interrupt masked
pef 81902 register description data sheet 196 2001-11-12 fw _ v ersion read address: 7d h reset value: 3e h 76543210 firmware version number
pef 81902 electrical characteristics data sheet 197 2001-11-12 5 electrical characteristics 5.1 absolute maximum ratings  esd integrity (according eia/jesd22-a114b (hbm)): 2 kv note: stress above those listed here may cause permanent damage to the device. exposure to absolute maximum ratings conditions for extended periods may affect device reliability. line overload protection the t-smint  ix is compliant to esd tests according to ansi / eos / esd-s 5.1-1993 (cdm), eia/jesd22-a114b (hbm) and to latch-up tests according to jedec eia / jesd78. from these tests the following max. input currents are derived ( table 37 ):  parameter symbol limit values unit ambient temperature under bias t a -40 to 85 c storage temperature t stg ? 65 to 150 c maximum voltage on v dd v dd 4.2 v maximum voltage on any pin with respect to ground v s -0.3 to v dd + 3.3 (max. < 5.5) v table 37 maximum input currents test pulse width current remarks esd 100 ns 1.3 a 3 repetitions latch-up 5 ms +/-200 ma 2 repetitions, respectively dc -- 10 ma
pef 81902 electrical characteristics data sheet 198 2001-11-12 5.2 dc characteristics  table 38 s-transceiver characteristics v dd / v dda = 3.3 v +/- 5% ; v ss / v ssa = 0 v; t a = -40 to 85 c digital pins parameter symbol limit values unit test condition min. max. all input low voltage v il -0.3 0.8 v input high voltage v ih 2.0 5.25 v all except dd/du act , mclk output low voltage v ol1 0.45 v i ol1 = 3.0 ma output high voltage v oh1 2.4 v i oh1 = 3.0 ma dd/du act , mclk output low voltage v ol2 0.45 v i ol2 = 4.0 ma output high voltage (dd/du push-pull) v oh2 2.4 v i oh2 = 4.0 ma all input leakage current i li 10 a 0 v v in v dd output leakage current i lo 10 a 0 v v in v dd analog pins ain, bin input leakage current i li 30 a 0 v v in v d d pin parameter symbol limit values unit test condition min. typ. max. sx1,2 absolute value of output pulse amplitude (v sx2 - v sx1 ) v x 2.03 2.2 2.31 v r l = 50 ? sx1,2 s-transmitter output impedance z x 10 34 k ? see 1) 1) requirement itu-t i.430, chapter 8.5.1.1a): ? at all times except when transmitting a binary zero, the output impedance , in the frequency range of 2khz to 1 mhz, shall exceed the impedance indicated by the template in figure 11. the requirement is applicable with an applied sinusoidal voltage of 100 mv (r.m.s value) ? 0 see 2)3) sr1,2 s-receiver input impedance z r 10 100 k ? ? v dd = 3.3 v v dd = 0 v
pef 81902 electrical characteristics data sheet 199 2001-11-12 table 39 u-transceiver characteristics 2) requirement itu-t i.430, chapter 8.5.1.1b): ? when transmitting a binary zero, the output impedance shall be > 20 ? . ? : must be met by external circuitry. 3) requirement itu-t i.430, chapter 8.5.1.1b), note: ? the output impedance limit shall apply for a nominal load impedance (resistive) of 50 ? . the output impedance for each nominal load shall be defined by determining the peak pulse amplitude for loads equal to the nominal value +/- 10%. the peak amplitude shall be defined as the the amplitude at the midpoint of a pulse. the limitation applies for pulses of both polarities. ? limit values unit min. typ. max. receive path signal / (noise + total harmonic distortion) 1) 1) test conditions: 1.4 vpp differential sine wave as input on ain/bin with long range (low, critical range). 65 db dc-level at ad-output 45 50 55 % 2) 2) the percentage of the "1 "-values in the pdm-signal. threshold of level detect (measured between ain and bin with respect to zero signal) 10 23 mv peak input impedance ain/bin 80 k ? transmit path signal / (noise + total harmonic distortion) 3) 3) interpretation and test conditions: the sum of noise and total harmonic distortion, weighted with a low pass filter 0 to 80 khz, is at least 70 db below the signal for an evenly distributed but otherwise random sequence of +3, +1, -1, -3. 70 db common mode dc-level 1.61 1.65 1.69 v offset between aout and bout 35 mv absolute peak voltage for a single +3 or -3 pulse measured between aout and bout 4) 4) the signal amplitude measured over a period of 1 min. varies less than 1%. 2.42 2.5 2.58 v output impedance aout/bout: power-up power-down 0.8 3 1.5 6 ? ?
pef 81902 electrical characteristics data sheet 200 2001-11-12 5.3 capacitances t a = 25 c, 3.3 v 5 % v ssa = 0 v, v ssd = 0 v, f c = 1 mhz, unmeasured pins grounded.  5.4 power consumption  5.5 supply voltages vdd d = + vdd 5% vdd a = + vdd 5% the maximum sinusoidal ripple on vdd is specified in the following figure: table 40 pin capacitances parameter symbol limit values unit remarks min. max. digital pads: input capacitance i/o capacitance c in c i/o 7 7 pf pf analog pads: load capacitance c l 3 pf pin ain, bin power consumption vdd=3.3 v, vss=0 v, inputs at vss/vdd, no led connected, 50% bin. zeros, no output loads except sx1,2 (50 ? 1) ) 1) 50 ? (2 x tr) on the s-bus. parameter limit values unit test condition min. typ. max. operational u and s enabled, iom  -2 off 185 165 mw mw u: etsi loop 1 (0 m) u: etsi loop 2.(typical line) power down 15 mw
pef 81902 electrical characteristics data sheet 201 2001-11-12  figure 69 maximum sinusoidal ripple on supply voltage 80 100 frequency / khz 10 100 mv (peak) 200 supply voltage ripple frequency ripple itd04269.vsd 60
pef 81902 electrical characteristics data sheet 202 2001-11-12 5.6 ac characteristics t a = -40 to 85 c, v dd = 3.3 v 5% inputs are driven to 2.4 v for a logical "1" and to 0.4 v for a logical "0". timing measurements are made at 2.0 v for a logical "1" and 0.8 v for a logical "0". the ac testing input/output waveforms are shown in figure 70 .  figure 70 input/output waveform for ac tests parameter all output pins symbol limit values unit min max fall time 30 ns rise time 30 ns device under test c load =50 pf 2.4 0.45 2.0 0.8 0.8 2.0 test points its00621.vsd
pef 81902 electrical characteristics data sheet 203 2001-11-12 5.6.1 iom ? -2 interface  figure 71 iom ? -2 interface - bit synchronization timing  figure 72 iom ? -2 interface - frame synchronization timing t 7 t 18 sds1,2 dcl du/dd (input) t 4 t 5 data valid last bit first bit du/dd (output) t 6 t 8 bit n bit n+1 du/dd (output) iom-timing.vsd fsc dcl t 9 t 10 bcl t 11 t 12 t 13 t 14 t 2 t 3 t 1
pef 81902 electrical characteristics data sheet 204 2001-11-12  note: at the start and end of a reset period, a frame jump may occur. this results in a dcl, bcl and fsc high time of min. 130 ns after this specific event. parameter iom ? -2 interface symbol limit values unit min typ max dcl period t 1 565 651 735 ns dcl high t 2 200 310 420 ns dcl low t 3 200 310 420 ns input data setup t 4 20 ns input data hold t 5 20 ns output data from high impedance to active (fsc high or other than first timeslot) t 6 100 ns output data from active to high impedance t 7 100 ns output data delay from clock t 8 80 ns fsc high t 9 50% of fsc cycle time ns fsc advance to dcl t 10 65 130 195 ns bcl high t 11 565 651 735 ns bcl low t 12 565 651 735 ns bcl period t 13 1130 1302 1470 ns fsc advance to bcl t 14 65 130 195 ns dcl, fsc rise/fall t 15 30 ns data out fall (c l = 50 pf, r = 2 k ? to v dd , open drain) t 16 200 ns data out rise/fall (c l = 50 pf, tristate) t 17 150 ns strobe signal delay t 18 120 ns
pef 81902 electrical characteristics data sheet 205 2001-11-12 5.6.2 serial p interface  figure 73 serial control interface  parameter sci interface symbol limit values unit min max sclk cycle time t 1 200 ns sclk high time t 2 80 ns sclk low time t 3 80 ns cs setup time t 4 20 ns cs hold time t 5 10 ns sdr setup time t 6 15 ns sdr hold time t 7 15 ns sdx data out delay t 8 60 ns cs high to sdx tristate t 9 40 ns sclk to sdx active t 10 60 ns cs high to sclk t 11 10 ns sclk sdr cs sdx t 1 t 2 t 3 t 4 t 7 t 10 t 8 t 6 t 9 t 11 t 5 sci_timing.vsd
pef 81902 electrical characteristics data sheet 206 2001-11-12 5.6.3 parallel p interface siemens/intel bus mode  figure 74 microprocessor read cycle  figure 75 microprocessor write cycle  figure 76 multiplexed address timing ad0 - ad7 rd x cs data t rr t rd t ri itt00712.vsd t df t dh ad0 - ad7 wr x cs data t ww t dw t wi t wd itt00713.vsd t la wr x cs or rd x cs ad0 - ad7 address t aa t al t als t ad ale itt00714.vsd
pef 81902 electrical characteristics data sheet 207 2001-11-12  figure 77 non-multiplexed address timing motorola bus mode  figure 78 microprocessor read timing  figure 79 microprocessor write cycle t as t ah wr x cs or rd x cs a0 - a6 address itt009661.vsd d0 - d7 cs x ds r / w t rr t rd t ri t rwd t dsd itt00716.vsd data t df t dh d0 - d7 cs x ds data t ww t dw t wi t wd r / w t rwd t dsd itt09679.vsd
pef 81902 electrical characteristics data sheet 208 2001-11-12  figure 80 non-multiplexed address timing microprocessor interface timing  parameter symbol limit values unit min. max. ale pulse width t aa 20 ns address setup time to ale t al 10 ns address hold time from ale t la 10 ns address latch setup time to wr , rd t als 10 ns address setup time t as 10 ns address hold time t ah 10 ns ale guard time t ad 10 ns ds delay after r/w setup t dsd 10 ns rd pulse width t rr 80 ns data output delay from rd t rd 80 ns data hold from rd t dh 0ns data float from rd t df 25 ns rd control interval 1) 1) control interval: t ri is minimal 70ns for all registers except istau and rds. however, the time between two consecutive read accesses to one of the registers istau or rds, respectively, must be longer than 330ns. this does not limit t ri of read sequences, which involve intermediate read access to other registers, as for instance: istau -(t ri )- ista -(t ri )- istas -(t ri )- istau. t ri 70 ns w pulse width t ww 60 ns data setup time to w x cs t dw 10 ns data hold time w x cs t wd 10 ns w control interval t wi 70 ns r/w hold from cs x ds inactive t rwd 10 ns t as t ah a0 - a6 cs x ds itt09662.vsd address
pef 81902 electrical characteristics data sheet 209 2001-11-12 5.6.4 reset table 41 reset input signal characteristics  figure 81 reset input signal parameter symbol limit values unit test conditions min. typ. max. length of active low state t rst 4 ms power on the 4 ms are assumed to be long enough for the oscillator to run correctly 2 x dcl clock cycles + 400 ns after power on delay time for c access after rst rising edge t c 500 ns t rst rst itd09823.vsd t c
pef 81902 electrical characteristics data sheet 210 2001-11-12 5.6.5 undervoltage detection characteristics  figure 82 undervoltage control timing table 42 parameters of the uvd/por circuit v dd = 3.3 v 5 %; v ss = 0 v; t a = -40 to 85 c parameter symbol limit values unit test condition min. typ. max. detection threshold 1) v det 2.7 2.8 2.92 v v dd = 3.3 v 5 % hysteresis v hys 30 90 mv max. rising/falling v dd edge for activation/ deactivation of uvd dv dd /dt 0.1 v/s max. rising v dd for power-on 2) 0.1 v/ ms min. operating voltage v ddmin 1.5 v v dd v ddmin v det t t rsto t act t act t deact t deact v hys vdddet.vsd
pef 81902 electrical characteristics data sheet 211 2001-11-12 delay for activation of rsto t act 10 s delay for deactivation of rsto t deact 64 ms 1) the detection threshold v det is far below the specified supply voltage range of analog and digital parts of the t-smint ? . therefore, the board designer must take into account that a range of voltages is existing, where neither performance and functionality of the t-smint ? are guaranteed, nor a reset is generated. 2) if the integrated power-on reset of the t-smintix is selected (vdddet = ? 0 ? ) and the supply voltage v dd is ramped up from 0v to 3.3v +/- 5%, then the t-smintix is kept in reset during v ddmin < v dd < v det + v hys . v dd must be ramped up so slowly that the t-smintix leaves the reset state after the oscillator circuit has already finished start-up. the start-up time of the oscillator circuit is typically in the range between 3ms and 12ms. v dd = 3.3 v 5 %; v ss = 0 v; t a = -40 to 85 c parameter symbol limit values unit test condition min. typ. max.
pef 81902 package outlines data sheet 212 2001-11-12 6 package outlines  plastic package, p-mqfp-64 (metric quad flat package)
pef 81902 package outlines data sheet 213 2001-11-12  plastic package, p-tqfp-64 (thin quad flat package)
pef 81902 appendix: differences between q- and t-smint?ix data sheet 214 2001-11-12 7 appendix: differences between q- and t-smint  ix the q- and t-smint  ix have been designed to be as compatible as possible. however, some differences between them are unavoidable due to the different line codes 2b1q and 4b3t used for data transmission on the u k0 line. especially the pin compatibility between q- and t-smint  ix allows for one single pcb design for both series with only some mounting differences. the c software can distinguish between the q- and t-series by reading the hardware design number via the iom  -2 (monitor channel identification command) or the c interface (register id.design), respectively (see table 43 ). the following chapter summarizes the main differences between the q- and t- smint  ix. table 43 design number design number q-smint  ix: 2b1q t-smint  ix: 4b3t version version 1.3: ? 000 001 ? version 1.1: ? 100 000 ?
pef 81902 appendix: differences between q- and t-smint?ix data sheet 215 2001-11-12 7.1 pinning 7.1.1 pin definitions and functions  7.1.2 led pin act the 4 led states (off, fast flashing, slow flashing, on), which can be displayed with pin act , are slightly different for q- and t-smint  ix (see table 45 ). this adoption guarantees full compliance of t-smint  ix to the new int specification ts 0284/96. note: * denotes the duty cycle ?high? : ?low?. table 44 pin definitions and functions pin t/mqfp-64 q-smint  ix: 2b1q t-smint  ix: 4b3t 16 metallic termination input (mti) tie to ? 1 ? 55 power status (primary) (ps1) tie to ? 1 ? 41 power status (secondary) (ps2) tie to ? 1 ? table 45 act states led states pin act q-smint  ix: 2b1q t-smint  ix: 4b3t off v dd v dd fast flashing 8hz (1 : 1)* 2hz (1 : 1)* slow flashing 1hz (1 : 1)* 1hz (3 : 1)* on gnd gnd
pef 81902 appendix: differences between q- and t-smint?ix data sheet 216 2001-11-12 7.2 u-transceiver 7.2.1 u-interface conformity  table 46 related documents to the u-interface q-smint  ix: 2b1q t-smint  ix: 4b3t etsi: ts 102 080 conform to annex a compliant to 10 ms interruptions conform to annex b ansi: t1.601-1998 (revision of ansi t1.601- 1992) conform mlt input and decode logic not required cnet: st/laa/elr/dnp/ 822 conform not required rc7355e conform not required ftz-richtlinie 1 tr 220 not required conform ftz ts 0284/96 ? intelligenter netzabschluss (int) ? m ? rz 2001 not required conform
pef 81902 appendix: differences between q- and t-smint?ix data sheet 217 2001-11-12 7.2.2 u-transceiver state machines  figure 83 ntc-q compatible state machine q-smint  ix: 2b1q sn3/sn3t act=1/0 pend.deact. s/t . . . . . synchronized 2 eq-training wait for sf dr sn1 dr . sn3/sn3t sn3t sn3/sn3t dc sn0 pending timing . sn0 . deactivated dc sn0 alerting tn reset dr pu iom awaked sn0 tn . alerting 1 ec-training 1 . sn1 ec-training al dc dc ar dc ec-training wait for sf al analog loop back sn3 sn3t act=0 act=0 sn3/sn3t act=1/0 pend.deact. u dc pend receive res. sn0 error s/t transparent wait for act ar/arl ar/arl ai/ail act=0 act=1 act=0 act=1 act=0 synchronized 1 dc dr tim ar or tl t14s t14s di arl t12s lsec or t12e bbd1 & sfd t11e t12s lsec or t12e bbd0 & fd t20e & bbd0 & sfd dc dc lof t1s, t11s ei1 ar or tl t11e t12s dea=0 lsue uoa=1 uoa=1 ? lsue dea=0 di ar/arl dea=0 lsue dr receive reset sn0 . yes no al act=1 act=0 act=1 & al lof t13s dea=1 uoa=0 uoa=0 dea=0 lsue uoa=0 dea=0 lsue lof lof el1 act=0 dea=0 uoa=0 lsue t7s tl t7e & di lsu or ( /lof & t13e ) t7s lsu t14e t14s tl sn3/sn3t sn3/sn3t sn2 sn0 sn1 . di lsue or t1e di el1 lof lsue or t1e t1s, t11s . . lof di & nt-auto sp test dr . any state ssp or c/i= 'ssp' di lof 1) 1) 1) 1) 1) 1) 2) 2) 2) 2) 3) 3) any state dt or c/i='dt' any state pin-rst or c/i= 'res' t20s t1s t11s dc pu
pef 81902 appendix: differences between q- and t-smint?ix data sheet 218 2001-11-12  figure 84 simplified state machine q-smint  ix: 2b1q sn3/sn3t act=1/0 pend.deact. s/t . . . . . synchronized 2 eq-training wait for sf dr sn1 dr . sn3/sn3t sn3t sn3/sn3t dc sn0 pending timing . sn0 . deactivated dc sn0 alerting tn reset dr pu iom awaked sn0 tn . alerting 1 ec-training 1 . sn1 ec-training al ar ec-training wait for sf al analog loop back sn3 sn3t act=0 act=0 sn3/sn3t act=1/0 pend.deact. u pend receive res. sn0 error s/t transparent wait for act ar/arl ar/arl ai/ail act=0 act=1 act=0 act=1 act=0 synchronized 1 dr tim ar or tl t14s t14s di arl t12s lsec or t12e bbd1 & sfd t11e t12s lsec or t12e bbd0 & fd t20e & bbd0 & sfd lof t1s, t11s ar or tl t11e t12s dea=0 lsue uoa=1 uoa=1 ? lsue dea=0 di ar/arl dea=0 lsue dr receive reset sn0 . yes no al act=1 act=0 act=1 & al lof t13s dea=1 uoa=0 uoa=0 dea=0 lsue uoa=0 dea=0 lsue lof lof el1 act=0 dea=0 uoa=0 lsue t7s tl t7e & di lsu or ( /lof & t13e ) t7s lsu t14e t14s tl sn3/sn3t sn3/sn3t sn2 sn0 sn1 . di lsue or t1e di el1 lof lsue or t1e t1s, t11s . . lof sp test dr . any state ssp or c/i= 'ssp' di lof 1) 1) 1) 1) 1) 1) 2) 2) 2) 2) 3) 3) any state dt or c/i='dt' any state pin-rst or c/i= 'res' t20s tim pu pu pu pu pu or tim or tim dr t7e & tim dr dr dr t1s t11s
pef 81902 appendix: differences between q- and t-smint?ix data sheet 219 2001-11-12  figure 85 iec-t/ntc-t compatible state machine t-smint  ix: 4b3t both the q- and the t-smint  ix u-transceiver can be controlled via state machines, which are compatible to those defined for the old nt generation intc-q and ntc-t. additionally, the q-smint  ix possesses a newly defined, so called ? simplified ? state machine. this simplified state machine can be used optionally instead of the intc-q compatible state machine and eases the u-transceiver control by software. such a simplified state machine is not available for the t-smint  ix. awr any state awr dt awr awake signal sent rsy ack. sent / received rsy u0, da ar awt start awaking uk0 rsy iom awaked dc t6e awt sending awake-ack. rsy tim awr deactivated dc deactivating dc ar di awr t05e u0 t6s t05s t6s u1w u0 t13s u0 u1w t13s t05s t13s u0 u0 res ssp or ltd (di & t05e) t05s nt_sm_4b3t_cust.emf di t6s rsy loss of framing u0 u0 u0 u0 pend. deactivation dr u0 (u0 & t12e) u2 t12s t13e ai u4h ar / arl sbc synchronizing u1 ar / arl wait for info u4h u3 transparent ai / ail u5 lof lof lof u0 t05s reset dr u0 di test dr sp / u0 synchronizing rsy u1a
pef 81902 appendix: differences between q- and t-smint?ix data sheet 220 2001-11-12 7.2.3 command/indication codes table 47 c/i codes code q-smint  ix: 2b1q t-smint  ix: 4b3t in out in out 0000 tim dr tim dr 0001 res ??? 0010 ???? 0011 ?? ltd ? 0100 ei1 ei1 ? rsy 0101 ssp ? ssp ? 0110 dt ? dt ? 0111 ? pu ?? 1000 ar ar ar ar 1001 ???? 1010 arl arl ? arl 1011 ???? 1100 ai ai ai ai 1101 ?? res ? 1110 ? ail ? ail 1111 di dc di dc
pef 81902 appendix: differences between q- and t-smint?ix data sheet 221 2001-11-12 7.2.4 interrupt structure  figure 86 interrupt structure u-transceiver q-smint  ix: 2b1q a1 a2 i8 aib uoa m46 m45 m44 sco dea act mlt ci febe/ nebe m56 m4 eoc 6ms 12ms mlt ci febe/ nebe m56 m4 eoc 6ms 12ms 0 ms2 ms1 nebe m61 m52 m51 febe m56r m4r m4rmask mfilt opmode.mlt crc, tll, no filtering tll, chg, no filtering mfilt eocr istau masku 0 7 0 7 0 7 crc, tll, no filtering 15 0 11 + mfilt + reserved interr_u_q2.vsd u ista mask int ucir 0 7 c/i c/i c/i c/i 0 7
pef 81902 appendix: differences between q- and t-smint?ix data sheet 222 2001-11-12  figure 87 interrupt structure u-transceiver t-smint  ix: 4b3t u s ... ... ... ... ... ... ista mask int intstruct_4b3t.emf 0 ci 0 0 1ms 1 ci 1 1 1ms 0 7 ucir 0 7 0 0 0 0 c/i c/i c/i c/i rds rds 0 0 1 1 istau masku
pef 81902 appendix: differences between q- and t-smint?ix data sheet 223 2001-11-12 7.2.5 register summary u-transceiver u-interface registers q-smint  ix: 2b1q name 76543210addrr/wres opmode 0 uci febe mlt 0ci_ sel 0060 h r*/w 14 h mfilt m56 filter m4 filter eoc filter 61 h r*/w 14 h reserved 62 h eocr 0000a1a2a3d/m63 h r0f i1 i2 i3 i4 i5 i6 i7 i8 64 h ff h eocw 0000a1a2a3d/m65 h w01 h i1 i2 i3 i4 i5 i6 i7 i8 66 h 00 h m4rmask m4 read mask bits 67 h r*/w 00 h m4wmask m4 write mask bits 68 h r*/w a8 h m4r verified m4 bit data of last received superframe 69 h rbe h m4w m4 bit data to be send with next superframe 6a h r*/w be h m56r 0 ms2 ms1 nebe m61 m52 m51 febe 6b h r1f h m56w 1111m61m52m51febe6c h wff h ucir 0000 c/i code output 6d h r00 h uciw 0000 c/i c ode input 6e h w01 h test 0000ccrc+-1 tones 040khz6f h r*/w 00 h loop 0 dlb trans u/iom  1 lbbd lb2 lb1 70 h r*/w 08 h febe febe counter value 71 h r00 h nebe nebe counter value 72 h r00 h reserved 73 h - 79 h
pef 81902 appendix: differences between q- and t-smint?ix data sheet 224 2001-11-12 istau mlt ci febe/ nebe m56 m4 eoc 6ms 12ms 7a h r00 h masku mlt ci febe/ nebe m56 m4 eoc 6ms 12ms 7b h r*/w ff h reserved 7c h fw_ version fw version number 7d h r6x h reserved 7e h - 7f h name 76543210addrr/wres
pef 81902 appendix: differences between q- and t-smint?ix data sheet 225 2001-11-12 u-interface registers t-smint  ix: 4b3t name 76543210addrr/wres opmode0uci0000 0 060 h r*/w 00 h reserved 61 h - 6c h ucir 0 0 0 0 c/i code output 6d h r00 h uciw 0 0 0 0 c/i code input 6e h w01 h reserved 6f h loop 0 0 trans u/iom  1lbbdlb2lb170 h r*/w 08 h reserved 71 h rds block error counter value 72 h r00 h reserved 73 h - 79 h istau 0cirds00001ms7a h r00 h masku 1 ci rds 1 1 1 1 1 ms 7b h r*/w ff h reserved 7c h fw_ version fw version number 7d h r3x h reserved 7e h - 7f h
pef 81902 appendix: differences between q- and t-smint?ix data sheet 226 2001-11-12 7.3 external circuitry the external circuitry of the q- and t-smint  ix is equivalent; however, some external components of the u-transceiver hybrid must be dimensioned different for 2b1q and 4b3t. all information on the external circuitry is preliminary and may be changed in future documents.  figure 88 external circuitry q- and t-smint  ix note: the necessary protection circuitry is not displayed in figure 88 . table 48 dimensions of external components component q-smint  ix: 2b1q t-smint  ix: 4b3t transformer: ratio main inductivity 1:2 14.5 mh 1:1.6 7.5 mh resistance 1.3 k ? 1.75 k ? resistance 1.0 k ? 1.0 k ? resistance 9.5 ? 25 ? capacitor c 27 nf 15 nf r ptc and r comp 2r ptc + 8r comp = 40 ? n 2 (2r comp + r b ) + r l = 20 ? loop aout bout ain bin n c r t r4 r comp r comp r ptc r ptc >1 r3 r3 r4 r t extcirc_u_q2_exthybrid.emf
pef 81902 index data sheet 227 2001-11-12 8 index a absolute maximum ratings 197 address space 133 b block diagram 6 block error counter 64 c c/i channel detailed registers 145 functional description 49 c/i codes s-transceiver 84 u-transceiver 65 controller data access (cda) 30 d dc characteristics 198 d-channel access control functional description 51 state machine 54 differences between q- and t-smint 214 e external circuitry s-transceiver 129 u-transceiver 127 f features 3 h hdlc controller data reception 96 data transmission 104 detailed registers 145 functional description 95 message transfer modes 95 i identification via monitor channel 47 via register access 175 interrupts 134 iom ? -2 interface ac characteristics 203 activation/deactivation 56 detailed registers 176 frame structure 27 functional description 27 l layer 1 activation / deactivation 115 loopbacks 123 led pins 12 line overload protection 197 m maintenance channel 62 microcontroller clock generation 23 microcontroller interfaces interface selection 16 parallel microcontroller interface 21 serial control interface (sci) 16 monitor channel detailed registers 188 error treatment 45 functional description 41 handshake procedure 41 interrupt logic 48 time-out procedure 48 o oscillator circuitry 132 p package outlines 212 parallel microcontroller interface ac-characteristics 206 functional description 21
pef 81902 index data sheet 228 2001-11-12 pin configuration 5 pin definitions and functions 7 power consumption 200 power supply blocking 127 power-on reset 26, 210 r register summary 136 reset generation 24 input signal characteristics 209 power-on reset 26, 210 under voltage detection 26, 210 s s/q channels 80 scrambler / descrambler 65 serial control interface (sci) ac-characteristics 205 functional description 16 serial data strobe signal 40 stop/go bit handling 53 s-transceiver detailed registers 163 functional description 78 state machine, lt-s 90 state machine, nt 86 supply voltages 200 synchronous transfer 36 system integration 13 t test modes 12 tic bus handling 51 u u-interface hybrid 127 under voltage detection 26, 210 u-transceiver 4b3t frame structure 58 detailed registers 191 functional description 58 state machine nt 66 w watchdog timer 25
http://www.infineon.com published by infineon technologies ag infineon goes for business excellence ? business excellence means intelligent approaches and clearly defined processes, which are both constantly under review and ultimately lead to good operating results. better operating results and business excellence mean less idleness and wastefulness for all of us, more professional success, more accurate information, a better overview and, thereby, less frustration and more satisfaction. ? dr. ulrich schumacher


▲Up To Search▲   

 
Price & Availability of PEF81902F

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