修改DVB-T2发射机’ 通过串口参数

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. The parameters controlling the serial port are 19200, 8-bit data, checksum, 和 1 停止位.

RAM parameter description

模块配置参数全部通过写入256来实现×8 模块内的RAM. 配置的参数保存复位或重新上电后有效. 系统上电或复位后, 串口将打印 {AAAAAA}

RAM parameter description

内存[0]: 系统复位控制, 可读可写, 读和写有不同的含义

        写:

00 => 重置整个系统, 串口返回 {AAAAAA}, 表明系统已经重置.

01=> 节省 256 内存值, 串口返回 {000101}, 表示执行成功.

02=>恢复值 256 RAM改为系统默认初始值, 串口返回 {000202}, indicating execution.

success

           03 => 搜索指定带宽的频点. 串口返回 {000303}, 表明执行成功.

           04 => IP-related parameter configuration takes effect, 串口返回 {000404}, 表示执行成功.

           其他=> 预订的

           读::

          少量[7:4]: 预订的

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

                     ‘0’:100中号

                     ‘1’:1000中号

          少量[2] network port connection status

                     ‘0’: The network port is not connected

                     ‘1’: Network port connection

          少量[1]: Main EW300 frequency lock indication

  ‘1’=频率锁定

  ‘0’=频率未锁定

          少量[0]: Frequency lock indication from EW300

  ‘1’=频率锁定

  ‘0’=频率未锁定

内存[1]~内存[3]: Specified frequency point, in KHz, 可读可写, 内存[1] 是高位, range (100M~860M)

内存[4]: bandwidth of frequency point,

         08 => 8中号

         07 => 7中号

         06 => 6中号

         05 => 5中号

         01 => 1.7中号

内存[5]~内存[8]:local IP address,Readable.

默认值: 192(内存[5]).168(内存[6]).1(内存[7]).100(内存[8])

内存[9]~内存[14]: local MAC address, 可读可写.

               默认值: 98-8D-46-0E-61-87

内存[15]~内存[16]:UDP source port number, 可读可写, 默认 6000, 内存[15] is the high byte.

内存[17]~内存[18]:UDP destination port number, 可读可写, defaults to 6001, 内存[17] is the high byte.

内存[19]~内存[22]:UDP destination host IP address, address format: 内存[19].内存[20].内存[21].内存[22]. Readable and writable, 默认值 192.168.1.110

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

内存[23]:Empty packets are deleted, default is 0x00,

                   00: Do not delete empty packages

                   其他的: delete empty packages

内存[24]~内存[63]: 预订的

内存[64]~内存[65]: MASTER SNR

内存[66]~内存[67]: SLAVE SNR

内存[68]~内存[69]: MASTER RFLEVEL /div8

内存[70]~内存[71]: SLAVE RFLEVEL /div8

内存[72]~内存[74]: MASTER FBER,MSB(内存[72]) = 1

内存[80]:The next OFDM PRAMETER RAM is valid mark,read only

        0: No valid

        1: valid 

内存[81]: read only

  少量[5]  0:Not mixed

1:Mixed

   少量[4] 0: SISO

1:MISO

   少量[2:0] 0:2K

1:8K

2:4K

3:1K

4:16K

5:32K

内存[82]: read only

   少量[6:4] 0:1/32

1:1/16

2:1/8

3:1/4

4:1/128

5:19/128

6:19/256

少量[2:0]  0:PP1

1:PP2

2: PP3

3:PP4

4:PP5

5:PP6

6:PP7

7:PP8

内存[83]: read only

    少量[4]    0:普通的

1:扩展

少量[2:0] PAPR MODE

内存[84]~内存[85]: Number of data symbols in a T2 frame,内存[84] high byte, 内存[85] low byte, read only

其他 RAM 被保留,其内容无法读取或写入.

  1. Module configuration commands

配置命令是通过串口向其发送命令来实现的.

    命令格式: {+操作码+RAM地址+<操作数>+校验码+} 符号 {} 都是用ASCII码表示的十六进制数.

           { : 表示命令的开始

           +: 表示这仅代表连接, 用于说明,实际命令中并不存在.

           <>: 表示读取命令中不包含该参数.

           } : 表示命令结束

           操作码: 00 意思是写, FF表示已读, 1 字节

           内存地址: 1 字节

           操作数: 该命令的操作数是 1 字节. 在读操作中, 该字节没有

           检查代码: (操作码 + 存储地址 + <操作数>) 模组 256

命令返回格式:

           操作成功的返回格式: {+寄存器地址+寄存器值+校验码+}

                            重置命令没有返回

           操作失败返回格式: {FFFFFF}

PDF Documents

Download Chinese document

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

问一个问题

← 返回

感谢您的回复。 ✨

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注