Figure 3: Video interface block diagram ................................................................... 17
Figure 4: Text overlay example ................................................................................ 19
Figure 5: FPGA video control registers..................................................................... 21
Figure 6: Video connector location ........................................................................... 27
Figure 7: Video connectors....................................................................................... 27
Figure 8: Video input module files ............................................................................ 29
Figure 9: Video output module files .......................................................................... 29
Version 1.0.7 Page 7 of 45 SMT319 User Manual
Contacting Sundance
You can contact Sundance for additional information by login onto the support
system
support.sundance.com or sending an email to support@sundance.com.
Version 1.0.7 Page 8 of 45 SMT319 User Manual
Notational Conventions
C60
The terms C60, C64xx and TMS320C64xx will be used interchangeably throughout
this document.
SDB
The term SDB will be used throughout this document to refer to a 16 bit data bus
carried by either an SDB connector or an SHB connector. The SHB connector can
carry two such SDB buses.
Register Descriptions
The format of registers is described using diagrams of the following form:
31–24 23–16 15–8 7–0
OFLAGLEVEL
R,00000000 RW,10000000 R,00000000 R,10000000
The digits at the top of the diagram indicate bit positions within the register and the
central section names bits or bit fields. The bottom row describes what may be done
to the field and its value after reset. Shaded fields are reserved and should only ever
be written with zeroes.
R Readable by the CPU
W Writeable by the CPU
RW Readable and writeable by the CPU
Binary digits indicate the value of the field after reset.
Version 1.0.7 Page 9 of 45 SMT319 User Manual
Outline Description
The SMT319 is a C64xx-based size 1 TIM offering the following features:
TMS320C6416 processor running at 600MHz
Four 20MB/s Sundance Digital Links (SDL)
32 MB of SDRAM
2MByte Flash ROM for boot code and FPGA programming
Global expansion connector (Global Bus interface not implemented in this version
of the board)
High bandwidth data I/O via 2 Sundance Digital Buses (SDB).
PAL/NTSC/SECAM video input (This is a manufacturing option. Please state
video format when ordering.)
PAL/NTSC video output
CAUTION:
First release of SMT319 : 2 SDB, 4 SDL, Video input and Video output.
Doesn’t implement the Global Bus interface. Therefore, you HAVE
TO plug the SMT319 in the second TIM Site of the carrier board
(i.e. SMT310Q) and connect the T1C3 to T2C3 if the SMT319 is
used alone in the system.
Doesn’t implement text overlay feature.
Version 1.0.7 Page 10 of 45 SMT319 User Manual
Block Diagram
Figure 1: SMT319 block diagram
Architecture Description
The SMT319 TIM consists of a Texas Instruments TMS320C6416 running at up to
600MHz. Modules are populated with 32Mbytes SDRAM.
A Field Programmable Gate Array (FPGA) is used to manage global bus accesses
and implement four Sundance Digital links (SDL) and two Sundance Digital Buses.
This is a Xilinx VirtexII device.
Version 1.0.7 Page 11 of 45 SMT319 User Manual
TMS320C6416
The processor will run with zero wait states from internal SRAM.
An on-board crystal oscillator provides the clock used for the C60, which then
multiplies this by 12 internally.
Boot Mode
The SMT319 can be configured to use one of two boot modes after a reset. These
are HPI (host port interface) and Flash.
Flash Boot
1. The processor copies a bootstrap program from the first part of the flash
memory into internal program RAM starting at address 0.
2. Execution starts at address 0.
The standard bootstrap supplied with the SMT319 then performs the following
operations:
1. All relevant C60 internal registers are set to default values;
2. The FPGA is configured from data held in flash memory and sets up the
communication ports, the global bus and the Sundance High-speed Buses.
This step must have been completed before data can be sent to the SDL from
external sources such as the host or other TIMs;
3. A C4x-style boot loader is executed. This will continually examine the four
SDLs until data appears on one of them. The bootstrap will then load a
program in boot format from that port; the loader will not read data arriving on
other ports.
4. Finally, control is passed to the loaded program.
The delay between the release of the board reset and the FPGA configuration is
around 1s for a SMT319 (600MHz clock).
A typical time to wait after releasing the board reset should be in excess of this
delay, but no damage will result if any of the I/Os are used before they are fully
configured. In fact, the comm. Ports will just produce a not ready signal when data
is attempted to be transferred during this time, and then continue normally after
the FPGA is configured.
HPI Boot
The C60’s HPI (16 bit data interface) is connected directly to the FPGA. This
mode is therefore only used by custom FPGA configurations.
Version 1.0.7 Page 12 of 45 SMT319 User Manual
EMIF Control Registers
The C6416 has two external memory interfaces (EMIFs). One of these is 64 bits
wide, the other 8 bits.
The C60 contains several registers that control the external memory interfaces
(EMIFs). A full description of these registers can be found in the C60 Peripherals Reference Guide[0].
The standard bootstrap will initialise these registers to use the following
resources:
Table 1: EMIF control registers
Memory
space
(EMIFA)
CE0 SDRAM 0x80000000 - 0x81FFFFFF
CE1 VirtexII 0x90000000 - 0x9FFFFFFF
Memory space
(EMIFB)
CE1 Flash 0x64000000 – 0x641FFFFF
Resource Address range
Internal program memory
0x00000000 - 0x000FFFFF
(1Mbyte)
Resource Address range
Version 1.0.7 Page 13 of 45 SMT319 User Manual
SDRAM
Memory space CE0 is used to access 32MB of SDRAM over EMIFA. The SDRAM
operates at EMIF clock speed (typically 100MHz).
FLASH
A 2MByte Flash ROM device is connected to the C60 EMIFB.
The ROM holds boot code for the C6x, configuration data for the FPGA, and optional
user-defined code.
A software protection algorithm is in place to prevent programs accidentally altering
the ROM’s contents. Please contact Sundance for further information about reprogramming this device.
Virtex FPGA
The SMT319 incorporates a Xilinx Virtex XC2V2000 FPGA. This device controls the
majority of the I/O functionality on the module, including SDLs, SHBs, Global Bus,
timers and interrupts.
This device requires configuring after power-up (the Virtex technology is an SRAM
based logic array). This configuration is performed by the DSP as part of the boot
process.