Part Number Hot Search : 
10040 P13N06 2SD10 ADC170F BR9771PM NTF3N08 R310PM 10040
Product Description
Full Text Search
 

To Download 1961218 Datasheet File

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


  Datasheet File OCR Text:
 PMC-Sierra, Inc. APPLICATION NOTE
ISSUE 1
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
PM7364 FREEDM INTERFACING THE FREEDM TO THE ST-BUS
PRELIMINARY Issue 1: February, 1997
PMC-Sierra, Inc. 105 - 8555 Baxter Place, Burnaby, BC Canada V5A 4V7 604 415 6000
PMC-Sierra, Inc. APPLICATION NOTE
ISSUE 1
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
CONTENTS OVERVIEW .......................................................................................................... 2 COMPARISON OF FREEDM AND ST-BUS DIGITAL FORMAT ......................... 3 Limitations of the Interface ........................................................................... 4 Mapping of FREEDM Channels to the Data Stream of the ST-BUS ............ 4 TIMING CONSIDERATIONS ................................................................................ 7 Description of ST-BUS Component Signals ................................................. 7 Description of FREEDM Serial Port Signals ................................................. 7 Conclusions Concerning Timing ................................................................... 9 Recommended Logic at the Interface ........................................................... 10 REFERENCES .................................................................................................... 11 CONTACTING PMC-SIERRA ............................................................................. 12 NOTES ................................................................................................................ 13
1
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
OVERVIEW The ST-BUS (Serial Telecom Bus) is commonly used as a means of communication and information transfer between modules of a system. It is a high speed, synchronous serial bus and transports information in a digital format. This format can be interfaced to one or more of the 32 bi-directional serial ports of a FREEDM device. This application note examines the mapping of FREEDM channels to ST-BUS channels. It also describes the signals required to interface a FREEDM serial port to a ST-BUS and provides a drawing of the digital logic for the interface. The ST-BUS supports information streams at aggregate rates of 2.048, 4.096 and 8.192 Mbit/s. It also supports two types of frame alignment. This application note addresses only the 2.048 Mbit/s information stream with type 0 frame alignment, and with a 2.048 MHz ST-BUS clock.
2
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
COMPARISON OF FREEDM AND ST-BUS DIGITAL FORMAT A serial port on the FREEDM must be configured for E1 channelized operation to interface with the digital format of an ST-BUS. For this mode of operation the digital timing shown in figure 1 applies. Fig. 1 Comparison of Digital Format FREEDM TCLK[n] TD[n]
B6 B7 B8 B1 B1 B1 B1 B1 B1 B1 B1 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 31 FAS / NFAS TS 1 TS 2
RCLK[n] RD[n]
B6 B7 B8 F1 F2 F3 F4 F5 F6 F7 F8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 31 FAS / NFAS TS 1 TS 2
ST-BUS F0 C2 BITS
B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 31 TS 0 TS 1 TS 2
The ST-BUS configuration is for type 0 frame alignment and a 2.048 Mbit/s clock. The digital signal is synchronous and is composed of 125 usec frames, each with 32 timeslots. The frame alignment signal marks the end of one frame and the first time slot within the following frame. For the ST-BUS a seperate waveform provides the frame alignment signal, whereas the FREEDM achieves frame alignment by gapping of the RCLK and TCLK waveforms. The first bit within a time-slot is B1, and it is the most significant bit.
3
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
The synchronous clock frequency is the same for both formats except that the signals, RCLK and TCLK, of the FREEDM are inverted with respect to the ST-BUS clock. Also, RCLK and TCLK are gapped for frame alignment. Since the clock waveforms are inputs to the FREEDM they can be derived from the ST-BUS by inverting C2, and gapping it for the frame alignment signals (see figure 3). Limitations of the Interface * The ST-BUS was designed to allow nodes in a system to source and sink information on the same bus. For this reason tri-state buffers are used to prevent multiple nodes from driving the bus during the same time-slot. The FREEDM transmit ports are not tri-stated. Thus only one transmit serial port may be connected to an ST-BUS as it drives all 32 time-slots. Multiple FREEDM receive ports can be connected to the same ST-BUS provided the total load of the receive ports does not exceed the drive capability of the source of the data stream. As stated previously time-slot 0 of the ST-BUS in not available due to gapping of the RCLK and TCLK waveforms.
*
*
Mapping of FREEDM Channels to the Data Stream of the ST-BUS A FREEDM device is capable of processing 128 transmit and 128 receive HDLC channels. Each time-slot (except time-slot 0) within the digital format can be mapped into an HDLC channel of the FREEDM, or multiple time-slots can be mapped into an HDLC channel of the FREEDM. A receive channel is composed of time-slots within a serial data stream as per the following steps: 1) Configure the receive serial port for channelized E1 operation. Specify CEN = 1, E1 = 1, and LDLBEN = 0 within the RCAS Link#n Configuration register that belongs to one of the 32 receive serial ports being attached to the ST-BUS. 2) Configure the width of the frame alignment gap of RCLK. Specify FTHRES[6:0] within the RCAS Framing Bit Threshold register. This value is specified as a multiple of SYSCLK corresponding to the expected link bit rate. The programmed value applies to all receive links on a FREEDM. 3) For each time-slot (1 thru 31) of this link configure a FREEDM receive channel to either extract or ignore the data within the time-slot. A receive channel can extract data of just one time-slot or multiple time-slots. The following procedure should be applied for each of 31 time-slots:
4
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
To map the time-slot to a receive channel the RCAS Indirect Channel Data register followed by the RCAS Indirect Link & Time-slot Select register must be programmed. Specify the receive channel number (in the range 0 thru 127) within CHAN[6:0], CDLBEN=0, and PROV=1 for time-slot data that is extracted from the ST-BUS. If the data is not to be extracted then specify PROV=0 instead of PROV=1. Specify the time-slot (in the range 1 thru 31) within TSLOT[4:0], the link (in the range 0 thru 31) within LINK[4:0], and RWB=0 to write the values from these registers into the FREEDM configuration RAM. A transmit channel is compsed of time-slots within a serial data stream as per the following steps: 1) Configure the transmit serial port for channelized E1 operation. Specify CEN = 1, and E1 = 1 within the TCAS Link#n Configuration register that belongs to one of the 32 transmit serial ports being attached to the ST-BUS. 2) Configure the width of the frame alignment gap of TCLK. Specify FTHRES[6:0] within the TCAS Framing Bit Threshold register. This value is specified as a multiple of SYSCLK corresponding to the expected link bit rate. The programmed value applies to all transmit links on a FREEDM. 3) Specify the value driven onto the ST-BUS for time-slots that are configured as not being driven by a transmit channel. This is done via FDATA[7:0] within the TCAS Idle Time-Slot Data register. 4) For each time-slot (1 thru 31) of this link, either configure a transmit channel to fill the time-slot, or configure the time-slot to be filled with an idle byte value. A transmit channel can fill data into just one time-slot or multiple time-slots. The following procedure should be applied for each of 31 time-slots: To map the time-slot to a transmit channel the TCAS Indirect Channel Data register followed by the TCAS Indirect Link & Time-slot Select register must be programmed. Specify the transmit channel number (in the range 0 thru 127) within CHAN[6:0], and PROV=1 for time-slot data that is driven by the transmit channel. If the data is not to be taken from the transmit channel then specify PROV=0 instead of PROV=1. Specify the time-slot (in the range 1 thru 31) within TSLOT[4:0], the link (in the range 0 thru 31) within LINK[4:0], and RWB=0 to write the values from these registers into the FREEDM configuration RAM. Table 1 shows an example for mapping of a T1 stream within a ST-BUS. In this example the TOCTL provides the T1 stream to the FREEDM via the ST-BUS. To configure the first receive channel of the FREEDM to receive a B-channel from timeslot 5 of the T1 data stream, and the ST-BUS is attached to the third serial port, the following is programmed:
5
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
1) Specify CEN=1, E1=1 and LDLEN = 0 within RCAS Link#2 Configuration register. 2) For a 33Mhz SYSCLK, the default value of RCAS Framing Bit Theshold register is valid. There is no need to program this register. 3) Specify CHAN[6:0] = 0, CDLBEN=0, and PROV=0 within the RCAS Indirect Channel Data register. Then for each time-slot in the range 1 thru 31 specify TSLOT[4:0] , LINK[4:0]=2, and RWB=0 within the RCAS indirect Link & Timeslot Select register. This will overwrite provisioning information that may have existed on receive channel 0. This channel is now unprovisioned within the RCAS block. 4) Provision receive channel 0 to extract data from time-slot 5 of the data stream as follows. Specify CHAN[6:0] = 0, CDLBEN=0, and PROV=1 within the RCAS Indirect Channel Data register. Then specify TSLOT[4:0]=6 (see table 1), LINK[4:0]=2, and RWB=0 within the RCAS indirect Link & Time-slot Select register. Table. 1 Mapping of T1 Time-slots From TOCTL to FREEDM via the ST-BUS
PROV 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1 0
TSLOT[4:0] T1 Time-slot 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 n/a 4 5 6 n/a 7 8 9 n/a 10 11 12 n/a
PROV 1 1 1 0 1 1 1 0 1 1 1 0 1 1 1
TSLOT[4:0] T1 Time-slot 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 13 14 15 n/a 16 17 18 n/a 19 20 21 n/a 22 23 24
6
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
TIMING CONSIDERATIONS The timing requirements for the FREEDM must be better than the worst case timing provided by the bus to a ST-BUS component. A comparison of worst case timing is provided in the following sections. It describes the signals required to interface a STBUS component to the bus, a FREEDM serial port to the bus, and then provides the timing values for comparison. Description of ST-BUS Component Signals C2 FO The 2.048 Mbit/s clock signal is an input to a ST-BUS component. The framing signal is an active low pulse which marks the end of the 31st time-slot, or the start of the 1st time-slot. This signal is an input to a ST-BUS component. This is the data stream output of a ST-BUS component. This is the data stream input to a ST-BUS component.
STo STi
Description of FREEDM Serial Port Signals RCLK[n] The receive data clock signal is an input to a FREEDM serial port, where n is the port number. This signal is gapped for frame alignment. The transmit data clock signal is an input to a FREEDM serial port, where n is the port number. This signal is gapped for frame alignment. This is the data stream output by a FREEDM serial port, where n is the port number. This is the data stream input to a FREEDM serial port, where n is the port number.
TCLK[n]
TD[n] RD[n]
7
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
Fig. 2 FREEDM and ST-BUS Timing
t C2 t STo
C2H
t C2L
SToD
t STiS STi RCLK[n] or TCLK[n] tP TD TD[n] tS RD RD[n]
t
STiH
tH RD
8
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
Table. 2 ST-BUS and FREEDM Component Timing Values
Characteristic Clock C2 High Width Clock C2 Low Width STo Delay STi Setup Time STi Hold Time TD Delay (link #0,1,2) TD Delay (link #3-31) RD Setup Time RD Hold Time
Min 220 220 20 30 224 2 5 5 5
Max 268 268 125
Units ns ns ns ns ns
10 25
ns ns ns ns
Conclusions Concerning Timing * * The FREEDM receive data setup and hold times, and the transmit data propagation delay, meet the requirements for a ST-BUS component. The FREEDM is a TTL device, and an interface to ST-BUS components which are CMOS devices must be investigated. The timing may be affected by duty cycle distortion, and the ability of the CMOS device to drive a number of receive serial ports across the bus. The FREEDM is a 3.3V device, capable of interfacing to 5V devices. The interface timing may need to be investigated for the component which is interfaced to the FREEDM. The digital logic required to generate the gap in RCLK or TCLK will introduce timing delay. The delay must be investigated and compared with the worst case timing values, and it should be negligable. Each ST-BUS component will have different timing values, likely better than the worst case timing values shown here. The interface timing needs to be examined for the component which is interfaced to the FREEDM.
*
*
*
9
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
Recommended Logic at the Interface The digital logic shown in figure 3 indicates how to interface the data stream of the ST-BUS to either a receive port or a transmit port of the FREEDM. A FREEDM device can be connected to as many as 64 ST-BUS's since there are 32 receive ports and 32 transmit ports. This drawing can be extended for the number of ports that are connected to a ST-BUS. For systems in which C2 of all ST-BUS's are synchronized only one of the circuits of figure 3 is required. In this case the drawing does not need to be extended for all ports connected to a ST-BUS, and all FREEDM ports are clocked from the same signal. Fig. 3 Digital Logic of FREEDM / ST-BUS Interface
RCLK[n] or TCLK[n]
F0 C2 STo/STi
D
Q
D
Q
D
Q
D
Q
D
Q
D
Q
D
Q
D
Q
CLK
CLK
CLK
CLK
CLK
CLK
CLK
CLK
RD[n] or TD[n]
10
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
REFERENCES [1] PMC-931127, PMC-Sierra, "Frame Relay Protocol Engine and Datalink Manager" Standard Product Datasheet, July, 1996, Issue 5 [2] MSAN-126, Mitel Semiconductor, "ST-BUS Generic Device Specification (Rev. B)" Application Note
11
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
CONTACTING PMC-SIERRA PMC-Sierra, Inc. 105 - 8555 Baxter Place Burnaby, B.C. Canada V5A 4V7 Telephone: Facsimile: 604-415-6000 604-415-6200 info@pmc-sierra.bc.ca apps@pmc-sierra.bc.ca http://www.pmc-sierra.com
Product Information: Applications information: World Wide Web Site:
12
PMC-Sierra, Inc. APPLICATION NOTE
PMC-961218 ISSUE 1 FEBRUARY, 1997
PM7364 FREEDM
Interfacing the FREEDM to the ST-BUS
NOTES
Seller will have no obligation or liability in respect of defects or damage caused by unauthorized use, mis-use, accident, external cause, installation error, or normal wear and tear. There are no warranties, representations or guarantees of any kind, either express or implied by law or custom, regarding the product or its performance, including those regarding quality, merchantability, fitness for purpose, condition, design, title, infringement of third-party rights, or conformance with sample. Seller shall not be responsible for any loss or damage of whatever nature resulting from the use of, or reliance upon, the information contained in this document. In no event will Seller be liable to Buyer or to any other party for loss of profits, loss of savings, or punitive, exemplary, incidental, consequential or special damages, even if Seller has knowledge of the possibility of such potential loss or damage and even if caused by Seller's negligence. (c) 1997 PMC-Sierra, Inc. PMC-961218 Printed in Canada Issue date: February, 1997
PMC-Sierra, Inc.
105 - 8555 Baxter Place, Burnaby, BC Canada V5A 4V7 604 415 6000


▲Up To Search▲   

 
Price & Availability of 1961218

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

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


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