Protokół sterowania komunikacją modułu ethernetowego mini_COFDM Vcan1886

Protokół sterowania komunikacją modułu ethernetowego mini_COFDM Vcan1886

1. Parametry portu szeregowego sterowania komunikacją

8 bity danych

1 bit stopu

parzystości

szybkość transmisji: 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. Po włączeniu lub zresetowaniu systemu, Port szeregowy wydrukuje {AAAAA}

Opis parametru pamięci RAM

Baran[0]: Kontrola resetowania systemu, czytelne i zapisywalne, Reading and writing represent different meanings

Pisać

00 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> Reset the whole system, Serial returns {AAAAA}, wskazując, że system został zresetowany

01 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> Save the parameters set by the user, Serial returns {000101, indicates successful execution

02 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> Restore parameters to system default parameters, Serial returns {000202}, wskazując pomyślne wykonanie

03Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> Poszukaj punktu częstotliwości określonej przepustowości. Port szeregowy zwraca {000303, indicates successful execution

04Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> Search for the specified frequency when the parameters are known, powrót {000404, indicates successful execution

05Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> reloadkey, Serial port parameter setting of transmitting parameters and data serial port, returns {000505, indicates successful execution

06Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 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, Baran[8]is the previously saved value),

powrót{000606,Indicates successful execution

other=> rezerwa

Czytać: 

Fragment[0] Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 

‘1’ = Transmitter RF frequency lock

‘0’= Transmitter RF Frequency not locked

Fragment[1] Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 

‘1’ = Receiver RF frequency lock

‘0’= Receiver over RF Frequency not locked

Fragment[7:2] Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> rezerwa

Baran[1]: Function module working state setting, and data serial port rate, czytelne i zapisywalne, Defaults is 0X44

Fragment[7:4]: serial speed

“0000” =1200,

“0001”=2400,

“0010”=4800,

“0011”=9600,

“0100”=19200,

“0101”=38400,

“0110”=57600,

“0111”= 115200

“1000”=230400,

“1001”~”1111″= Zarezerwowany

Fragment[3] :Parytet

‘0’=even effect test

„1” = cudowny efekt

Fragment[2] :parity switch

‘1’=open

‘0’=close

Fragment[1]: Receiver module working status

‘1’=Receiver module off

‘0’=Receiver module works normally

Fragment[0]: Transmitter working status

‘1’=Transmitter module off

‘0’=The transmitter module works normally

Baran[2]: Transmit bandwidth, czytelne i zapisywalne, Defaults 0X14,

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

other=> rezerwa

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

W jednostkach 100 kHz. Maksymalna wartość to 25000 and the minimum value is 500.

Baran[5]: Transmitter module FEC Code rate, czytelne i zapisywalne, Defaults 0X00

00 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 1/2

01 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 2/3

02 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 3/4 

03 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 5/6 

04 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 7/8 

other=> rezerwa

Baran[6]: Transmitter module modulation mode, czytelne i zapisywalne, Defaults 0X00

00 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> QPSK(4QAM) 

01 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 16QAM

02 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 64QAM

other=> rezerwa

Baran[7]: Transmitter module guard interval, czytelne i zapisywalne, Defaults 0X00

00 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 1/32

01 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 1/16 

02 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 1/8 

03 Obliczanie szybkości transmisji systemu transmisji bezprzewodowej COFDM> 1/4 

other=> rezerwa

RRANO[8]: Transmitter module RF Output power attenuation value, czytelne i zapisywalne, The default value is0X00

00: 0 dB

01: 1 dB

02: 2 dB; 

………..

0fa:15 db

other=> rezerwa

Baran[9]: Receive frequency bandwidth, czytelne i zapisywalne, Defaults 0X14

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

other=> rezerwa

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

W jednostkach 100 kHz. Maksymalna wartość to 90000 and the minimum value is 2000

Baran[12]~ Ram[21]: Receive searched channel parameters, tylko do odczytu, 

struct dibdvbtChannel { 

INT8_T Spectrum_Inversion; 

int8_t nfft; 

int8_t straż; 

INT8_T CONSTELATION; 

int8_t hrch; 

int8_t alfa; 

int8_t code_rate_hp; 

int8_t code_rate_lp; 

int8_t select_hp; 

int8_t intlv_native; 

} DVBT;

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

Baran[22] :128 bit encryption key[127-120]kawałek

Baran[23] :128 bit encryption key[119-112]kawałek

Baran[24] :128 bit encryption key[111-104]kawałek

Baran[25] :128 bit encryption key[103-96]kawałek

Baran[26] :128 bit encryption key[95-88]kawałek

Baran[27] :128 bit encryption key[87- 80]kawałek

Baran[28] :128 bit encryption key[79-72]kawałek

Baran[29] :128 bit encryption key[71-64]kawałek

Baran[30] :128 bit encryption key[63-56]kawałek

Baran[31] :128 bit encryption key[55-48]kawałek

Baran[32] :128 bit encryption key[47-40]kawałek

Baran[33] :128 bit encryption key[39-32]kawałek

Baran[34] :128 bit encryption key[31-24]kawałek

Baran[35] :128 bit encryption key[23-16]kawałek

Baran[36] :128 bit encryption key[15-8]kawałek

Baran[37] :128 bit encryption key[7-0]kawałek

zilustrować[127-0]all for0,no encryption

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

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

Baran[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: {+Adres Opcode+RAM+<operand>+Sprawdź kod+} symbol{}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

Kod operacyjny: 00 means to write, FF means to read,1 byte RAM address: 1 bajt

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

check code: (opcode+ deposit address+ <operand>) mod 256

command return format

Operation successful return format: {+Adres rejestracyjny+wartość rejestru+kod kontroli+} 

reset command did not return

Format powrotu awarii operacji{Ffffff}

4. odniesienie do metody obliczania parametru rozmiaru kanału

Maksymalną pojemność kanału systemu można obliczyć za pomocą następującego wzoru: 

Rmax=6,75 x b x FEC x (188/204) x (1/(1+GD)) x (BW/8) 

Rmaks: Maksymalna pojemność kanału(Mb/s)

b: Funkcja współczynnika fali sprzężenia,QPSK hour b=2, 16QAM hour b=4,64QAMhourb=6 FEC: współczynnik kodowania korekcji błędów wewnętrznych(1/2, 2/3, 3/4, 5/6, 7/8)

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

BW: Bandwidth toM as a unit

Według powyższego wzoru, maksymalną pojemność kanału można obliczyć na podstawie kilku parametrów. Jak pokazano w poniższej tabeli, 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.

Mini_COFDM Ethernet module communication control protocol Vcan1886 1

5. Uwaga

on the board L19 location (at U9 On the side, pozycja jest pusta przy opuszczaniu fabryki) can add a 0603 The inductance to increase the output power, the increased inductance value can refer to the following figure

Mini_COFDM Ethernet module communication control protocol Vcan1886 2

6. Film z operacji

Zadać pytanie

← Wstecz

Twoja wiadomość została wysłana