Home

DTM-3200 - User Manual

image

Contents

1. Address and I C write bit 0x60 and 0 Category byte 0x90 Setting byte 0x03 Read byte 0x01 Index bytes 0x00 and 0x00 e Checksum 0xOC see Table 2 The checksum is computed with the address and without the C write bit Figure 9 is the reply sequence that may be executed after the read command of Figure 8 After addressing this device the bytes from the command are repeated followed with the 4 byte frequency DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual n Reply ok s gt C UCA 090 DA 0x03 Da aA m Wn CC BE E B E XC gt Figure 9 Read frequency reply The reply consists of the following bytes e Address and read bit 0x60 and 1 Category byte 0x90 Setting byte 0x03 Read byte 0x01 Four frequency bytes decimal 950 000 000 or hexadecimal 38 9F D9 80 e Checksum OxDC see Table 2 Table 2 Checksum computation Command Reply Address Category Setting R W Index byte 1 Index byte 2 Data byte 3 Data byte 2 Data byte 1 Data byte 0 Sum Checksum
2. s type DTM 3237_ Bo 0 Disabled 1 Enabled S Hardware rev v2 1 Peg 7 bootioacer verson vO 26g 3 19V Producton date 075 VB cota c Overal configuration 4 3 yoatiesetinos 9 12C address P 0 Disabled 1 Enabled ae z ered ere o 5 4 E mammae wm 7 mtem Storein FLASH MOT qux S Nmrber to fash memory 14 cat ones Receiver status 1 Locked TRUE 4 ModType DVB S232APSK 7 Frame length NORMAL 10 SymRate 44986293 2 Freg 2149 997 000 5 Code rate 9 10 8 Pilots PILOTS 11 Bitrate 195 999 648 53357 T Senes NORMA LPowerleve 1 2008 4 Es NO 26 0008 7 BER pre Viterbi N A 10 8ERpreiDPC 0 00e 000 2588 26 008 s EbyNO 52008 8 BER postit NA 11 BER post Dec 0 00e 000 0 000 9 BER preRS WA 123R post80H Cat 0x85 Firmware upgrade type 2 device 1 Mode Normal operation QE Select Ga DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n lec Appendix C Command Line Tool DtmCmd C 1 General description of DtmCmd DtmCmd is a cross platform Windows amp Linux command line tool for simple control of DTM 32xx devices The user can read and write device settings e g the command DtmCmd r 1 5 reads and prints the value of setting 5 in settings category 1 The most advanced capability o
3. Cat 2 Overall configuration 11 LNB 22kHz tone of Wise adres Z at 1 0 Settings non volatile 1 Settings volatile non volatile 1 See manual for options 12 DVB S2ISI of 10 UARTbaudrate 35 4 Persist all settings Store in FLASH 13 L 3 Timestamp o f P m x See manual for options Disabled 1 Enabled 5 Number of writes to flash memory 36 p ES Cat 0X91 Receiver status 1 Locked TRE 4 ModType DVB S232APSK 7 Framelength NORMAL 10 SymRate 27 499 954 119998000 5 9 10 8 Pilots 11 Bitrate 119 813 824 3Bw 329955934 6 Rolloff 20 9 Specruminv Cat 0x92 Receiver statistics 1 Powerdevel s 20dBmv 4 Es NO 24 0048 7 BER pre literbi 10 BER preippc 1 35e 006 2 SNR 24 0008 5 Eb NO 4 8008 8 BER post vit N A 11 BER postLDPC 0 00e 000 3 MER 24 0098 6 Link margin 7 9008 9 BER pre RS N A 12 BER postBCH 0 00e 000 08 Cat 0x85 Firmware upgrade type 2 device 1 Mode Normal operation 28 Select We DTM 3237 OEM DVB S2 Receiver with DVB ASI Output Dek icc User Manual 3 Layout and Installation 3 1 Physical layout 0 9 DTM 3237 top view MEI Connector type Description RF input MCX 750 DVB S 2 input
4. ASI output MCX 750 DVB ASI output Status LED DTM 3237 Status LED Identifier Type and revision number Control 10 pin header LVTTL serial control port and interface for 2 54mm pitch board control Power 6 pin header Power and reset 2 54mm pitch Power Molex KK Power and reset series 2 54mm pitch USB Female mini B USB interface for board control Factory Factory connector Not used in normal operation 3 2 Mechanical dimensions See Appendix A DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual n ec 3 3 Order codes Order Code Picture Description DTM 3237 DTM 3237 OEM DVB S2 receiver with DVB ASI output DTM 3237 DEVKIT The DTM 3237 development kit contains the following items DTM 3237 placed on four plastic studs e 12V 1 5A power supply with three way Molex KK connector USB cable type A to mini B MCX to F female cable assembly with a length of 130 mm e MCX to BNC cable assembly with a length of 130 mm 3 4 Hardware installation 3 4 1 Mechanical installation The unit can be mounted onto a support plate by means of four 3 mm bolts and appropriate spacers Ensure that there is sufficient airflow to provide cooling of the board 3 4 2 RF connector RF connector 1 is a MCX connector with an impedance of 75 ohm 3 4 3 ASI connector ASI connector 2 is a MCX connector with an impedance of 75 ohm DTM 3237 OEM DVB S2 Receiv
5. When a master starts writing to a device while the previous command is still being executed the device will ignore the data When a master starts reading from a device while there is no answer available yet the device will reply with the value 0x00 The value 0x00 will be returned until an answer is available and the master has initiated a new read transaction S and P are the standard 1 start and stop conditions Please refer to Appendix D for a communication example 4 3 Manageable items The tables in the sections below provide lists of variables that can be configured and or monitored using the USB I C or LVTTL serial control port interface The Access column indicates whether the variable can be changed or not according to the table below Access Description Read only Write only Read and or write Read from all interfaces write from USB only Not applicable Delayed execution see 4 4 Delayed execution 4 4 Delayed execution Most items are processed directly when the read or write command is received which will immediately result in an action on the device In contract to these directly processed items some items require more processing time and therefor these actions are performed with a delay in a background thread Items which execution is delayed are marked with a DE delayed execution prefix in the access column Items which execution is delayed can be monitored by
6. Using this setting reduces the amount of transfers from to the device up to 80 when reading all settings Please refer to the section 4 5 Device Configuration and Monitoring Categories for more information Added setting option DVB S2 Multiple Input Stream 6 to the Modulation Type setting 0x04 in category Receiver Status 0x91 Limited setting Link Margin 0x06 in category Receiver statistics 0x92 to DVB S2 Single Input Streams Changed interface name to LVTTL serial control port in order to avoid confusion Please refer to chapter 84 2 1 Command protocol on USB and LVTTL serial control port for more information 0 0 2013 06 03 Initial release to the field DTM 3237 OEM DVB S2 Receiver with DVB ASI Output 1 a a User Manual 1 Introduction 1 1 General description The DTM 3237 is a compact OEM module for receiving DVB S2 or DVB S and outputting it as DVB ASI The DTM 3237 can supply LNB power and has support for sending and receiving DiSEqC messages The transponder details and the output format can be configured programmatically through several control interfaces Figure 1 The PCB of the DTM 3237 A development kit DTM 3237 DEVKIT refer to Appendix B is available for easy setup and experimentation with the DTM 3237 1 2 DVB S 2 input modes The DTM 3237 supports all functionality described in EN 300 421 DVB S and EN 302 307 DVB S2 All DVB S2 modulation type
7. 12V DC input voltage When connecting a driver to the reset pin of the DTM 3237 make sure it is 12V tolerant To trigger a reset the voltage on the reset pin shall be 700mV or less DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual n 3 4 6 Stream status LED The status LED indicates the status of the DVB S 2 receiver and the ASI output stream The following colors are used for status indication Continuous green Valid DVB S 2 signal detected and generating signal on DVB ASI output Short green flashes No DVB S 2 signal detected and no output generated on DVB ASI output Short red green flashes The DTM 3237 is in firmware upgrade mode This modes allows 1 Upgrading the firmware and go back to normal operation afterwards 2 Go to normal operation in case valid firmware is present Red flashes Internal device error If resetting the device does not help contact DekTec support DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n lec 4 Device Configuration and Monitoring 4 1 Control interfaces The DTM 3237 can be configured and monitored using USB I C and LVTTL serial control port The address and LVTTL serial control port baud rate can only be configured through the USB interface e g with Dtm3237Util It is not required to select between the interface of your choice USB and LVTTL serial control port The DTM 3237 will automatically use the int
8. 4 5 2 Device properties 4 5 3 Overall configuration 4 5 4 Firmware upgrade 4 5 5 Receiver settings 4 5 6 Receiver status 4 5 7 Receiver statistics 4 5 8 DiSEqC send and receive options NN ORK DTM 3237 OEM DVB S2 Receiver with DVB ASI Output 1 a a User Manual 4 6 Firmware upgrade 4 6 1 Firmware upgrade Phases 4 6 2 Firmware upgrade Data encoding 4 6 3 Firmware upload Example 5 Specifications 5 1 RF input 5 2 DVB ASI input 5 3 Serial control port 5 4 lC control port 5 5 USB control port 5 6 Other specifications Appendix A Mechanical Dimensions Appendix B DTM 3237 Development Ki Appendix C Command Line Tool DtmCmd sssssssisssrssssesssscesrssrasisassssssososssssssssransssssssissssssress 33 Appendix D Communication Exampla a aa ee ee e eee eme enn enne 35 Copyright 2013 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 accurate and reliable but DekTec assumes no responsibility for any errors that may appear in this material 3 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual ra n ec Revision History Version Date Changes 0 1 2013 11 11 Added setting to certain category s which contains all settings in that category
9. free 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 integrate the protocol handler in your application Note The command line control tool DtmCmd is an example of an application that uses the DTM handler The source of DtmCmd is also available on the DekTec website Please refer to Appendix C for more information about DtmCmd 1 6 Theory of operation Essentially the DTM 3237 consists of two subsystems tuner demodulator and stream processor converting the modulated DVB S 2 input signal to a Transport Stream or L 3 Baseband frames on DVB ASI A processor subsystem that handles all internal external control USB I C LVTTL serial control 1 7 List of abbreviations ACM Adaptive coding and modulation APSK Amplitude and phase shift keying ASI Asynchronous serial interface Shorthand for DVB ASI BCH Cyclic error correcting codes abbreviation comprises the initials of its inventors names inner FEC coding used for DVB S2 BER Bit error rate CCM Constant coding and modulation CNR Carrier to noise ratio DTM 3237 OEM DVB S2 Receiver with DVB ASI Output De 1 a a User Manual CRC DiSEqC Eb No E No FEC FLASH SI L 3 LDPC LNB Mbps MER MIS ModCod NA NC PSK QPSK R W RO RS SIS SNR ST188 VCM WO Cyclic redundancy check Digital Satellite
10. of the DTM 3237 uint8 Firmware version Firmware version the major version is encoded in the tens the minor version in the units e g 10 indicates v1 0 uint32 Serial number Unique serial number for this device e g 3237 000 010 uint32 Type Device type number e g 3237 uint32 Hardware revision Hardware revision number e g 302 3 2 uint32 Bootloader version Bootloader version number uint8 Production date Production date of this board Bit 31 8 Year Bit 7 0 Month uint32 PC address 7 bit PC address Limitations Bit O C R W bit can t be set Address range 0x08 to 0x76 Changes to the address are automatically persisted in flash memory Default 0x60 LVTTL serial control port baud rate Serial baud rate Valid values 9600 115200 and 256000 Changes to the baud rate are automatically persisted in flash memory Default 9600 Device subtype e g 0 none 1 A Device busy flag 0 Ready 1 Processing DE marked items DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n 4 5 3 Overall configuration Manageable Items Category 0x02 Overall configuration Nr Variable Description Access Type All All settings in this category Volatile settings 0 Settings are persisted in flash memory 1 Settings are volatile not persisted in flash memory Per
11. sum of the 7 bit I2C slave address and all data bytes in the I2C message excluding the checksum The I2C R W bit is not included an incorrect value of this bit would cause the checksum to be not received at all Standard I C stop condition A repeated start condition can be used at all times to concatenate multiple 1 read write actions oO CGO Figure below shows the sequence to send a command over I C to the DTM 3237 In the examples below grey areas in the timing diagrams are sent by the DTM 3237 while white areas are sent by the 2 master If the command is a read command the data may be omitted Note that some settings require an index Seriol data LEX hires 9X0 5X AX Category lt A C Setting lt A RAV gt lt A index gt gt Dota P lt gt lt CK oed E E Figure 3 Command upper sequence and response lower sequence for C The DTM 3237 supports a single channel only so when index is used as a channel number it s always 0 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n When an incorrect checksum is detected the 3237 will not return an answer When protocol errors are detected e g a combination of a valid category with an invalid setting the R W byte of the reply is replaced by the ASCII character E and the data is removed from the message
12. the Busy item category 0x01 setting OxOC During the execution of these items the Busy item is set and it is not possible to execute other DE marked items In case the Busy item is set and a DE marked command is received the device will return with a B busy result in the Read Write field of the DTM protocol frame structure DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n 4 5 Categories Manageable Items Categories Settings Category Description Index Device Device properties Configuration Overall configuration Firmware upgrade Firmware upgrade type 2 Receiver settings Receiver settings Receiver status Receiver status Receiver statistics Receiver statistics DiSEqC DiSEqC send and receive commands 4 5 1 Data types Manageable Data types is Description LVTTL serial control port 8 bit unsigned integer 2 chars 32 bit signed integer 8 chars 32 bit unsigned integer 8 chars 64 bit unsigned integer 16 chars All data types are sent with the most significant byte first DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual 4 5 2 Device properties Manageable Items Category 0x01 Device properties Nr Variable All Description All settings in this category Access Dek icc Type 29 bytes FPGA version Version number of the FPGA code on board
13. 0x85 0x04 5 When the firmware upgrade is successfully completed the DTM 3237 should be rebooted to make the upgrade effective by putting the device in normal operation by setting Mode 0x85 0x01 to 0 After the device has been upgraded and rebooted the DTM 3237 checks the status of the firmware In case the firmware isn t correctly uploaded the DTM 3237 will stay in firmware upgrade mode In this mode the firmware must be uploaded again starting at the beginning of the firmware file When using the USB interface as communication port care should be taken with entering firmware upgrade mode or rebooting the DTM 3237 since the USB connection is closed in between To go from normal operation to firmware upgrade mode or vice versa preform these steps 1 Send the command for switching the mode 2 Close the USB handle within 500ms after sending the mode switch command 3 Wait for the USB interface to disappear and reinitialize before reopening the USB handle The entire firmware upgrade process is implemented in DtmHandler Please refer to DtmCmd appendix C for an example of how to implement the firmware upgrade using DtmHandler 4 6 2 Firmware upgrade Data encoding To improve the firmware upgrade speed the following encoding is used for the data part of the Programming data setting category 0x85 setting 0x03 when using the LVTTL serial control port and USB interface Binary data Ascii data b7 b6 b5 b4 b3 b2 bi b0 b7 b6
14. DTM 3237 DVB S2 Receiver with DVB ASI Output USER MANUAL TAM ET November 2013 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output 1 a a User Manual Revision History 1 Introduction 2 N 0 gt O 8 2 Getting Started 2 1 2 2 3 Layout and 3 1 3 2 3 3 3 4 4 Device Configuration and Monitoring eese eee eee eene eene 4 1 4 2 4 3 4 4 4 5 Table of Contents General description DVB S 2 input modes Output modes Control DTM 3237 Protocol Handler Theory of operation List of abbreviations Q Q Q A References ntroduction Configuration Receiving a DVB S 2 stream 2 2 1 lestset up k n a ains 2 2 2 Configuring the DVB S 2 to ASI conversion Physical layout Mechanical dimensions Order codes Hardware installation 3 4 1 Mechanical installation 3 4 2 RF connector 3 4 3 ASI connector 3 4 4 Control connector 3 4 5 Power connector 3 4 6 Stream status LED 00 Control interfoces Commond protocol 4 2 1 Command protocol on USB and LVTTL serial control port 4 2 2 Command protocol on C Manageable items Delayed execution Categories 4 5 1 Data types
15. Equipment Control Energy per bit to noise power spectral density ratio Energy per symbol per noise power spectral density Forward error correction Non volatile storage chip nput stream identifier Receiver adaptation serial output interface with in band signaling Low density parity check code outer FEC coding used for DVB S2 Low noise block Low voltage transistor transistor logic 3 3V Megabit per second Modulation error rate Multiple Input Stream Modulation and coding combination of constellation and code rate Not applicable Not connected Phase shift keying Quadrature phase shift keying Read Write Read only Reed Solomon inner FEC coding used for DVB S Single Input Stream Signal to noise ratio 188 byte Transport Stream mode Variable coding and modulation Write only 1 8 References 1 Manual Overview and Data Formats L 3 Baseband frame implementation Part of DekTec s Windows SDK 2 DVB S ETSI EN 300 421 Digital Video Broadcasting DVB Framing structure channel coding and modulation for 11 12 GHz satellite services 3 DVB S2 ETSI EN 302 307 Digital Video Broadcasting DVB Second generation framing structure channel coding and modulation systems for Broadcasting Interactive Services News Gathering and other broadband satellite applications DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n lec 2 Getting Started 2 1 Introduction This section pro
16. K gt lt gt Figure 6 Read command for the device type setting The command consists of the following parts Start character STX Two hexadecimal address characters 60 Two hexadecimal category characters 01 Two hexadecimal setting characters 05 A read character R Two hexadecimal checksum characters 82 End character ETX Figure 7 shows the two possible replies from the command in Figure 6 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 3237 0 00000 5 When the received command cannot be executed the read character is set to the ASCII character E and the data is removed In both cases the checksum is updated Reply ok lt six gt lt A gt lt 05 gt lt 00000CA5 gt lt DX EX Reply error STX 60 01 a BF ETX Figure 7 Reply after a device type read command successful and error PC read command Figure 8 shows the communication sequence used to issue a read frequency command category 0x90 setting 3 The returned data consists of the frequency Serial data C s gt 7X0 gt A DK 090 SKA DK 1 DX AD 000 XA Figure 8 Send frequency read command The command consists of the following bytes
17. OM port 3 e baudrate 9600 gt Set the baud rate to 9600bd e addr 0x60 gt Set the address of the DTM 3237 to 0x60 e r gt Set the command type to read e 1 5 gt Specify command category 1 and setting 5 This command results into the following output when using the v parameter verbose mode DtmCmd DTM 32xx Command Utility v1 0 1 c 2013 DekTec Digital Video Category 0x01 Device properties Setting 0x05 Type Index 0x00 Interface Serial DTM address 0x60 Serial path COM3 Serial baud 9600 Data read i 3237 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output 1 a a User Manual C 3 Writing to the DTM 3237 To demonstrate the writing of a setting we write 2150000000 to the setting Frequency setting 3 of category Tuner and demodulator settings category 0x90 The command below assumes that configuration settings are available in DtmCmd ini DtmCmd w 0x90 3 2150000000 The parameters used in this command have the following meaning e i 0 gt Set the index to 0 e w gt Set the command type to write e 0x90 3 2150000000 gt Specify command category 0x90 setting 3 and data 2150000000 This command results into the following output when using the v parameter verbose mode DtmCmd DTM 32xx Command Utility v1 0 1 c 2013 DekTec Digital Video Category 0x90 Tuner and demodulator settings Setting 0x03 Frequency Index 0x00 Interface S
18. SI Output User Manual 4 5 7 Receiver statistics Dek icc In DVB S2 the pre LDPC BER is the bit error rate before the receiver has applied any error correction For the DTM 3237 it is be computed from the MER using formulas These formulas have been validated using DekTec s advanced demodulator simulation software this software has been used amongst others in the DVB working groups for the definition of DVB T2 and DVB C2 The correspondence between theoretical and measured values is very good The E No is computed from the MER under the assumption that the noise distribution is Gaussian AWGN channel as under these circumstances Es No and MER are identical The Ep No is computed from the E No for constant modulated CCM streams only Manageable Items Category 0x92 Receiver statistics Nr Variable All Description All settings in this category Access Type RF power level RF power level for channel bandwidth in 0 1 dBmV units NT_MIN Unknown or not locked SNR ignal over noise ratio in 0 1 dB units NT_MIN Unknown or not locked MER Modulation error rate in 0 1 dB units NT_MIN Unknown or not locked E No Energy per symbol per noise power spectral density in 0 1 dB units NT MIN Unknown or not ed Eb No Energy per bit to noise power spectral density ratio in 0 1 dB units NT_MIN Unknown or not ed NT_MIN 1 N A for ACM streams Link margin Diffe
19. al format Interface standard Format Handshaking Speed 5 4 1 control port Interface port Connector Signals LVTTL serial control port 8 bit one stop bit no parity hardware flow control 9600 115200 or 256000 9600 by default 10 way pin header 2 54 mm pitch SDA SCL Baud configurable through command protocol Unit Remark Signals available on pin 9 10 of serial port control connector Serial format Interface voltage Speed Device address 3 3 400 0x60 0x76 V kbit s Configurable through command protocol DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual 5 5 USB control port Interface port Connector Signals Format Handshaking Speed 5 6 Other specifications Power Power Supply Voltage Connector 1 Connector 2 Power Consumption excluding LNB Power Consumption including LNB Mini USB B USB 2 8 bit one stop bit no parity hardware flow control 256000 10 8 12 13 2 Right angle 3 pin Molex KK Dual row 3 way pin header 2 54 mm pitch 5 Unit Remark Serial emulator Unit Remarks w W LNB 500mA 19V Environmental Hazardous Substances Flammability Operational Temperature RoHS compliant UL 94 HB gt 45 Mechanical Mounting Dimensions W x H x D Weight 3 87 45 x 38 75 x 17 9 26 mm four mounting holes mm max 9 Dck icc DTM 3237 OEM DVB S2 Receiver
20. b5 b4 b3 b2 bi b0 Figure 4 ASCII encoding for firmware upgrade data For each 7 bits of data one 8 bit ASCII character is sent where the MSB of the ASCII character is set to 1 extended ASCII range The translation is illustrated in Figure 4 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Do n 4 6 3 Firmware upload Example In the example below the DTM 3237 is upgraded with new firmware over USB The size of the firmware file is 486400 bytes Over USB each packet can hold a maximum of 250 data bytes so the number of file parts will 1946 The first 1945 file parts will contain 250 data bytes and the last part will contain 150 data bytes The table below shows the actions required to perform this firmware upgrade Action Setting Comment Switch mode to 1 0x85 0x01 Switch to firmware upgrade mode Close USB interface USB only Wait 3s Reconnect USB i f USB only Read mode 0x85 0x01 Verify that mode is firmware upgrade mode 1 Erase 0x85 0x02 The DTM 3237 needs 3 5 seconds processing time to erase the firmware File part 0x85 0x03 File part 0x85 0x03 0x85 0x03 File port 0x85 0x03 Verify 0x85 0x04 We expect to read 1 firmwore uploaded correctly Switch mode to 0 0x85 0x01 Switch to normal mode Close USB interface USB only Wait 10s Reconnect USB i f USB only Read mode 0x85 0x01 Verify that mode is normal 0 For USB data is encoded as described
21. ed correctly Factory default 7 Flash memory endurance is min 1000 writes therefor only store the settings in flash memory when necessary DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Deck icc This command can only be used in firmware upgrade mode see category 0x85 setting 0x01 4 5 5 Receiver settings Manageable Items Category 0x90 Receiver settings Nr Variable All Description All settings in this category Access Type Receive mode Receive mode 0 Transport Stream packets 1 L3 baseband frames Frequency Frequency in Hertz Range 950000000 2 150000000 uint32 LNB enable LNB power enabled disabled 0 Disabled 1 Enabled uint8 LNB voltage LNB voltage 0 13V 1 14V 2 18V 3 19V LNB tone LNB 22kHz tune enabled disabled 0 Disabled 1 Enabled DVB S2 ISI DVB S2 input stream identifier Used to filter a multiple input stream in case the receive mode is Transport Stream Valid range 0 255 L 3 timestamp insertion Factory default 4 5 6 Receiver status Manageable Items Category 0x91 Receiver status Nr Variable All 32 bit timestamp insertion in L 3 baseband frames enabled disabled 0 Disabled 1 Enabled Description All settings in this category Access Type Locked Demodulator locked status 0 No full lock 1 Loc
22. er with DVB ASI Output User Manual n ec 2 Using a controller on board of the equipment that uses the DTM 3237 as co processor board for satellite reception In this case 2 or LVTTL serial control port is a plausible choice for the control interface but USB interface can also be used The 2 address and LVTTL serial control port baud rate can be pre configured through USB with Dtm3237Util The factory default IC address is 0x60 and the default LVTTL serial control port baud rate is 9600 3 Stand alone mode The DTM 3237 is pre configured and no dynamic control is applied Two control tools are ovailable 1 Dtm3237Util Windows GUI tool to view status and control settings of the DTM 3237 The tool can also be used to upload new firmware versions Dtm3237Util is convenient for initial configuration of the DTM 3237 and for experimentation with the DTM 3237 2 DtmCmd Command line tool to send commands to the DTM 3237 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 3237 It is also useful to apply a pre defined group of setting values from a script 1 5 DTM 3237 Protocol Handler For developers that implement their own application controlling the DTM 3237 an open source implementation of a protocol handler for DTM 32XX devices is available It can be downloaded from www dektec com free of charge and can be used royalty
23. er with DVB ASI Output User Manual n lec 3 4 4 Control connector The pinning of the control connector is shown in the table below It s a dual row pin header for connecting the LVTTL serial control port or lC control bus Function i Function LVTTL serial control port TX LVTTL serial control port CTS LVTTL serial control port RX 4 LVTTL serial control port RTS NC NC GND 8 PCSCL SDA PC SCL The pinning of this connector in the table above must be read from the DTM 3237 s point of view For example Pin 1 TX is the DTM 3237 transmitter pin which should be connected to the RX pin on the equipment which uses the DTM 3237 An controller can be connected to SDA and SCL on pin 11 and 12 with signal ground on pin 9 3 4 5 Power connector The DTM 3237 must be powered from an external source with a voltage of 12V DC Power consumption is max 5W without the LNB power enabled Two power connectors are available connector 6 and 7 Please refer to 83 1 Physical layout for the connector layout The pinning of these power connectors is shown below Connector Pin header 2 54 mm pitch Function 12V DC in 12V DC in Ground 4 Ground Reset Reset Connector 7 Molex KK series 2 54 mm pitch 12V DC in Ground Reset The board can be reset by pulling the reset pin to ground for at least 100ms The reset pin is connected with a resistor to the
24. erface on which it detects activity The default I C address is 0x60 e The default LVTTL serial control port baud rate is 9600 The USB interface is implemented as USB to serial emulator and therefor the USB and LVTTL serial control port protocol are the same The baud rate for the USB serial emulator is 256000 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 and data optional The DTM 3237 accepts uppercase and lowercase characters but will always respond in uppercase 4 2 1 Command protocol on USB and LVTTL serial control port Description Start ASCII character ASCII start of text character STX 0x02 Address 2 hex digits 8 bit address Category 2 hex digits Selects a category of settings Setting 2 hex digits Selects a setting within the selected category Read Write ASCII character R for read and W for write R or W Index 4 hex digits 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 ASCII characters each setting In case of a write operation the data is a negative acknowledgement Checksum 2 hex digits This is the least significant byte of the two s complement sum of all characters in the m
25. erial DTM address 0x60 Serial path COM3 Serial baud 9600 Data written 2150000000 C 4 Upgrading the DTM 3237 s firmware demonstrate the firmware upgrade process we pass the filename of the firmware file to DtmCmd he USB parameter usb must be passed in case the USB interface is used Please refer to 84 6 1 Firmware upgrade Phases for more information about upgrading the firmware using the USB interface The command below assumes that configuration settings are available in DtmCmd ini DtmCmd upgrade Dtm3237FwV0 dtm for interface I2C or serial DtmCmd upgrade Dtm3237FwV0 dtm usb for interface USB he parameters used in this command have the following meaning e upgrade gt Set to the filename of the firmware file e Optional for USB usb gt Set to indicate the USB interface is being used his command results into the following output when using the v parameter verbose mode DtmCmd DTM 32xx Command Utility v1 0 1 c 2013 DekTec Digital Video B V Firmware upgrade Dtm3237FwV0 dtm Interface serial DTM address 0x60 Serial path COM3 Serial baud 256000 Current phase Finished progress 100 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n Appendix D Communication Example In the examples below grey areas in the timing diagrams are sent by the DTM 3237 while white areas are sent by the master The C address of the DTM 3237 in th
26. ese examples is 0x60 Serial write command on LVTTL serial control port interface or USB interface Figure 5 shows the write command of the LNB enable at the tuner and demodulator settings category 90 setting 9 index 0 All values are displayed as ASCII characters Serial data lt STX 60 gt 190 gt C 109 gt lt lt gt KX gt Figure 5 Write LNB enable in the tuner and demodulator settings The command consists of the following parts Start character STX Two hexadecimal address characters 60 address doesn t care see 84 2 1 Two hexadecimal category characters 90 Two hexadecimal setting characters 09 A write character W Four hexadecimal index characters 0000 Two hexadecimal data characters 01 Two hexadecimal checksum characters 50 See Table 1 Stop character ETX Table 1 Checksum computation Characters ASCII value amp Sum Checksum Serial read command on LVTTL serial control port interface or USB interface Figure 6 shows the read command of the device type number category 1 setting 5 The returned data consists of 4 bytes int32 All values are displayed as ASCII characters DTM 3237 OEM DVB S2 Receiver with DVB ASI Output De 1 a a User Manual Serial data lt STK 60 gt C OU gt lt Os SK
27. essage excluding the STX and ETX characters and the checksum itself End ASCII character ETX 0x03 Hex digits are the ASCII characters 0 9 and A F concatenated to form a single hexadecimal value 3 The DTM 3237 only supports LVTTL serial control port and USB so no address is necessary and therefor this value doesn t care The DTM 3237 supports a single channel only so when index is used as a channel number it s always 0 5 Invert all bits and add one DTM 3237 OEM DVB S2 Receiver with DVB ASI Output De 1 lt a User Manual The DTM 3237 s LVTTL serial control port is designed to interface directly with a microprocessor system The serial control port uses the same protocol as RS 232 but the I O voltages are entirely different This LVTTL serial control interface is not compatible with a RS 232 port e g a PC s COM port due to its different voltage I Do not connect the LVTTL serial control port to a PC s COM port II Connecting the LVTTL serial control port of the DTM 3237 to PC s COM port may cause permanent damage to the DTM 3237 Ls DTM 3237 LVTTL serial control port Digital 0 3V 15V OV Digital 1 3V 15V 3 3V Figure 2 below shows the structure of a command written through the serial interface If the command is a read command the data may be omitted Note that some settings require an index Serial dota lt ST Cries X Cogo X Sei
28. f DtmCmd is upgrading the firmware of a DTM 32xx device DtmCmd comes with a Microsoft Visual Studio 2010 project for Windows and Makefile for Linux To use the command line tool under Windows open a DOS box in a directory containing the DtmCmd executable Each time DtmCmd is run a single command specified with the command line arguments is executed on the DTM 3237 See DtmCmd for help on the available commands You can specify the interface type serial I C interface settings and DTM address on the command line The configuration settings are stored in file DtmCmd ini Every time DtmCmd starts it first reads DtmCmd ini so that you don t need to specify the configuration settings every run of DtmCmd Please note that the USB interface on the DTM 3237 is a serial emulator and therefor the serial interface needs to be used in DtmCmd Please refer to 84 1 Control interfaces for more information C 2 Reading a setting from the DTM 3237 The following command reads device property Type category 1 setting 5 DtmCmd interface Serial serial COM3 baudrate 9600 addr 0x60 amd S The following shortcut is equivalent once the configuration settings are available DtmCmd ini DtmCmd r 1 5 The parameters used in this command have the following meanings e interface Serial gt Set the interface type to a serial COM port The 1 interface is also supported by DtmCmd e serial COM3 gt Set the serial COM port identifier to C
29. ic double StatisticData pow 2 0 64 0 4 5 8 DiSEqC send and receive options The manageable items in category 0x93 can be used to send and receive DiSEqC message to from LNB s switches or motors DiSEqC messages can contain as much data as required Manageable Items Category 0x93 DiSEqC send and receive commands Nr Variable Description Access Type Send DiSEqC Burst A B 0 Burst type A 1 Burst type B Send DiSEqC Send DiSEqC message message Send DiSEqC Send DiSEqC message and receive message and response which enables the DiSEqC receive response receiver during transmission The received response can be retrieved through items in this category DiSEqC response DiSEqC response message size in bytes message length DiSEqC response DiSEqC response message data message DTM 3237 OEM DVB S2 Receiver with DVB ASI Output De 1 lt a User Manual 4 6 Firmware upgrade 4 6 1 Firmware upgrade Phases Updating the firmware of the device consists of five phases 1 Put the device in firmware upgrade mode by setting Mode 0x85 0x01 to 1 2 Erase the current firmware by writing any value to setting Erase 0x85 0x02 3 Upload the firmware The file has to be uploaded in parts to setting Programming data 0x85 0x03 were each part may contain 250 2 to 1 000 LVTTL serial control port bytes 4 Verify the uploaded firmware by reading from setting Verify
30. in 84 6 2 For LVTTL serial control port the same encoding is used For 2 data bytes are packaged without conversion C write message DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual 5 Specifications 5 1 RF input Typ Dek icc Unit Remarks Standard DVB S DVB S2 EN 301 210 EN 302 307 RF input Connector type Impedance Return loss Tuning range Sensitivity Baud Rate MCX female 75 30 45 Q dB 950 2150MHz Hz dB DVB S2 modes Constellation Code rate Coding mode Multiple transport streams QPSK 8PSK 16APSK 32APSK All supported by STV0900 CCM VCM ACM Supported in L 3 output mode Metrology RF level RF level accuracy MER MER accuracy Constellation 60 30 22 2 Not supported LNB interface LNB supply LNB short circuit protection 22kHz tone 13V 14V 18V 19V 500mA 600 10 On Off DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual 5 2 DVB ASI input Standard DVB ASI EN50083 9 Dek icc Unit Remarks Ports Connector Return loss Error free cable length ASI bitrate Packet size Receive modes 5 3 Serial control port Interface port Connector Signals 75 0 MCX 15 27 100 Matching DVB S 2 bitrate 188 bytes TS L 3 baseband frames 10 way pin header 2 54 mm pitch Tx Rx RTS CTS In TS mode Unit Remark Seri
31. ked received data is reliable Frequency Frequency Hz 0 Unknown or receiver not locked uint32 Occupied bandwidth Occupied bandwidth Hz 0 Unknown or receiver not locked uint32 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Manageable Items Category 0x91 Receiver status Variable Modulation type Description Received modulation type standard constellation 0 Unknown or receiver not locked 1 DVB S QPSK 2 DVB S2 QPSK 3 DVB S2 8PSK 4 DVB S2 16APSK 5 DVB S2 32APSK 6 DVB S2 Multiple Input Stream Access Dek icc Code rate Detected code rate 0 Unknown 00 O Oi G gt M H H H 10 2 5 1123 5 12 8 9 13 9 10 Roll off factor Roll off factor in percentage 0 Unknown or receiver not FEC Frame length FEC Frame length 0 Unknown or receiver not 1 Normal FEC frames 2 Short FEC frames Pilots Pilots enabled disabled 0 Unknown or receiver not 1 No pilots present 2 Pilots present Spectrum inversion Spectrum inverted yes no 0 Unknown or receiver not 1 Normal 2 Inverted Symbol rate Detected symbol rate 0 Unknown or receiver not locked uint32 Interface bitrate Detected interface bitrate after FEC 0 Unknown or receiver not locked INT_MIN N A for ACM streams uint32 DTM 3237 OEM DVB S2 Receiver with DVB A
32. mp LPT a 1 B Processors H a Sound video and game controllers I System devices B d ioiueresl Carial Rue rontenllare ommunications Port COM1 In this case the DTM 3237 is configured as COM port number 3 B 2 4 Debugger Dek icc Dtm3237Util is a GUI tool to view status control settings and upload firmware to the DTM 3237 This utility can be found on the DekTec USB flash drive It can also be downloaded from the DekTec website Dtm3237Util 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 3237 is connected When a valid serial port is selected all registers are read from the DTM 3237 and shown in the GUI Blue fields can be edited These fields are written to the DTM 3237 when the pen symbol to the right of the edit fields is clicked Yellow fields are read only they are read when the refresh arrow is clicked lity View Status and Control Parameters vi 0 0 0 ES Communication port comport coms state V cata Device properties nD Cat 0x90 Receiver settings nr www dektec com 1 FPGA version vo 1 Receive mode armare version 0 Transport Stream 1 1 388 asmi Ares
33. ng this time the LEDs on the DTM 3237 are flashing in a start up pattern Wait until the DTM 3237 status LED turns blinking green B 2 3 USB driver The DTM 3237 uses a default USB serial driver usbser which needs to be installed with Dtm3237 inf driver file Connect the DTM 3237 to a USB port on the PC with the USB cable included in the development kit After a while the USB connection to the DTM 3237 board will become visible as a DTM 3237 DVB S 2 Demodulator device al Device Manager Action Hep Bole 8 Mice and other pointing devices 2 8 Microchip Tools 9 0 Monitors Network adapters 5 0 Other devices li 01 3237 OEM DVB S DVE S2 receiver 8 79 Ports COM amp LPT 8 Processors 8 4 Sound video and game controllers 89 388 System devices GL B Geral ue At that point the driver can be updated by using the Update Driver Software window right mouse button and selecting the Dtm3237 inf file from the development kit After installing the driver the DTM 3237 is ready to be used with Dtm3237Util or any other software which uses the COM port interface to communicate with the DTM 3237 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Acton View 010 61121615 Mice and other pointing devices Microchip Tools M Monitors 9 90 Network adapters Ports COM a
34. ns gt RW gt lt e Figure 2 Command on an USB and LVTTL serial control port serial control interface All commands successfully sent to the DTM 3237 are answered with a copy of the command including the data bytes When an incorrect checksum or an invalid hex value is detected the DTM 3237 will not return an answer When protocol errors are detected e g a combination of a valid category with an invalid setting the R W byte of the reply is replaced with the ASCII character E and the data is removed from the message Please refer to Appendix D for a communication example DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Ta n 4 2 2 Command protocol on C Format Description Start 5 Standard I C start condition Address address byte 7 bit 12 address followed by the I C R W bit which is set to 0 and 1 in the command and response sequence respectively Category 1 byte Selects a category of settings Setting 1 byte Selects a setting within the selected category Read Write 1 byte 0x01 for read and 0x00 for write Index 2 bytes 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 least significant byte of the two s complement of the
35. rence in dB between C N of the received signal and the C N at which the receiver cannot demodulate the signal any more in 0 1dB units NT_MIN Unknown or not locked NT_MIN 1 N A for DVB S2 MIS BER pre Viterbi Pre Viterbi bit error rate NT_MIN Unknown or not locked NT_MIN 1 N A for DVB S2 uint64 BER post Viterbi Post Viterbi bit error rate NT_MIN Unknown or not locked NT_MIN 1 N A for DVB S2 uint64 BER pre RS Pre Reed Solomon bit error rate NT_MIN Unknown or not locked NT_MIN 1 N A for DVB S2 uint64 DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual Do n lec Manageable Items Category 0x92 Receiver statistics Variable Description Access BER pre LDPC nner LDPC bit error rate pre LDPC uint 4 NT MIN Unknown or not locked NT MIN 1 N A for DVB S NT MIN 2 N A for DVB S2 MIS BER post LDPC Outer LDPC bit error rate post LDPC uint 4 NT MIN Unknown or not locked NT MIN 1 N A for DVB S BER post BCH Outer BCH bit error rate post BCH uint 4 NT MIN Unknown or not locked NT MIN 1 N A for DVB S When a statistic has the output type uint 4 the received data can be converted to variable double type with the following C code unsigned long long StatisticData DtmResult Result DtmReadInt64 DtmAddr CategoryNr SettingNr Index amp StatisticData double Statist
36. s can be demodulated QPSK 8PSK 16 32APSK The DTM 3237 supports advanced DVB S2 features including VCM ACM Multiple Input Streams MIS and Generic Stream GS 1 3 Output modes The DTM 3237 can output the DVB S 2 stream in 2 modes Transport Stream and L 3 Baseband frames Please refer to Manual Overview and Data Formats pdf for more detailed information about the L 3 Baseband frame data format This document is part of DekTec s Windows SDK and can be downloaded from www dektec com 1 4 Control he unit can be managed and controlled through one of the available control interfaces USB lC or LVTTL serial control port Settings applied through a control interfaces are persisted in non volatile memory if setting Volatile storage is 1 Persisted settings are automatically reloaded after a power cycle The penalty for persisting settings is that it takes some time to store the setting value in non volatile memory and a limit to the number of write cycles to non volatile memory exist f setting Volatile storage is 0 applying settings is immediate but new setting values will disappear when power is removed here are three ways to control the DTM 3237 From a development PC using the USB control interface The development PC runs a control tool Dtm3237Util or DtmCmd This way of controlling can be used for pre configuring the DTM 3237 or for experimenting with the DTM 3237 DTM 3237 OEM DVB S2 Receiv
37. sist all settings Store all current settings in flash memory 7 Data don t care Number of writes Number of times the settings have been uint32 to flash memory written to flash memory Factory default 4 5 4 Firmware upgrade The settings in the Firmware upgrade category can be used to erase the current firmware to upload new firmware to program new firmware into flash memory and to verify the uploaded firmware To upgrade the DTM 3237 setting Mode 0x01 needs to be set to 1 Firmware upgrade mode When the USB interface is used and Mode is changed a USB reconnect is necessary please refer to 84 6 Firmware upgrade The new firmware has to be uploaded in file parts For communication through C the parts may contain at most 250 data bytes for communication through USB or LVTTL serial control port the parts may contain at most 1000 data bytes An example of a firmware upgrade sequence can be found in paragraph 4 6 Manageable Items Category 0x85 Firmware upgrade type 2 Variable Description Access Mode 0 Normal operation 1 Firmware upgrade mode Erase Erase the firmware Data Don t care Programming Data to be programmed into flash data memory The data is immediately written to flash memory Index O indicates the start of a new firmware file Verify the firmware based on start address length and CRC 0 Firmware is not uploaded correctly 1 Firmware is upload
38. tream and transmit this stream on the ASI port The status LED will be steady green to indicate successful transmission of the transport stream on the ASI output If no DVB S 2 stream is received the status LED will flash green on and off A screenshot of the Dtm3237Util after configuration is added on the next page 1 If you do not have a suitable DVB S 2 modulator and or ASI receiver this functionality can for example be realized with PC and a DekTec DTA 2107 and or DTA 2144 I O card in it Please consult your local DekTec representative for more information DTM 3237 OEM DVB S2 Receiver with DVB ASI Output User Manual n Below you find a screenshot of the Dtm3237Util after all settings for the Getting Started configuration has been applied and the upper left refresh arrow has been pressed to refresh all the settings receiver status and statistics gt 3237 Utility View Status and Control Parameters v1 0 0 0 Wasi xi or Deck icc COMport COM3 Status OK a www dektec com Cat 1 Device properties Cat 0x90 Receiver settings 1 FPGA version vo 1 Receive mode o P 7 0 Transport Stream 1 L 388 45 3237 000 006 3 Freq 1150000000 P 5 Type DTM 3237 9 LNB enable r 0 Disabled 1 Enabled 6 Hardware revision v2 1 neve 7 Bootloader version vo 0 13 1 14 2 18 3 19V E 8 Production date 2013 4
39. vides a walkthrough for getting started with the DTM 3237 The description below assumes that you have a DTM 3237 development kit available see Appendix B The DTM 3237 is connected to a development PC with USB The GUI control tool Dtm3237Util is used to apply settings and observe status 2 2 Configuration Receiving a DVB S 2 stream This setup will receive a DVB S 2 stream and transmit the stream on the ASI interface 2 2 1 Test set up For testing this configuration a DVB S 2 signal should be connected to the DTM 3237 s RF input To observe the output of the DTM 3237 an ASI receiver is helpful This tutorial assumes that a DVB S 2 stream with the following or equivalent parameters is applied to the DTM 3237 Modulation standard DVB S or DVB S2 Constellation QPSK 8PSK 16 APSK or 32 APSK Frequency 1150 MHz Code rate Va Symbol rate 27 5 MSymbol s RF power level 30dBm 2 2 2 Configuring the DVB S 2 to ASI conversion Use Dtm3237Util to configure the DTM 3237 as shown in the table below The receiver is updated when a configuration parameter is updated using the pen icon next to each setting Change the following parameters Category Setting Setting name 0x01 Receive mode 0 Transport stream 0x03 Frequency Hertz 1150000000 1150MHz 0x09 LNB power enable 0 Disabled A refresh is required to see the receiver status and statistics The DTM 3237 will now receive a DVB S 2 s
40. with DVB ASI Output User Manual Appendix A Mechanical Dimensions 45mm gt 4mm EE 5 T gi O mu Fann Al gav o Mounting holes The diameter of the mounting holes is 3 2mm intended for M3 bolts Maximum outer diameter of nut ring 7 5mm Warning While mounting the DTM 3237 care should be taken not to damage components that are close to the mounting holes both on the top and bottom side of the board DTM 3237 OEM DVB S2 Receiver with DVB ASI Output 1 lec a User Manual Appendix B DTM 3237 Development Kit B 1 DTM 3237 development kit Contents The DTM 3237 development kit contains the following items DTM 3237 placed on four plastic studs e 12V 1 5A power supply USB cable type A to mini B MCX to F female cable assembly length 130mm MCX to BNC cable assembly length 130mm DekTec USB flash drive containing DTM 3237 documentation and development tools as well as documentation on DekTec s other products The development kit can be ordered from DekTec using type number DTM 3237 DEVKIT B 2 Using the DTM 3237 development kit B 2 1 Hardware installation The DTM 3237 board has to be connected with the USB cable to a development PC Connect the DTM 3237 to the power supply using the power connector The DTM 3237 will boot which will take a few seconds Duri

Download Pdf Manuals

image

Related Search

Related Contents

  (412) 922-8886 Toll Free: 1-800-441-987  

Copyright © All rights reserved.
Failed to retrieve file