PSB21373HV11XT Infineon Technologies, PSB21373HV11XT Datasheet

no-image

PSB21373HV11XT

Manufacturer Part Number
PSB21373HV11XT
Description
Manufacturer
Infineon Technologies
Type
PCMr
Datasheet

Specifications of PSB21373HV11XT

Number Of Channels
1
Number Of Adc's
1
Number Of Dac's
1
Number Of Adc Inputs
1
Pin Count
44
Mounting
Surface Mount
Lead Free Status / RoHS Status
Compliant
D at a S h e e t , D S 3 , M ay 2 00 2
S C O U T - D X
S i e m e n s C o d e c w i t h 2 - W i r e D a t a
T r a n s c e i v e r F e a t u r i n g
S p e a k e r p h o n e F u n c t i o n
P S B 2 1 3 7 3 V e r s i o n 1 . 1
Wire d
C o m m u n i c a t i o n s
N e v e r
s t o p
t h i n k i n g .

Related parts for PSB21373HV11XT

PSB21373HV11XT Summary of contents

Page 1

...

Page 2

... Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems with the express written approval of Infineon Technologies failure of such components can reasonably be expected to cause the failure of that life-support device or system affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body support and/or maintain and sustain and/or protect human life ...

Page 3

Table of Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 4

Table of Contents 2.3.4.1 Internal Layer-1 State machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 2.3.4.1.1 State ...

Page 5

Table of Contents 3.5.2 Receiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 6

Table of Contents 5.1.2 Jitter on the Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 7

Table of Contents 7.2.11 MODE2 - Mode2 Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 8

Table of Contents 8.1.2 DC-Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 9

Overview The SCOUT -DX integrates all necessary functions for the completion of a cost effective ™ digital voice terminal solution. The SCOUT-DX combines the functionality of the ARCOFI Ringing Codec Filter with Speakerphone) and a two wire line interface ...

Page 10

Siemens Codec with 2-Wire Data Transceiver Featuring Speakerphone Function SCOUT-DX Version 1.1 1.1 Features • Serial control interface (SCI) • IOM-2 interface in TE mode, single/double clock, two serial data strobe signals • Various possibilities of microcontroller data access, data ...

Page 11

Implementation of IOM-2 MONITOR and C/I-channel protocol to control peripheral devices • Realization of layer 1 state machine in software possible • Watchdog timer • Programmable reset sources • Test loops and functions Codec part • Applications in digital ...

Page 12

Pin Configuration 33 34 reserved reserved SSA AXI IP2 IP1 44 ...

Page 13

Logic Symbol REF BGREF AXI MIN1 MIP2 MIN2 HOP HON LSP LSN separate power pins separate ground pins SS Figure 2 Logic Symbol of the SCOUT-DX in P-MQFP-44 ...

Page 14

Pin Definitions and Function Table 1 Pin No. Symbol Input (I) Output (O) Open Drain (OD – DDL V 16 – DDD V 36 – DDA V 1 – DDP V 27 – DDPLL V 30 – ...

Page 15

Table 1 Pin No. Symbol Input (I) Output (O) Open Drain (OD) 32 LIa I/O 33 LIb I/O 13 XTAL2 OI 14 XTAL1 I 15 EAW INT OD 12 MCLK O 18 SCLK I 19 ...

Page 16

Table 1 Pin No. Symbol Input (I) Output (O) Open Drain (OD REF 39 BGREF I/O 40 AXI I 44 MIP1 I 43 MIN1 I 42 MIP2 I 41 MIN2 I 5 HOP O 6 HON O ...

Page 17

Typical Applications The SCOUT-DX can be used in a variety of applications like • PBX voice terminal with speakerphone (Figure 3) • PBX voice terminal as featurephone with acoustic echo cancellation (Figure 4) • PBX voice terminal with tip/ring ...

Page 18

Figure 4 PBX Voice Terminal as Featurephone with Acoustic Echo Cancellation Fax Figure 5 PBX Voice Terminal with Tip/Ring Extension Data Sheet SCOUT-DX IOM-2 SCI µC ACE SCOUT-DX IOM-2 SLIC ARCOFI-BA 18 PSB 21373 Line Interface vt_ace_d Line Interface SCI ...

Page 19

General Functions and Device Architecture Figure 6 shows the architecture of the SCOUT-DX containing the following functional blocks: • Two wire line interface • Serial microcontroller interface • HDLC controller with 64 byte FlFOs per direction and programmable FIFO ...

Page 20

Figure 6 Architecture of the SCOUT-DX Data Sheet ito ...

Page 21

Interfaces The SCOUT-DX provides the following interfaces: • Serial microcontroller interface together with a reset and microcontroller clock generation. • IOM-2 interface as an universal backplane for terminals • Line interface towards the two wire subscriber line • Analog ...

Page 22

Microcontroller Interface The SCOUT-DX supports a serial microcontroller interface. For applications where no controller is connected to the SCOUT-DX microcontroller interface programming is done via the IOM-2 MONITOR channel from a master device. In such applications the SCOUT-DX operates ...

Page 23

Serial Control Interface (SCI) The serial control interface (SCI) is compatible to the SPI interface of Motorola or Siemens C510 family of microcontrollers. The SCI consists of 4 lines: SCLK, SDX, SDR and CS. Data are transferred via the ...

Page 24

Figure 7 Serial Control Interface Timing Data Sheet 24 PSB 21373 2002-05-13 ...

Page 25

Programming Sequences The principle structure of a read/write access to the SCOUT-DX registers via the serial control interface is shown in figure 8. write sequence: header SDR 7 read sequence: header SDR 7 SDX Figure 8 Serial Command Structure ...

Page 26

Table 3 Header Byte Code (cont’ Adr-Data-Data-Data Header 00 : ARCOFI Compatible Sequence H This programming sequence is compatible to the SOP, COP and XOP command sequences of the ARCOFI. ...

Page 27

SDX and SDR. Example for a read/write access with header 48 SDR header wradr SDX Header Read-/Write-only A-D-D-D Sequences (Address Auto increment The A-D-D-D sequences give a fast read-/write-only access ...

Page 28

Header 41 : Non-interleaved A-D-D-D Sequence H This sequence (header 41 interleaved A-D-A-D read access. This mode is useful for reading status information before writing to the HDLC XFIFO. The termination condition of the read access is the reception of ...

Page 29

Interrupt Structure and Logic Special events in the SCOUT-DX are indicated by means of a single interrupt output, which requests the host to read status information from the SCOUT-DX or transfer data from/to the SCOUT-DX. Since only one INT ...

Page 30

Five interrupt bits in the ISTA register point at interrupt sources in the HDLC Controller (HDLC), Monitor- (MOS) and C/I- (CIC) handler, the transceiver (TRAN) and the synchronous transfer (ST). The timer interrupt (TIN) and the watchdog timer overflow (WOV) ...

Page 31

Microcontroller Clock Generation The microcontroller clock is provided by the pin MCLK. Five clock rates are selectable by a programmable prescaler (see chapter clock generation figure 73) which is controlled by the MODE1.MCLK bits corresponding following table. By setting ...

Page 32

IOM-2 Interface The SCOUT-DX supports the IOM-2 interface in terminal mode with single clock and double clock. The IOM-2 interface consists of four lines: FSC, DCL, DD and DU. The rising edge of FSC indicates the start of an ...

Page 33

IOM-2 Frame Structure The frame structure on the IOM-2 data ports (DU,DD) in IOM-2 terminal mode is shown in figure 11. Figure 11 IOM -2 Frame Structure in Terminal Mode The frame is composed of three channels • Channel ...

Page 34

IOM-2 Handler The IOM-2 handler offers a great flexibility for handling the data transfer between the different functional units of the SCOUT-DX and voice/data devices connected to the IOM-2 interface. Additionally it provides a microcontroller access to all time ...

Page 35

ata D ata ata ata D onitor Figure 12 Architecture of the IOM Handler Data Sheet ) ...

Page 36

Controller Data Access (CDA) The IOM-2 handler provides with his four controller data access registers (CDA10, CDA11, CDA20, CDA21) a very flexible solution for the access to the 12 IOM-2 time slots by the microcontroller. The functional unit CDA ...

Page 37

TSa 1 0 Enable output input (EN_O0) (EN_I0) CDAx0 1 0 TSa a,b = 0...11 Figure 13 Data Access via CDAx0 and CDAx1 register pairs 2.2.2.1.1 Looping and Shifting Data Figure 14 gives examples ...

Page 38

Looping Data b) Shifting Data c) Switching Data . Figure 14 Examples for Data Access via CDAxy Registers a) Looping Data b) Shifting Data c) Switching Data Data Sheet TSa TSb CDAx0 CDAx0 .TSS: TSa ...

