4 USER GUIDE....................................................................................................................................................................4
4.2.1 Single MSC8101 with Default Configuration..........................................................................................................5
4.2.2 MSC8101 Boot thro ug h HD I1 6..................................................................................................... ..........................6
4.2.3 MSC8101 Ethernet /U t op i a Op t i on s .................. .......................................................................................................6
4.2.4 MSC8102 DSI Optio n s............................................................................................................................................6
5.2.2 MSC8101 FLA SH Inte rf ace..................................................................................................................................11
5.2.3 MSC8101 60x to DSI Interface.............................................................................................................................12
5.2.3.1MSC8101 60x to DSI Interface: Synchronous mode.....................................................................................12
5.2.3.2MSC8101 60x to DSI Interface: Asynchronous mode...................................................................................13
5.2.4 MSC8101 to MSC8102 Interrupt Connectivity......................................................................................................13
5.2.5 MSC8101 FCC Interf ac e.................................. ................................................... ..................... .............................15
5.2.8 MSC8101 RS232 Inter fa ce....................................................................................................................................16
5.2.9 MSC8101 Host Interf ace (H D I 16)........................................................................................................................16
5.3.4 MSC8102 RS232 Inter fa ce....................................................................................................................................21
6 FIRMWARE IMPL E MEN TA TION.............................................................................................................................32
7 PFC BASE CARD...........................................................................................................................................................37
APPENDIX A PFC PARTS..................................................................................................................................................... 41
ii PFC_DDD_v1.3.doc
APPENDIX B PFC BASE CARD PARTS..............................................................................................................................43
APPENDIX C JTAG CONFIGURATION FILE (21 CORES).............................................................................................44
APPENDIX D PFC LAYOUT.................................................................................................................................................45
FIGURE 6.PFC TO DSIINTERFACE...............................................................................................................................................13
FIGURE 15.MSC8102 AND SDRAMCLOCKING .......................................................................................................................... 23
FIGURE 16.SETTING VOUT WITH RESISTOR-DIVIDER..................................................................................................................24
TABLE 2.MSC8101BOOT FROM FLASH ........................................................................................................................................ 5
TABLE 3.MSC8102BOOT THROUGH DSI......................................................................................................................................5
TABLE 4.FULL CHAIN (JTAG OF 21)..............................................................................................................................................5
TABLE 19.TDM TO CTSTREAM ROUTING..................................................................................................................................21
This document provides user guide information and a detailed design description of the MSC8102
Packet Telephony Farm Card.
1.2 Reference Documents
The documents listed in the table below are referenced in this document.
Table 1. Reference Documents
Reference Document
Number
1 IEEE P1386.1 Standard Physical and Environmental
2 IEEE P1386 Standard for a Common Mezzanine
3 PICMG 2.15 CompactPCI PCI Telecom
4 H.100 H.100 Hardware Compatability
Description Revision Date
Layers for PCI Mezzanine Cards: PMC
Card Fa mi l y: CMC
Mezzanine/Card Card Specification
Specification : CT Bus
Draft 2.4 January 12,
2001
Draft 2.4a March 21,
2001
R1.0 April 11, 2001
1.0
1 PFC_DDD_v1.3.doc
2 PFC Overview
The Packet Telephony Farm Card is a PCI Telephony Mezzanine Card (PTMC) designed primarily as
an MSC8102 upgrade and Media Gateway evaluation product for Media Gateway Systems. It is
designed around the Star-Core MSC8102 16 bit fixed point DSP device from Motorola Semiconductor.
The PFC DSP farm card utilizes five MSC8102 devices and a MSC8101 to aggregate the data to/from
the DSP farm. Each MSC8102 DSP has an associated 4M x 32 (16MB) SDRAM. The aggregator has
a separate 2M x32 (8MB) SDRAM.
The PFC interfaces with a baseboard platform via its PTMC site. A PTMC is a PMC module, which
conforms to the PMC standard for Jn1 and Jn2, but uses Jn3 and Jn4 to support a variety of telecom
interfaces. The PTMC site on the Media Gateway is configured as PT3MC, a subset of the PTMC
specification, which supports UTOPIA, RMII and CT bus interfaces on Jn3/4. An optional fifth
connector (Jn5) has been added to support the two MII interfaces available from the MSC8101; Jn5 is
a proprietary connector, effectively supporting an enhanced PTMC, which is backward compatible
with existing PTMCs.
Data movement around the board is primarily through the use of 10/100 Mb/s Ethernet (single RMII or
dual MII interfaces) or UTOPIA and a Computer Telephony local bus through the PTMC connectors.
Additionally an I2C management interface is facilitated through PTMC J3 connect or. Additional I/O
includes HDI16, RS232 and OnCE JTAG ports for Debug.
The PFC is targeted to interface with Motorola Packet Telephony enhanced PTMC baseboards such as
the PDK demonstration system, as well as interfacing with standard customer PTMC Type III
baseboards.
Figure 1. MSC8102 - Packet Telephony Farm Card
2 PFC_DDD_v1.3.doc
3 PFC Feature List
PFC Platfor m
Digital Support for up to 672 chan nels
PTMC Type 3 form card for interfacing to standard subsystems
MSC8101 Aggregator
One MSC8101 DSP communications processor with:
10/100BaseT Fast Ethernet via PTMC Interface
RMII Ethernet via PTMC Interface
UTOPIA interface via PTMC Interface
Host Interface to enable Host control of Aggregator via PTMC Interface
64-bit/32-bit PPC interface to the MSC8102 DSI port for on board data
distribution to DSP Farm
RS232 interface on board
4MByte of Flash for System Bootstrap
8MByte of SDRAM
MSC810 2 Farm
Five MSC8102s DSPs each with
TDM interface (CT Bus) via PTMC interface
64-bit/32-bit DSI Slave port interfacing to the MSC8101 PPC (via FPGA) for data
distribution
DSI-Asynchronous mode of ope ration
DSI-Synchronous mode of operation
16MByte of SDRAM
MSC8102 DSP1 has RS232 interface on board
FPGA
PPC to DSI translation for synchronous DSI
Transparent mode for asynchronous DSI
Routing of MSC8102 to MSC8101 interrupts
CPORT cluster interface
MII to RMII conversion
Debug
Chained DSP EONCE port with option to configure the full 5 MSC8102s and
MSC8101 chain or only the MSC8101 DSP.
SMC2 RS232 Connection to the MSC8101
UART connection to one MSC8102
Break out card allows access to Utopia interfaces via connectors
Power Supply
For stand al one ope rat i on 5V / 3.3V su ppl ie d e xte rn ally via bas e ca rd w it h opti on t o
supply 1.6V externally or via on board PFC 5V to 1.6V step down.
3 PFC_DDD_v1.3.doc
4 User Guide
4.1 Quick Start
1. Start the Start the Codewarrior tools and ensure that the command converter is running
2. Connect a dual supply to the 5V, 3.3V and 0V on the JP1 connector of the Base Card.
3. The parallel command converter should also be connected to P 3 on the P FC to enable JTAG
access, reference Figure 2.
3.3V
0V
0V
3.3V
5V
5V
Host
Host
Host
Computer
Computer
Computer
Command
Command
Command
Converter
Converter
Converter
Figure 2. PFC Setup
4. Set the switch settings as per Table 2, Table 3 and Table 4.
5. Power up the PFC, which will now automatically bootstrap in the following modes:
•MSC8101 Boot from Flash
o Operating frequency: 275 MHz Core/ 138 MHz CPM / 69MHz system bus
•MSC8102 Boot through DSI
o Operating frequency: 250MHz core/ 83MHz system bus
o 32-bit asynchronous DSI
•JTAG of 21 cores
Each DSP LED will light after approximately 4 seconds (delay due to FPGA programming)
indicating a successful bootstrap.
6. The user can now use the StarCore Codewarrior tools to access the DSPs. Note that the user
should ensure the following:
o That reset on connect is NOT selected (a tools reset will restart the boot process,
preventing MSC8102 DSP JTAG access)
4 PFC_DDD_v1.3.doc
o The JTAG file “PFCjtag21.cfg” is selected. The file listing and core JTAG
numbering is detailed in Appendix C.
Table 2. MSC8101 Boot from Flash
Feature Settings Comments
SW3.1 OFF
SW3.2 OFF
SW3.3 ON
SW3.4 ON Boot=0, Host Port disabled, Boot from external memory.
SW3.8 ON RSTCONF=0, Reset Configuration Master
Feature Settings Comm ents
SW2.1 OFF CNFGS=1 [MSC8102 Boot Over DSI]. Keeps MSC8102s in reset
SW2.2 ON
SW2.3 OFF
SW2.4 ON DSI64 =0, DSI is 32-bit
SW2.5 ON DSISYNC=0, DSI operates in asynchronous mode
SW2.6 ON SWTE=0, Software WDT disabled
SW2.7 ON RSTCONF=0 [MSC8102 Boot over DSI]. Keeps MSC8102s in reset
To initialize the MSC8101 with its default Reset Configuration Word, set the switch settings detailed
in Table 5 and Table 8 (MSC8101 only). Note that this mode allow tools access to the MSC8101 only
(the MSC8102s will remain in reset), and should be used when the flash is blank or corrupted.
The MSC8102 DSI port cam be configured into 1 of 4 modes
• 32-bit wide Asynchronous Mode
• 64-bit wide Asynchronous Mode
• 32-bit wide Synchronous Mode
• 64-bit wide Synchronous Mode
The PFC is delivered with 32-bit wide asynchronous mode as standard, which is preprogrammed in
Flash memory. To implement a different mode the user should contact Motorola to obtain the required
firmware.
4.2.5 JTAG options
There are 2 JTAG options available as detailed in Table 8:
Table 8. JTAG Options
Description Feature Settings
MSC8101 only JP1 P os 2-3
6 PFC_DDD_v1.3.doc
SW2.8 OFF
JP1 Pos 1-2 Full Chain (21 cores)
The JTAG configuration file for 21 cores is listed in Appendix C.
4.3 Programming Flash
The PFC uses the same Flash (AM29LV320DB) as the MSC8102ADS so the option exists to use
either the Metrowerks Code-warrior or PFC specific Flash Programmer (consult Motorola for
additi onal details on program ming Flash).
SW2.8 ON
7 PFC_DDD_v1.3.doc
5 Hardware Description
This section describes the Packet Telephony Farm Card Hardware. The Hardware architecture has
been partitioned into the following logical sections: Aggregator, DSP Processing Array, General Board
Config ur at i o n, Fi r mware and P FC Ba s e Ca rd.
5.1 Board Architecture
The board architecture of the Packet Telephony Farm Card is shown in Figure 3.
CT Bus
CT Bus
PN2
CT Bus
CT Bus
CT Bus
CT Bus
CT Bus
CT Bus
CT Bus
CT Bus
PN2
PN2
PN2
PN2
PN2
PN2
PN2
PN2
PN2
PN1
PN1
PN2
PN2
PN4
PN4
PN5
PN5
PN5
PN5
PN3
PN3
CPORT GMII
CPORT GMII
Interface
Interface
Host
Host
UTOPIA
UTOPIA
Ethernet
Ethernet
(MII 1)
(MII 1)
Ethernet
Ethernet
(MII 2)
(MII 2)
Ethernet
Ethernet
(RMII)
(RMII)
MUX
MUX
FPGA
FPGA
FCC1
FCC1
FCC2
FCC2
SMC2
SMC2
MSC8101
MSC8101
LATCH
LATCH
MUX
MUX
8MB
8MB
SDRAM
SDRAM
Buffer
Buffer
64/32-bit
64/32-bit
60x
60x
LATCH
LATCH
FLASH
FLASH
4MB
4MB
FPGA
FPGA
8-bit32-bit
8-bit32-bit
32/64-bit
32/64-bit
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
DSI
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
MSC8102
32-bit
32-bit
32-bit
32-bit
32-bit
32-bit
32-bit
32-bit
32-bit
32-bit
16MB
16MB
SDRAM
SDRAM
16MB
16MB
SDRAM
SDRAM
16MB
16MB
SDRAM
SDRAM
16MB
16MB
SDRAM
SDRAM
16MB
16MB
SDRAM
SDRAM
Figure 3. Packet Telephony Farm Card Architecture
This can be split into 2 main blocks
1. MSC8101 Aggregator Processor
2. MSC8102 Farm
Under typical operating conditions the MSC8101 is used to terminate ATM or 10/100BaseT Ethernet
packet traffic from a host card via its PTMC interface, with the subsequent data placed in the
MSC8101’s internal SRAM or external SDRAM. The data is then distributed to the MSC8102 farm for
processing via the MSC8102 DSI port with the FPGA performing the 60x bus to DSI translation
(NOTE: the FPGA has been incorporated to allow synchronous DSI transfer – it is not required for
asynchronous DSI transfers). After MSC8102 processing the data is dispatched through the MSC8102
TDM interfaces to the PTMC CT Bus.
5.2 MSC8101 Aggregator & 60x Bus Interface
The Aggregator terminates the packet protocol and transfers Media Data to and from the DSP Array
through its 60x bus. The 60x interface to the MSC8102 DSI can be configured as 32 or 64-bit wide.
When configured for 32-bit operation an external host can access the host port (HDI16) of the
MSC8101 aggregator for bootstrap and ongoing data exchange and control. 4 MB of 8-bit wide Flash
is connected to the MSC8101 60x bus for configuration, boot and execution code (for all 6 DSPs). 8
MBytes of 32-bit wide SDRAM also hangs off this bus to provide adequate storage during real time
operation. It should be noted that the address bus is latched to the SDRAM and Flash memories due to
the 60x compatible mode used (when running in DSI Synchronous mode). The data bus is un-buffered
to the memories and FPGA but buffered for the HDI16 port. The SDRAM is not required for normal
Aggregation functions and has been incorporated purely for maximum flexibility.
Table 9 details the MSC8101 Chip selects used for the 60x bus devices.
The Aggregator 60x bus incorporates 64M-bit x32-bit wide x4 bank Micron MT48LC2M32B2
SDRAM surface mounted onto the board providing 8 MBytes of general-purpose system RAM. The
MSC8101’s Chip Select 2 is used to select the SDRAM devices through the SDRAM controller, which
is capable of interfacing to JEDEC compatible SDRAM, the settings of which are now described.
• SDRAM size is 512k x 32 x 4 Ba nks = 8MBytes, which requires 2 3 a ddress lines.
• Device has 8 column and 11 Row lines, 2 Bank Selects. The 32-bit port size means addresses
30 and 31 are not used.
For Page based Interleaving the 60x bus is arranged as follows:
A[9:19] A[20:21] A[22:29] A[30:31]
Row (x11) Bank Select Column (x8) LSB
This gives the following MSC8101 Registers settings:
• PSDMR[PBI] = 1, Page Based Interleaving
• ORx[BPD] = 01, 4 Ba nks per device
• ORx[ROWST] = 1001, Row Starts at A9
• ORx[NUMR]= 010, SDRAM has 11 Row lines
From the SDRAM perspective during an ACTIVATE command it’s address port will look like:
A9:A19 A17:A18 A19:A29 A30:A31
--- Internal Bank Select
(A[20:21])
Peripheral
Row(A[9:19]) LSB
While a Read/Write will look like:
A9:A19 A17:A18 A[19:21] A[22:29] A30:A31
--- Internal Bank Select
(A[20:21])
Which gives the following regist er settings:
• PSDMR[SDAM] = 010, A[9:19] muxed to A[19:29]
• PSMDR[BSMA] = 100, A[17-18] are used as Bank Selects Signals
OP = 000 Normal Operation
SDAM = 010 A[9:19] multiplexed to A[19:29]
BSMA = 100 A17-A18 are used as Bank Selects Signals
SDA10 = 001 A9 maps to A10/AP pin
RFRC = 110 8 Clock Cycles Refresh Recovery
PRETOACT = 011 Pre-charge to Activate 3 cycle interval
ACTTORW= 011 Activate to Read/Write 3 clock cycles
BL 23 = 1 Burst Length is 8
LDOTOPRE = 10 Precharge can be set 2 cycles before last data is read from SDRAM
WRC = 00 Precharge is set 4 cycles after the last data is written to SDRAM
EAMUX= 1 External Address Multiplexing, Fastest timing (set to 0 for MSC8102
SDRAM)
BUFCMD = 0 Normal Timing for the control lines
CL = 10 Cycle CA S Lat e ncy=2
These SDRAM settings are conservative and can be optimized for future configurations.
The OR & BR settings are described below:
Register Setting Description
BA=0x2000_0 Base Addre ss = 0x20000000
PS=11 32-bit port size
MSEL =010 SDRAM machine
Register Setting Description
SDAM = 1111 1111
1000
LSDAM = 0000 0 8MB SDRAM
BPD= 01 4 Banks Per Device
ROWST = 1001 R ow Star ts at A9
NUMR = 010 SDRAM has 11 Row lines
PMSEL = 0 Back to Back Page Mode (Normal Operation)
PSDMR = 0xC287378A: MSC8101 SDRAM
Table 11. MSC8101 BR & OR settings
0x20001841
IBID = 1 Bank Interleaving Disabled
After Power On a JEDEC standard initialization sequence is performed to configure the SDRAM. This
is carried out in Software utilizing the SDRAM controller PSDMR register:
OR = 0xFF803290
5.2.1.1 SDRAM Initialization Command Sequence
Step 1. Apply power and start clock. Maintain No Operation (NOP) condition at the inputs.
Step 2. Maintain stable power, stable clock and NOP input conditions at the inputs.
10 PFC_DDD_v1.3.doc
Step 3. Issue Precharge All command (PALL) to all banks of the device. Program PSDMR[OP] bits to
[101] and then perform an access to the SDRAM bank.
Step 4. Issue 8 or more CBR Refresh (REF) commands. Program PSDMR[OP] bits to [001] and then
perform 8 accesses to the SDRAM bank.
Step 5. Issue Mode Register Set (MRS) command to initialise the mode register. Program
PSDMR[OP] bits to [011] and then performing an access to the SDRAM bank at an address offset to
0x08Csee figure below.
BL = Burst Length 8 for 32 Bit b us.
BT = 0 Sequential B ur s t s
CAS Latency = 2
OP MODE = Standard Operation
WB = 0 Programmed Burst Length
The SDRAM requires 4096 refresh cycles per 64ms or one refresh cycle per 15.625µs. The MSC8101
can be programmed to carry out the refresh cycle periodically using the SDRAM Refresh Timer
(PSRT). By setting the memory refresh timer prescaler register, MPTPR[PTP] to divide by 32, and the
PSRT to 0x30 a timer period of 15.625µs is realized for a 100MHz system clock . For a 69MHz
System clock PSRT = 0x17.
odxTimerPeriFPSRT
1625.15
usx
−=
PSRT
PSRT
=
MPTC
69
MHz
32
200
xPSRT
=
=
MPTC
100
MHz
32
300
=
xPSRT
odxTimerPeriFPSRT
1625.15
−=
usx
Figure 5. Refresh Calculations
5.2.2 MSC8101 FLASH Interface
The Aggregator incorporates an AM29LV320DB-120E 4Mx8-bit FLASH for Stand-alone reset
configuration and boot. To enable bootstrapping from reset the Flash is mapped to GPCM CS0 and
utilizes the following signals
Table 12. MSC8102 DSI Ad dresses
MSC8102 GPCM Signal
A_CS_FLASH CS0
A_PSDRAS POE
A_PSDDQMO WE
A_BADDR[27:30] A[3:0]
11 PFC_DDD_v1.3.doc
Loading...
+ 35 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.