Protocolo de controle de comunicação do módulo Ethernet Mini_COFDM Vcan1886

Protocolo de controle de comunicação do módulo Ethernet Mini_COFDM Vcan1886

1. Parâmetros da porta serial de controle de comunicação

8 bits de dados

1 pare um pouco

paridade uniforme

Taxa de transmissão: 19200

2. Module Configuration Parameters

The module configuration parameters are written by writing a 256×8 of RAM To achieve this, the configured parameters are valid after saving reset, or powering on again. Depois que o sistema for ligado ou reiniciado, a porta serial irá imprimir {AAAAA}

Descrição do parâmetro RAM

BATER[0]: Controle de reinicialização do sistema, legível e gravável, Reading and writing represent different meanings: 

Escrever

00 => Reset the whole system, Serial returns {AAAAA}, indicando que o sistema foi reiniciado

01 => Save the parameters set by the user, Serial returns {000101}, indicates successful execution

02 => Restore parameters to system default parameters, Serial returns {000202}, indicando execução bem-sucedida

03=> Procure o ponto de frequência da largura de banda especificada. A porta serial retorna {000303}, indicates successful execution

04=> Search for the specified frequency when the parameters are known, retornar {000404}, indicates successful execution

05=> reloadkey, Serial port parameter setting of transmitting parameters and data serial port, returns {000505}, indicates successful execution

06=> Dynamically modify the decay parameters of the emission (write RAM[8] The attenuation value takes effect immediately after the command is issued, and does not reset the emission. After power off, and power on again, BATER[8]is the previously saved value),

retornar{000606},Indicates successful execution

other=> reserva

ler: 

Pedaço[0] => 

‘1’ = Transmitter RF frequency lock

‘0’= Transmitter RF Frequency not locked

Pedaço[1] => 

‘1’ = Receiver RF frequency lock

‘0’= Receiver over RF Frequency not locked

Pedaço[7:2] => reserva

BATER[1]: Function module working state setting, and data serial port rate, legível e gravável, Defaults is 0X44

Pedaço[7:4]: serial speed

“0000” =1200, 

“0001”=2400, 

“0010”=4800, 

“0011”=9600, 

“0100”=19200, 

“0101”=38400, 

“0110”=57600, 

“0111”=115200

“1000”=230400, 

“1001”~”1111″=reservado

Pedaço[3] :Paridade

‘0’=even effect test, 

‘1’=efeito milagroso

Pedaço[2] :parity switch

‘1’=open 

‘0’=close 

Pedaço[1]: Receiver module working status

‘1’=Receiver module off

‘0’=Receiver module works normally

Pedaço[0]: Transmitter working status

‘1’=Transmitter module off

‘0’=The transmitter module works normally

BATER[2]: Transmit bandwidth, legível e gravável, Defaults 0X14,

Divide the corresponding decimal number by10 The bandwidth set for, ranges from20~80, include20(2M Bandwidth) and 80(8M Bandwidth)

other=> reserva

BATER[3]~ RAM[4]: Transmitter module RF center frequency, readable and writable Defaults RAM[3] = 0X0D, BATER[4] = 0X48 

In units of 100KHz. O valor máximo é 25000 and the minimum value is 500.

BATER[5]: Transmitter module FEC Code rate, legível e gravável, Defaults 0X00 

00 => 1/2

01 => 2/3

02 => 3/4 

03 => 5/6 

04 => 7/8 

other=> reserva

BATER[6]: Transmitter module modulation mode, legível e gravável, Defaults 0X00 

00 => QPSK(4QAM) 

01 => 16QAM 

02 => 64QAM

other=> reserva

BATER[7]: Transmitter module guard interval, legível e gravável, Defaults 0X00 

00 => 1/32

01 => 1/16 

02 => 1/8 

03 => 1/4 

other=> reserva

RSOU[8]: Transmitter module RF Output power attenuation value, legível e gravável, The default value is0X00

00: 0 dB

01: 1 dB

02: 2 dB; 

……….. 

0F:15 banco de dados

other=> reserva

BATER[9]: Receive frequency bandwidth, legível e gravável, Defaults 0X14

Divide the corresponding decimal number by10 The bandwidth set for, ranges from20~80,include20(2M Bandwidth) and80(8M Bandwidth)

other=> reserva

BATER[10]~ RAM[11]: receiver module RF center frequency, range 158M to 860M, Readable and writable Defaults RAM[10] = 0X0D, BATER[11] = 0X48 

