AN2316 Freescale Semiconductor / Motorola, AN2316 Datasheet - Page 4

no-image

AN2316

Manufacturer Part Number
AN2316
Description
Connecting an MSC8102 TDM to a Time-Slot Interchange Switching Device
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Configuring the MSC8102 TDM
4
Memory resource can become scarce as the number of TDM channels increases. The size of the data
buffers should suit the protocol and the number of active channels. The data buffers of a TDM channel
can be located in the M1 memory of the SC140 cores and in M2 memory. The location of each data buffer
is independent and is indicated in the Receive/Transmit Channel Parameter Registers (RCPRn). The data
buffer size is identical for all receive channels belonging to a TDM module and is indicated by the
TDMx[8–31]:RDBS field. The transmit buffer size is also identical for all the transmit channels
belonging to a TDM module and is indicated by the TDMxTDBS[8–31]:TDBS field. field. In this
example, the data buffers are located in M2 memory, and the size of each buffer is 64 bytes.
The receive data buffer base address is a function of the following:
• Receive Global Base Address. TDMxRGBA[16–31]:RGBA field.
• Receive Channel Data Base Address. TDMxRCPRn[8–31]:RCDBA field.
The transmit data buffer base address is a function of the following:
• Transmit Global Base Address. TDMxTGBA[16–31]:TGBA field.
• Transmit Channel Data Base Address. TDMxTCPRn[8–31]:TCDBA field.
Note:
For example, if the transmit data buffer of channel n is located at the first byte of M2 (address at the local
bus space = 0x2000000), then the following is true:
• Transmit Global Base Address. TDMxTGBA[16–31]:TGBA = 0x200.
• Transmit Channel Data Base Address. TDMxTCPRn[8–31] = 0x0.
TDM0RFP[26–29]:RCS = 0X7
TDM0RFP[30]:RT1 = 0X0
TDM0RFP[31]:RUBM = 0X0
TDM0RDBS[8–31]:RDBS = 0x00003F
TDM0TDBS[8–31]:TDBS = 0x00003F
TDM0RGBA[16–31]:RGBA = 0x00000200
TDM0TGBA[16–31]:TGBA = 0x00000200
Receive data buffer n =RGBA >> 16 + RCDBA
Transmit data buffer n =TGBA >> 16 + TCDBA
Register Setting Summary:
Register Setting Summary:
Bits fields Setting
Table 2. Receive Frame Parameter Register (TDM0RFP) Settings (Continued)
The data buffer base address is in the local bus address space.
Freescale Semiconductor, Inc.
Bit Setting
For More Information On This Product,
Table 3. Receive/Transmit Data Buffer Registers
Go to: www.freescale.com
Receive channel size is 8 bits.
The receive frame is not T1 frame (E1 frame).
The receiver functions in regular mode.
TDM0RFP = 0x003F011C,TDM0TFP = 0x003F011C
The receive data buffer size is 64 bytes.
The transmit data buffer size is 64 bytes.
The receive global base address points to the start of the local bus
memory map (M2).
The transmit global base address points to the start of the local bus
memory map (M2).
TDM0RDBS = 0x0000003F, TDM0TDBS = 0x0000003F,
TDM0RGBA = 0x00000200, TDM0TGBA = 0x00000200
Description
Description

Related parts for AN2316