Home
DTM-3200 - User Manual
Contents
1. 25 26 4 5 Firmware Upgrade 26 4 5 1 Firmware upgrade PhOses ccccccssccecceeceeeceeceeeceeeeeeee ees eeeeeeeeeeeeeaeceaeeseeeaeeeneeees 26 4 5 2 Firmware upload ION 27 A mm T E E 28 To TT 29 CONC 29 Su2 ENDSASIIBDUL OUIDUE 29 5 3 Parallel cort impu ME 29 5 4 Transport Stream Input Output over 30 Eee ido 31 BEN CONO ol e eee rere 31 Qi UNCC 31 Appendix A et paseo eode etus iue seb robes td ek theheblnder asunto 32 Appendix B DTM 3200 Development 33 Appendix C Command Line Debugger 1 35 Appendix D Communication Example 37 Copyright 2010 2011 by DekTec Digital Video B V DekTec Digital Video B V reserves the right to change products or specifications without notice Information furnished in this document is believed to be ac
2. 3200 TS over IP Converter USER MANUAL July 2011 DTM 3200 OEM Ethernet Converter User Manual IC g CC Table of Contents e T ERE ERE 4 UN Serer Eo 4 TOS eri mtis 4 ko A eee E E A 4 5 5 1 5 1 IP to ASI converter Functional block 6 1 5 2 ASI to IP converter mode Functional block diagram 7 7 8 VE ET 9 Wee TET 9 2 2 Configuration 1 Converting TSolP To AS rame as eon 9 EUN INIT I AU TR ES 9 2 2 2 Configuring the TSolP to ASI CORVEFSIORL iir ia eara eoa Eee ERE tease FUOD I 9 2 3 Configuration 2 Converting ASI to 10 E E E T E N E EE T E E 10 2 3 2 Configuring the ASI to TSOIP 10 o bdvool and clos conse 11 secutae
3. DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC 3 Layout and Installation 3 1 Physical layout Q DTM 3200 ASI I O 750 ASI input or output 2 Parallel TS 26 pin box Parallel Transport Stream input or output header Similar to DVB SPI but with fixed 27 MHz clock 2 54mm pitch instead of TS clock 3 Switches Selection of baud rate and control interface RS 232 or RS 485 422 4 Control 12 pin header RS 232 RS 485 422 and I C interface for board 2 54mm pitch control 5 Ethernet RJ 45 Ethernet port for TS over IP transmission or reception Not used in normal Stream status Stream status 000000000 Stream status LED 000000000000 status LED cial J DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC 3 2 Hardware installation 3 2 1 Mechanical installation The unit can be mounted onto a support plate by means of four 2 5 mm bolts and appropriate spacers Ensure that there is sufficient airflow to provide cooling of the board 3 2 2 ASI connector The ASI connector 1 is an MCX connector with an impedance of 75 ohm 3 2 3 Parallel TS connector The pinning of the parallel Transport Stream connector 2 is displayed in the table below The signal levels and pin numb
4. DTM 3200 OEM Ethernet Converter User Manual IC g CC DIP switches for RS 232 485 422 For communication the DIP switches have the following meaning 4 3 2 1 Device address bit 3 0 DIP switch off on 1 The l C device address is 0x40 four LSBs as selected by the DIP switches This means that the lC device address range is between Ox40 and Ox4F 3 2 5 Control connector The pinning of the control connector is shown in the table below It s a single row pin header for connecting the RS 232 RS 485 422 or lC control bus The exact function of the signals depends on whether RS 232 or RS 485 422 mode is selected by the DIP switches Pin RS 232 mode 5 485 422 mode The pinning of this connector has been chosen in such a way that a 9 way flatcable with a press fit sub D flatcable connector can be connected directly to pin 1 9 see the figure below 12 pin female header 9 pin female sub D An controller can be connected to SDA and SCL on pin 11 and 12 with signal ground on pin 9 3 2 6 Ethernet connector The Ethernet connector is a standard shielded RJA5 jack with two status LEDs DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC Link speed Link activity Link speed LED Orange 1000Mbps 10 or 100Mbps half duplex The link activity LED flashes whenever an Ethernet packet is received or transmitted A standard Cat5E or higher patch cable can be used to c
5. 3200 to read category 1 setting 5 e r Read and show the response of the DTM 3200 This command results into the following output Select COM2 COM PORT connection opened Device ID 0x40 Send e400105ro64 OK Receive e400105r00000C80C9 COM PORT connection closed First the 2 port is selected and opened Next all arguments are executed sequentially The device address is set to 0x40 The command is automatically completed by adding a start character the device address 0x40 a checksum 0x64 and a stop character The reply of the DTM 3200 is read and printed From this reply it can be read that the data field contains the value 0xX00000C80 Finally the COM port is closed and the program is terminated The start and stop characters in this example are displayed using a smiley and a heart respectively These symbols may vary between different consoles Writing to the DTM 3200 To demonstrate the writing of a setting we write 0 1234 to the setting number of parts setting 7 of category update firmware category 0x80 In addition to the usual arguments this category also requires an index to be sent to the DTM 3200 The four index characters are placed after the read write character and before the data characters DtmUart exe 8007w00001234 r The parameters used in this command have the following meaning DTM 3200 OEM Ethernet Converter User Manual IC g CC e 8007w00001234 gt This command string
6. DATA CONTROL CONTROL DVB SPI Transmit ter jeuJeuj3 Receiver IP Transmit E ter Figure 5 Functional block diagram of the DTM 3200 when configured as ASI to IP converter an 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 6 List of abbreviations 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 DVB Digital Video Broadcasting FEC Forward Error Correction IP Internet Protocol MAC Media Access Controller Mbps Megabit per second NA Not Applicable NC Not Connected PCR P
7. a USB port on the PC with the USB cable included in the development kit For this step it is not strictly necessary to power the DTM 3200 board because the DTM 3301 is bus powered After a while the USB connection to the interface board will become visible on the PC as a COM port in the Device Manager section Ports COM amp LPT The COM port number is displayed behind the USB Serial port entry see the screen shot below If no USB COM port appears in the Device Manager window you can download and install the USB driver from http www ftdichip com Drivers VCP htm After this step you may also have to unplug and reconnect the USB cable File Action View Help eg H ssi Network adapters Portable Devices Ports COM amp LPT USB Serial Port gt Im Processors amp Sound video and game controllers gt JE System devices Universal Serial Bus controllers In this case the COM port number is COMA B 2 4 Debugger DtmDbg is a GUI tool to view status control settings and upload firmware to the DTM 3200 The DtmDbg debugger tool can be found on the DekTec USB flash drive It can also be downloaded from the DekTec website DtmDbg is an executable that can be run from any directory on your PC When started the debugger enumerates serial ports and lets the user select the serial port to which the DTM 3200 is connected When a valid serial port is selected all registers are read from
8. because it supports a single channel only OxOC Input type Identifies the type of input interface int8 1 ASI input 2 Parallel input OxOD Time to live 0 255 The generated IP packets will R W int8 use this TTL Time To Live This category requires an index to be sent with each command 4 4 8 ASI input settings The ASI input settings are available only if the DTM 3200 is configured as ASI to IP converter Manageable Items Category 0x83 ASI input settings 1 Packet size Generate IP packets with 188 byte R W int8 transport packets 1 Generate IP packets with 204 byte transport packets 2 Use size of incoming packets Physical port Physical port number of ASI input int8 always 1 for the DTM 3200 ind Status Valid ASI signal is received int8 1 No carrier detected 2 Failed to lock to ASI input 3 Input rate is below minimum supported rate lad Transport stream rate in bos 188 of the received ASI stream Number of received bytes of received bytes EET Violation count Number of AS code velo RO imt DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC This category requires an index to be sent with each command 4 4 9 ASI output settings The ASI output settings are available only if the DTM 3200 is configured as IP to ASI converter Manageable Items Category 0x84 ASI output settings Generate 188 byte packets
9. output Mas Connector 26 way boxed header Pinning compatible with Interface port 2 54 mm pitch DVB SPI 25 way sub D connector ISO 2110 Signals Clock Sync Valid 8 bit data Fixed clock rate DTM 3200 OEM Ethernet TSoIP Converter User Manual Max Port used as input Interface standard Clock rate accepted Input impedance Common mode voltage Signal amplitude Bitrate Port used as output Interface standard Clock rate fixed Output impedance Common mode voltage Signal amplitude Bitrate 5 4 Transport Stream input output over IP Max General TSolP encapsulation UDP or SMPTE 2022 2 Input to IP delay 1 IP to output delay 500 IP input jitter tolerance 500 UDP TS packet size 188 or 204 TS packets IP packet SMPTE 2022 2 Transport protocol RTP FEC SMPTE 2022 1 Packet size 188 or 204 TS packets IP packet FEC Size L FEC Size D FEC Size LxD Maximum delay depends on input bitrate and TS packets per IP packet Unit Remarks ms ms programmable ms computed bytes No long UDP packets 2 Maximum jiter tolerance depends on programmed IP to output delay and on delay DTM 3200 OEM Ethernet Converter User Manual 5 5 Serial control port Interface port Connector Signals Serial Format Interface standard Format Handshaking Speed 5 6 I C control port Interface port Connector Signals I C Interface voltage Speed D
10. the DTM 3200 and shown in the GUI Blue fields can be edited and written to the DTM 3200 by clicking the pen symbol to the right of the edit fields Yellow fields are read only they are read when the refresh arrow is clicked DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC Appendix C Command Line Debugger DtmUart DtmUart is a PC based command line tool to generate commands and to send those commands to the DTM 3200 This tool is useful while developing custom protocol handlers for the DTM 3200 DtmUart shows the detailed structure of commands and responses Before issuing commands with DtmUart a text file named settings txt must be created containing only the name of the COM port For example when COM port 2 is used settings txt shall contain just one line with the text COM2 The file shall be located in the same directory as DtmUart Open a DOS box in the directory containing the DtmUart executable and settings txt Each time DtmUart is run a single command specified with the command line arguments is executed on the DTM 3200 Reading from the DTM 3200 The following command reads the setting category 1 setting 5 DtmUart exe a 40 0105r r The parameters used in this command have the following meanings a 40 gt Set the address of the DTM 3200 to 0x40 The address is used for all following commands so a 40 can be omitted from further commands e 0105r gt Send this command string to the DTM
11. 0 0x00 0 Reply 01 r 0000 50 0x32 at 5096 0 00 w 0006 File bytes 750 899 00 0006 6 0x0006 Reply 01 r 0000 100 0x64 at 10096 01 r 0000 0x00 successful DTM 3200 OEM Ethernet Converter User Manual IC g CC 4 6 Failsafe mode The DTM 3200 supports a special failsafe mode to enable recovery from an erroneous configuration In failsafe mode the unit has no ASI transcoding functionality and the user can only configure the IP address and load new firmware Failsafe mode is entered in the following cases A firmware upgrade of the DTM 3200 has failed e The user selected the failsafe mode through configuration option application The normal operation mode can be selected again using configuration option application DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC 5 Specifications 5 1 Network connection Network Port Standard IEEE 802 3a Data rate 100 1000 auto detect Connector RJ 45 with LEDs Control Ethernet encapsulation IEEE 802 2 SNAP and Ethernet IP support 4 IP address assignment DHCP link local or static Multicast support IGMP v2 Network management Not supported 5 2 DVB ASI p Sta aa eee rd DVB ASI EN50083 9 Ports Number of channels 1 Connector 1x 75 MCX Input or output Return loss 17 dB Error free cable length m Transport stream bitrate Mbps Packet size 188 204 bytes 5 3 Parallel port input
12. 1 2 Generate 204 byte packets 2 Use size of received packets always 1 for the DTM 3200 3 TS rate in bos 188 of the generated ASI stream This category requires an index to be sent with each command 4 5 Firmware upgrade 4 5 1 Firmware upgrade Phases Updating the firmware of the device consists of three phases 1 Uploading the file The file has to be uploaded in parts one part at a time This involves the following steps Abort previous file upload if any This remove a previous uploads and gets the DTM 3200 into a default state b Set Number of parts Write the number of parts of the file to upload C Set Part size Write the size of each part in number of bytes d Set Remaining Write the size of the last part this is the size of the remainder of the file after all full parts have been uploaded e Upload file parts Check the index number of the last uploaded part and send the next part 2 The actual flashing of the device firmware as follows a Start the device update The uploaded file is read from RAM and programmed in the flash memory of the DTM 3200 b Optional Get progress Read the progress of programming the flash as a percentage optional c Check tor update errors Warning Do not power off the device while flash programming is in progress 3 When flashing the firmware is complete the DTM 3200 will reboot After the device is successfully updated and auto
13. ASI or parallel input The ASI input is selected automatically when a signal is available otherwise the parallel input is used Key DTM 3200 OEM Ethernet Converter User Manual IC g CC 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 i DTM 3200 Figure 3 The DTM 3200 configured as ASI to IP converter DVB ASI DVB SPI 1 4 Control The unit can be managed and controlled through one of the available control interfaces C or RS 232 485 422 Settings applied through a control interface are stored persistently on the unit and will be automatically be 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 will mostly be used for experimental usage or for pre configuring the DTM 3200 2 Using a controller on board of the equipment that uses the DTM 3200 for I O conversion In this case lC 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 Windows based test tools are available 1 DtmDbg GUI tool to view status and control settings of the DTM 3200 The tool can also us
14. 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 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 DTM 3200 OEM Ethernet Converter eren TAM 1 5 2 ASI to IP converter mode Functional block diagram Figure 5 shows the functional block diagram of the DTM 3200 when it is configured as ASI to IP converter RS232 or RS485 or RS422 CONTROL CONTROL CONTROL IP DATA IP
15. cle DTM 3200 OEM Ethernet Converter User Manual IC g CC 4 4 5 Firmware update To upgrade the DTM 3200 the new firmware has to be uploaded in file parts The firmware update settings are used to upload the firmware file and control the programming process Manageable Items Category 0x80 Firmware update 1 Part number Sequence number of most recently int16 uploaded file part 0x02 File part Data in file part return message R W 1 1024 contains the file part sequence number bytes 0x03 Update device 1 Start device update and reboot O04 Abort Remove uploaded file O05 Progress Programming progress RO imB _ 06 Error Eror ods 0 no error RO imB _ 0x07 Number of parts Number of parts to upload the entire R W intl firmware file O8 Pat sze Number of bytes per file por 0x09 Number of bytes in the final file part This category requires an index to be sent with each command For the File part setting index should be the file part number For the other settings index is not used For communication through the parts may contain at most 250 data bytes For communication through RS XXX the parts may contain at most 1024 data bytes transmitted as 2048 characters 4 4 6 IP receive settings The IP receive settings are available only if the DTM 3200 is configured as IP to ASI converter Manageable Items Category 0x81 IP receive 0x01 Addressing Unicast R W i
16. consists of the category 0x80 the setting 0x07 r w character w index 0x0000 and the 16 bit data value 1 234 e r Read and show the response of the DTM 3200 As there is no explicit address selected DtmUart will use the last saved address 40 This command results into the following output Select COM2 COM PORT connection opened Send 6408007w00001234CC OK Receive 408007w00001234CCY COM PORT connection closed DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC Appendix D Communication Example In the examples below grey areas in the timing diagrams are sent by the DTM 3200 while white areas are sent by the master The address of the DTM 3200 in these examples is 0x12 Write command on RS XXX serial interface Figure 8 shows the write command of the FEC enable at the receive channel settings category 0x81 setting 0x04 index 0 0000 All values are displayed as ASCII characters Serial data Figure 8 Write FEC enable in the receive channel settings The command consists of the following parts Start character STX Two hexadecimal address characters 12 Two hexadecimal category characters 81 Two hexadecimal setting characters 04 A write character w Four hexadecimal index characters 0000 Two hexadecimal characters 01 Two hexadecimal checksum characters A8 See Table 1 Stop character ETX Table 1 Checksum computat
17. curate and reliable but DekTec assumes no responsibility for any errors that may appear in this material 3 DTM 3200 OEM Ethernet Converter User Manual IC g CC 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 TSolP Next to the serial ASI interface the unit supports a parallel interface The direction of the conversion TSolP to ASI or ASI to TSolP can be configured programmatically through the control interface AS cure S aos y y u ewww 4 hell Mel iki 5 1 2888 ij saad sf T gt Pome feed EP3C55F484C6N 7A Figure 1 The PCB of the DTM 3200 A development kit DTM 3200 DEVKIT refer to Appendix C is available for easy setup and experimentation with the DTM 3200 1 2 TSoIP to ASI mode When configured as TSolP 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 1 3 ASI to TSolP mode When configured as ASI to TSoIP converter the DTM 3200 accepts
18. dec a MENU MED 11 3 2 SA STCIII CN 12 12 922 AS 12 9 2 3 Rara ES Cone CIO 12 SLAD EN 13 02 5 C onlrol 14 9 225 Fiherne COINS 14 1 5 lo 15 Skean Status 15 DTM 32700 stalus EED 16 4 Device Configuration and 17 Be Wel CCS 17 2 Conmigo OC ON 17 4 2 1 Command protocol on RS 232 RS 422 5 485 17 4 2 2 Command protocol on lC hee eee hnehee enne h nne e sn n en esee n nas 18 Aa Manageable 19 Go 10 0 cT E D m 20 AAA Dala EET TETTE 20 20 Overall 21 A 27 INGW VOR 21 4A 5 Firmware 22 AAO lP receive 22 DTM 3200 OEM Ethernet Converter User Manual IC g CC 2 1 TP 24 BAO
19. dex always 1 for the int32 DTM 3200 because it supports a single channel only 0x11 Output type Identifies the type of output interface int8 1 ASI output 2 parallel output 0x1 Packet size 188 bytes int8 1 204 bytes 0x13 Bitrate Estimated bitrate in bos 188 of the int32 incoming TS 2 0x14 PCR present No PCRs in incoming TS int8 1 PCRs found in incoming TS Note this status setting is not operational in firmware v1 0 15 Rate change Counter that keeps the number of int32 bitrate changes detected on this channel During normal operation this counter should remain constant counter DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC Manageable Items Category 0x81 IP receive 0x16 Rate estimation O Bitrate is estimated using PCRs if R W int8 mode possible otherwise the bitrate is estimated without PCRs 1 Bitrate estimation is disabled Packets are transmitted immediately after being received 2 Bitrate is estimated without the use of PCRs 0x17 Jitter error Counter that keeps the number of IP int32 counter jitter errors for this channel A jitter error occurs when an incoming IP packet has a jitter that exceeds the Jitter Tolerance During normal operation this counter should remain constant 0x18 Lock error Counter that keeps the number of int32 counter channel restarts A channel is restarted only under adverse circumstances like large jitter of IP pac
20. e network settings are used to configure the IP address subnet mask and gateway for the network connection The MAC address can be read from a read only variable Manageable Items Category 0x03 Network settings 1 address IP address of the DTM 3200 0x02 Subnet mask Subnet mask 0x03 Gateway Gateway 0x04 DHCP enabled O Use static IP address 1 Use DHCP 05 T Reboot 0x06 MAC address MAC address of the DTM 3200 The DHCP enabled field operates in a special way When this variable is read it indicates whether a static IP address is used or whether DHCP is used To switch from a statically assigned IP address to DHCP write a 1 to the DHCP enabled variable Effectively this action causes 0 0 0 0 to be written to IP address Subnet mask and Gateway Writing 0 0 0 0 to IP address therefore has the same effect as writing 1 to DHCP enabled In both cases the DTM 3200 switches to a dynamically assigned IP address through DHCP after a reboot To switch from DHCP to a statically assigned IP address write the new static IP address subnet mask and gateway to the corresponding variables It must be noted that switching to a static IP address cannot be achieved by writing O to the DHCP enabled field The DTM 3200 must be rebooted before new IP address assignment settings take effect Rebooting the device is initiated by writing a one to the Reboot setting by a power cy
21. ed to upload firmware DtmDbg is especially convenient for experimentation with the DTM 3200 2 DtmUart Command line tool to send commands to the DTM 3200 and inspect the return messages Multiple commands can be combined in a script to apply a group of settings in one go DtmUart is useful for studying the low level structure of command and return messages to debug control handlers It is also useful to apply a pre defined group of setting values from a script 1 5 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 e A processor subsystem that handles all internal and external control RS232 485 422 The DTM 3200 is operating either as IP to ASI converter or as ASI to IP converter DTM 3200 OEM Ethernet Converter eren TAM 1 5 1 IP to ASI converter Functional block diagram Figure 4 shows the functional block diagram of the DTM 3200 when it is configured as IP to ASI converter jd RS232 or RS485 or RS422 ge P DATA jm Ethernet m Bitrate control DVB ASI 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
22. ering the same as DVB SPI Warning Although the pinning is the same the parallel interface is not compatible with DVB SPI because the clock of the DTM 3200 s parallel interface is fixed to 27MHz in DVB SPI the clock is the TS rate in byte sec The pin assignment of the pin header has been chosen in such a way that a flatcable with a sub D male flatcable connector 25 way sub D ISO 2110 at the other end can be connected directly to the board DTM 3200 OEM Ethernet TSolP Converter User Manual IC g CC 26 pin female header flatcable 25 pin male sub D 3 2 4 DIP switches The DIP switches permit configuration of I C device address RS 232 or RS 485 422 mode and the baud rate The state of the DIP switches is read at power up only Changing the DIP switch settings while power is on has no effect Please note that it is not required to select between I C and RS XXX The DTM 3200 will automatically use the interface on which it detects activity DIP switches for RS 232 485 422 For RS 232 or RS 485 422 the DIP switches have the following meaning Device address bit O LSB off 0 on 1 RS 232 or 5 485 422 off RS 232 RS 485 422 Baud rate off 9600 on 115200 The device address bits are used for RS 485 422 only The device address is Ox40 two LSBs as selected by the DIP switches This means that the device address range is between 0x40 and 0x43 M Device address bit 1 MSB off 1
23. evice address 5 7 Other specifications Power Power supply voltage Power consumption Environmental Hazardous substances Flammability Operational Temperature Mechanical Mounting hole diameter Dimensions Wx H x D Weight Max 12 way pin header 2 54 mm pitch TX RX RTS CTS RS 232 485 422 8 bit no stop bit no parity hardware flow control 9600 or 115200 Max 12 way pin header 2 54 mm pitch SDA SCL 5 24 5 RoHS compliant UL 94 HB gt 45 2 7 80x55x14 TAM icc Unit Remarks Pin 1 9 compatible with standard RS 232 sub D connector LVTTL RS 232 isa hardware option baud selectable with DIP switch Unit Remarks Signals available on pin 11 12 of serial port control connector V kbit s V mm 4 holes mm max 9 TAM ET DTM 3200 OEM Ethernet TSoIP Converter User Manual Appendix A Mechanical Dimensions 55mm 51mm pu DTM 3200 OEM Ethernet TSoIP Converter User Manual g Appendix DTM 3200 Development Kit B 1 DTM 3200 development kit Contents The DTM 3200 development kit contains the following items DTM 3200 placed on four plastic studs DTM 3301 USB interface board 10V 1 2A power supply USB cable type A to mini B MCX to BNC cable assembly length 130mm DekTec USB flash drive containing DTM 3200 documentation and development tools as well as documentation on DekTec s other products T
24. he development kit can be ordered from DekTec using type number DTM 3200 DEVKIT B 2 Using the DTM 3200 development kit B 2 1 DIP switch setting Before using the DTM 3200 it is essential to set the DIP switches on the DTM 3200 PCB into the right position The required settings of the DIP switches are shown in the table below For a description of the purpose of the individual DIP switches refer to 83 2 4 Sets DTM 3200 address to Ox40 off Selects RS 232 communication for control Selects a baud rate of 115 2kBd These DIP switch settings become active only after a system reboot B 2 2 Hardware installation The DTM 3301 USB interface board has to be plugged on the Control pin header of the DTM 3200 The pin 1 indication of the DTM 3301 should match the pin 1 indication of the DTM 3200 DTM 3301 USB interface control q interface USB cable DTM 3200 Connect the DTM 3200 to the power supply using the power connector see 83 2 7 The DTM 3200 will boot which will take a few seconds During this time the two LEDs on the DTM 3200 are flashing in a start up pattern Wait until the DTM 3200 status LED turns green DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC B 2 3 USB driver Depending on your Windows version it may or it may not be required to install a USB serial driver for the DTM 3301 On Windows 7 the driver is usually part of the Windows installation Connect the DTM 3301 to
25. iable is Read Only RO Write Only WO Read Write R W or not applicable n a DTM 3200 OEM Ethernet TSolP Converter User Manual IC g CC 4 4 Categories Manageable Items Categories Device properties Configuration Overall configuration 07 80 0x84 4 4 1 Data types Manageable Items Data types 8 bit unsigned integer 2 hex digits 16 bit unsigned integer 4 hex digits All data types are sent with the most significant byte first 4 4 2 Device properties Manageable Items Category 0x01 Device properties 1 FPGA version Version number of the FPGA code on n8 board of the DTM 3200 Hardware version Hardware version number 0x04 Serial number Unique serial number for this device e g 3200 000 027 Dou bes E int32 0x03 Firmware version Firmware version the major version is encoded in the tens the minor version int32 in the units e g 10 indicates v1 0 DTM 3200 OEM Ethernet Converter User Manual IC g CC 4 4 3 Overall configuration The configuration settings are used to switch the mode and application of the DTM 3200 When any of these settings are changed the DTM 3200 is rebooted automatically Manageable Items Category 0x02 Overall configuration 0x01 Mode ASI to TSoIP R W int8 1 TSolP to ASI 0 02 Application Failsafe application R W int8 1 Normal operation See section 4 6 for further information 4 4 4 Network settings Th
26. ion ASCII Hexadecimal C sx es 38 0 3 0 3 3 3 3 o 3 wc EX DTM 3200 OEM Ethernet Converter User Manual IC g CC Serial read command Figure 9 shows the read command of the device type number category 1 setting 5 no index An index is not required for this category and the returned data consists of 4 bytes int32 values are displayed as ASCII characters Serial data Figure 9 Read command for the device type setting The command consists of the following parts Start character STX Two hexadecimal address characters 12 Two hexadecimal category characters 01 Two hexadecimal setting characters 05 A read character r Two hexadecimal checksum characters 65 End character ETX Figure 10 shows the two possible replies from the command in Figure 9 The replies are similar to the commands with the exception of the data characters or the read character On a successful command the reply data is set to the corresponding data 0x00000c80 When the received command cannot be executed the read character is set to the ASCII character e In both cases the checksum is also updated Reply successful Reply unsuccessfu EDA O S Figure 10 Reply after a device type read command read command Figure 11 shows the communication sequence used to issue a read subnet mask c
27. kets in combination with packet loss A channel restart causes a signal interruption for this channel of about 1 second During normal operation this counter should remain constant 0x19 Delay factor The channel s delay factor in us Delay int32 factor is a measure of the maximum jitter on the IP packets received for this channel This category requires an index to be sent with each command 4 4 7 IP transmit settings The IP transmit settings are available only if the DTM 3200 is configured as ASI to IP converter Manageable Items Category 0x82 IP transmit 0x01 Disable R W int8 1 Enable 0x03 FEC enable Disable generation of FEC packets R W int8 1 Enable generation of FEC packets 0x04 FEC columns 0 20 FEC columns generated int8 0x05 FEC rows 0 20 rows generated int8 0x06 address Destination IP address for the TSolP R W IP addr packets DTM 3200 OEM Ethernet Converter User Manual IC g CC Manageable Items Category 0x82 IP transmit 0 07 address status 0 Destination IP address has been int8 resolved to a MAC address 1 Failed to resolve destination IP address Ox08 UDP port 0 65535 Destination UDP port R W int16 number 0 09 TP per IP 1 7 Number of transport packets to be R W int8 generated per TSoIP packet OxOA Protocol Protocol used for the TSoIP output R W int8 UDP 1 RTP OxOB Index Channel index always 1 for the int32 DTM 3200
28. matically rebooted the controller may check the status of the device firmware using a combination of the following settings e Check the application Category configuration settings setting application indicates whether the device is in normal operation mode or in failsafe mode If the device was in DTM 3200 OEM Ethernet Converter User Manual IC g CC normal operation mode and reboots in failsafe mode the current application firmware is corrupt See section 4 6 for more information about failsafe mode e Check the package version Category device settings setting package version shows the version number of the current package 4 5 2 Firmware upload Example If a file consisting of 1000 bytes must be sent in packets of 150 data bytes there are going to be 7 parts The first six parts are 150 bytes long and the last part consists of 100 bytes The table below shows the content of the communication messages Each line represents a message and the lines are shown in chronological order Catego Settin Read write Index Reply 80 04 00 w 0000 1 0x01 Reply 80 07 00 0000 7 0x07 00 0000 150 0x96 00 100 0x64 00 w 0000 100 0x64 00 w File bytes O 149 00 0001 1 1 00 w 0002 2 0x0002 00 w 0003 0x0003 00 w 0004 4 0 0004 00 0005 5 0x0005 00 w 0007 7 0x0007 Reply 00 0000 Reply 0000 5
29. network dynamically assigns IP addresses through DHCP and that the source generates a TSolP stream with the following parameters UDP Port 5678 2 2 2 Configuring the TSoIP to ASI conversion Using DtmDbg 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 DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC The DTM 3200 will now receive a TSolP 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 TSolP 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 82 2 1 In this case we need an external ASI source and a TSolP 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
30. nt8 method 1 Any source multicast 0x02 O Disable IP to ASI conversion i 1 Enable IP to ASI conversion FEC delay FEC delay in milliseconds 0x04 FEC enable Disable decoding 1 Enable decoding FEC columns 0 20 FEC columns RO m6 rows 0 20 ZFEC rows RO i IP jitter tolerance 0 120ms The time in ms that the int32 DTM 3200 waits to receive late IP packets 0x08 IP lost after FEC Number of packets lost after int64 reconstruction DTM 3200 OEM Ethernet Converter User Manual IC g CC Manageable Items Category 0x81 IP s OxO9 lost before Number of packets lost before FEC int64 reconstruction UDP port 1 65535 UDP port number at which R W int16 the DTM 3200 listens for the incoming TS OxOB IP to output delay 1 9942ms Delay ms from IP input to R W int ASI output in milliseconds Multicast address When Addressing method is 1 this is R W IP the multicast address at which the DTM 3200 listens for the incoming TS OxOD TP per IP Number of transport packets per IP int8 packet Status Current operational status int8 Channel is enabled no errors detected 1 Channel has been disabled 2 Channel is enabled but there is a problem with the processing of the received IP stream OxOF Protocol Protocol used by the incoming IP int8 stream UDP 1 RTP 0x10 Index Channel in
31. ommand category 3 setting 2 no index An index is not required for this category and the returned data consists of an IP address Command 5 X mdz NR Figure 11 Send subnet mask read command The command consists of the following bytes Address and l C write bit 0x12 and 0 Category byte 0x03 Setting byte 0x02 Read byte 1 Checksum E8 see Table 2 The checksum is computed with the address and without the I C write bit DTM 3200 OEM Ethernet Converter User Manual IC 1 ec Figure 12 is the reply sequence that may be executed after the read command of Figure 11 After addressing this device the bytes from the command are repeated followed with the 4 byte IP address Reply 5 X U2 X 1 Reply Continued CA Figure 12 Read subnet mask reply The reply consists of the following bytes e Address and lC write bit 0x12 and 1 e Category byte 0x03 e Setting byte 0x02 e Read byte 1 e Four IP address bytes decimal 192 168 100 13 or hexadecimal C0 A8 64 0D Checksum OF see Table 2 Table 2 Checksum computation LL emer m Hexadecimal Hexadecimal Cotegoy 03 _ See 00 jw C _ Doiabye2 8 Doiabyet 4 _ DoiabyeO 0D
32. onnect the DTM 3200 to a network Either a straight through or cross over network cable can be used the type of cable will be automatically recognized auto MDIX operation The DTM 3200 will automatically select the link speed of the connected network 10 100 1000Mbps 3 2 7 Power connector The DTM 3200 must be powered from an external source with a voltage between 5 and 24V DC Power consumption is max 5W The pinning of the power connector is shown in the table below Positive power connection The board can be reset by connecting pin to ground for at least 10O0ms The connector type is the Molex KK series 2 54 mm pitch 3 2 8 Stream status LED This LED indicates the status of the ASI and parallel stream The following colors are used for status indication ASI output mode Short red green flashes No output generated on ASI and parallel outputs Red green Generating live output on ASI and parallel outputs ASI input mode Short green flashes Long green flashe Green DTM 3200 OEM Ethernet Converter User Manual IC g CC 3 2 9 DTM 3200 status LED This LED indicates the current status of the DTM 3200 The following colors are used for status indication Red Running in failsafe mode Red green Green Running in operational mode DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC 4 Device Configuration and Monitoring 4 1 Control interfaces The DTM 3200 can be configured and monito
33. or the checksum is not received ot all Standard lC stop condition A repeated start condition can be used at all times to concatenate multiple read write actions The DTM 3200 supports a single channel only so index is used as a channel number it s always O DTM 3200 OEM Ethernet Converter 2c S X Address XT 20 continued P Optional b Figure 7 below shows the sequence to send a command over l C to the DTM 3200 If the command 5 read command the data may be omitted If the category does not require an index the index must be omitted 2 S X Address X t gt 2 continued X Index MSB Index LSB Data ho i P gt Optional Yt b 2c S X Address X 1 LAD LAD continued Optional b Figure 7 Command upper sequence and response lower sequence for lC When an error is detected by the DTM 3200 the R W byte in the response is changed to the ASCII character e When a master starts writing to device while the previous command is still being executed this device replies with a NACK S and P are the standard start and stop conditions A repeated start condition can be used at all times to concatenate multiple lC read write actions 4 3 Manageable items The tables in this section provide lists of variables that can be configured and or monitored using the or RS 232 485 422 interface The Access column indicates whether the var
34. red using 12 RS 232 RS 485 or RS 422 DIP switch 3 selects between RS 232 and RS 422 or RS 485 It is not required to select between l C and RS XXX The DTM 3200 will automatically use the interface on which it detects activity All control interfaces use the same command and response protocol that is described below 4 2 Command protocol Commands and responses are wrapped into a frame structure that contains address category setting read write index optional and data optional 4 2 1 Command protocol on RS 232 RS 422 RS 485 Start ASCII character ASCII start of text character STX s configurable using DIP switches 1 and 2 m ASCII character r for read and w for write r or Ww Index 4 hex digits Optional Provides an extra index parameter e g to indicate the channel number Data n hex digits The data written or read The data length is variable for each setting In case of a write operation the data is a negative acknowledgement Checksum 2 hex digits This is the two s complement of the 8 LSBs of the checksum over all characters in the message excluding the checksum STX and ETX characters character 0x03 Figure 6 below shows the structure of a command written through the serial interface If the command is a read command the data may be omitted If the category does not require an index the index must be omitted Serial data STX X Address X Category Se
35. rogram Clock Reference R W Read Write DTM 3200 OEM Ethernet Converter User Manual RO Read Only RTP Real time Transport Protocol SPI Synchronous Parallel Interface Shorthand for DVB SPI TSolP Transport Stream over IP UDP User Datagram Protocol WO Write Only 1 7 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 DTM 3200 OEM Ethernet TSoIP Converter User Manual IC g CC 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 DtmDbg is used to apply settings and observe status 2 2 Configuration 1 Converting TSolP to ASI This set up will receive a 5 stream and transmit the stream on the ASI interface 2 2 1 Test set up For testing this configuration a TSoIP transmitter should be present on the network to generate a TSolP test signal To observe the output of the DTM 3200 an ASI receiver is helpful This tutorial assumes that the
36. tting X RAW W BCC Figure 6 Command on an RS XXX serial control interface Hex digits are the ASCII characters 0 9 and A F concatenated to form a single hexadecimal value The DTM 3200 supports a single channel only so index is used as a channel number it s always O Invert all bits and add one DTM 3200 OEM Ethernet TSolP Converter User Manual IC g CC All commands successfully sent to the DTM 3200 are answered with a copy of the command including the data bytes When errors are detected the R W byte of the reply is replaced with the ASCII character e 4 2 2 Command protocol C Standard l C start condition Address address byte 7 bit lC address followed by the I C R W bit which is set to O and 1 in the command and response sequence respectively Category Selects a category of settings Setting Selects a setting within the selected category Read Write 1 byte O or 1 O for read and 1 for write Index 2 bytes Optional Provides an extra index parameter e g to indicate the channel number Data n bytes The data written or read The data length is variable for each setting In case of a write operation the actual data is returned as a negative acknowledgement Checksum 1 byte This is the error detection byte of the 7 bit address and all data bytes in the I C message excluding the checksum The I C address bit is not included if it has an err
Download Pdf Manuals
Related Search
Related Contents
MANUAL DO OPERADOR E MANUTENÇÃO Epson STYLUS DX6000 User's Manual P - Bernissart Gertboard User Manual Installation & Operating Instructions Table of contents 86066 ES QSG RC2.FH11 CLUB3D HD4650 1GB Copyright © All rights reserved.
Failed to retrieve file