ពិធីការគ្រប់គ្រងទំនាក់ទំនងម៉ូឌុល Mini_COFDM អ៊ីសឺរណិត Vcan1886
តារាងមាតិកា
1. 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. After the system is powered on or reset, the serial port will print {AAAAA}
RAM Parameter Description
អង្គចងចាំ[0]: System reset control, readable and writable, Reading and writing represent different meanings:
Write
00 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> Reset the whole system, Serial returns {AAAAA}, indicating that the system has been reset
01 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> Save the parameters set by the user, Serial returns {000101}, indicates successful execution
02 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> Restore parameters to system default parameters, Serial returns {000202}, indicating successful execution
03ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> Search for the frequency point of the specified bandwidth. The serial port returns {000303}, indicates successful execution
04ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> Search for the specified frequency when the parameters are known, return {000404}, indicates successful execution
05ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> reloadkey, Serial port parameter setting of transmitting parameters and data serial port, returns {000505}, indicates successful execution
06ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 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, អង្គចងចាំ[8]is the previously saved value),
return{000606},Indicates successful execution
other=> reserve
read:
ប៊ីត[0] ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។>
‘1’ = Transmitter RF frequency lock
‘0’= Transmitter RF Frequency not locked
ប៊ីត[1] ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។>
‘1’ = Receiver RF frequency lock
‘0’= Receiver over RF Frequency not locked
ប៊ីត[7:2] ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> reserve
អង្គចងចាំ[1]: Function module working state setting, and data serial port rate, readable and writable, Defaults is 0X44
ប៊ីត[7:4]: serial speed
“0000” =1200,
“0001”=2400,
“0010”=4800,
“0011”=9600,
“0100”=19200,
“0101”=38400,
“0110”=57600,
“0111”=115200
“1000”=230400,
“1001”~”1111″=reserved
ប៊ីត[3] :ភាពស្មើគ្នា
‘0’=even effect test,
‘1’=miraculous effect
ប៊ីត[2] :parity switch
‘1’=open
‘0’=close
ប៊ីត[1]: Receiver module working status
‘1’=Receiver module off
‘0’=Receiver module works normally
ប៊ីត[0]: Transmitter working status
‘1’=Transmitter module off
‘0’=The transmitter module works normally
អង្គចងចាំ[2]: Transmit bandwidth, readable and writable, Defaults 0X14,
Divide the corresponding decimal number by10 The bandwidth set for, ranges from20~80, include20(2M Bandwidth) and 80(8M Bandwidth)
other=> reserve
អង្គចងចាំ[3]~ RAM[4]: Transmitter module RF center frequency, readable and writable Defaults RAM[3] = 0X0D, អង្គចងចាំ[4] = 0X48
នៅក្នុងឯកតានៃ 100KHz. The maximum value is 25000 and the minimum value is 500.
អង្គចងចាំ[5]: Transmitter module FEC Code rate, readable and writable, Defaults 0X00
00 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 1/2
01 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 2/3
02 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 3/4
03 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 5/6
04 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 7/8
other=> reserve
អង្គចងចាំ[6]: Transmitter module modulation mode, readable and writable, Defaults 0X00
00 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> QPSK(4QAM)
01 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 16QAM
02 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 64QAM
other=> reserve
អង្គចងចាំ[7]: Transmitter module guard interval, readable and writable, Defaults 0X00
00 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 1/32
01 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 1/16
02 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 1/8
03 ថាមពលទិន្នផល RF ដែលអាចកំណត់រចនាសម្ព័ន្ធបាន។> 1/4
other=> reserve
៛ព្រឹក[8]: Transmitter module RF Output power attenuation value, readable and writable, The default value is0X00
00: 0 dB
01: 1 dB
02: 2 dB;
………..
0ស្រី:15 db
other=> reserve
អង្គចងចាំ[9]: Receive frequency bandwidth, readable and writable, Defaults 0X14
Divide the corresponding decimal number by10 The bandwidth set for, ranges from20~80,include20(2M Bandwidth) and80(8M Bandwidth)
other=> reserve
អង្គចងចាំ[10]~ RAM[11]: receiver module RF center frequency, range 158M to 860M, Readable and writable Defaults RAM[10] = 0X0D, អង្គចងចាំ[11] = 0X48
នៅក្នុងឯកតានៃ 100KHz. The maximum value is 90000 and the minimum value is 2000
អង្គចងចាំ[12]~RAM[21]: Receive searched channel parameters, read-only,
struct dibDVBTChannel {
int8_t spectrum_inversion;
int8_t nfft;
int8_t guard;
int8_t constellation;
int8_t hrch;
int8_t alpha;
int8_t code_rate_hp;
int8_t code_rate_lp;
int8_t select_hp;
int8_t intlv_native;
} dvbt;
អង្គចងចាំ[22]~RAM[37]: The encryption key, the readable and writable, Default value is all zeros
អង្គចងចាំ[22] :128 bit encryption key[127-120]ប៊ីត
អង្គចងចាំ[23] :128 bit encryption key[119-112]ប៊ីត
អង្គចងចាំ[24] :128 bit encryption key[111-104]ប៊ីត
អង្គចងចាំ[25] :128 bit encryption key[103-96]ប៊ីត
អង្គចងចាំ[26] :128 bit encryption key[95-88]ប៊ីត
អង្គចងចាំ[27] :128 bit encryption key[87- 80]ប៊ីត
អង្គចងចាំ[28] :128 bit encryption key[79-72]ប៊ីត
អង្គចងចាំ[29] :128 bit encryption key[71-64]ប៊ីត
អង្គចងចាំ[30] :128 bit encryption key[63-56]ប៊ីត
អង្គចងចាំ[31] :128 bit encryption key[55-48]ប៊ីត
អង្គចងចាំ[32] :128 bit encryption key[47-40]ប៊ីត
អង្គចងចាំ[33] :128 bit encryption key[39-32]ប៊ីត
អង្គចងចាំ[34] :128 bit encryption key[31-24]ប៊ីត
អង្គចងចាំ[35] :128 bit encryption key[23-16]ប៊ីត
អង្គចងចាំ[36] :128 bit encryption key[15-8]ប៊ីត
អង្គចងចាំ[37] :128 bit encryption key[7-0]ប៊ីត
បង្ហាញ[127-0]all for0,no encryption
អង្គចងចាំ[40]~RAM[43]: For calculating the signal-to-noise ratio, see related documents for details
អង្គចងចាំ[44]~RAM[45]: calculate RF power,rf_power Refer to the code for details
អង្គចងចាំ[46]~RAM[48]: calculate RF power,n_agc_power Specific reference code
Others RAM Reserved, cannot read or write its contents
2. Module configuration command
The configuration command is realized by sending commands to it through the serial port Command format: {+opcode+RAM address+<operand>+check code+} និមិត្តសញ្ញា{}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
opcode: 00 means to write, FF means to read,1 byte RAM address: 1 បៃ
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: {+register address+register value+check code+}
reset command did not return
Operation failure return format{FFFFFF}
3. វិធីសាស្ត្រគណនាប៉ារ៉ាម៉ែត្រទំហំឆានែលយោង
សមត្ថភាពឆានែលអតិបរមានៃប្រព័ន្ធអាចត្រូវបានគណនាដោយប្រើរូបមន្តខាងក្រោម:
Rmax=6.75 x b x FEC x (188/204) x (1/(1+GD)) x (BW/8)
Rmax: សមត្ថភាពអតិបរមានៃឆានែល(Mb/s)
ខ: មុខងារសមាមាត្ររលកគូ,QPSK hour b=2, 16QAM hour b=4,64QAMhourb=6 FEC: អត្រាកូដកែកំហុសខាងក្នុង(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
យោងតាមរូបមន្តខាងលើ, សមត្ថភាពអតិបរមានៃឆានែលអាចត្រូវបានគណនាក្រោមប៉ារ៉ាម៉ែត្រមួយចំនួន. 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.
4. ចំណាំ
on the board L19 location (at U9 On the side, ទីតាំងគឺទទេនៅពេលចាកចេញពីរោងចក្រ) can add a 0603 The inductance to increase the output power, the increased inductance value can refer to the following figure