Modifier l'émetteur DVB-T2’ paramètres via le port série

How to write commands to modify the parameters of the DVB-T2 transmitter through the serial port?

The following method is suitable for this product.

Module configuration parameters

The module configuration parameters are all realized by writing a 256×8 RAM inside the module. The parameters controlling the serial port are 19200, 8-bit data, checksum, et 1 peu d'arrêt.

RAM parameter description

The module configuration parameters are all implemented by writing to a 256×8 RAM inside the module. The configured parameters are valid after saving reset or powering on again. After the system is powered on or reset, the serial port will print {AAAAAA}

RAM parameter description

BÉLIER[0]: System reset control, readable and writable, reading and writing have different meanings

        Écrire:

00 => Reset the entire system, the serial port returns {AAAAAA}, indicating that the system has been reset.

01=> Sauvegarder 256 RAM values, and the serial port returns {000101}, indicating successful execution.

02=>Restore the value of 256 RAM to the system default initial value, and the serial port returns {000202}, indicating execution.

success

           03 => Search for the frequency point of the specified bandwidth. The serial port returns {000303}, indicating that the execution is successful.

           04 => IP-related parameter configuration takes effect, and the serial port returns {000404}, indicating successful execution.

           Others => Réservé

           read::

          Peu[7:4]: réservé

          Peu[3] network port connection rate, only meaningful when Bit[2]=‘1’

                     ‘0’:100M

                     ‘1’:1000M

          Peu[2] network port connection status

                     ‘0’: The network port is not connected

                     ‘1’: Network port connection

          Peu[1]: Main EW300 frequency lock indication

  ‘1’=frequency lock

  ‘0’=frequency not locked

          Peu[0]: Frequency lock indication from EW300

  ‘1’=frequency lock

  ‘0’=frequency not locked

BÉLIER[1]~RAM[3]: Specified frequency point, in KHz, readable and writable, BÉLIER[1] is the high bit, gamme (100M~860M)

BÉLIER[4]: bandwidth of frequency point,

         08 => 8M

         07 => 7M

         06 => 6M

         05 => 5M

         01 => 1.7M

BÉLIER[5]~RAM[8]:local IP address,Readable.

Valeur par défaut: 192(BÉLIER[5]).168(BÉLIER[6]).1(BÉLIER[7]).100(BÉLIER[8])

BÉLIER[9]~RAM[14]: local MAC address, readable and writable.

               Valeur par défaut: 98-8D-46-0E-61-87

BÉLIER[15]~RAM[16]:UDP source port number, readable and writable, défaut 6000, BÉLIER[15] is the high byte.

BÉLIER[17]~RAM[18]:UDP destination port number, readable and writable, par défaut 6001, BÉLIER[17] is the high byte.

BÉLIER[19]~RAM[22]:UDP destination host IP address, address format: BÉLIER[19].BÉLIER[20].BÉLIER[21].BÉLIER[22]. Readable and writable, default value 192.168.1.110

                   If it is a multicast address, the range is 239.0.0.0~239.255.255.255.

BÉLIER[23]:Empty packets are deleted, default is 0x00,

                   00: Do not delete empty packages

                   Autres: delete empty packages

BÉLIER[24]~RAM[63]: réservé

BÉLIER[64]~RAM[65]: MASTER SNR

BÉLIER[66]~RAM[67]: SLAVE SNR

BÉLIER[68]~RAM[69]: MASTER RFLEVEL /div8

BÉLIER[70]~RAM[71]: SLAVE RFLEVEL /div8

BÉLIER[72]~RAM[74]: MASTER FBER,MSB(BÉLIER[72]) = 1

BÉLIER[80]:The next OFDM PRAMETER RAM is valid mark,read only

        0: No valid

        1: valid 

BÉLIER[81]: read only

  BIT[5]  0:Not mixed

1:Mixed

   BIT[4] 0: SISO

1:MISO

   BIT[2:0] 0:2K

1:8K

2:4K

3:1K

4:16K

5:32K

BÉLIER[82]: read only

   BIT[6:4] 0:1/32

1:1/16

2:1/8

3:1/4

4:1/128

5:19/128

6:19/256

BIT[2:0]  0:PP1

1:PP2

2: PP3

3:PP4

4:PP5

5:PP6

6:PP7

7:PP8

BÉLIER[83]: read only

    BIT[4]    0:Normale

1:Étendu

BIT[2:0] PAPR MODE

BÉLIER[84]~RAM[85]: Number of data symbols in a T2 frame,BÉLIER[84] high byte, BÉLIER[85] low byte, read only

Other RAM is reserved and its contents cannot be read or written.

  1. Module configuration commands

Configuration commands are implemented by sending commands to it through the serial port.

    Command format: {+opcode+RAM address+<operand>+check code+} The symbols {} are all hexadecimal numbers represented by ASCII codes.

           { : indicates the start of the command

           +: Indicates that this only represents the connection, which is used for illustration and does not exist in the actual command.

           <>: Indicates that the parameter is not included in the read command.

           } : indicates the end of the command

           Opcode: 00 means write, FF means read, 1 octet

           RAM address: 1 octet

           Operand: The operand of the command is 1 octet. In the read operation, this byte has no

           Check code: (opcode + storage address + <operand>) mod 256

Command return format:

           The return format if the operation is successful: {+register address+register value+check code+}

                            The reset command did not return

           Operation failure return format: {FFFFFF}

PDF Documents

Download Chinese document

https://docs.google.com/document/d/1eIGJlXFif3Kbage1uapclNjPHCpkfJinyNCwyGNYG1I/edit?usp=drive_link

Poser une question

← Retour

Merci pour votre réponse. ✨

Laisser une réponse

Votre adresse email ne sera pas publiée. Les champs obligatoires sont marqués *