AN2313 Freescale Semiconductor / Motorola, AN2313 Datasheet

no-image

AN2313

Manufacturer Part Number
AN2313
Description
Connecting an MSC8102 TDM to an MSC8101 Device
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
AN2313/D
Rev. 0, 8/2002
Connecting an
MSC8102 TDM to an
MSC8101 Device
by Yael Kahil
CONTENTS
1 MSC8102 TDM to
2 Configuring the
3 Configuring the
3.1 Buffer Description
3.2 Global Parameters...... 7
3.3 MCC Control
3.4 Channel-Specific
3.5 Channel Extra
3.6 Circular Interrupt
3.7 Serial Interface RAM 10
3.8 Clocks and Baud-
3.9 Parallel I/O Pins ....... 11
3.10 TDMA........................ 11
MSC8101 Interface........ 1
MSC8102 TDMs ............ 2
MSC8101 MCCs............ 6
Tables .......................... 6
Registers...................... 8
Parameters .................. 8
Parameters .................. 9
Queues....................... 10
Rate Generation ........ 10
The MSC8102 time-division multiplex (TDM) interface allows many devices to communicate over a
single bus by using channels that have individual time slots shared in a larger transmit frame. One device
drives the bus (transmit) for each channel time slot. Each active device drives its active transmit channels
and samples its active receive channels. It is the system designer’s responsibility to ensure that there is no
conflict in transmit channel allocation.
The TDM interface consists of four identical and independent TDM modules, each supporting 256
channels running at up to 50 Mbps with 2, 4, 8, and 16-bit word sizes. The TDM bus connects gluelessly
to most T1/E1 frames as well as to common buses such as the H.110, SCAS, and MVIP.
This document presents an example in which one MSC8102 TDM is connected to the multi-channel
controllers (MCCs) of an MSC8101 device. The application note first describes the physical interface
between the MSC8102 and MSC8101 devices and then explains how to configure one MSC8102 TDM
module and the MSC8101 MCCs.
1
A general TDM interface is implemented with four 8-bit channels. The MSC8102 TDM clocks are
always driven from an external source. In our example, the MSC8101 baud-rate generator 1 output
(BRG1O) supplies the clock to the MSC8102 and MSC8101 devices. The MSC8102 TDM0 generates
the frame sync signal. Figure 1 shows the connection between the MSC8102 and MSC8101 devices.
MSC8102 TDM to MSC8101 Interface
Freescale Semiconductor, Inc.
For More Information On This Product,
MSC8102
TDM0
Memory Controller
Go to: www.freescale.com
Figure 1. MSC8102 to MSC8101 Connections
TDM0TDAT
TDM0TSYN
TDM0RDAT
TDM0TCLK
SI1 TDMA1:L1RXDO
SI1 TDMA1:L1TXDO
CLK9
BRG1O
SI1 TDMA1:L1RSYNC
Microprocessor
Interface
MSC8101

Related parts for AN2313

AN2313 Summary of contents

Page 1

... Freescale Semiconductor, Inc. Application Note AN2313/D Rev. 0, 8/2002 Connecting an MSC8102 TDM to an MSC8101 Device by Yael Kahil The MSC8102 time-division multiplex (TDM) interface allows many devices to communicate over a single bus by using channels that have individual time slots shared in a larger transmit frame. One device drives the bus (transmit) for each channel time slot ...

Page 2

Configuring the MSC8102 TDMs Figure 2 shows a timing diagram for the interface between the MSC8102 and MSC8101. The TDM frame supports four 8-bit channels. SYNC Channel 0 Data TDM0TCLK TDM0TSYN TDM0RDAT TDM0TDAT Note: The TDM0TDATA and TDM0RDAT ports function ...

Page 3

Freescale Semiconductor, Inc. Table 1. TDM0 Interface Register Settings Bit Setting TDM0GIR[28–31]:RTSAL] = 0x4 The receive and transmit have a common clock and sync. The TDM receives one data link (TDM0RDAT) and transmits one data link (TDM0TDAT). TDM0GIR[27]:CTS = 0x0 ...

Page 4

Configuring the MSC8102 TDMs • Receive Channel Data Base Address. TDMxRCPRn[8–31]:RCDBA field. Receive data buffer n =RGBA >> RCDBA The transmit data buffer base address is a function of the following: • Transmit Global Base Address. TDMxTGBA[16–31]:TGBA field. ...

Page 5

Freescale Semiconductor, Inc. Table 4. Receive/Transmit Channel Parameter Register Settings (Continued) Bit Setting TDM0TCPR2 = 0x80000300 The transmit data buffer of channel 2 is located at an offset of 768 bytes (refer to the TDMxTGBA[16–31]:TGBA field). The address of transmit ...

Page 6

Configuring the MSC8101 MCCs 3 Configuring the MSC8101 MCCs The MSC8101 CPM contains two MCC blocks, each providing up to 128 full-duplex serial data channels routed through the programmable time-slot assigner (TSA) in the serial interfaces, SI1 and SI2. Target ...

Page 7

Freescale Semiconductor, Inc. Address (Two-Byte Field) 0x10030 0x10038 Address (2 Byte Field) 0x11000 0x11008 0x11010 0x11018 0x11020 0x11028 0x11030 0x11038 3.2 Global Parameters Each MCC has a set of global parameters in the DPRAM that are common to all channels ...

Page 8

Configuring the MSC8101 MCCs Address 0x14708714 0x14708718 0x1470871C 0x14708720 0x14708724 0x1470872C 0x1470872E 0x14708730 0x14708734 0x14708738 0x1470873C 0x14708740 0x14708744 0x14708748 0x1470874c 0x14708750 0x14708754 0x14708758 0x1470875C 0x14708760 3.3 MCC Control Registers Part of the global set- initialize the three main ...

Page 9

Freescale Semiconductor, Inc. Address 0x14700000 0x14700004 0x14700008 0x1470000C 0x14700010 0x14700012 0x14700014 0x14700018 0x1470001A 0x14700020 0x14700024 0x14700028 0x1470002c 0x14700030 0x14700032 0x14700034 0x14700038 0x1470003A 3.5 Channel Extra Parameters Each MCC channel has an 8 byte allocation for parameters defining the actual address ...

Page 10

Configuring the MSC8101 MCCs 3.6 Circular Interrupt Queues Each unmasked channel interrupt generated during the transmission and reception of data creates an entry in an interrupt queue.The receive and transmit entries are held in separate tables. In this example, RINT0 ...

Page 11

Freescale Semiconductor, Inc. 3.9 Parallel I/O Pins The CPM interface is essentially a set of I/O pins that can be configured for either a peripheral or general-purpose function. The multiplexed peripheral pins for TDMA are configured through the parallel I/O ...

Page 12

... Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office. digital dna and StarCore are trademarks of Motorola, Inc. All other product or service names are the property of their respective owners. Motorola, Inc Equal Opportunity/Affirmative Action Employer. © Motorola, Inc. 2002 AN2313/D For More Information On This Product, Go to: www.freescale.com ...

Related keywords