Page 39

Monitoring Data Figure 15 gives an example for monitoring of two IOM-2 time slots each simultaneously. For monitoring on DU and/or DD the channel registers with even numbers (CDA10, CDA20) are assigned to time slots ...

Page 40

Synchronous Transfer While looping, shifting and switching the data can be accessed by the controller between the synchronous transfer interrupt (STI) and the status overflow interrupt (STOV). The microcontroller access to the CDAxy registers can be synchronized by means ...

Page 41

STI interrupt generated : STOV interrupt generated for a not acknowledged STI interrupt a) Interrupts for data access to time slot 0 (B1 after reset), MSTI.STI10 and MSTI.STOV10 enabled xy: CDA_TDSPxy.TSS: MSTI.STIxy: MSTI.STOVxy: TS11 b) Interrupts for data ...

Page 42

Figure 18 shows the timing of looping TSa TSa 0...11) via CDAxy register. TSa is read in the CDAxy register from DU and is written one frame later on DD ...

Page 43

Figure 19 shows the timing of shifting data from TSa to TSb on DU(DD). In figure 19a) shifting is done in one frame because TSa and TSb didn’t succeed direct one another (a,b = 0...9 and b a+2) In figure ...

Page 44

Serial Data Strobe Signal and strobed Data Clock For time slot oriented standard devices connected to the IOM-2 interface the SCOUT- DX provides two independent data strobe signals SDS1 and SDS2. The SDS2 function is shared with the RSTO ...

Page 45

Serial Data Strobe Signal 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 ...

Page 46

Strobed IOM Bit Clock The strobed IOM bit clock is active during the programmed window (see chapter 7.3.8). Outside the programmed window a ’0’ is driven. Two examples are shown in figure 21. • FSC DD, TS0 ...

Page 47

IOM-2 Monitor Channel The IOM-2 MONITOR channel (see figure 11) is utilized for information exchange between the SCOUT-DX and other devices connected to the MONITOR channel. The MONITOR channel data can be controlled by the bits in the MONITOR ...

Page 48

The MONITOR channel can be used in following applications which are illustrated in figure 22: • master device the SCOUT-DX can program and control other devices attached to the IOM-2 which do not need a microcontroller interface e.g. ...

Page 49

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 ...

Page 50

Transmission µC MIE=1 MOX=ADR MXC=1 MAC=1 MDA Int. MOX=DATA1 MDA Int. MOX=DATA2 MDA Int. MXC=0 MAC=0 Figure 23 MONITOR Channel Protocol (IOM-2) Data Sheet MON ADR ADR 0 ADR 0 ADR 0 DATA1 1 ...

Page 51

Before starting a transmission, the microcontroller 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 ...

Page 52

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 ...

Page 53

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 ...

Page 54

