INFINEON PEB2045-N

Memory Time Switch CMOS
(MTSC)
PEB 2045
PEF 2045
Preliminary Data
1
CMOS IC
Features
● Time/space switch for 2048-, 4096- or 8192-kbit/s PCM
systems
● Switching of up to 512 incoming PCM channels to up to
256 outgoing PCM channels
● 16-input and 8-output PCM lines
● Different kinds of modes (2048, 4096, 8192 kbit/s or mixed
●
●
●
●
●
●
●
●
●
●
●
mode)
Configurable for primary access and standard applications
Programmable clock shift with half clock step resolution for
input and output in primary access configuration
Configurable for a 4096- and 8192-kHz device clock
Tristate function for further expansion and tandem
operation
Tristate control signals for external drivers in primary
access configuration
2048-kHz clock output in primary access configuration
Space switch mode
8-bit µP interface
Single + 5 V power supply
Advanced low power CMOS technology
Pin and software compatible to the PEB 2040
P-LCC-44
P-DIP-40
Type
Version
Ordering Code
Package
PEB 2045-N
VA3
Q67100-H8602
P-LCC-44 (SMD)
PEB 2045-P
VA3
Q67100-H8322
P-DIP-40
PEF 2045-N
VA3
Q67100-H6055
P-LCC-44 (SMD)
PEF 2045-P
VA3
Q67100-H6056
P-DIP-40
Semiconductor Group
1
01.94
PEB 2045
PEF 2045
Pin Configurations
(top view)
P-LCC-44
Semiconductor Group
P-DIP-40
2
PEB 2045
PEF 2045
1.1
Pin Definitions and Functions
Pin No.
P-LCC
Pin No.
P-DIP
Symbol
Input (I)
Function
Output (O)
1
1
VSS
I
Ground (OV)
3
2
SP
I
Synchronization Pulse: The PEx 2045 is
synchronized relative to the PCM system via
this line.
4
7
9
11
13
14
15
16
17
18
19
3
5
7
9
11
12
13
14
15
16
17
IN1
IN5
IN9
IN13
IN14
IN15
IN10
IN11
IN6
IN7
IN2
I
I
I
I
I
I
I
I
I
I
I
PCM-Input Ports: Serial data is received at
these lines at standard TTL levels.
5
8
10
12
4
6
8
10
IN0/TSC0
IN4/TSC1
IN8/TSC2
IN12/TSC3
I/O
I/O
I/O
I/O
PCM-Input Port / Tristate Control: In standard
configuration these pins are used as input lines,
in primary access configuration they supply
control signals for external devices.
20
18
IN3/DCL
I/O
PCM-Input Port / Data Clock: In standard
configuration IN3 is the PCM input line 3, in
primary access configuration it provides a
2048-kHz data clock for the synchronous
interface.
21
19
A0
I
Address 0: When high, the indirect register
access mechanism is enabled. If A0 is logical 0
the mode and status registers can be written to
and read respectively.
22
20
CS
I
Chip Select: A low level selects the PEx 2045
for a register access operation.
23
21
VDD
I
Supply voltage: 5 V ± 5 %.
24
22
RD
I
Read: This signal indicates a read operation
and is internally sampled only if CS is active.
The MTSC puts data from the selected internal
register on the data bus with the falling edge of
RD. RD is active low.
Semiconductor Group
3
PEB 2045
PEF 2045
Pin Definitions and Functions (cont’d)
Pin No.
P-LCC
Pin No.
P-DIP
Symbol
Input (I)
Function
Output (O)
25
23
WR
I
Write: This signal initiates a write operation.
The WR input is internally sampled only if CS is
active. In this case the MTSC loads an internal
register with data from the data bus at the rising
edge of WR. WR is active low.
26
27
29
30
31
32
33
34
24
25
26
27
28
29
30
31
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Data Bus: The data bus is used for
communication between the MTSC and a
processor.
35
36
37
38
40
41
42
43
32
33
34
35
36
37
38
39
OUT7
OUT6
OUT5
OUT4
OUT3
OUT2
OUT1
OUT0
0
0
0
0
0
0
0
0
PCM-Output Port: Serial data is sent by these
lines at standard CMOS or TTL levels. These
pins can be tristated.
44
40
CLK
I
Clock: 4096- or 8192-kHz device clock.
Semiconductor Group
4
PEB 2045
PEF 2045
1.2
Functional Symbol
Figure 1
Functional Symbol for the Standard Configuration
Figure 2
Functional Symbol for the Primary Access Configuration
Semiconductor Group
5
PEB 2045
PEF 2045
1.3
Device Overview
The Siemens Memory Time Switch PEx 2045 is a monolithic CMOS circuit connecting any of 512
incoming PCM channels to any of 256 outgoing PCM channels. The on-chip connection memory is
accessed via the 8-bit µP interface.
The PEx 2045 is fabricated using the advanced CMOS technology from Siemens and is mounted
in a P-DIP-40 or a P-LCC-44 package. Inputs and outputs are TTL-compatible.
The PEx 2045 is pin and software compatible to the PEB 2040. In addition, it includes the following
features:
●
●
●
●
4096-kHz device clock
4096-kbit/s PCM-data rate
Primary access configuration
Fast connection memory access
1.4
System Integration
The main application fields for the PEx 2045 are in switches and primary access units. Figure 3
shows a non-blocking switch for 512 input and 512 output channels using only two devices.
Figure 4 shows how 8 devices can be arranged to form a non-blocking 1024-channel switch.
8
PEx 2045
PCM IN
2 MHz
16
PCM OUT
2 MHz
8
PEx 2045
ITS00583
Figure 3
Memory Time Switch 16/16 for a Non-Blocking 512-Channel Switch
This is possible due to the tristate capability of the PEx 2045.
Semiconductor Group
6
PEB 2045
PEF 2045
8
PEx 2045
PEx 2045
11
21
PEx 2045
PEx 2045
12
22
8
16
PCM IN
2 MHz
PCM OUT
2 MHz
16
8
PEx 2045
PEx 2045
23
13
PEx 2045
PEx 2045
24
14
8
ITS00584
Figure 4
Memory Time Switch 32/32 for a Non-Blocking 1024-Channel Switch
Figure 5 shows the architecture of a primary access board with common channel signaling using
four CMOS devices. It exhibits the following functions:
–
–
–
–
–
–
–
–
–
Line Interface (PEB 2235)
Clock and Data Recovery (PEB 2235)
Coding/Decoding (PEB 2035)
Framing (PEB 2035)
Elastic Buffer (PEB 2035)
Switch (PEx 2045)
System Adaptation (PEx 2045)
Data Link Signaling Handling (SAB 82520)
µP Interface (all devices)
Semiconductor Group
7
PEB 2045
PEF 2045
Since the PEx 2045 is a switch for 256 output channels and the SAB 82520 is actually a dual
channel controller a quad primary access unit with a non-blocking switch requires a total of 11
devices,
–
–
–
–
4 IPAT® (PEB 2235)
4 ACFA (PEB 2035)
2 HSCC (SAB 82520)
1 MTSC (PEx 2045),
as shown in figure 6.
Figure 5
Architecture of a Primary Access Board
Semiconductor Group
8
PEB 2045
PEF 2045
MTSC
PEB 2045
R
IPAT
PEB 2235
ACFA
PEB 2035
HSCC
SAB 82520
Line
Interface
Synchronous
2-MHz Interface
System
Interface
ITS04996
Figure 6
Realization of a Quad Primary Access Interface and Switch with 11 CMOS Devices
Semiconductor Group
9
PEB 2045
PEF 2045
Line Trunk Group
SICOFI R
SLIC
PBC
Analog
SICOFI R
SLIC
PBC
MTSR
SBC,IBC
ICC
PBC
Digital
ICC
IBC,IEC
IPAT
PCM
2048 kbit/s
1544 kbit/s
IPAT
R
IPAT
R
R
ACFA
2,4,8 MTSR
Mbit/s
PBC
ACFA
MTSC
MTSC
2,4,8
Mbit/s
ACFA
Group
Switch
Group Processor
Switching
Network
Line Trunk Group
Group Processor
Coordination Processor
ITC03655
Figure 7
Basic Connections to a Digital Switching System
Figure 7 shows the PEx 2045 in its different applications in a digital switching system. It is used
here as the main device in the switching network (SN), as a group switch (GS) to connect different
digital or analog subscriber line modules (SLMA, SLMD) or digital interface units (DIU) with one
another and as the interface device for the digital interface units. The SLICs and SICOFIs (PEB
2060) are subscriber line drivers and codec-filter devices, respectively, for the analog line. SBC
(PEB 2080), IEC (PEB 2090), IBC (PEB 2095) and ICC (PEB 2070) are the layer-1 and layer-2
ISDN devices for the digital line. The peripheral board controller PBC (PEB 2050) multiplexes the
different lines in a subscriber line module to the 2- or 4-Mbit/s highways, which are input to the group
switch.
Semiconductor Group
10
PEB 2045
PEF 2045
2
Functional Description
The PEx 2045 is a memory time switch device. It can connect any of 512 PCM input channels to any
of 256 output channels.
The input information of a complete frame is stored in the on-chip 4-Kbit speech memory SM (see
figure 8). The incoming 512 channels of 8 bits each are written in sequence into fixed positions in
the SM. This is controlled by the input counter in the timing control block with a 8-kHz repetition rate.
For outputting, the connection memory (CM) is read in sequence. Each location in CM points to a
location in the speech memory. The byte in this speech memory location is read into the current
output time-slot. The read access of the CM is controlled by the output counter which also resides
in the timing control block.
Hence the CM needs to be programmed beforehand for the desired connection. The CM address
corresponds to one particular output time-slot and line number. The contents of this CM-address
points to a particular input time-slot and line number (now resident in the SM).
The PEx 2045 works in standard configuration for usual switching applications, and in the primary
access configuration where it realizes, together with the PEB 2035 (ACFA) and the PEB 2235
(IPAT), the system interface for up to four primary multiplex access lines.
In the following chapters the functions of the PEx 2045 will be covered in more detail.
Semiconductor Group
11
DB7DB0
MOD
IN13
IN14
IN15
IN9
IN10
IN11
IN5
IN6
IN7
IN1
IN2
PEB 2045
PEF 2045
Input Buffer
STA
A0
µP
Interface
IAR
Connection
Memory
CM
Speech Memory
SM
CSR
CGR
Timing Control
OUT7
OUT6
OUT5
OUT4
OUT3
OUT2
OUT1
CLK
OUT0
SP
Output Buffer
ITB00585
Figure 5
Block Diagram of the PEx 2045
Semiconductor Group
12
PEB 2045
PEF 2045
2.1
Basic Functional Principles
Preparation of the Input Data
The PEx 2045 works in 2048-, 4096- or 8192-kbit/s PCM systems. The frame frequency is 8000 Hz
in all 3 types of systems. Therefore a frame consists of 32-, 64- or 128 time-slots of 1 byte each,
respectively. In order to fill the speech memory, which has a fixed capacity of 512 channels, either
16-, 8- or 4 input lines are necessary, respectively. Thus, in 4- and 8-MHz systems only some of the
16 input lines can be used.
Moreover, the PEx 2045 can also work with two different input data rates simultaneously. In this
case some of the PCM input lines operate at one data rate, while others operate at another.
Table 1 states how many input lines are operating at the different data rates for all possible input
data rate combinations. In the following they will be referred to as input modes.
The input mode the PEx 2045 is actually working in has to be programmed into the mode register,
bits MI1, MI0, MO1, MO0. In chapter 4.1 you will find a complete description which input line is
connected to which system, for each of the input modes.
Table 1
Possible Input Modes
Input Modes
Type
16
×
2048
kbit/s
Single mode
8
×
4096
kbit/s
Single mode
4
×
8192
kbit/s
Single mode
2 × 8192
+
8 × 2048
kbit/s
Mixed mode
4 × 4096
+
8 × 2048
kbit/s
Mixed mode
The PEx 2045 runs with either a 4096- or a 8192-kHz device clock as selected with CFG:CPS. Data
rates and clock frequencies may be combined freely. However, processing 8192-kbit/s data, a
8192-kHz clock must be supplied.
The preparation of the input data according to the selected input mode is made in the input buffer.
It converts the serial data of a time-slot to parallel form.
In standard configuration time-slot 0 begins with the rising edge of the SP pulse as shown in upper
half of figure 9 denoted CSR: (0000XXXX).
Semiconductor Group
13
PEB 2045
PEF 2045
Figure 9
Latching Instant for Input Data
Semiconductor Group
14
PEB 2045
PEF 2045
As can be seen there the beginning of a input time-slot is defined such, that the input lines have
settled to a stable value, when the datum is actually sampled.
4096- and 8192-kbit/s data is sampled in the middle of the bit period at the falling edge of the
respective data clock. 2048-kbit/s data is sampled after 3/4 of the according bit period, i.e. with the
rising edge of the 4th 8192-kHz clock cycle or the falling edge of the 2nd 4096-kHz clock cycle of the
considered bit period.
In the primary access configuration a different timing scheme may apply to the odd input lines. They
are affected by the content of the clock shift register (CSR), which can be programmed via the µP
interface (see section Indirect Register Access).
The clock shift register holds the information, how the frame structure is shifted in the primary
access configuration. Its content defaults to 00H after power up and is also set to this value,
whenever the standard configuration is selected.
The four most significant bits of the clock shift register are of interest for the input lines. They only
affect the odd input lines (see section Clock Shift Register Access): The frame structure can be
advanced by the number of bit periods programmed to the RS2, RS1 and RS0 bits of the CSR. For
example, programming the CSR with (1100XXXX) a new frame starts 6-bit periods before the rising
edge of the SP pulse.
Selecting RRE to logical 1 the frame is delayed by half a bit period (see figure 9). The data is then
sampled in the middle of the respective bit period for all data rates.
The last line of figure 9 shows the sampling instants for the CSR entry (1001XXXX). Then the input
frame is advanced by 4-bit periods and delayed by a half resulting in an 3 1/2-clock period
advancement of the input frame. For further examples refer to figure 21.
Thus the frame structure may be selected to begin at any 1/2-bit period value between a resulting
advancement of 7-bit periods and a resulting delay of 1/2 a bit period.
Setting CSR = 0XH the same timing conditions apply to even and odd inputs. Then all system
interface inputs are processed in the same way they are in the standard configuration.
Speech Memory
The prepared input data is written into the speech memory SM. It has a capacity of 512 bytes to
store one frame of all active input lines. The destination SM addresses are supplied by the input
counter, which resides in the timing control block. They ensure that a certain input channel is always
written to the same physical speech memory location. The input counter is synchronized with the
rising edge of the SP signal.
The 9-bit addresses to read the speech memory are supplied by the connection memory. These are
programmable and need not follow any recognizable sequence.
Write and read accesses of the SM occur alternately.
Connection Memory
The connection memory (CM) is a RAM organized as 256 × 10 bits. It contains the 9-bit speech
memory address and a validity bit for the 256 possible output channels. While the speech memory
address points to a location in the SM, the validity bit is processed in the timing control block: If the
TE bit in the mode register (see paragraph 4.1) is set to logical 0, the validity bit is directly
Semiconductor Group
15
PEB 2045
PEF 2045
forwarded to the output buffer as the tristate control signal. Otherwise (if TE = high), an all-zero
speech memory address causes the output for the associated channel to be tristate. In this case the
all-zero speech memory address (time-slot 0 on output line 0) cannot be used for switching
purposes.
CM
Address
Content
Va Input Time-Slot + Line #
Output Time-Slot + Line #
Bit7
Bit0
Bit9
Bit 8-0
= 1?
YES
= O H?
YES
TE = 1
Connection Tristated
Otherwise Enabled
TE = 0
Mode Register
Tristate Enable Bit
ITD03658
Figure 10
The Influence of the Connection Memory on the Output Validity
The CM is written via the µP interface using the indirect register access scheme (see section
Indirect Register Access). It is read using addresses supplied by the output counter which resides
in the timing control block. The output counter generates addresses that form an enumerative
sequence. Thus the connection memory is read cyclically and establishes the correct time-slot
sequence of the outputs.
The output counter is synchronized with the falling and rising edge of the SP signal in standard and
primary access configurations, respectively.
The connection memory addresses and data encode the number of the output and input channels,
respectively. For a detailed description of the code please refer to section Indirect Register
Access and Connection Memory Access.
Semiconductor Group
16
PEB 2045
PEF 2045
Output Buffer
The output buffer rearranges the data read from the speech memory. It basically converts the
parallel data to serial data. Depending on the tristate control signal from the timing control block the
output buffer outputs the data or switches the line to high impedance.
The mode register (MOD) bits MI1, MI0, MO1 and MO0 control this process. The possible output
modes are listed in table 2.
Table 2
Possible Output Modes
Output Modes
Type
8
×
2048
kbit/s
Single mode
4
×
4096
kbit/s
Single mode
2
×
8192
kbit/s
Single mode
1 × 8192
+
4 × 2048
kbit/s
Mixed mode
2 × 4096
+
4 × 2048
kbit/s
Mixed mode
Figure 11 shows, when the single bits are output. In standard configuration they are clocked off at
the rising clock edge at the beginning of the considered bit period. Time-slot 0 starts two tCP8 before
the falling edge of the SP pulse.
In primary access configuration the even output lines are affected by the XS2, XS1, XS0 and XFE
entries in the clock shift register. The output frame is synchronized with the rising edge of the SPsignal.
Assuming a CSR entry X0H the output frame starts with the rising edge of the SP pulse.
Programming the XS2, XS1 and XS0 bits with a value deviating from binary 000 the output frame
is delayed by 8D - (XS2, XS1, XS0) B bit periods. E.g., a CSR entry of (XXXX0010) delays the output
frame by 7-bit periods relative to the rising SP-pulse edge.
Programming CSR:(XXXXXXX1) the output frame is delayed by another half a device clock period.
In figure 11 the outputting instants are shown for a device clock of 4096 and 8192 kHz and a
CSR:(XXXX0001).
The last line in figure 11 shows an even 8192-kbit/s output line for the CSR entry (XXXX0111) and
a 8192-kHz device clock. The output frame is delayed by 5 1/2-bit periods. For further examples
refer to figure 21.
If the CSR is programmed such that XS2 is identical to RS2, XS1 to RS1, XS0 to RS0 and RRE to
XFE the time-slot boundaries of input and output coincide. Programming XS2, XS1, XS0 as well as
RS2, RS1, RS0 to logical 0 input and output time-slots coincide. Otherwise the system interface
output frame starts one time-slot after the system interface input. This can be seen comparing for
example the lines 0100XXXX and XXXX0100 in figure 21.
Semiconductor Group
17
PEB 2045
PEF 2045
SP Primary Access
Configuration
SP Standard
Configuration
2 t CP8
CLK 8192 kHz
CLK 4096 kHz
CSR : (XXXX 0000)
5
6
7
bit0
1
2
3
4
5
6
7
0
1
2
3
0
2
4
1
3
8192 kbit/s
Data Rate
5
4096 kbit/s
Data Rate
2
2048 kbit/s
Data Rate
Time- Slot 0
- Slot 31
Time
CSR : (XXXX 0001)
8192 kHz clock
1
Time- Slot 0
7
6
7
bit0
1
2
- Slot 127
Time
6
3
4
5
6
7
0
- Slot 0
Time
7
0
1
1
2
3
4096 kbit/s
Data Rate
4
- Slot 0
Time
7
0
1
- Slot 31
Time
2
7
0
1
2
3
4
7
0
2048 kbit/s
Data Rate
1
- Slot 31
Time
Time- Slot 0
CSR : (XXXX 1101)
5
4096 kbit/s
Data Rate
Time- Slot 0
- Slot 63
Time
6
7
bit0
1
2
- Slot 127
Time
3
4
- Slot 0
Time
Figure 11
Clocking Off Instant of Output Data
Semiconductor Group
2048 kbit/s
Data Rate
Time- Slot 0
6
4
8192 kbit/s
Data Rate
2
Time- Slot 1
- Slot 63
Time
CSR : (XXXX 0001)
4096 kHz clock
0
- Slot 1
Time
Time
- Slot 63
5
7
- Slot 0
Time
- Slot 127
Time
4
6
18
5
6
7
0
8192 kbit/s
Data Rate
ITD03747
PEB 2045
PEF 2045
2.2
Microprocessor Interface and Registers
The PEx 2045 is programmed via the µP interface. It consists of the data bus DB7 … DB0, the
address bit A0, the Write (WR), the Read (RD) and Chip Select (CS) signal, as shown in figure 12.
Figure 12
The PEx 2045 Controlled by a Microprocessor
To perform any register access, CS has to be zero. This pin is provided, so that a single chip can
be activated in an environment where one microprocessor controls many slave processors (see
figure 20).
The PEx 2045 incorporates 4 user programmable registers,
●
●
●
●
the mode register (MOD)
the status register (STA)
the configuration register (CFR) and
the clock shift register (CSR)
as well as
● the connection memory (CM).
The mode register is a write only register; the status register is a read only register. CFR, CSR and
CM can be read and written. The single address bit A0 does not offer enough address space to
encode all access possibilities. Therefore the indirect access scheme is used to access the CFR,
CSR and CM. It uses the indirect access register (IAR), which is provided on chip.
Semiconductor Group
19
PEB 2045
PEF 2045
Using the 3 signals A0, WR and RD the IAR, MOD and STA registers can be identified according
to table 3.
Table 3
Addressing of the Direct Registers
A0
Write Operation
Read Operation
0
MOD
STA
1
IAR
IAR
The A0 address distinguishes between the IAR and the directly accessible registers. The WR and
RD strobes combined with an A0 equal to logical 0 identify the mode- and status registers,
respectively. The data bus contains the associated information. In the following paragraphs the
indirect register access and the register contents will be described.
Indirect Register Access (A0 = 1)
To perform an indirect register access 3 consecutive instructions have to be programmed. One
indirect register access has to be completed before the next one can begin. The 3 instructions of the
indirect access operate on the indirect access register. It receives, in sequence the control byte, the
data byte and the address byte according to table 4.
Table 4
IAR Byte Structure
Bit 7
Bit 0
0
0
K1
K0
0
0
C1
C0
Control Byte
D7
D6
D5
D4
D3
D2
D1
D0
Data Byte
IA7
IA6
IA5
IA4
IA3
IA2
IA1
IA0
Address Byte
The data byte contains the information which shall be written into the connection memory or the
indirect registers, i.e. the CSR or the CFR. The address byte indicates which one of the indirect
registers shall be accessed or in which location of the CM the data shall be written. The control byte
determines whether the connection memory or one of the indirect registers shall be accessed and
whether a write or read operation shall be performed.
Before an indirect access is started, the Z- and B-bits of the status register must be 0. With the first
instruction the Z bit is set (see chapter 4.2). After the third instruction the PEx 2045 accesses the
physical register or memory location. This access requires maximally 900 ns. After the access
finishes the Z bit is reset. The 3 instructions are separated by intervals where both WR and RD are
in a high state.
Figure 13 illustrates a write operation on the IAR.
Semiconductor Group
20
PEB 2045
PEF 2045
It is possible to read or write the direct access registers (i.e. the mode or status register) while an
indirect access is in progress. Thus the status register may be read in the time intervals that
separate the three sequential indirect access instructions. Also, the current indirect access may be
aborted by setting the MOD:RI.
a) Write IAR
Write
Control
Byte
Write
Data
Byte
Write
Address
Byte
WR
RD
STA:Z
t <_ 900 ns
ITD03660
b) Read IAR
WR
RD
STA:Z
t <_ 900 ns
t <_ 900 ns
ITD03661
Figure 13
Timing Diagrams for IAR
Semiconductor Group
21
PEB 2045
PEF 2045
Bits K1 and K0 of the control byte determine whether a CM or an indirect register access shall be
performed. When K1 and K0 are both logical 1, one of the indirect registers is accessed. For all
other combinations the connection memory is accessed.
Table 5
Decoding the K1 and K0 Bits
K1
K0
Accessed Register
R/W
0
0
1
1
0
1
0
1
CM
CM
CM
indirect register
R
W
W
R or W
In the case of a CM access the K1 and K0 bits also indicate the type of the access: One bit being
logical 1 indicates a write, both bits being logical 0 a read operation.
The same distinction function is performed by bit C0 of the control byte in the case of an indirect
register access. According to table 6 a high on C0 initiates a read, a low a write operation. The value
of the C1 bit is of no significance in this application. However to avoid future incompatibility
problems, it is strongly recommended to set C1 to logical 0.
The address byte holds the CM address for a connection memory access, for indirect register
access it indicates which one of the two indirect registers is accessed. A hexadecimal FEH
addresses the configuration register, a hexadecimal FFH the clock shift register. Table 6 lists all
possible choices of indirect register accesses.
Table 6
Addressing of the Indirect Registers
K1
K0
C0
Address Byte (hex)
Access
1
1
1
1
1
1
1
1
1
0
1
0
FE
FE
FF
FF
CFR read
CFR write
CSR read
CSR write
The data to be written to the different registers or the CM reside in the data byte. For CM accesses
not 8 but 10 bits are written into the selected location. The two bits in excess come from the C0 and
C1 bits of the control byte and are interpreted as the most significant bits of the data word. (D9 and
D8). Accordingly the 3 CM access instructions are interpreted as shown in table 7.
Semiconductor Group
22
PEB 2045
PEF 2045
Table 7
Connection Memory Access IA Byte Structure
Bit 7
Bit 0
0
0
K1
K0
0
0
D9
D8
Control Byte
D7
D6
D5
D4
D3
D2
D1
D0
Data Byte
IA7
IA6
IA5
IA4
IA3
IA2
IA1
IA0
Address Byte
The following example illustrates how an indirect memory access works.
The instruction sequence
00110000
01010101
A0 = 1, WR = 0, RD = 1, CS = 0
11111111
writes the hexadecimal value 55H into the clock shift register.
The instruction sequence
00010010
00000000
A0 = 1, WR = 0, RD = 1, CS = 0
10101010
writes the hexadecimal value 200H into the connection memory location AAH thus tristating the
output.
To read the indirect registers or the CM two sequences of 3 instructions each have to be
programmed.
In the first sequence the PEx 2045 is instructed which register or CM address to read. The data
transferred to the PEx 2045 in this first sequence is of no importance.
With the first write instruction STA:Z is set.
After the first 3 instructions the PEx 2045 needs 900 ns to read the specified location and to write
the result to the IAR. It overwrites the data byte and in the case of a CM-read operation additionally
bits 1 and 0 of the control byte. The status register bit Z is reset after maximally 900 ns. Then 3 read
operations follow. Again, STA:Z is set with the first read instruction. The 3 instructions read 3 bytes
from the IAR. Figure 13b shows this procedure. The data byte and, in the case of a CM-read
operation, the C1 and C0 bits in the control byte show the values read from the indirect registers or
the CM. The K0, K1 bits and the address byte have not changed their values since the proceeding
write instruction sequence.
After the third read operation the PEx 2045 needs another 900 ns to reset the indirect access
mechanism and the Z bit in the status register.
Semiconductor Group
23
PEB 2045
PEF 2045
With the following instruction sequence
00000001
11111111
A0 = 1, WR = 0, RD = 1, CS = 0
10101010
the byte sequence
11001110
00000000
A0 = 1, WR = 1, RD = 0, CS = 0
10101010
can be read.
The CM location AAH, which has been written to 200H in the last example is read again.
Bits 7, 6, 3, 2, of the control byte showing logical 0 in the first byte at the beginning of the read
access reappear as logical 1 in the fourth byte. This is due to the internal device architecture. These
bits are unused and are recommended to be set to logical 0 to avoid future incompatibility problems.
In CSR and CFR read accesses, bit 1 and bit 0 (C1 and C0) of the read control byte have a value
of logical 1.
Register Contents
You will find a detailed description of the different register contents in section 4. This paragraph
only gives a short overview of the different registers:
The mode register contains bits to determine the operation mode and the output tristating scheme,
to control the CM reset mechanism, to interrupt the indirect access mechanism and to switch the
chip to standby.
The status register consists of 3 bits. They tell whether the PEx 2045 is busy resetting its connection
memory or performing an indirect access or whether operational conditions have occurred which
might lead to a partial or complete loss of data in the connection and speech memory. Bits 4 to 0 of
the status register default to logical 0.
The clock shift register holds information on how the frame structure is advanced or delayed relative
to the synchronization pulse. It is only active for the system interface in the primary access
configuration. See chapter 2.4. In standard configuration it is set to logical 0.
The configuration register is used to select the device clock frequency and the configuration in
which the device is used. The most significant 6 bits default to logical 1, if the register is read.
The connection memory content and address contain the connection information. Specifics are
explained in the following sections.
Semiconductor Group
24
PEB 2045
PEF 2045
2.3
Standard Configuration
A logical 1 in the CFS bit of the configuration register sets the PEx 2045 in standard mode (default
after power up). All modes from table 9 can be used. The space switch mode (MI1, MI0, MO1,
MO0 = 0H) is a special mode and will be covered in chapter 2.5.
It has to be ensured that the data rate is not higher than the selected device clock (4096 or
8192 kHz).
In this application 512 channels per frame are written into the speech memory. Each one of them
can be connected to any output channel.
According to table 10 and table 14 and depending on the selected mode the least significant bits
of the connection memory address and data contain the logical pin numbers, the most significant
bits the time-slot number of the output and input channels.
The following example explains the programming sequence.
Time-slot 7 of the incoming 8192-kbit/s input line IN14 shall be connected to time-slot 6 of the output
line OUT 5 of an 2048-kbit/s system. According to table 10 in 8192-kbit/s systems the input line
IN14 is the logical input line 2. Output line number and logical output number are identical to one
another.
Therefore the following byte sequence on the data bus has to be used to program the CM properly
(see table 14):
00010000
00011110
00110101
The frame, for all input channels, starts with the rising edge of the SP signal. The frame for all output
channels begins two tCP8 (with 8192-kHz device clock) or one tCP4 period (4096-kHz device clock)
before the falling SP edge. The period of time between the rising and the falling edge of the SP
pulse should be
tSPH = (2 + N × 4) tCP8
(0 ≤ N ≤ 255)
= (1 + N × 2) tCP4
N is an user defined integer. By varying N, tSPH can be varied in 2048-kHz clock period steps. For
an example using N = 2 refer to figure 14.
Semiconductor Group
25
PEB 2045
PEF 2045
Figure 14
SYP Duration for N = 2
The device is synchronized after 3 SP pulses (see chapter 3.2).
2.4
Primary Access Configuration
A logical 0 in the CFS bit of the configuration register selects the PEx 2045 for primary access
applications. In this case the PEx 2045 is an interface device connecting a standard PCM interface
(system interface) with another PCM interface e.g. an intermediate interface for connections to
primary loops (synchronous interface). For both a serial interface is provided.
● The synchronous 2048-kbit/s interface consists of four input and four output lines with a bit rate
of 2048-kbit/s. This interface can be used to connect the PEx 2045 to up to four primary trunk
lines via coding / decoding devices with frame alignment function (e.g. PEB 2035 ACFA) and line
transceivers with clock and data recovery (e.g. PEB 2235 IPAT) and to signaling processors (e.g.
the SAB 82520 HSCC).
● The system interface is not confined to one data rate but can operate at the full choice of the
PEx 2045 data rates: 2048, 4096 and 8192 kbit/s. A clock shift in a range of 7 1/2 clock steps with
half clock step resolution may be programmed independently for inputs and outputs.
The frame for all input- and output lines starts with the rising edge of the SP signal.
In the primary access mode the signals TSC0, TSC1, TSC2 and TSC3 indicate when the
associated system interface output is valid. The signal DCL supplies a 2-MHz clock which can be
used for other devices at the synchronous interface, e.g. the High Level Serial Communication
Controller HSCC (SAB 82520).
In the primary access configuration only those modes which support at least 4 input and 4 output
lines at 2048 kbit/s can be used. These are the modes MI1, MI0, MO1, MO0 = 0H, AH, FH (see
table 9). Programming the CM in the primary access configuration is described in tables 17 and 18.
The least significant 2 bits of the data byte and the least significant bit of the address byte determine
the type of interface, the more significant bits define the logical line number and time-slot number.
The following example explains how to program the CM in primary access configuration and how
the clock shift works:
Semiconductor Group
26
PEB 2045
PEF 2045
Time-slot 31 of the synchronous 2048-kbit/s interface logical line 2 shall be switched to the system
interface logical line 1 of a 2048-kbit/s system, time-slot 2. The system interface logical output
line 1 and the synchronous interface logical input line 2 correspond to the pins OUT 2 and IN 10,
respectively (table 11). The programmed instruction sequence on the data bus for that connection
reads (see table 17 and 18):
00100001
11111010
00010010
In the same application the instruction sequence
00010001
11111101
00010001
connects the time-slot 31 of the system interface logical line 3 (IN 13) to the synchronous interface
logical line 0 (OUT 1) time-slot 2.
Assuming CSR:00H the frame for input and output lines starts with the rising edge of the SP pulse.
The CSR entry 11011101 shifts the beginning of the frame for the system interface: The input frame
is advanced by 6 data bits because of the shift, but delayed by the 1/2-bit delay facility, resulting in
a 5 1/2-bit period advancement. The output frame structure is delayed by 2 data bit periods and one
half of a device clock period. Figure 15 illustrates these 2 connections for a 4096-kHz device clock.
Figure 15
Example Connections in the Primary Access Configuration
Semiconductor Group
27
PEB 2045
PEF 2045
According to figure 16 in the primary access configuration the connection memory is usually
programmed to switch the system and synchronous interface inputs to the synchronous and system
interface outputs, respectively. However, it is also possible to connect the system interface inputs
to the system interface outputs as well as the synchronous interface inputs to the synchronous
interface outputs. This connection possibility allows for test loops at the system and the
synchronous interfaces.
Figure 16
Connection Choices in the Primary Access Configuration
2.5
Space Switch Mode
The space switch mode is selected by the mode bits MI1, MI0, MO1, MO0 = DH.
In the space switch mode the basic operational principles differ from those outlined in chapter 2.1.
In the speech memory only a quarter frame is stored restricting the connection capabilities of the
PEx 2045.
All 16 input lines run at a data rate of 8192 kbit/s delivering 2048 bytes of data in each frame. Since
the speech memory can only hold 512 bytes, the data bytes must be read within a quarter of a frame
period to be outputted on one of the two 8192-kbit/s output lines.
In space switch mode it is recommended that the SP pulse be 282 tCP8 long (N = 70). For proper
functionality the time-slot numbers of a programmed connection must be equal. In the following only
this case considered.
The output time-slot is encoded in the connection memory address. Since the input time-slot has to
be the same it is not necessary to fully specify it in the CM data. However the 5 least significant bits
must be programmed (see tables 15 and 16).
The speech memory address is composed of 4 bits (D0 through D3) for the coding of the 16 input
(logical line number and pin names match) lines and 5 bits (D4 through D8) for the coding of 32
time-slots. Which of the four blocks of 32 time-slots each is switched to the output lines is
determined by the connection memory address. This consists of 1 bit (IA0) for the marking of one
of two possible output lines with 7 bits (IA1 through IA7) for the 128 time-slots, as shown below.
Semiconductor Group
28
PEB 2045
PEF 2045
The SP signals controls the start of the input and output frame. The output frame starts two tCP8
before the falling SP edge. However, the rising edge marks the beginning of time-slot 125.
Line
Output
(2 Lines)
Block
Select
X
X
X
X
Input
Line
X
IA7
X
IA0
Output
Time-Slot
Block 1
0
X
X
X
X
D8
=
Block 2
D0
Input
Time-Slot
Block 3
Block 4
31/0
31/0
31/0
31
31/32
63/64
95/96
127
PCM IN
0
127
PCM OUT
ITD03663
Figure 17
Determination of Input- and Output Time-Slots in Space Switch Mode
The following two examples show how the connection memory is programmed in the space switch
mode.
Input line 10, time-slot 31 → output line, time-slot 31
00010011
11111010
00111111
Input line 10, time-slot 63 → output line 1, time-slot 63
00010011
11111010
01111111
Semiconductor Group
29
PEB 2045
PEF 2045
3
Operational Description
3.1
Power Up
Upon power up the PEx 2045 is set to its initial state. The mode and configuration register bits are
all set to logical 1, the clock shift register bits to logical 0. The status register B bit is undefined, the
Z bit contains logical 0, the R bit is undefined.
This state is also reached by pulling the WR and RD signals to logical 0 at the same time (software
reset). For the software reset the state of CS is of no significance.
3.2
Initialization Procedure
After power up a few internal signals and clocks need to be initialized. This is done with the
initialization sequence. To give all signals and clocks a defined value the MTSC must encounter 3
falling and 2 rising edges of the SP signal. The resulting SP pulses may be of any length allowed in
normal operation, the time interval between the two SP pulses may be of any length down to 250 ns.
With all signals being defined, the CM needs to be reset. To do that a logical 0 is written into
MOD:RC. STA:B is set. The resulting CM reset is finished after at most 250 µs and is indicated by
the status register B bit being logical 0. Changing the pulse shaping factor N during CM reset may
result in a CM-reset time longer than 250 µs.
To prepare the PEx 2045 for programming the CM, the RI bit in the mode register must be reset.
Note that one mode register access can serve to reset both RC and RI bits as well as configuring
to chip (i.e. selecting operating mode etc.).
Figure 18
Initializing the PEx 2045 for a 8192-kHz Device Clock
Semiconductor Group
30
PEB 2045
PEF 2045
Figure 19
Initializing the PEx 2045 for a 4096-kHz Device Clock
3.3
Operation with a 4096-kHz Device Clock
In order for the MTSC to operate with a 4096-kHz device clock the CPS bit in the CFR register
needs to be reset. This has to be done before the CM reset and needs up to 1.8 µs. Please keep
in mind, MOD:RI has to be reset prior to performing an indirect register access. For a flow chart of
this process refer to figure 19.
Semiconductor Group
31
PEB 2045
PEF 2045
3.4
Standby Mode
With MOD:SB being logical 1 the PEx 2045 works as a backup device in redundant systems. It can
be accessed via the µP interface and works internally like an active device. However, the outputs
are high impedance. If the SB bit is reset the outputs are switched to low impedance for the
programmed active channels and this MTSC can take over from another device which has been
recognized as being faulty. (See figure 20)
Figure 20
Device Setup in Redundant Systems
Semiconductor Group
32
PEB 2045
PEF 2045
4
Detailed Register Description
The following registers may be accessed:
Table 8
Addressing the Direct Registers
Address A0
Write Operation
Read Operation
0
MOD
STA
1
IAR
IAR
The chapters in this section cover the registers in detail.
4.1
Mode Register (MOD)
Access: Write on address 0
DB 7
DB 0
RC
TE
Value after power up: FFH
RC
Reset Connection memory; writing a zero to this bit causes the complete connection
memory to be overwritten with 200H (tristate). During this time STA:B is set. The
maximum time for resetting the connection memory is 250 µs.
TE
Tristate Enable; this bit determines which tristating scheme is activated:
TE = 1: If the speech memory address written into the connection memory
is S8 – S0 = 0, the output channel is tristated.
TE = 0: The S9 bit written into the connection memory is interpreted as a
validity bit: S9 = 0 enables the programmed connection, S9 = 1
tristates the output.
Note:
If TE = 1, time-slot 0 of the logical input line 0 cannot be used for
switching.
RI
Reset Indirect access mechanism; setting this bit resets the indirect access
mechanism. RI has to be cleared before writing/reading IAR after reset.
SB
Stand By; by selecting SB = 1 all outputs are tristated. The connection memory works
normally. The PEx 2045 can be activated immediately by resetting SB.
MI1/0
MO1/0
Input/Output operation Mode; these bits define MO1/0: the bit rate of the input and
output lines. The bit rates are given in table 9, the corresponding pin functions in
table 10 (standard configuration) and table 11 (primary multiplex access configuration).
Semiconductor Group
33
PEB 2045
PEF 2045
Table 9
Input/Output Operating Modes
MI1
MI0
MO1
MO0
Input Mode
0
0
0
0
0
0
1
1
1
0
0
1
1
1
0
0
0
1
1
1
0
0
0
0
1
1
0
1
0
0
1
0
0
1
0
0
1
1
1
1
1
0
0
1
0
0
1
0
0
1
0
1
1
1
1
1
16 × 2
16 × 2
16 × 2
4×8
4×8
4×8
2×8/8×2
2×8/8×2
2×8/8×2
8×4
4×8
4×4/8×2
8×4
16 × 8
1
1
1
1
0
1
0
0
Output Mode
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
8×2
2×8
4×2/1×8
8×2
2×8
4×2/1×8
8×2
2×8
4×2/1×8
4×4
4×4
4×2/2×4
2×8
2×8
Mbit/s**
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s
Mbit/s**
Mbit/s
Mbit/s
Mbit/s**
Mbit/s
Mbit/s*
unused
unused
* for space switch application only
** can also be used for primary access configuration
Note: In the mixed modes the first bit rate refers to the odd line numbers, the second one to the
even line numbers.
Semiconductor Group
34
PEB 2045
PEF 2045
Table 10
Input and Output Pin Arrangement for the Standard Configuration
Input Pin Arrangement
P-LCC
P-DIP
16 × 8 Mbit/s
16 × 2 Mbit/s
4
5
7
8
9
10
11
12
13
14
15
16
17
18
19
20
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
IN1
IN0
IN5
IN4
IN9
IN8
IN13
IN12
IN14
IN15
IN10
IN11
IN6
IN7
IN2
IN3
Pin No.
4×8
Mbit/s
8×2+2×8
Mbit/s
8×2+4×4
Mbit/s
IN0
IN0
IN4
IN4
IN8
IN1
IN0
IN2
IN3
8×4
Mbit/s
IN1
IN12
IN14
IN3
IN10
IN1
IN0
IN5
IN4
IN6
IN7
IN2
IN3
IN1
IN8
IN5
IN12
IN14
IN7
IN10
IN3
IN6
IN6
IN2
IN2
Note: The input line numbers shown are the logical line numbers to be used for programming the
connection memory. In the case of 16 input lines the logical line numbers are identical to the
pin names.
Output Pin Arrangement
P-LCC
P-DIP
8×2
Mbit/s
35
36
37
38
40
41
42
43
32
33
34
35
36
37
38
39
OUT7
OUT6
OUT5
OUT4
OUT3
OUT2
OUT1
OUT0
Pin No.
2×8
Mbit/s
4×2+1×8
Mbit/s
4×2+2×4
Mbit/s
OUT7
OUT7
OUT5
OUT5
OUT3
OUT1
OUT0
4×4
Mbit/s
OUT1
OUT0
OUT3
OUT2
OUT1
OUT0
OUT3
OUT2
OUT1
Note: The logical output line numbers shown above are identical to the pin names.
Semiconductor Group
35
OUT0
PEB 2045
PEF 2045
Table 11
Input, Output and Tristate Pin Arrangement for the Primary Access Configuration
Pin No.
System
Interface Mode
Pin Name
P-LCC
P-DIP
2 MHz
4 MHz
8 MHz
TSC0
TSC1
TSC2
TSC3
5
8
10
12
4
6
8
10
TSC0
TSC1
TSC2
TSC3
TSC0
TSC1
TSC0
System interface
tristate control signals,
clock shift
programmable
OUT0
OUT2
OUT4
OUT6
43
41
38
36
39
37
35
33
OUT0
OUT1
OUT2
OUT3
OUT0
OUT1
OUT0
System interface
outputs
clock shift
programmable
IN13
IN9
IN5
IN1
11
9
7
4
9
7
5
3
IN3
IN2
IN1
IN0
IN1
IN0
IN0
System interface
inputs,
clock shift
programmable
OUT1
OUT3
OUT5
OUT7
42
40
37
35
38
36
34
32
OUT0
OUT1
OUT2
OUT3
OUT0
OUT1
OUT2
OUT3
OUT0
OUT1
OUT2
OUT3
Synchronous
2-MHz interface
outputs
IN14
IN10
IN6
IN2
13
15
17
19
11
13
15
17
IN3
IN2
IN1
IN0
IN3
IN2
IN1
IN0
IN3
IN2
IN1
IN0
Synchronous
2-MHz interface inputs
0000
1111
1010
MI1, MI0, MO1, MO0
Mode
Note: The input, output and tristate control line numbers shown in the center columns of this table
are logical line numbers. The corresponding pin names are listed in the left most column.
Semiconductor Group
36
PEB 2045
PEF 2045
4.2
Status Register (STA)
Access: Read at address 0
DB 7
DB 0
B
B
Z
Busy: The chip is busy resetting the connection memory (B = 1). B is undefined after
power up and logical 0 after the device initialization.
Note: The maximum time for resetting the connection memory is 250 µs.
Z
Incomplete instruction; a three byte indirect instruction is not completed (Z = 1).
Z is 0 after power up.
Note: Z is reset and the indirect access is cancelled by setting MOD:RI or resetting
MOD:RC.
R
4.3
Initialization Request. The connection memory has to be reset due to loss of data
(R = 1). The R bit is set after power failure or inappropriate clocking and reset when the
connection memory reset is finished. R is undefined after power up and logical 0 after
the device initialization.
Indirect Access Register (IAR)
(Read or Write Operation with Address A0 = 1)
An indirect access is performed by reading/writing three consecutive bytes (first byte = control byte,
second byte = data byte, third byte = address byte) to/from IAR. The structure is shown in table 12.
Table 12
The 3 Bytes of the Indirect Access
Bit 7
Bit 0
0
0
K1
K0
0
0
C1
C0
Control Byte
D7
D6
D5
D4
D3
D2
D1
D0
Data Byte
IA7
IA6
IA5
IA4
IA3
IA2
IA1
IA0
Address Byte
The control byte bits K1, K0, C1 and C0 together with the address byte determine the type of access
being performed according to table 13.
Semiconductor Group
37
PEB 2045
PEF 2045
Table 13
Encoding the Different Types of Indirect Accesses
K1
K0
C1
C0
Address Byte
Type of Access
0
1
0
0
0
1
D9
D9
D9
D8
D8
D8
CM Address
CM Address
CM Address
Read
Write
Write
CM
CM
CM
1
1
1
1
1
1
1
1
0
0
0
0
0
1
0
1
FEH
FEH
FFH
FFH
Write
Read
Write
Read
CFR
CFR
CSR
CSR
Connection Memory Access
For a connection memory access the control byte bits C1 and C0 contain the data bits D9 and D8,
respectively. D9 is the validity bit which together with D8 and the data byte D7 – D0 is written to the
CM address IA7 – IA0.
The function of the validity bit is controlled by STA:TE. D8 – D0 and IA7 – IA0 contain the information for the logical line and time-slot numbers of the programmed connection, D8 – D0 for the inputs,
IA7 – IA0 for the outputs. Tables 14 through 18 show the programming of these bits for the different
configurations and modes.
Standard Configuration
Table 14
Time-Slot and Line Programming for Standard Configuration
Standard configuration, all modes except space switch mode
2-Mbit/s input lines
Bit
Bit
Bit
D3
D8
D9
to
to
D0
D4
Logical line number
Time-slot number
Validity bit
4-Mbit/s input lines
Bit
Bit
Bit
D2
D8
D9
to
to
D0
D3
Logical line number
Time-slot number
Validity bit
8-Mbit/s input lines
Bit
Bit
Bit
D1
D8
D9
to
to
D0
D2
Logical line number
Time-slot number
Validity bit
2-Mbit/s output lines
Bit
Bit
IA2 to
IA7 to
IA0
IA0
Line number
Time-slot number
4-Mbit/s output lines
Bit
Bit
IA1 to
IA7 to
IA0
IA2
Line number
Time-slot number
8-Mbit/s output lines
Bit
Bit
IA0
IA7 to
IA1
Line number
Time-slot number
Semiconductor Group
38
PEB 2045
PEF 2045
The pulse shape factor N may take any integer value from 0 to 255.
Space Switch Mode
Table 15
Time-Slot and Line Programming for Space Switch Mode
Space switch mode
(MI1 = 1, MI0 = 1; MO1 = 0, MO0 = 1)
8-Mbit/s input lines
Bit
Bit
D0
D4
8-Mbit/s output lines
to
to
D3
D8
Bit
D9
Bit
Bit
IA0
IA1 to
IA7
Logical line number
The lower 5 bits of the timeslot number
Validity bit
Logical line number
Time-slot number
N is fixed to 70. The selection of one specific input time-slot is possible by writing the connection
memory (CM) as shown below.
Table 16
Programming Input and Output Lines and Time-Slots in Space Switch Mode
In CM address 00 – 3F:
In CM address 40 – 7F:
In CM address 80 – BF:
In CM address C0 – FF:
D8 – D4 (SM addr.)
D8 – D4 (SM addr.)
D8 – D4 (SM addr.)
D8 – D4 (SM addr.)
=
=
=
=
TS0
TS32
TS6
TS96
–
–
–
–
TS3
TS63
TS95
TS127
In space switch mode the leading edge of the SP pulse must be applied with the first bit of time-slot
125. The input and output time-slot number must match.
Semiconductor Group
39
PEB 2045
PEF 2045
Primary Access Configuration
Table 17
Time-Slot and Line Programming for the Primary Access Configuration
2-Mbit/s input lines
Bit
Bit
Bit
Bit
D1
D3
D8
D9
to
to
to
D0
D2
D4
Interface select in
Line number
Time-slot number
Validity bit
4-Mbit/s input lines
Bit
Bit
Bit
Bit
D1
D2
D8
D9
to
D0
to
D3
Fixed to 01 (system interface)
Line number
Time-slot number
Validity bit
8-Mbit/s input lines
Bit
Bit
Bit
D1
D8
D9
to
to
D0
D2
2-Mbit/s output lines
Bit
Bit
Bit
IA0
IA2 to
IA7 to
IA1
IA3
Interface select out
Line number
Time-slot number
Bit
Bit
Bit
IA0
IA1
IA7 to
IA2
Fixed to 0 (system interface)
Line number
Time-slot number
Bit
Bit
IA0
IA7 to
IA1
Fixed to 0 (system interface)
Time-slot number
4-Mbit/s output lines
8-Mbit/s output lines
Fixed to 01 (system interface)
Line number
Validity bit
The interface select bits have to be programmed as shown in the following table:
Table 18
Interface Selection Bits
System Interface
Synchronous 2-MHz Interface
Input Lines
01
10
Output Lines
0
1
Semiconductor Group
40
PEB 2045
PEF 2045
Configuration Register Access (CFR)
Access: Read or write indirect address FEH
For a read access the bit 0 of the control byte must be set to logical 1 and for a write access to
logical 0.
Value after power up or software reset: FFH
DB 7
DB 0
1
1
CPS …
Clock Period Select: Device clock is set to 8192 kHz (logical 1) or 4096 kHz (logical 0).
CFS …
Configuration Select: The PEx 2045 works in either the primary access configuration
(logical 0) or in standard configuration (logical 1). Setting this bit to logical 1 resets the
CSR to 00H.
Clock Shift Register Access (CSR)
Access: Read or write at indirect address FFH.
For a read access the bit 0 of the control byte has to be set to logical 1 and for a write access to
logical 0.
The value after power is 00H.
DB 7
DB 0
RS2
RS1
RS2 … RS0 … Receive clock Shift, bits 2 – 0. The receive data stream is shifted in bit period
steps as shown in figure 21.
RRE …
Receive with Rising Edge. The data is sampled with the falling (RRE = 0) or rising
edge (RRE = 1) of the data equivalent clock (see figure 21).
XS0 … XS2 … Transmit clock Shift, bits 2 – 0. The transmitted data stream is shifted as shown
in figure 21.
XFE …
Transmit with Falling Edge; data is transmitted with the rising (XFE = 0) or falling
edge (XFE = 1) of the device clock.
Data stream manipulation according to these register entries only affects the system interface and
only in the primary access configuration. The frame structure can be moved relative to the SP slope
by up to 7 clock periods in half clock period steps. This register can hold non-zero values only for a
CFR:CFS value of logical 0. Figure 21 illustrates the clock shifting facility.
Semiconductor Group
41
PEB 2045
PEF 2045
Identical non-zero entries for RS2 – RS0 and XS2 – XS0 as well as identical RRE and XFE generate
an output time-slot structure which is 1 time-slot late relative to the input time-slot structure.
Identical 000 entries for RS2 – R0 and XS2 – XS0 as well as RRE and XFE being logical 0 cause
the input and output frames to coincide in time.
Figure 21
Clock Shifting
Semiconductor Group
42
PEB 2045
PEF 2045
5
Electrical Characteristics
Absolute Maximum Ratings
Parameter
Symbol
Limit Values
Unit
Ambient temperature under bias PEB 2045
TA
0 to 70
˚C
Storage temperature PEB 2045
Tstg
– 65 to 125
˚C
Ambient temperature under bias PEF 2045
TA
– 40 to 85
˚C
Storage temperature PEF 2045
Tstg
– 65 to 125
˚C
Voltage on any pin with respect to ground
VS
– 0.4 to VDD + 0.4
V
DC Characteristics
Ambient temperature under bias range; VDD = 5 V ± 5 %, VSS = 0 V.
Parameter
Symbol
Limit Values
min.
max.
Unit
L-input voltage
VIL
– 0.4
0.8
H-input voltage
VIH
2.0
VDD + 0.4 V
L-output voltage
VOL
H-output voltage
H-output voltage
VOH
VOH
Operational power supply
current
ICC
Input leakage current
Output leakage current
ILI
ILO
Test Condition
V
V
IOL = 2 mA
V
V
IOH = – 400 µA
IOH = – 100 µA
10
mA
VDD = 5 V,
inputs at 0 V or VDD,
no output loads
10
µA
0 V < VIN < VDD to 0 V
0 V < VOUT < VDD to 0 V
0.45
2.4
VDD – 0.5
Capacitances
TA = 25 ˚C, VDD = 5 V ± 5 %, VSS = 0 V.
Parameter
Symbol
Limit Values
min.
Unit
max.
Input capacitance
CIN
10
pF
I/O capacitance
CIO
20
pF
Output capacitance
COUT
15
pF
Semiconductor Group
43
PEB 2045
PEF 2045
AC Characteristics
Ambient temperature under bias range, VDD = 5 V ± 5 %.
Inputs are driven at 2.4 V for a logical 1 and at 0.4 V for a logical 0. Timing measurements are made
at 2.0 V for a logical 1 and at 0.8 V for a logical 0. The AC testing input/output waveforms are shown
below.
2.0
2.0
Device
Under
Test
Test Points
0.8
0.8
C Load = 150 pf
ITS00568
Figure 22
I/O Waveform for AC Tests
µP-Interface Timing
Parameter
Symbol
Limit Values
min.
Unit
max.
Address stable before RD
tAR
0
ns
Address hold after RD
tRA
0
ns
RD width
tRR
90
ns
RD to data valid
tRD
90
ns
Address stable to data valid
tAD
90
ns
Data float after RD
tDF
5
25
ns
Read cycle time
tRCY
160
ns
Address stable before WR
tAW
0
ns
Address hold time
tWA
0
ns
WR width
tWW
60
ns
Data setup time
tDW
5
ns
Data hold time
tWD
15
ns
Write cycle time
tWCY
160
ns
Semiconductor Group
44
PEB 2045
PEF 2045
t RCY
CS
t AR
t RA
t RR
RD
t RD
t AD
DB - DB7
t DF
Data Valid
ITT00590
Figure 23
µP-Read Cycle
t WCY
CS
t AW
t WA
t WW
WR
t DW
t WD
DB0 - DB7
Data Valid
ITT00591
Figure 24
µP-Write Cycle
Semiconductor Group
45
PEB 2045
PEF 2045
PCM-Interface Timing
Parameter
Symbol
Limit Values
min.
Unit
max.
PCM-input setup
tS
0
ns
PCM-input hold
tH
30
ns
PEB 2045 output delay
tD
45
ns
PEF 2045 output delay
tD
50
ns
PEB 2045 tristate delay
tT
55
ns
PEF 2045 tristate delay
tT
60
ns
Clock and Synchronization Timing
Parameter
Symbol
Limit Values
min.
Unit
max.
Clock period 8 MHz high
tCP8 H
40
ns
Clock period 8 MHz low
tCP8 L
48
ns
Clock period 8 MHz
tCP8
120
ns
Synchronization pulse setup 8 MHz
tSS8
10
tCP8 – 20
ns
Synchronization pulse delay 8 MHz
tSH8
0
tCP8 – 20
ns
Clock period 4 MHz high
tCP4 H
90
ns
Clock period 4 MHz low
tCP4 L
90
ns
Clock period 4 MHz
tCP4
240
ns
Synchronization pulse setup 4 MHz
tSS4
10
tCP4 – 30
ns
Synchronization pulse delay 4 MHz
tSH4
30
tCP4 – 10
ns
Data clock delay
tDCD
100
ns
Semiconductor Group
46
PEB 2045
PEF 2045
1020
1021
1022
1023
0
1
2
3
CLK
t CP 8H
t CP 8L
t SS 8
t SH 8
t CP 8
SP
tS
IN 2 Mbit/s
tH
TS 31, Bit 7
OUT 2 Mbit/s
Time-Slot
tS
31, Bit 7
Time-Slot
0 , Bit 0
tH
TS 63 , Bit 6
IN 4 Mbit/s
TS 0 , Bit 0
tD
TS 63 , Bit 7
TS 0 , Bit 0
TS 0 , Bit 1
tD
TS 63 , Bit 6
OUT 4 Mbit/s
TS 63 , Bit 7
tS
TS 127
Bit 4
IN 8 Mbit/s
TS 127
Bit 5
TS 127
Bit 6
TS 0 , Bit 0
TS 0 , Bit 1
tH
TS 127
Bit 7
TS 0
Bit 1
TS 0
Bit 0
TS 0
Bit 2
TS 0
Bit 3
tD
TS 127
Bit 4
OUT 8 Mbit/s
TS 127
Bit 5
TS 127
Bit 6
TS 0
Bit 0
TS127
Bit 7
TS 0
Bit 1
TS 0
Bit 2
Example with delayed output frame
SP
N = 255
OUT 2 Mbit/s
TS 0 , Bit 0
TS 0
Bit 0
OUT 8 Mbit/s
TS 0
Bit 1
TS 0 , Bit 1
TS 0
Bit 2
TS 0
Bit 3
Space switch application
0
1
TS 0
Bit 4
23
TS 0
Bit 5
TS 0
Bit 6
24
TS 0
Bit 7
280
281
SP
IN 8 Mbit/s
~
~~
~
~
~~
~
CLK
tS
N = 70 fixed
TS 127
Bit 7
tH
TS0
Bit 0
tD
TS 127 , Bit 7
TS 0
Bit 0
TS 0
Bit 0
ITT00592
Figure 25
PCM-Line Timing in Standard Configuration with a 8-MHz Device Clock
Semiconductor Group
47
PEB 2045
PEF 2045
1020
1021
1022
1023
0
1
2
3
4
CLK
SP
t SS 8
Synchronous
Interface IN
tS
IN
2 Mbit/s
TS 31, Bit 7
System Interface IN
IN
4 Mbit/s
Synchronous
Interface OUT
System Interface OUT
TS 0 , Bit 0
tH
tS
TS 31, Bit 7
IN
8 Mbit/s
TS 63 , Bit 6
TS 63 , Bit 7
tS
TS 127
Bit 4
TS 127
Bit 5
TS 0 , Bit 0
tH
tS
IN
8 Mbit/s
t SH 8
tH
TS 127
Bit 6
TS 0 , Bit 0
TS 0 , Bit 1
tH
TS 127
Bit 0
TS127
Bit 7
TS 127
Bit 1
TS 127
Bit 2
TS127
Bit 3
tD
OUT
2 Mbit/s
Time-Slot
31, Bit 6
Time-Slot
0 , Bit 0
tD
OUT
2 Mbit/s
TS 31, Bit 7
TS 0 , Bit 0
tD
OUT
4 Mbit/s
TS 63 , Bit 6
TS 63 , Bit 7
TS 0 , Bit 0
TS 0 , Bit 1
tD
OUT
8 Mbit/s
TS 127
Bit 4
TS 127
Bit 5
TS 127
Bit 6
TS127
Bit 7
TS 127
Bit 0
TS 127
Bit 1
TS 127
Bit 2
System Interface TSC
tT
TSC
2 Mbit/s
TS 31, Bit 7
TS 0 , Bit 0
tT
TSC
4 Mbit/s
TS 63 , Bit 6
TS 63 , Bit 7
TS 0 , Bit 0
TS 0 , Bit 1
tT
TSC
8 Mbit/s
TS 127
Bit 5
TS 127
Bit 6
TS 127
Bit 7
t DCD
TS 127
Bit 0
TS 127
Bit 1
t DCD
TS 127
Bit 2
ITT00593
Figure 26
PCM-Line Timing in Primary Access Configuration with a 8 MHz-Device Clock and a CSR
Entry (00010001)
Semiconductor Group
48
PEB 2045
PEF 2045
Figure 27
PCM-Line Timing in Standard Configuration with a 4-MHz Device Clock
Semiconductor Group
49
PEB 2045
PEF 2045
Figure 28
PCM-Line Timing in Primary Access Configuration with a 4-MHz Device Clock and a CSR
Entry (00010001)
Semiconductor Group
50
PEB 2045
PEF 2045
Busy Times
Operation
Max. Value
Unit
Indirect register access
900
ns
Connection memory reset
250
µs
6
Applications
Calculation of Switching Delay for PEB 2045
8-MHz Clock Cycle (tCL = 122 ns)
Output Line / PCM Mode (Mbit/s)
2
4
8
Even Input Line
Odd Input Line
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
64 tCL
60 tCL
56 tCL
52 tCL
48 tCL
44 tCL
40 tCL
36 tCL
80 tCL
76 tCL
72 tCL
68 tCL
64 tCL
60 tCL
56 tCL
52 tCL
∆ C min
∆ C min
0
1
2
3
4
5
6
7
0
1
2
3
0
1
Formula for determining the frame delay:
Fdel = C del – (TS out – TS in) × TS dur + 1024
1024
Fdel
= Frame delay (e.g. Fdel = 1.5 means 1 frame delay and
Fdel = 0.8 means 0 frame delay)
Cdel
= Component delay
TSout = Time-slot number out
TSin
=
∆ C min – (∆ SP – 2)
clock cycles
N=0
N = 2 → ∆ SP = 10
= Time-slot number in
TSdur = Time-slot duration = 32 tCL at 2 Mbit/s
= 16 tCL at 4 Mbit/s
= 8 tCL at 8 Mbit/s
With the above you should be able to calculate the frame delays for all switching possibilities.
Semiconductor Group
51
PEB 2045
PEF 2045
7
Package Outlines
GPL05102
Plastic Package, P-LCC-44
(Plastic Leaded Chip Carrier)
Sorts of Packing
Package outlines for tubes, trays etc. are contained in our
Data Book “Package Information”.
SMD = Surface Mounted Device
Semiconductor Group
52
Dimensions in mm
PEB 2045
PEF 2045
2.54
1.5 max
0.45 +0.1
0.25 40x
40
~~ 1.3
3.7 ±0.3
0.5 min
5.1 max
Plastic Package, P-DIP-40
(Plastic Dual In-line Package)
15.24 ±0.2
0.25 +0.1
14 -0.3
15.24 +1.2
21
1
20
50.9 -0.5
0.25 max
GPD05055
Index Marking
Sorts of Packing
Package outlines for tubes, trays etc. are contained in our
Data Book “Package Information”.
SMD = Surface Mounted Device
Semiconductor Group
53
Dimensions in mm