پروتکل کنترل ارتباط ماژول اترنت Mini_COFDM Vcan1886
فهرست مطالب
1. پارامترهای پورت سریال کنترل ارتباط
8 بیت های داده
1 ذرهء ایست نما
توازن زوج
نرخ علامت در ثانیه: 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. پس از روشن شدن یا تنظیم مجدد سیستم, پورت سریال چاپ خواهد شد {AAAAA}
توصیف پارامتر RAM
رم[0]: کنترل بازنشانی سیستم, قابل خواندن و نوشتن, Reading and writing represent different meanings:
بنویسید
00 نقطه فرکانس کاری مرکز> Reset the whole system, Serial returns {AAAAA}, نشان می دهد که سیستم ریست شده است
01 نقطه فرکانس کاری مرکز> Save the parameters set by the user, Serial returns {000101}, indicates successful execution
02 نقطه فرکانس کاری مرکز> Restore parameters to system default parameters, Serial returns {000202}, نشان دهنده اجرای موفق
03نقطه فرکانس کاری مرکز> نقطه فرکانس پهنای باند مشخص شده را جستجو کنید. پورت سریال برمی گردد {000303}, indicates successful execution
04نقطه فرکانس کاری مرکز> Search for the specified frequency when the parameters are known, بازگشت {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, رم[8]is the previously saved value),
بازگشت{000606},Indicates successful execution
other=> ذخیره
خواندن:
بیت[0] نقطه فرکانس کاری مرکز>
‘1’ = Transmitter RF frequency lock
‘0’= Transmitter RF Frequency not locked
بیت[1] نقطه فرکانس کاری مرکز>
‘1’ = Receiver RF frequency lock
‘0’= Receiver over RF Frequency not locked
بیت[7:2] نقطه فرکانس کاری مرکز> ذخیره
رم[1]: Function module working state setting, and data serial port rate, قابل خواندن و نوشتن, 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″= محفوظ است
بیت[3] :برابری
‘0’=even effect test,
‘1 '= اثر معجزه آسا
بیت[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, قابل خواندن و نوشتن, Defaults 0X14,
Divide the corresponding decimal number by10 The bandwidth set for, ranges from20~80, include20(2M Bandwidth) and 80(8M Bandwidth)
other=> ذخیره
رم[3]~ RAM[4]: Transmitter module RF center frequency, readable and writable Defaults RAM[3] = 0X0D, رم[4] = 0X48
در واحدهای 100 کیلوهرتز. The maximum value is 25000 and the minimum value is 500.
رم[5]: Transmitter module FEC Code rate, قابل خواندن و نوشتن, Defaults 0X00
00 نقطه فرکانس کاری مرکز> 1/2
01 نقطه فرکانس کاری مرکز> 2/3
02 نقطه فرکانس کاری مرکز> 3/4
03 نقطه فرکانس کاری مرکز> 5/6
04 نقطه فرکانس کاری مرکز> 7/8
other=> ذخیره
رم[6]: Transmitter module modulation mode, قابل خواندن و نوشتن, Defaults 0X00
00 نقطه فرکانس کاری مرکز> QPSK(4QAM)
01 نقطه فرکانس کاری مرکز> 16QAM
02 نقطه فرکانس کاری مرکز> 64QAM
other=> ذخیره
رم[7]: Transmitter module guard interval, قابل خواندن و نوشتن, Defaults 0X00
00 نقطه فرکانس کاری مرکز> 1/32
01 نقطه فرکانس کاری مرکز> 1/16
02 نقطه فرکانس کاری مرکز> 1/8
03 نقطه فرکانس کاری مرکز> 1/4
other=> ذخیره
Rصبح[8]: Transmitter module RF Output power attenuation value, قابل خواندن و نوشتن, The default value is0X00
00: 0 دسی بل
01: 1 دسی بل
02: 2 دسی بل;
………..
0F:15 دسی بل
other=> ذخیره
رم[9]: Receive frequency bandwidth, قابل خواندن و نوشتن, Defaults 0X14
Divide the corresponding decimal number by10 The bandwidth set for, ranges from20~80,include20(2M Bandwidth) and80(8M Bandwidth)
other=> ذخیره
رم[10]~ RAM[11]: receiver module RF center frequency, range 158M to 860M, Readable and writable Defaults RAM[10] = 0X0D, رم[11] = 0X48
در واحدهای 100 کیلوهرتز. The maximum value is 90000 and the minimum value is 2000
رم[12]~رم[21]: Receive searched channel parameters, read-only,
ساختار dibdvbtchannel {
int8_t Spectrum_Inversion;
int8_t nfft;
نگهبان int8_t;
صورت فلکی int8_t;
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]~رم[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]~رم[43]: For calculating the signal-to-noise ratio, see related documents for details
رم[44]~رم[45]: calculate RF power,rf_power Refer to the code for details
رم[46]~رم[48]: calculate RF power,n_agc_power Specific reference code
Others RAM Reserved, cannot read or write its contents
3. فرمان پیکربندی ماژول
The configuration command is realized by sending commands to it through the serial port Command format: {+opcode + آدرس RAM +<عملوند>+کد+ را بررسی کنید} سمبل{}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 بایت
عملوند: the operand of the command1 byte, in read operation, This byte does not
check code: (opcode+ deposit address+ <عملوند>) مد 256
command return format:
Operation successful return format: {+آدرس ثبت نام + ارزش ثبت + کد بررسی +}
reset command did not return
فرمت بازگشت شکست عملیات{FFFFFF}
4. مرجع روش محاسبه پارامتر اندازه کانال
حداکثر ظرفیت کانال سیستم را می توان با استفاده از فرمول زیر محاسبه کرد:
Rmax=6.75 x b x FEC x (188/204) ایکس (1/(1+جی دی)) ایکس (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)
جی دی: guard interval1/4, 1/8, 1/16, 1/32
BW: Bandwidth toM as a unit
طبق فرمول فوق, حداکثر ظرفیت کانال را می توان تحت چند پارامتر محاسبه کرد. همانطور که در جدول زیر نشان داده شده است, 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.
5. توجه داشته باشید
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
انتقال بی سیم ویدیو


سوال بپرسید
از پاسخ شما سپاسگزاریم. ✨