IOM -2 Frame No (DU (DD) 0 Figure 26 Monitor Channel, normal End of Transmission 2.2.4.3 MONITOR Channel Programming as a Master Device As a master device the SCOUT-DX can program and control other devices ...

Page 55

The first byte of the MONITOR message must contain in the higher nibble the MONITOR channel address code which is ’1010’ for the SCOUT-DX. The lower nibble distinguishes between a programming command or an identification command. Identification Command In order ...

Page 56

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 ...

Page 57

MONITOR Interrupt Logic Figure 27 shows the MONITOR interrupt structure of the SCOUT-DX. 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 ...

Page 58

C/I Channel Handling The Command/Indication channel carries real-time status information between the SCOUT-DX and another device connected to the IOM. 1) One C/I channel (called C/I0) conveys the commands and indications between the layer-1 and the layer-2 parts of ...

Page 59

For CIR1 no FIFO is available. The actual code of the received C/I channel 1 is always stored in ...

Page 60

D-Channel Access Control D-channel access control was defined to guarantee all connected HDLC controllers a fair chance to transmit data in the D-channel. Collisions are possible on the IOM-2 interface, if there is more than one HDLC controller connected. ...

Page 61

The arbitration mechanism is implemented in the last octet in IOM channel 2 of the IOM- 2 interface (see figure 30). An access request to the TIC bus may either be generated by software ( P access to the C/I ...

Page 62

Activation/Deactivation of IOM-2 Interface The IOM-2 interface can be switched off in the inactive state, reducing power consumption to a minimum. In this deactivated state is FSC = ’1’, DCL = ’0’ and BCL = ’1’ and the data ...

Page 63

The clock pulses will be enabled again when the DU line is pulled low (bit SPU in the IOM_CR register) i.e. the C/I command TIM = "0000" is received by layer 1, or when a non-zero level on the line ...

Page 64

SPU = 1 FSC DU DD FSC DU 0 DCL Figure 32 Activation of the IOM-Interface Data Sheet CIC : CIXO = TIM Int IOM -CH1 IOM -CH2 ...

Page 65

Line Interface The layer-1 functions for the line interface of the SCOUT-DX are: – conversion of the frame structure between IOM and line interface – conversion from/to binary to/from AMI coding – level detection – receive timing recovery – ...

Page 66

repetition period (96 bits, 250 µ line delay guard time (6 bits, 15.625 µ frame size (37 bits, 96.35 µs) f Figure 33 ...

Page 67

Transceiver Timing The receive PLL uses the 15.36-MHz clock to generate an internal 384-kHz signal which is used to synchronize the PLL to the frame received from the line interface. The PLL outputs the FSC-signal as well as the ...

Page 68

Control of the Line Interface The layer-1 activation/deactivation can be controlled by an internal state machine via the IOM-2 C/I0 channel or by software via the microcontroller interface directly. In the default state the internal layer-1 state machine of ...

Page 69

State Transition Diagram The state machine includes all information relevant to the user. The state diagram notation is given in figure 36. The informations contained in the state diagrams are: – State name – Signal received from the line ...

Page 70

DC ARL D e activated i0 AR ARL TIM TIM tiva tion i1w RSY AR L eve l D etec t ...

Page 71

AR TIM DI AR TIM DI Figure 38 State Transition Diagram of the Loop 3 State 2.3.4.1.2 States Reset, Pending Deactivation State after reset or deactivation from the line interface by info 0. Note that no activation from the terminal ...

Page 72

Level Detect During the first period of receiving info 2 or under severe disturbances on the line, the receiver recognizes the receipt of a signal but is not (yet) synchronized. Synchronized The receiver is synchronized and detects info 2. It ...

Page 73

C/I Commands Command (Upstream) Timing Reset Send Single Pulses Send Continuous Pulses Activate Request Activate Request Loop 3 Deactivation Indication 2.3.4.1.4 Receive Infos on the Line (Downstream) Name Info 0 Info 2 Info 4 Info X 2.3.4.1.5 Reset RES ...

Page 74

C/I Indications Indication (Downstream) Deactivation Request Power-Up Test Mode Acknowledge Resynchronization Activation Request Activation Request Loop 3 Activation Indication Activation Indication Loop 3 AIL Deactivation Confirmation Data Sheet Abbr. Code Remarks DR 0000 PU 0111 TMA 0010 Acknowledge for ...

Page 75

Transmit Infos on the Line (Upstream) I Name Abbr. Description Info signal on the line Info 1w i1w Asynchronous wake signal 2-kHz burst rate F=’1’ B1-, B2- and D- channels are scrambled ’1’s. Info 1 i1 ...

Page 76

Example of Activation/Deactivation An example of an activation/deactivation of the line interface initiated by the terminal with the time relationships mentioned in the previous chapters is shown in figure 39. µC Interface IOM-2 Interface (C/I) SPU=0, CFS ...

Page 77

External Layer-1 State machine Instead of using the integrated layer-1 state machine it is also possible to implement the layer-1 state machine completely in software. The internal layer-1 state machine can be disabled by setting the L1SW bit in ...

Page 78

Activation initiated by the Terminal (TE, SCOUT-DX) INFO 1W has to be transmitted as long as INFO 0 is received. INFO 0 has to be transmitted thereafter as long as no valid INFO (INFO 2 or INFO 4) is ...

Page 79

Activation initiated by the Line Termination LT INFO 0 has to be transmitted as long as no valid INFO (INFO 2 or INFO 4) is received. After reception of INFO 2 transmission of INFO 1 has to be started. ...

Page 80

Level Detection Power Down If MODE1.CFS is set to ’0’, the clocks are also provided in power down state, whereas if CFS is set to ’1’ only the analog level detector is active in power down state. All clocks, ...

Page 81

Test Functions The SCOUT-DX provides several test and diagnostic functions for the transceiver: 2.3.7.1 Line Transceiver Test Two test loops allow the local or the remote test of the transceiver function. – The local loop (test loop 3) which ...

Page 82

Transmitter Characteristics The transmit pulses are raised cosine shaped in order to reduce RF energy, crosstalk and intersymbol interference. Figure 42 shows a single pulse in the time domain compared against the pulse mask. Figure 43 shows the theoretical ...

Page 83

Figure 43 Theoretical spectral Power Density of a scrambled random Pattern -60.0 -70.0 -80.0 -90.0 -100.0 -110.0 -120.0 -130.0 -140.0 0.0 250.0k 500.0k Figure 44 Typical spectral Power Density of a scrambled random Pattern Data Sheet Graph11 750.0k 1meg ...

Page 84

Receiver Characteristics The SCOUT-DX covers the electrical requirements of the line interface for loop lengths 1 kft) on AWG 24 cable. In order to additionally reduce the bit error rate in severe conditions, the ...

Page 85

HDLC Controller The HDLC controller handles layer-2 functions of the D- channel protocol (LAPD channel protocols. It can access the D or B-channels or any combination of them e.g. 18-bit IDSL data (2B+D) by setting the enable ...

Page 86

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 ...

Page 87

The control of the data transfer between the CPU and the HDLC controller is handled via interrupts (HDLC controller (Host HDLC controller). There are three different interrupt indications in the ISTAH register concerned with the reception ...

Page 88

The following description of the receive FIFO operation is illustrated in figure 46 for a RFIFO block size (threshold and 32 bytes. The RFIFO requests service from the microcontroller by setting a bit in the ISTAH register, which ...

Page 89

RAM EXMR.RFBS=11 so after the first 4 bytes of a new frame have been stored in the fifo an receive pool full interrupt ISTAH.RPF is set. HDLC Receiver µP RAM HDLC Receiver RSTA The HDLC receiver has written further data ...

Page 90

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 complete frame is lost, ...

Page 91

Data Reception Procedure The general procedures for a data reception sequence are outlined in the flow diagram in figure 47 case of RME the last byte in RFIFO contains 1) * the receive status information RSTA Figure ...

Page 92

Figure 48 gives an example of an interrupt controlled reception sequence, supposed that a long frame (68 byte) followed by two short frames (12 byte each) is received. The FIFO threshold (block size) is set to 32 byte (EXMR.RFBS = ...

Page 93

Receive Frame Structure The management of the received HDLC frames as affected by the different operating modes (see chapter 3.1) is shown in figure 49. MDS2 MDS1 MDS0 MODE Non Auto/16 Non Auto/8 ...

Page 94

The HDLC controller indicates to the host that a new data block can be read from the RFIFO by means of an RPF interrupt (see previous chapter). User data is stored in the RFIFO and information about the received frame ...

Page 95

Data Transmission 3.3.1 Structure and Control of the Transmit FIFO 3.3.1.1 General Description The 64-byte cyclic XFIFO buffer has variable FIFO block sizes (thresholds bytes, selectable by the XFBS bit in the EXMR register. There ...

Page 96

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 ...

Page 97

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 an XPR interrupt, an XDU (transmit data underrun) interrupt will be raised. If the HDLC ...

Page 98

Data Transmission Procedure The general procedures for a data transmission sequence are outlined in the flow diagram in figure 50. Command XTF Figure 50 Data Transmission Procedure Data Sheet START Transmit N Pool Ready XPR ? Y Write Data ...

Page 99

The following description gives an example for the transmission byte frame with a selected block size of 32 byte (EXMR:XFBS=0): • The host writes 32 bytes to the XFIFO, issues an XTF command and waits for an ...

Page 100

Transmit Frame Structure The transmission of transparent frames (XTF command) is shown in figure 52. For transparent frames, the whole frame including address and control field must be written to the XFIFO. The host configures whether the CRC is ...

Page 101

Extended Transparent Mode This non-HDLC mode is selected by setting MODE2...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, bit stuffing mechanism. This allows user specific ...

Page 102

HDLC Controller Interrupts The cause of an interrupt related to the HDLC controller is indicated by the HDLC bit in the ISTA register. This bit points at the different interrupt sources of the HDLC controller part in the ISTAH ...

Page 103

Test Functions The following test and diagnostic functions for the D-channel are available: – Digital loop via TLP (Test Loop, TMH register) command bit (figure 54): The TX path of layer 2 is internally connected with the RX path ...

Page 104

Codec The codec bridges the gap between the audio world of microphones, earphones, loudspeakers and the PCM digital world by providing a full PCM codec with all the necessary transmit and receive filters. Because the requirements for the codec ...

Page 105

The controlling and programming of the various operation modes, configurations and coefficients can be done via the microcontroller interface or the IOM-2 monitor channel and is described in the corresponding interface section. An overview on these programmable parameters can be ...

Page 106

The maximum value of the programmable gain adjustment of the microphone amplifier with specified transmission characteristics for the differential input. The maximum gain value with specified transmission characteristics of the single ...

Page 107

Veff=3.2 Vp) 6.17 dBm (1.576 Veff) 9.31 dBm (2.262 Veff=3.2 Vp) 6.17 dBm (0.788 Veff) Figure 57 AFE Attenuation Plan Data Sheet 6.81 dBm (1.697 Veff=2.3 Vp) AMI ...

Page 108

Signal Processor (DSP) Description The signal processor (DSP) has been conceived to perform all ITU-T and ETSI (NET33) recommended filtering in transmit and receive paths and is therefore fully compatible to the ITU-T G.712 and ETSI (NET33) specifications. The ...

Page 109

Figure 58 Processor Signal Flow Graph Data Sheet ...

Page 110

Transmit Signal Processing In the transmit direction a series of decimation filters reduces the sampling rate down to the 8-kHz PCM-rate. These filters attenuate the out-of-band noise by limiting the transmit signal to the voice band. The decimation stages ...

Page 111

The GR-gain adjustment stage is digitally programmable from – steps 0.25 dB (– dB and others are also possible). Respectively two bytes are coded in the CRAM to set GR to the desired value. After ...

Page 112

Programmable Coefficients for Transmit and Receive This section gives a short overview of important programmable coefficients. For more detailed information a coefficient software package is available (SCOUT MASTER SIPO 21383). Table 10 Description of the programmable Level Adjustment Parameters ...

Page 113

Tone Generation The ASP contains a universal tone generator which can be used for tone alerting, call progress tones, DTMF-signals or other audible feedback tones. All the tone generation configurations are programmable in the registers TGCR (Tone Generator Configuration ...

Page 114

Figure 60 Signal Flow Graph of the Tone Generation Unit Data Sheet 114 PSB 21373 2002-05-13 ...

Page 115

Table 12 CRAM Parameters of the Signal and Sequence Generator Parameter # of CRAM Bytes Fn 2/2/2 Gn 1/1/1 Tn 2/2 GDn 1/1 either Note: 0-dB gain setting of G1, G2 ...

Page 116

Control Generator Controlling of the generated tone follows the setting of the control bits ET (Enable Tone) and PT (Pulsed Tone) and the CRAM parameters TON and TOFF corresponding table 14 and table 15. Table 14 Control Generator ET ...

Page 117

Figure 61 Typical Control Generator Applications 4.3.4 Tone Filter A programmable tone filter can be switched in the tone signal path by setting the ETF (Enable Tone Filter) bit. The tone filter contains a programmable equalizer and a saturation amplifier ...

Page 118

CRAM parameters listed in Table Chapter 16 Table 16 CRAM Parameters of the Tone Filter Parameter # of CRAM Bytes ...

Page 119

This method produces pleasant ringing tones. 4.3.5 Tone Level Adjustment The generated tone signal can be amplified separate for transmit and receive direction with the gain parameters GTX, GTR and switched ...

Page 120

Table 18 DTMF-frequency (F3,FD) Programming ITU-T Q.23 SCOUT-DX [Hz] Nominal [Hz] Low Group 697 697.1 770 770.3 852 852.2 941 941.4 High Group 1209 1209.5 1336 1336.9 1477 1477.7 1633 1632.8 Note: The deviations due to the inaccuracy of the ...

Page 121

Speakerphone Support The speakerphone option of the SCOUT-DX performs all functions required for echo suppression without any external components, just by software. All these operational functions realized by the signal processor are completely parameterized. This technique offers a high ...

Page 122

Signal-Processing & Analog Front End SX Signal-Processing SR & Analog Front End Figure 63 Speakerphone Signal Flow Graph of the SCOUT-DX 4.4.1 Attenuation Control Unit The Attenuation Control unit controls the attenuation stages GHX of the transmit and GHR of ...

Page 123

Description of the programmable parameters: Parameter # of CRAM Bytes TW 1 ATT 4.4.2 Speakerphone Test Function and Self Adaption For optimizing the speakerphone performance the SCOUT-DX provides following test functions: - The two register ...

Page 124

Figure 64 Speech Detector Signal Flow Graph 4.4.3.1 Background Noise Monitor The tasks of the noise monitor are to differentiate voice signals from background noise, even if it exceeds the voice level, and to recognize voice signals without any ...

Page 125

A small fade constant (LP2N) enables fast settling down the LP2 to the average noise level after the end of speech recognition. However, a too small time constant for LP2N can cause rapid charging to such a high level that ...

Page 126

Description of the programmable speech detector parameters: Parameter # of CRAM Bytes LP1 1 OFF 1 PDS 1 PDN 1 LP2S 1 LP2N 1 LP2L 1 LIMX, LIMR 1 4.4.4 Speech Comparators (SC) Switching from one active mode to another ...

Page 127

Speech Comparator at the Acoustic Side (SCAE) In principle, the SCAE works according to the following equation: Being in RX-mode, the speech comparator at the acoustic side controls the switching to TX-mode. Only if the SX-signal is higher than ...

Page 128

At the SCAE-input, logarithmic amplifiers compress the signal range. Hence after the required signal processing for controlling the acoustic echo, pure logarithmic levels on both paths are compared. Principally, the main task of the comparator is to control the echo. ...

Page 129

Figure 66 Interdependence of GDAE and PDAE According to figure 66, a compromise between the reserve GDAE and the decrement PDAE has to be made: a smaller reserve (GDAE) above the level enhancement GAE requires a longer time to decrease ...

Page 130

Description of the programmable parameters: Parameter # of CRAM Bytes GAE 1 GDSAE 1 PDSAE 1 GDNAE 1 PDNAE 1 ETAE 1 4.4.4.2 Speech Comparator at the Line Side (SCLE) Principally, the SCLE works similarly to the SCAE. The formula ...

Page 131

Figure 67 Speech Comparator at the Line Side The Gain of the Line Echo (GLE) directly corresponds to the echo return loss of the link. Generally specified to 27 dB. However, the worst case loss can be estimated ...

Page 132

Description of the programmable parameters: Parameter # of CRAM Bytes GLE 1 GDSLE 1 PDSLE 1 GDNLE 1 PDNLE 1 ETLE 1 4.4.4.3 Automatic Gain Control of the Transmit Direction (AGCX) Optionally an AGCX is inserted into the transmit path ...

Page 133

Figure 68 Block Diagram of the AGC in Transmit Direction For reasons of physiological acceptance the AGCX gain is automatically reduced in case of continuous background noise e.g. by ventilators. The reduction is programmed via the NOlSX-parameter. When the noise ...

Page 134

The initial gain (AGIX) is used immediately after enabling the AGCX to allow a fast settling time of the AGC. -50dBm0 -40dBm0 AGX=0...+18dB AGX Figure 69 Level Diagram For the AGC in Transmit Direction Data Sheet AGC INPUT LEVEL -30dBm0 ...

Page 135

Description of the programmable parameters: Parameter # of CRAM Bytes LGAX 1 COMX 1 AAX 1 AGX 1 AGIX 1 TMLX 1 TMHX 1 NOISX 1 4.4.5 Automatic Gain Control of the Receive Direction (AGCR) The Automatic Gain Control of ...

Page 136

Figure 70 Function of the Receive AGC Data Sheet 136 PSB 21373 2002-05-13 ...

Page 137

AGR=0...+18dB AAR=0...-48dB AGR>0 AGR=0 Figure 71 Level Diagram For the AGC in Receive Direction If the speakerphone is in transmit mode, the AGCR is not working; instead the last gain setting is used and the regulation starts with ...

Page 138

Description of the programmable parameters: Parameter # of CRAM Bytes LGAR 1 COMR 1 AAR 1 AGIR 1 AGR 1 TMLR 1 TMHR 1 NOISR 1 4.4.6 Speakerphone Coefficient Set Table 19 shows a possible configuration for a speakerphone application ...

Page 139

Table 19 Basic Coefficient Set (cont’d) CMD Sequence Coefficient COP_C LIMX, LIMR COP_C OFFX COP_C OFFR COP_C LP2LX COP_C LP2LR COP_C LP1X COP_C LP1R COP_C reserved 00 COP_D PDSX COP_D PDNX COP_D LP2SX COP_D LP2NX COP_D PDSR COP_D PDNR COP_D ...

Page 140

Controlled Monitoring A so called “controlled monitoring” can be done when the bit GCR.CME is set. This mode can only be used together with the speakerphone mode (GCR.SP). With CME = ’1’ the attenuation stage GHR is fixed to ...

Page 141

Intercommunication: During a running phone call a voice announcement or a query can be switched or added to the desired outputs (handset, loudspeaker or transmit direction) Table 20 Voice Data Manipulation Register Bits DSSR DSS1X, DSS2X: Data Source Data ...

Page 142

Test Functions The codec provides several test and diagnostic functions which can be grouped as follows: • All programmable configuration registers and coefficient RAM-locations are readable • Digital loop via PCM-register (DLP) • Digital loop via signal processor (DLS) ...

Page 143

Programming of the Codec During initialization of the codec a subset of configuration registers and coefficient RAM (CRAM) locations has to be programmed to set the configuration parameters according to the application and desired features. The codec can be ...

Page 144

Description of the Command Word (CMDW) Value after reset CMDW R/W 0 R/W 0: writing to configuration registers or to coefficient RAM 1: reading from configuration registers or from coefficient RAM CMDx Address to internal programmable ...

Page 145

Coding of Coefficient Operations (COP) Bit CMD Name COP_0 COP_1 COP_2 COP_3 COP_4 ...

Page 146

Direct Programming of the Codec The codec registers (60 H chapter 2.1 and 4.8.2.1). 4.8.2.1 CRAM Back-Up Procedure For the direct access to individual CRAM coefficients via microcontroller a back-up procedure is provided. This ensures that the codec DSP ...

Page 147

Access Data Flow Figure 72 CRAM Access Structure Figure 73 Signal Flow of the Back-up Procedure Data Sheet <CBADR_F> <CBADR_E> <CBADR_D> <CBADR_C> <CBADR_B> DCA = ’0’ <CBADR_A> <CBADR_9> <CBADR_8> <CBADR_7> <CBADR_6> <CBADR_5> <CBADR_4> <CBADR_3> <CBADR_2> <CBADR_1> <CBADR_0> DCA = ...

Page 148

Reference Tables for the Register and CRAM Locations Table 21 Configuration Registers Address CMDW Register WR/RD SOP_0 60 10 /90 GCR SOP_1 61 11 /91 PFCR SOP_2 62 12 /92 TGCR H H ...

Page 149

Table 21 Configuration Registers (cont’d) Address CMDW Register WR/RD SOP_3 63 13 /93 TGSR SOP_4 64 14 /94 ACR SOP_5 65 15 /95 ATCR SOP_6 66 16 /96 ARCR H H ...

Page 150

Table 21 Configuration Registers (cont’d) Address CMDW Register WR/RD SOP_8 68 18 /98 DSSR SOP_9 XCR H H -/99 XSR H if MAAR = ’0’ -/99 XSR H if MAAR = ’1’ SOP_A 6A ...

Page 151

Table 21 Configuration Registers (cont’d) Address CMDW Register WR/RD SOP_C 6C 1C /9C TFCR SOP_D 6D 1D /9D TMR1 SOP_E 6E 1E /9E TMR2 SOP_F - 1F /9F DFR-GCR H H ...

Page 152

Table 22 Coefficient RAM (CRAM) Address CMDW Mnemonic Description WR/RD COP_0: Tone generator parameter set / GD1 ...

Page 153

Table 22 Coefficient RAM (CRAM) (cont’d) Address CMDW Mnemonic Description WR/RD COP_4: Control generator A3 24 /A4 TON TOFF COP_5: Receive and transmit gain ...

Page 154

Table 22 Coefficient RAM (CRAM) (cont’d) Address CMDW Mnemonic Description WR/RD COP_8:Transmit correction filter part 1 to part 4 and receive correction filter part 9 to part / ...

Page 155

Table 22 Coefficient RAM (CRAM) (cont’d) Address CMDW Mnemonic Description WR/RD COP_B:Parameter set for transmit and receive speech comparator DF 2B /AB GDSAE PDSAE H DD GDNAE H DC PDNAE H DB GDSLE H DA PDSLE ...

Page 156

Table 22 Coefficient RAM (CRAM) (cont’d) Address CMDW Mnemonic Description WR/RD COP_E:Parameter set for transmit AGC F7 2E /AE LGAX COMX H F5 AAX H F4 AGX H F3 TMHX H F2 TMLX H F1 NOISX ...

Page 157

Clock Generation Figure 73 shows the clock system of the SCOUT-DX. The oscillator is used to generate a 15.36 MHz clock signal. The DPLL generates the IOM-2 clocks FSC (8 kHz), DCL (1536 kHz) and BCL (768 kHz) synchronous ...

Page 158

Jitter 5.1.1 Jitter on IOM-2 The receive PLL readjusts, if the integrator function is enabled (TR_CONF1.RPLL_INTD = ’0’) if six consecutive pulses on the line interface deviate in the same direction. If the integrator function is disabled by setting ...

Page 159

Reset The SCOUT-DX can be reset completely by a hardware reset (pin RST). Additionally each functional block can be reset separately via register SRES. If enabled an exchange awake, subscriber awake or watchdog time out can generate a reset ...

Page 160

Reset Source Selection The internal reset sources C/I code change, EAW and Watchdog can be output at the low active reset pin RSTO/SDS2. The selection of these reset sources can be done with the RSS2,1 bits in the MODE1 ...

Page 161

External Reset Input At the active low RST input pin an external reset can be applied forcing the device into the reset state. This external reset signal is additionally fed to the RSTO/SDS2 output. The length of the reset ...

Page 162

Detailed Register Description The register mapping is shown in Figure 76. Figure 76 Register Mapping The register address range from 00-1F address range. The address range 20-2F handler. The register set ranging from 30-3F general configuration registers. The address ...

Page 163

HDLC Control Registers, CI Handler Name 7 6 RFIFO XFIFO ISTAH RME RPF MASKH RME RPF STAR XDOV XFW CMDR RMC RRES MODEH MDS2 MDS1 MDS0 EXMR XFBS RFBS TIMR CNT SAP1 SAP2 RBCL RBC7 RBCH 0 0 TEI1 TEI2 ...

Page 164

Transceiver, Interrupt, General Configuration Registers NAME 7 6 TR_ DIS_ 0 CONF0 TR TR_ RPLL_ 1 CONF1 INTD TR_ DIS_ 0 CONF2 TX TR_STA RINF TR_CMD XINF ISTATR 0 x MASKTR 0 1 ISTA 0 ST MASK 0 ST MODE1 ...

Page 165

IOM Handler (Timeslot , Data Port Selection, CDA Data and CDA Control Register) Name 7 6 CDA10 Controller Data Access Register (CH10) CDA11 Controller Data Access Register (CH11) CDA20 Controller Data Access Register (CH20) CDA21 Controller Data Access Register (CH21) ...

Page 166

Name 7 6 CDA1_ CDA2_ IOM Handler (Control Registers, Synchronous Transfer Interrupt Control), MONITOR Handler Name 7 6 CO_CR 0 0 TR_CR 0 0 HCI_CR DPS_ EN_ CI1 CI1 MON_CR DPS EN_ MON SDS1_CR ...

Page 167

Name 7 6 SDS_ 0 0 CONF MOR MOX MOSR MDR MER MOCR MRE MRC MSTA 0 0 MCONF 0 0 Codec Configuration Registers Name 7 6 GCR SP AGCX AGCR MGCR CME PFCR GX GR TGCR ET DT TGSR ...

Page 168

XCR PGCR PGCX ERA PGCR PGCX ERA XSR Momentary AGC Attenuation (if XCR.MAAR = ’1’) MASK1R MASK2R TFCR 0 0 CCR 0 0 CSR 0 0 Name 7 6 NOP 1 1 Note: Address 80 -FF belong to the coefficient ...

Page 169

HDLC Control and C/I Registers 7.1.1 RFIFO - Receive FIFO 7 RFIFO A read access to any address within the range 00h-1Fh gives access to the “current” FIFO location selected by an internal pointer which is automatically incremented after ...

Page 170

ISTAH - Interrupt Status Register HDLC Value after reset ISTAH RME RPF RME ... Receive Message End One complete frame of length less than or equal to the defined block size (EXMR.RFBS) or the last part ...

Page 171

MASKH - Mask Register HDLC Value after reset • 7 MASKH RME RPF Each interrupt source in the ISTAH register can be selectively masked by setting to ’1’ the corresponding bit in MASK. Masked interrupt status bits ...

Page 172

CMDR - Command Register Value after reset CMDR RMC RRES RMC ... Receive Message Complete Reaction to RPF (Receive Pool Full) or RME (Receive Message End) interrupt. By setting this bit, the microcontroller confirms that it ...

Page 173

MODEH - Mode Register Value after reset MODEH MDS2 MDS1 MDS0 MDS2-0 ... Mode Select Determines the message transfer mode of the HDLC controller, as follows: MDS2-0 Mode Number of Address Bytes Reserved ...

Page 174

RAC ... Receiver Active The HDLC receiver is activated when this bit is set to ’1’ ’0’ the HDLC data is not evaluated in the receiver. DIM2-0 ... Digital Interface Modes These bits define the characteristics of ...

Page 175

RFBS … Receive FIFO Block Size RFBS RFBS Bit6 Bit5 Note: A change of RFBS will take effect after a receiver command (CMDR.RMC, CMDR.RRES,) has been written SRA … Store Receive Address ...

Page 176

TIMR - Timer Register Value after reset TIMR CNT CNT ... CNT together with VALUE determine the time period T2 after which a TIN interrupt will be generated in the normal case CNT x ...

Page 177

RBCL - Receive Frame Byte Count Low Value after reset RBCL RBC7 RBC7-0 ... Receive Byte Count Eight least significant bits of the total number of bytes in a received message. 7.1.12 SAP2 - SAPI2 Register ...

Page 178

RBCH - Receive Frame Byte Count High Value after reset RBCH ... Overflow A ’1’ in this bit position indicates a message longer than (2 RBC11-8 ... Receive Byte Count Four most ...

Page 179

RSTA - Receive Status Register Value after reset RSTA VFR RDO VFR ... Valid Frame Determines whether a valid frame has been received. The frame is valid (1) or invalid (0). A frame is invalid when ...

Page 180

SA1 Number of x Address x Bytes = Number of 0 address 0 Bytes Note: If SAP1 and SAP2 contains identical values, the combination 001 will be omitted. 7.1.16 TEI2 - TEI2 Register Value ...

Page 181

TLP ... Test Loop The TX path of layer-2 is internally connected with the RX path of layer-2. Data coming from the layer 1 controller will not be forwarded to the layer 2 controller (see chapter 3.7). Bit 7:1 have ...

Page 182

CIR0 - Command/Indication Receive 0 Value after reset CIR0 CODR0 CODR0 ... C/I Code 0 Receive Value of the received Command/Indication code. A C/I-code is loaded in CODR0 only after being the same in two consecutive ...

Page 183

CIX0 - Command/Indication Transmit 0 Value after reset CIX0 CODX0 CODX0 ... C/I-Code 0 Transmit Code to be transmitted in the C/I-channel 0. TBA2-0 ... TIC Bus Address Defines the individual address for the SCOUT-DX on ...

Page 184

CIX1 - Command/Indication Transmit 1 Value after reset CIX1 CODX1 ... C/I-Code 1 Transmit Bits 7-2 of C/I-channel 1 CICW ... C/I-Channel Width CICW selects between a 4 bit (’0’) and 6 bit (’1’) C/I1 channel ...

Page 185

Transceiver, Interrupt and General Configuration Registers 7.2.1 TR_CONF0 - Transceiver Configuration Register Value after reset TR_ DIS_ 0 CONF0 TR DIS_TR ... Disable Transceiver 0: All layer-1 functions are enabled. 1: All layer-1 functions are disabled. ...

Page 186

TR_CONF1 - Receiver Configuration Register Value after reset TR_ RPLL_ 1 CONF1 INTD RPLL_INTD ... Receive PLL Integrator Disable (refer to chapter 5.1.1) 0: The integrator function of the receive PLL is enabled 1: The integrator ...

Page 187

TR_STA - Transceiver Status Register Value after reset TR_ RINF STA RINF ... Receiver INFO 00: Received INFO 0 01: Received any signal except INFO 2 or INFO 4 10: Received INFO 2 11: Received INFO ...

Page 188

TR_CMD - Transceiver Command Register Value after reset TR_ XINF CMD Normally the signals in this register are generated by the layer 1 state machine. If the internal layer 1 state machine is disabled (bit L1SW ...

Page 189

ISTATR - Interrupt Status Register Transceiver Value after reset ISTATR 0 x For all interrupts in the ISTATR register following logical states are defined: 0: Interrupt is not acitvated 1: Interrupt is acitvated x ... Reserved ...

Page 190

ISTA - Interrupt Status Register Value after reset ISTA 0 ST For all interrupts in the ISTA register following logical states are applied: 0: Interrupt is not acitvated 1: Interrupt is acitvated ST ... Synchronous Transfer ...

Page 191

MASK - Mask Register Value after reset MASK 0 ST For the MASK register following logical states are applied: 0: Interrupt is not masked 1: Interrupt is masked Each interrupt source in the ISTA register can ...

Page 192

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 ...

Page 193

RSS1 ... Reset Source Selection 2,1 The reset sources and the SDS2 functionality for the RSTO/SDS2 output pin can be selected according to the table below. RSS2 RSS1 C/I Code Bit 1 Bit 0 Change ...

Page 194

ID - Identification Register Value after reset DESIGN ... Design Number 000001: SCOUT-DX V1.1 PSB 21373 7.2.13 SRES - Software Reset Register Value after reset SRES 0 0 RES_xx ... ...

Page 195

IOM-2 and MONITOR Handler 7.3.1 CDAxy - Controller Data Access Register xy Value after reset: See table below 7 CDAxy Data register CDAxy which can be accessed from the controller. Register Value after Reset CDA10 FF H CDA11 FF ...

Page 196

XXX_TSDPxy - Time Slot and Data Port Selection for CHxy Vaule after reset: See table below 7 XXX_ DPS 0 TSDPxy Register CDA_TSDP10 CDA_TSDP11 CDA_TSDP20 CDA_TSDP21 CO_TSDP10 CO_TSDP11 CO_TSDP20 CO_TSDP21 TR_TSDP_B1 TR_TSDP_B2 This register determines the time slots and ...

Page 197

TSS ... Timeslot Selection Selects one of the 12 timeslots from 0...11 on the IOM-2 interface for the data channels. 7.3.3 CDAx_CR - Control Register Controller Data Access CH1x Value after reset: See table below 7 CDAx_ ...

Page 198

CO_CR - Control Register Codec Data Value after reset CO_CR 0 0 EN21 ... Enable codec channel 21 EN20 ... Enable codec channel 20 EN11 ... Enable codec channel 11 EN10 ... Enable codec channel 10 ...

Page 199

HCI_CR - Control Register for HDLC and CI1 Data Value after reset HCI_CR DPS_ EN_ CI1 CI1 DPS_CI1 ... Data Port Selection CI1 Data 0: The CI1 data is output on DD and input from DU ...

Page 200

SDSx_CR - Control Register Serial Data Strobe x Value after reset SDSx_CR ENS_ ENS_ TSS TSS+1 Register Value after Reset SDS1_CR 00 H SDS2_CR 00 H Note: The SDS2_CR register is only applicable if a serial ...

Related keywords