30-09-02 Original Document SP 1.1
23/04/04 PLL register SP 1.2
21/05/04 Power connector part number correction TJW 1.3
16/11/04 Added: TIM sites location SM 1.4
26/11/05 Corrected: location Pin 1 of J21 SM 1.5
7/12/05 Removed SDB references AJP 1.6
The SMT300Q is a quad-site module carrier board that provides access to TIM
modules over the CompactPCI bus.
The carrier can hold up to four ‘C6x modules and these can exchange data using
ComPorts. A ComPort routing matrix, using electronic “quick switches”, is provided to
allow module connectivity without external cables.
The first TIM on the carrier is known as the “Master Module” and an enhanced
CompactPCI interface allows data packets to be exchanged between this module
and the CompactPCI bus at burst speeds in the range of 60–100MB/s. The DSP has
access to the CompactPCI Bridge internal registers to control DMAs, mailbox events,
and interrupts.
1MB of SRAM is mapped on to the Global Bus and can be accessed as a global
resource by the Host system across the CompactPCI Bridge or by the Master
Module.
An on-board JTAG controller allows systems to be debugged using Code Composer
Studio. This JTAG controller also has buffered outputs and inputs that can be
accessed using connectors on the carrier’s back panel. This allows off-board devices
to be connected into the JTAG chain.
Headers are provided for RESET_IN and RESET_OUT to allow multiple SMT300Q
carriers to be connected together and synchronised.
The board requires a 3.3-volt supply that is taken from the CompactPCI connector
and is made available at the fixing pillars for each module.
The SMT300Q may also be used with ‘C4x-based TIMs. When using these ‘C4x
modules you must ensure that a Master ‘C4x Module does not use its global memory
(if any is available) as this will prevent the SMT300Q from working.
If your SMT300Q does not have the Global Interface connector fitted (an ordering
option), the Master Module will still be able to use its global bus resources. The
module will not have access to the SMT300Q global resources, such as SRAM and
CompactPCI Bridge, but full ComPort and JTAG control will still be available.
Figure 1 gives the block diagram of the SMT300Q. The Slave Module sites (2–4) are
not shown, as they do not have any direct interface to the CompactPCI Bus, SRAM,
ComPort or JTAG sections of the design. The connectivity of slave sites is shown in
Figure 2.
The CompactPCI interface connects to a Quick Logic EPC363 bridge device. It has a
32-bit 33MHz CompactPCI interface that supports I2C control, mailbox register
access, and direct memory reads and writes. The CompactPCI bus is translated to a
Local bus, which is connected to the following devices:
• Shared SRAM 1MB
• Control EPLD that manages ComPort access
• JTAG controller
• Module Global Bus
• CompactPCI Bridge device
An on-board arbitration unit controls which device, Master Module or CompactPCI
Bridge, has access to this local bus resource.
The local bus has a 33MHz clock to control transfers between the various resources.
This is available on the CLKIN pin on the Master site and should be selected in
preference to the on-board oscillator to allow the DSP to synchronise its accesses to
and from the CompactPCI Bridge registers. The CompactPCI Bridge has an input
and output FIFO capable of transferring 256 32-bit words of data to and from the
DSP at 33MHz, thus bursting a maximum local bus transfer rate of 132MB/s.
The Master Module can access the SRAM over the local bus at transfer rates up to
100MB/s. The number of wait states required by the Master Module will vary
depending on the speed of the module. Maximum access rates use a 20ns strobe
cycle.
The JTAG controller is based on the TI 8990 device, and drivers can be supplied for
Code Composer Studio (Part Number SMT6012
module site causes its SENSE pin to switch the module into the JTAG chain.
ComPort communication from the Host to the Master Module site is switched through
a quick-switch, as illustrated in Figure 1. This allows the following connectivity:
). The presence of a TIM in a
• Connect the Host to the Master Module’s ComPort 3 (T1C3) and connect the
FMS (C_BUF) directly to the external buffered ComPort. This allows any of
the ComPorts on sites 1—4 to be connected to the external buffered ComPort
with an FMS cable; or
• Connect the Host to the external buffered ComPort and connect ComPort 3 of
the Master site to the FMS connector (C_BUF).
Figure 1 shows the block diagram of the SMT300Q. For simplicity, only CompactPCI,
JTAG, and Buffered ComPort connectivity to the Master site is illustrated.
Connectivity between the Master site and the three other sites is shown in the
ComPort Switching Matrix block diagram, Figure 2.
ComPort Routing M atri x
340215
ComPor ts
Module Site
G lobal Bu s
HOST
ComPort
PCI Brid g e Da t a Bus (32 Bit )
Control
1 MB
PCI Bri dge Address Bus
EPLD
SRAM
8990
Buf f e r
Buf f e r
PCI Brid g e
CPCI Connector
Buf f e re d
Buf f e re d
JTAG IN
Figure 1 : Block Diagram for SMT300Q (Master site only)
JTAG OUT
Page 11 of 61 SMT300Q SMT300Q User Guide V1.65
2.2 ComPort Switching Matrix
Cross Bar switch
1
4
2
5
Cross Bar switch
1
4
2
5
Buffer
CPLD
3
0
Buffer
CPLD
3
0
Front Panel SocketsFront Panel SocketsFront Panel Sockets
To cPCI CPLD
Cross Bar switch
Buffer
1
4
2
5
3
0
Cross Bar switch
Buffer
1
4
Figure 2: ComPort Switching Matrix
Site 1Site 2Site 3Site 4
2
5
3
0
CPLD
CPLD
Comm 1 Comm 2Comm 3 Comm 4Comm 6Comm 5Comm 7 Comm 8
Front Panel SocketsFront Panel SocketsFront Panel Sockets
Page 12 of 61 SMT300Q SMT300Q User Guide V1.65
2.3 TIM Sites location
cPCI
Connector
TIM Site 4TIM Site 3
TIM Site 1
MASTER MODULE
TIM Site 2
Figure 3: TIM sites location
Page 13 of 61 SMT300Q SMT300Q User Guide V1.65
3 Setting Up the SMT300Q
The SMT300Q should be set up in the following way.
• Turn the PC off and insert the card into a spare CompactPCI slot.
• Switch on PC and wait for the O/S to boot up.
• Windows 95/98/NT/2000 will detect new hardware.
• Windows should automatically find the drivers from the CD, if not browse to the
CD or if you downloaded from the ftp site to the folder where you unzipped the
SMT6300 software.
• You can run the SMTBoardInfo application to detect the number of SMT300Qs in
your system and report their slot positions and I/O addresses. This information is
required when setting up code composer for the board.
Please see V363EPC Local Bus CompactPCI Bridge User Manual
(http://www.quicklogic.com/home.asp?PageID=223&sMenuID=114#Docs) for details
of internal registers.
Where required, registers from the V3 datasheet have been included.
4.2 I/O Space Register Assignments (BAR1)
In target mode, a host device accesses the SMT300Q across the CompactPCI bus,
which gives access to the target mode registers. The operating system or BIOS will
normally allocate a base address for the target mode registers of each SMT300Q.
Access to each register within the SMT300Q is then made at offsets from this base
address as shown in the table below.
Offset (Hex) Register(Write) Register(Read) Width
0x00 - -
0x04 - -
0x08 - -
0x0C - -
0x10 COMPORT_OUT COMPORT_IN 32
0x14 CONTROL STATUS 32
0x18 INT_CONTROL 32
0x1C - -
0x20 to 0x3F COMPORT Configuration COMPORT Configuration
0x0000 0000 – 0x000F FFFF Shared Memory Bank 1MB SRAM
0x00200090 ComPort Data
Mirror
Mirror of COMPORT_OUT /
COMPORT_IN in
I/O Space
Register Assignments
(BAR1)
See Note 2
0x00200094 ComPort Status
Mirror
0x00200098 ComPort Int_Control
Mirror
Mirror of Control / Status in
Space Register
Assignments (BAR1)
See Note 2
Mirror of Int_Control in
I/O
Space Register
I/O
Assignments (BAR1)
See Note 2
0x0020 0000-0x0020 007F Global Bus See Note 1
Table 3 : Memory space map
Note 1: In order for the TIM to respond to accesses for this area address line
GADD30 and GADD19 of the TIM site connector must be decoded as high and
GADD7 and GADD5 must be decoded as low.
Note 2: These mirrors of Addresses in the I/O Space (BAR1) allow increased transfer
speeds across the host ComPort link (in excess of 10X increase).
The Master module on the SMT300Q can access the various board resources,
including the Shared SRAM and the CompactPCI Bridge. This allows the DSP to
control the CompactPCI Bridge’s DMA engine and manipulate mailbox registers. The
table below illustrates the resources and their corresponding address region when
accessed by the Master module.
C60 Address Access Description Notes
0xD000 0000 – 0xD00F FFFF Shared Memory Bank 1MB SRAM
The SMT300Q has 1 MB of shared SRAM that can be accessed by both the
CompactPCI host and the Master module. This allows applications to transfer data
between the host PC and the DSP at data rates approaching 100MB/s. The address
of the shared memory is shown in the memory map.
The CompactPCI Bridge DMA processor sees the shared memory at a different
address from that used for normal accesses. For normal memory access the memory
base address register offset is 0x0000 0000. For DMA access address line A28 (On
hardware interface) must be high, therefore DMA memory access starts at 0x4000
0000 (Not 0x1000 0000 as addressing is in bytes).
Figure 2 shows how the ComPorts of each TIM site are connected.
The SMT300Q gives access to all six ComPorts on each of the four TIM sites. All of
the ComPorts can be connected buffered connectors on the front panel of the carrier
card.
There is a connection from the CompactPCI interface to ComPort 3 on TIM site 1 for
booting the TIM. This connection can be severed with a quick switch (COM-SWITCH
register offset 0x24, BAR1 bit 15)
7.1 ComPort Switching (Quick Switches)
Several of the TIM ComPorts can be linked together without the need for external
cables. This is done using quick switches controlled by the COM-SWITCH register
(BAR1, offset 0x24)
For all of the quick switches expect the one controlled by bit 15 of the COM-SWITCH
register, the following diagrams show the effects of setting or clearing the control bit.
The buffered ComPorts on the front panel can be connected to ComPorts of the Tim
Sites. Four of the buffered ComPorts are output only (BUF 2,4,6 and 8) and four are
input only (BUF 1,3,5 and 7).
Loading...
+ 42 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.