In units of 100KHz. O valor máximo é 90000 and the minimum value is 2000

BATER[12]~ RAM[21]: Receive searched channel parameters, somente leitura, 

estrutura dibDVBTChannel { 

int8_t espectro_inversão; 

int8_t nfft; 

guarda int8_t; 

constelação int8_t; 

int8_t hora; 

int8_t alfa; 

int8_t código_rate_hp; 

int8_t code_rate_lp; 

int8_t select_hp; 

int8_t intlv_native; 

} dvbt;

BATER[22]~ RAM[37]: The encryption key, the readable and writable, Default value is all zeros

BATER[22] :128 bit encryption key[127-120]pedaço

BATER[23] :128 bit encryption key[119-112]pedaço

BATER[24] :128 bit encryption key[111-104]pedaço

BATER[25] :128 bit encryption key[103-96]pedaço

BATER[26] :128 bit encryption key[95-88]pedaço

BATER[27] :128 bit encryption key[87- 80]pedaço

BATER[28] :128 bit encryption key[79-72]pedaço

BATER[29] :128 bit encryption key[71-64]pedaço

BATER[30] :128 bit encryption key[63-56]pedaço

BATER[31] :128 bit encryption key[55-48]pedaço

BATER[32] :128 bit encryption key[47-40]pedaço

BATER[33] :128 bit encryption key[39-32]pedaço

BATER[34] :128 bit encryption key[31-24]pedaço

BATER[35] :128 bit encryption key[23-16]pedaço

BATER[36] :128 bit encryption key[15-8]pedaço

BATER[37] :128 bit encryption key[7-0]pedaço

ilustrar[127-0]all for0,no encryption

BATER[40]~ RAM[43]: For calculating the signal-to-noise ratio, see related documents for details

BATER[44]~ RAM[45]: calculate RF power,rf_power Refer to the code for details

BATER[46]~ RAM[48]: calculate RF power,n_agc_power Specific reference code

Others RAM Reserved, cannot read or write its contents

3. Module configuration command

The configuration command is realized by sending commands to it through the serial port Command format: {+código de operação + endereço RAM +<operando>+verifique o código +} símbolo{}inside is ASCII expressed in code16 base number

{: Indicates the start of the command

+: Indicates that only the connection indicated here, for illustration, does not exist in the actual command

<>: Indicates that there is no

}: Indicates the end of the command

código de operação: 00 means to write, FF means to read,1 byte RAM address: 1 byte

operando: the operand of the command1 byte, in read operation, This byte does not

check code: (opcode+ deposit address+ <operando>) moda 256

command return format: 

Operation successful return format: {+endereço de registro + valor de registro + código de verificação +} 

reset command did not return

Formato de retorno de falha de operação{FFFFFF}

4. channel size parameter calculation method reference

The maximum channel capacity of the system can be calculated using the following formula: 

Rmax=6.75 x b x FEC x (188/204) x (1/(1+GD)) x (BW/8) 

Rmax: The maximum capacity of the channel(Mb/s)

b: Coupling wave ratio function,QPSK hour b=2, 16QAM hour b=4,64QAMhourb=6 FEC: internal error correction code rate(1/2, 2/3, 3/4, 5/6, 7/8)

GD: guard interval1/4, 1/8, 1/16, 1/32 

PN: Bandwidth toM as a unit

According to the above formula, the maximum capacity of the channel can be calculated under a few parameters. As shown in the table below, yes8mInformation capacity under bandwidth. The system will automatically calculate the size of the coded output stream according to the set channel parameters so that the size of the output stream is not greater than the maximum capacity of the channel.

U7a0a1yDuX Q9im3HLHmJ3arsyG4EiVD8mFCcbolmwu ZhF0KC XWK7L6uCjp4lCrrvJRk4Czf6gXTN58cq vTBUDnObFPYhzmKbujaXTGfFIy1H7bC9kq26FQu8aR61uJ6zLpvDw cbCJWocvkGWU

5. Observação

on the board L19 location (at U9 On the side, the position is empty when leaving the factory) can add a 0603 The inductance to increase the output power, the increased inductance value can refer to the following figure

j2t6LphMCxdp9rmke Kplmp0S9M4oA

6. Vídeo de operação

Youtube video

Faça uma pergunta

← Voltar

Sua mensagem foi enviada

Deixe uma resposta

Seu endereço de e-mail não será publicado. Os campos obrigatórios estão marcados *