5.3 Parallel port input/output .............................................................................................. 33
5.4 Transport-Stream input/output over IP ............................................................................ 34
5.5 Serial control port ........................................................................................................ 35
5.6 I2C control port ............................................................................................................ 35
5.7 Other specifications ..................................................................................................... 35
Appendix A. Mechanical Dimensions...................................................................................... 36
Appendix B. DTM-3200 Development Kit................................................................................ 37
Appendix C. Command-Line Tool - DtmCmd .......................................................................... 39
Appendix D. Communication Example .................................................................................... 41
3
DTM-3200 – OEM Ethernet TSoIP Converter
Version
Date
Changes
2.3
2014.10.07
Important notice for upgrading to firmware version v2.3:
An upgrade to firmware version 2.3 is only possible if the firmware version of
your DTM-3200 is v2.0 or higher. If the current firmware version is older than
v2.0, please first upgrade the unit to v2.0.
Changes:
Firmware update v2.3 adds an item to the ASI input settings category: this allows
one to force the module to use a specific input port. The default (which can be
chosen as well) is to auto-detect which input has a signal.
Bug fixes:
IGMP/multicast issue seen after 49 days
Possible failure to sync to ASI input stream
Several other small improvements and bug-fixes
2.2
2013.07.11
Important notice for upgrading to firmware version v2.2:
Firmware update v2.2 contains both application and failsafe firmware. Any
interruption of the upgrade process may result in an unusable DTM-3200
module.
An upgrade to firmware version 2.2 is only possible if the firmware version of
your DTM-3200 is v2.0 or v2.1. If the current firmware version is older than
v2.0, please first upgrade the unit to v2.0.
Bug fixes:
Fix for failsafe firmware not starting correctly in specific cases
2.1
2012.10.12
Important notice for upgrading to firmware version v2.1:
An upgrade to firmware version 2.1 is only possible if the firmware version of your
DTM-3200 is v2.0. If the current firmware version is older than v2.0, please first
upgrade the unit to v2.0.
Bug fixes:
Ignore a reboot command while the device is rebooting
Stability fixes in the rate estimation algorithm
2.0
2012.03.28
Important notice for upgrading to firmware version v2.0:
Firmware update v2.0 contains both application and failsafe firmware. Any
interruption of the upgrade process may result in an unusable DTM-3200 module.
The first boot after this update will take longer than usual, this is normal behavior.
Fixed issues:
DTM-3200 unicasts to all ports of a switching hub
Category 0x81, setting 0x14 'PCR present' does not work
Category 0x81, setting 0x15 'Rate change counter': value is incorrect
Category 0x81, setting 0x19 ‘Delay factor’: value is incorrect
Corruption of IP packet headers leading to occasional packet loss
DHCP client is started twice
The serial command protocol is case-sensitive, should be case insensitive
After extensive communication and reboot the application firmware may get
corrupted
Dtm3200Util user interface locks up when repeatedly sending a setting to
category 0x82, while no Ethernet cable has been attached
Fixed issues related to I2C control:
Accessing other I2C devices while DTM-3200 is processing a command causes
User Manual
Firmware Revision History
4
DTM-3200 – OEM Ethernet TSoIP Converter
the DTM-3200 to become unresponsive
DTM-3200 does not generate an I2C error response when an incorrect
command has been issued
DIP switches #3 and #4 have no effect when used to set I2C slave address
An I2C master has to wait at least 10ms between issuing a command and trying
to read the response
Changes affecting customer design:
The I2C read behavior has changed: The DTM-3200 will always acknowledge
its address when a read-cycle is initiated. When there is no data available to
return to the master, zeroes will be returned. This also means that zeroes are
appended to a message when the master reads more bytes than available
The firmware update ASCII encoding (does not apply to I2C) has been altered
and is incompatible with previous versions, including older failsafe firmware
Enabling the DHCP client by writing an IP address with value 0.0.0.0 is no
longer supported. Writing 0.0.0.0 will result in an error-response, since it is an
incorrect fixed IP address. The user should use the DHCP-enable setting instead
Every message sent by the DTM-3200 on the RS-XXX port now uses uppercase
ASCII characters. Users checking for lowercase characters should change this to
uppercase. e.g. "3A" instead of "3a", "R" instead of "r"
Other changes:
Added 'VBR' mode, category 0x81, setting 0x16, data 0x03
Changed behavior of the DHCP enable setting (category 0x03, setting 0x04)
Added 'Volatile Storage' setting (category 0x02, setting 0x03), giving the user the
option to choose between RAM or FLASH storage of settings
Added checking for 'r' and 'R' in the read/write-field of a command message.
Previously any character other than 'w' or 'W' would result in a read reply
Added protocol checks for incorrect settings; these will result in an 'E' reply
Removed automatic reboot at the end of the firmware update process
Firmware update speed has been improved, compressed programming files are
now supported and ASCII encoding has been altered
MPEG null packets (PID 8191) are now ignored when scanning for PCRs, to
prevent incorrect detection of PCRs resulting in lock errors
1.0
2010.03.31
Initial release to the field
User Manual
5
DTM-3200 – OEM Ethernet TSoIP Converter
Control
TSoIP
DVB-ASI
DVB-SPI
DTM-3200
User Manual
1. Introduction
1.1 General description
The DTM-3200 is a compact OEM module to convert ASI to or from a Transport Stream over IP
(TS-over-IP or TSoIP). Next to the serial ASI interface, the unit supports a parallel interface. The
direction of the conversion (TSoIP to ASI or ASI to TSoIP) can be configured programmatically
through the control interface.
Figure 1. The PCB of the DTM-3200
The DTM-3200 is available in two models and a development kit (see also §3.3):
DTM-3200 with standard pin headers (power connector is right-angle type);
DTM-3200-RA with right-angle pin headers;
DTM-3200-DEVKIT: DTM-3200 with power supply and cables.
1.2 TSoIP-to-ASI mode
When configured as TSoIP-to-ASI converter, the unit accepts unicast and multicast streams over its
Gigabit-Ethernet port. Key features include de-encapsulation of UDP or RTP, IP jitter removal and
error correction according to SMPTE 2022-1. The resulting stream is transmitted simultaneously on
the ASI output connector and the parallel pin header.
Figure 2. The DTM-3200 configured as IP-to-ASI converter
6
DTM-3200 – OEM Ethernet TSoIP Converter
Control
TSoIP
DVB-ASI
DTM-3200
DVB-SPI
User Manual
1.3 ASI-to-TSoIP mode
When configured as ASI-to-TSoIP converter, the DTM-3200 accepts ASI or parallel input. The ASI
input is selected automatically when a signal is available; otherwise the parallel input is used. Key
features include encapsulation of UDP or RTP, controlled scheduling of IP packets to prevent IP jitter
(zero jitter playout), and adding forward error correction (FEC) according to SMPTE 2022-1.
Figure 3. The DTM-3200 configured as ASI-to-IP converter
1.4 Control
The unit can be managed and controlled through one of the available control interfaces: I2C or
RS-232/485/422. Settings applied through one of the control interfaces can be stored in nonvolatile memory (if setting Volatile storageis ‘1’) or in volatile memory (if setting Volatile storage is
‘0’) on the unit. Settings stored in non-volatile memory are automatically reloaded after a power
cycle. It is not possible to configure the device via the Ethernet interface.
There are three ways to control the DTM-3200:
1. From a development PC using the serial RS-232 control interface. This way of controlling can
be used for pre-configuring the DTM-3200, or for experimenting with the DTM-3200.
2. Using a controller on-board of the equipment that uses the DTM-3200 for I/O conversion. In
this case I2C is a plausible choice, but the other serial interfaces may also be used.
3. Stand-alone mode. The DTM-3200 is pre-configured and no dynamic control is applied.
Two test tools are available:
1. Dtm3200Util – Windows GUI tool to view status and control settings of the DTM-3200. The
tool can also be used to upload firmware. Dtm3200Util is convenient for initial configuration
of the DTM-3237 and for experimentation with the DTM-3200.
2. DtmCmd – Command-line tool to send commands to the DTM-3200. Multiple commands can
be combined in a script to apply a group of settings in one go. DtmCmd is useful for studying
the low-level commands available for the DTM-3200. It is also useful to apply a pre-defined
group of setting values from a script.
1.5 DTM-3200 protocol handler
An open source implementation of a protocol handler for DTM-32xx devices is available from
www.dektec.com free of charge. It consists of two source files, DtmHandler.c and
DtmHandler.h, which can be compiled and linked into your C or C++ application. Please refer to
DtmHandler.h for information about how to use the protocol handler in your application.
7
DTM-3200 – OEM Ethernet TSoIP Converter
TS
Transmit
Channel
Processor Subsystem
IP DATA
IP
Filter
FEC
reconstructor
Bitrate control
LVDS buffer
IP
to
TS
ETHERNET
INTERFACE
MAC
IP
Transmit-
ter
IP
Receiver
IP DATA
DDR2
SDRAM
Controller
DDR2
SDRAM
Phy
Stream
characte-
ristics
extractor
Cable driver
Serializer
RS232 or
RS485 or
RS422
I2C
DVB-SPI
DVB-ASI
CONTROL
Ethernet
CONTROL
CONTROL
CONTROL
CONTROL
CONTROL
User Manual
Note:
Command-line tool DtmCmd is an example of an application that uses the DTM handler. The
source of DtmCmd is also available on the DekTec website.
1.6 Theory of operation
Essentially, the DTM-3200 consists of two subsystems:
A Stream Processor, which converts the IP packets to a base-band Transport Stream and
outputs it as ASI and parallel, or vice versa;
A processor subsystem that handles all internal and external control (I
The DTM-3200 is operating either as IP-to-ASI converter, or as ASI-to-IP converter.
Figure 4 shows the functional block diagram of the DTM-3200 when it is configured as IP-to-ASI
converter.
2
C, RS232/485/422).
Figure 4: Functional block diagram of the DTM-3200 when configured as IP-to-ASI converter
The incoming Ethernet packets are received by the physical layer interface (PHY). The Ethernet
interface checks the packets for corruption and correctness, and sends them to the IP filter that
selects the desired stream. Other IP packets are sent to the processor subsystem in order to support
low-level IP protocols like ARP and DHCP. From the IP Filter the transport stream data enters the
stream characteristics extractor. This block will analyze the stream for specific characteristics like PCR
information. With these characteristics, the DTM-3200 determines the bitrate for transmitting the
stream at the output. The FEC Reconstructor uses the FEC streams (if available) to reconstruct
missing packets (if any).
In the next step, the data is stored in SDRAM. Jitter on the IP input stream may cause late arrival of
some IP packets. The memory is used as a buffer to ‘de-jitter’ the stream. The size of the de-jitter
buffer can be set via the control interface. The IP stream is then converted to a Transport Stream (TS)
with the correct bitrate. The resulting stream is transmitted as an ASI and as a parallel stream at the
same time. The TS contents are not affected by the DTM-3200.
8
DTM-3200 – OEM Ethernet TSoIP Converter
TS
Receive
Channel
Processor Subsystem
IP DATA
IP
Filter
FEC
generator
LVDS
receiver
ETHERNET
INTERFACE
MAC
IP
Transmit-
ter
IP
Receiver
IP DATA
DDR2
SDRAM
Controller
DDR2
SDRAM
Phy
IP
Embed-
der
Cable
equaliser
De-
serializer
RS232 or
RS485 or
RS422
I2C
DVB-SPI
DVB-ASI
CONTROL
Ethernet
CONTROL
CONTROL
CONTROL
CONTROL
CONTROL
IP
Transmit-
ter
Intput
select
Valid
ASI
Asynchronous Serial Interface. Shorthand for DVB-ASI.
auto-MDIX
Automatic medium-dependent interface crossover. Technique to
automatically detect the type of network cable: straight-through or
crossover.
DHCP
Dynamic Host Configuration Protocol. Network protocol to automatically
assign an IP address to a network port from a server.
Figure 5 shows the functional block diagram of the DTM-3200 when it is configured as ASI-to-IP
converter.
Figure 5: Functional block diagram of the DTM-3200 when configured as ASI-to-IP converter
The incoming stream is received either through the serial or the parallel input. Only one stream can
be received at a time. If the Deserializer detects a valid input stream, the Input Selector selects the
DVB-ASI input, otherwise the Input Selector selects the parallel input. The TS Receive Channel
synchronizes to the stream and determines the packet size (188 or 204 bytes). If the DTM-3200 is
configured to generate FEC packets, the FEC Generator will create row and column FEC data. The
IP Embedder embeds the TS packets in IP packets. Finally, the PHY transmits the IP packets through
the Ethernet interface.
1.7 List of abbreviations
9
DTM-3200 – OEM Ethernet TSoIP Converter
RTP
Real-time Transport Protocol
SPI
Synchronous Parallel Interface. Shorthand for DVB-SPI.
TSoIP
Transport Stream over IP
UDP
User Datagram Protocol
WO
Write Only
User Manual
1.8 References
[1] SMPTE-2022-1, Forward Error Correction for Real-Time Video/Audio Transport Over IP
Networks
[2] SMPTE-2022-2, Unidirectional Transport of Constant Bit Rate MPEG-2 Transport Streams
on IP Networks
10
DTM-3200 – OEM Ethernet TSoIP Converter
Protocol
UDP
Destination address
224.1.1.1
UDP Port
5678
Category
Setting
Value
1
0x81: IP receive
2: Enable
0 = Off
2
0x81: IP receive
1: Addressing method
1 = Multicast
3
0x81: IP receive
4: FEC enable
0 = Off
4
0x81: IP receive
10: UDP port
5678
5
0x81: IP receive
11: IP-to-Output delay
100 = 100ms
6
0x81: IP receive
12: Multicast address
224.1.1.1
7
0x84: ASI/par. output
1: Packet size
0 = 188-byte MPEG-2 packets
8
0x81: IP receive
2: Enable
1 = On
1
User Manual
2. Getting Started
2.1 Introduction
This section provides a walkthrough for getting started with the DTM-3200. Two set-ups are
described: one for receiving a Transport Stream over IP (TSoIP) and converting it to ASI, and one the
other way around, receiving ASI and converting it to TSoIP.
The description below assumes that the DTM-3200 development kit (see Appendix B) is used to
control the DTM-3200 over USB from a development PC. The GUI tool Dtm3200Util is used to
apply settings and observe status.
2.2 Configuration #1: Converting TSoIP to ASI
This set-up will receive a TSoIP stream and transmit the stream on the ASI interface.
2.2.1 Test set-up
For testing this configuration, a TSoIP transmitter1 should be present on the network to generate a
TSoIP test signal. To observe the output of the DTM-3200, an ASI receiver is helpful.
This tutorial assumes that the network dynamically assigns IP addresses through DHCP, and that the
source generates a TSoIP stream with the following parameters:
2.2.2 Configuring the TSoIP to ASI conversion
Using Dtm3200Util, configure the DTM-3200 as shown in the table below. The receive process is
first disabled before changing configuration parameters. When all parameters have been set, the
DTM-3200 is enabled again.
If you do not have a suitable TSoIP transmitter and/or ASI receiver, this functionality can for example be realized with a
PC and a DekTec DTA-2160 I/O card in it. Please consult your local DekTec representative for more information.
11
DTM-3200 – OEM Ethernet TSoIP Converter
Category
Setting
Value
1
0x82: IP transmit
1: Enable
0 = Off
2
0x82: IP transmit
3: FEC Enable
0 = Off
3
0x82: IP transmit
6: IP Address
224.1.1.1
4
0x82: IP transmit
8: UDP Port
5678
5
0x82: IP transmit
9: #TP per IP
3 = 3 Transport Packets per IP pckt
6
0x82: IP transmit
10: Protocol
0 = UDP
7
0x82: IP transmit
13: Time to Live
100
8
0x83: ASI/par. input
1: Packet Size
0 = 188-byte MPEG-2 packets
9
0x82: IP transmit
1: Enable
1 = On
User Manual
The DTM-3200 will now receive a TSoIP stream and transmit this stream on the ASI port. The status
LED will be green to indicate successful transmission of the TS on the ASI output. If no TSoIP stream
is received, the status LED will be red.
2.3 Configuration #2: Converting ASI to TSoIP
This set-up will receive a stream on the ASI interface and transmit the stream over IP.
2.3.1 Test set-up
The equipment and tools are similar to the ones listed in §2.2.1 In this case we need an external ASI
source and a TSoIP receiver on the network.
2.3.2 Configuring the ASI to TSoIP conversion
The settings below (sequential order) set up the DTM-3200 for ASI to IP conversion. No FEC will be
generated in this example.
12
DTM-3200 – OEM Ethernet TSoIP Converter
DTM-3200
(top-view)
5
231
4
8
7
1
111
2
2
12
123425
26
6
on
1
3
9
10
1
ASI I/O
MCX 75Ω
ASI input or output
2
Parallel TS
26-pin box
header
2.54mm pitch
Parallel Transport Stream input or output;
Similar to DVB-SPI, but with fixed 27-MHz clock
instead of TS clock
3
Switches
DIP
Selection of baud rate and control interface:
RS-232 or RS-485/422
4
Control
12-pin header
2.54mm pitch
RS-232 (DCE), RS-485/422 and I2C interface for
board control
5
Ethernet
RJ-45
Ethernet port for TS-over-IP transmission or
reception
6
Identifier
Type and revision number
7
Power
Power and reset
8
Factory
Factory program connector;
Not used in normal operation
9
Stream status
Stream status LED
10
DTM-3200 status
DTM-3200 Status LED
User Manual
3. Layout and Installation
3.1 Physical layout
3.2 Mechanical dimensions
See Appendix A.
13
Loading...
+ 30 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.