Project

General

Profile

Dimetra EBTS Base Radio Controller CLI » History » Version 2

laforge, 02/19/2016 10:52 PM
add some reference info on the BR CLI

1 1 laforge
[[PageOutline]]
2
= Base Radio Controller CLI =
3
4
There is a CLI (Command Line Interface) of the [[wiki:Dimetra_EBTS/Base_Radio/Controller]] which we are just
5
starting to explore.
6
7
== Reference ==
8
{{{
9
BRC> help
10
get/set        alarm_mask                    amask         
11
get/set        alarm_reports                 ar            
12
get            alarms                        a             
13
get/set        brc_kit_no                    brckit        
14
get/set        brc_rev_no                    brcrev        
15
get/set        brc_scratch                   brcscratch    
16
get/set        cabinet                                     
17
get/set        default_tx_power              dtxpwr        
18
               dekey                                       
19
get            dsp_version                   dspver        
20
get            dsp_sanity                    sanity        
21
get/set        enet_id                       enet          
22
get            ex_ad                         exad          
23
get/set        ex_kit_no                     exkit         
24
get/set        ex_rev_no                     exrev         
25
get/set        ex_scratch                    exscratch     
26
get/set        exciter_scaling_factor        exsf          
27
get            fwd_pwr                       fp            
28
get/set        fwd_wattmeter_scaling_factor  fwsf          
29
               key                                         
30
               k_factor                      kf            
31
get/set        max_vswr                      mv            
32
get/set        max_wattmeter_vswr            mwv           
33
get            pa_ad                         paad          
34
get            pa_coef                       pac           
35
get/set        pa_kit_no                     pakit         
36
get/set        pa_rev_no                     parev         
37
get/set        pa_scaling_factor             pasf          
38
get/set        pa_scratch                    pascratch     
39
get/set        pctrl                         pc            
40
get/set        position                                    
41
get            ps_ad                         psad          
42
               pwr_glitch                                  
43
get/set        rear_serial                   rear_ser      
44
get            ref_pwr                       rp            
45
get            reset_info                                  
46
get/set        ref_wattmeter_scaling_factor  rwsf          
47
get            rptr_status                   status        
48
               reset                                       
49
get            rom_ver                       rv            
50
get            rptr_status                   status        
51
get            rssi                                        
52
get/set        rx_freq                       rxfreq        
53
get/set        rx_fru_config                 rxfru         
54
get/set        rx_inj                        rxinj         
55
get/set        rx_mode                       rxmode        
56
get/set        rx_qsign                      rxqsign       
57
get            rx_status                     rxstatus      
58
get/set        rx1_delta                     rx1delta      
59
get/set        rx2_delta                     rx2delta      
60
get/set        rx3_delta                     rx3delta      
61
get/set        rx1_kit_no                    rx1kit        
62
get/set        rx2_kit_no                    rx2kit        
63
get/set        rx3_kit_no                    rx3kit        
64
get/set        rx1_rev_no                    rx1rev        
65
get/set        rx2_rev_no                    rx2rev        
66
get/set        rx3_rev_no                    rx3rev        
67
get/set        rx1_scaling_factor            rx1sf         
68
get/set        rx2_scaling_factor            rx2sf         
69
get/set        rx3_scaling_factor            rx3sf         
70
get/set        rx1_scratch                   rx1scratch    
71
get/set        rx2_scratch                   rx2scratch    
72
get/set        rx3_scratch                   rx3scratch    
73
get            second_level_pswd                           
74
get/set        tetra_format                  tf            
75
    set        tone                                        
76
get/set        training_interval             ti            
77
get/set        txdc_i                        txdci         
78
    set        txdc_i_final                  txdci_final   
79
get/set        txdc_q                        txdcq         
80
    set        txdc_q_final                  txdcq_final   
81
get/set        tx_freq                       txfreq        
82
get/set        tx_if                         txif          
83
    set        tx_power                      power         
84
get/set        txlin                                       
85
    set        txlin_default                 txldef        
86
get            txlin_stat                    txlinstat     
87
get/set        txlin2                                      
88
get            txlin2_stat                   txlin2stat    
89
get/set        tx_test_mode                                
90
               ver                                         
91
get            vswr                                        
92
get            wattmeter                     w             
93
BSC>
94
}}}
95 2 laforge
96
=== dsp_version ===
97
{{{
98
BRC> get dsp_version
99
DSP VERSION is 2.14
100
BRC> get tetra_format
101
MCC : 0
102
MNC : 0
103
CC  : 1
104
Downlink Type : 1
105
Uplink Type   : 7
106
Trigger : off
107
MS Power: 20 dBm
108
ACC param: 203 dBm
109
}}}
110
111
=== tx_if ===
112
{{{
113
BRC> get txif
114
TRANSMIT INTERMEDIATE FREQUENCY is 90.00000 MHz.
115
}}}
116
117
=== txlin ===
118
{{{
119
BRC> get txlin
120
TXLIN[0x00]: 0x56       TXLIN[0x01]: 0x08       TXLIN[0x02]: 0x15
121
TXLIN[0x03]: 0x3E       TXLIN[0x04]: 0xF1       TXLIN[0x05]: 0x1E
122
TXLIN[0x06]: 0x2C       TXLIN[0x07]: 0x00       TXLIN[0x08]: 0x3A
123
TXLIN[0x09]: 0xBB       TXLIN[0x0A]: 0x53       TXLIN[0x0B]: 0x80
124
TXLIN[0x0C]: 0xA3       TXLIN[0x0D]: 0x06       TXLIN[0x0E]: 0x04
125
TXLIN[0x0F]: 0x0C       TXLIN[0x10]: 0x38       TXLIN[0x11]: 0x08
126
TXLIN[0x12]: 0x00       TXLIN[0x13]: 0x1F       TXLIN[0x14]: 0x40
127
TXLIN[0x15]: 0x13       TXLIN[0x16]: 0xFF       TXLIN[0x17]: 0x00
128
TXLIN[0x18]: 0x00       TXLIN[0x19]: 0x02       TXLIN[0x1A]: 0x00
129
BRC> get txlin2
130
TXLIN2[0x00]: 0x56      TXLIN2[0x01]: 0x08      TXLIN2[0x02]: 0x55      
131
TXLIN2[0x03]: 0x3E      TXLIN2[0x04]: 0xF1      TXLIN2[0x05]: 0x1E      
132
TXLIN2[0x06]: 0x2C      TXLIN2[0x07]: 0x00      TXLIN2[0x08]: 0x3A      
133
TXLIN2[0x09]: 0xBB      TXLIN2[0x0A]: 0x53      TXLIN2[0x0B]: 0x80      
134
TXLIN2[0x0C]: 0xA3      TXLIN2[0x0D]: 0x06      TXLIN2[0x0E]: 0x04      
135
TXLIN2[0x0F]: 0x0C      TXLIN2[0x10]: 0x38      TXLIN2[0x11]: 0x08      
136
TXLIN2[0x12]: 0x00      TXLIN2[0x13]: 0x1F      TXLIN2[0x14]: 0x7F      
137
TXLIN2[0x15]: 0x13      TXLIN2[0x16]: 0xFF      TXLIN2[0x17]: 0x00      
138
TXLIN2[0x18]: 0x00      TXLIN2[0x19]: 0x02      TXLIN2[0x1A]: 0x00      
139
BRC> get txlin_stat
140
Checksum: 1566
141
Test Register : 0x2
142
Clip Detect Bit OFF
143
Local Osc. Locked
144
I - Channel Software Offset Bit not set
145
Q - Channel Software Offset Bit not set
146
Level Set    : 0xff
147
Sine Value   : 0x89
148
Cosine Value : 0x0
149
}}}
150
this seems like filter taps for a digital linearization filter in the DSP?
151
152
=== default_tx_power ===
153
{{{
154
BRC> get default_tx_power
155
DEFAULT TRANSMITTER POWER is 40.00 watts ( 46.02 dBm )
156
BRC> set dtxpwr 2
157
FORMAT: set default_tx_power { 2.5 -> 40.0 }
158
BRC> set dtxpwr 2.5
159
Warning: Request to write to EEPROM denied due to insufficient permissions.
160
}}}
161
162
=== max_vswr ===
163
{{{
164
BRC> get max_vswr                                         
165
MAXIMUM VSWR is 4.00:1                                     
166
BRC> set max_vswr 1.1
167
set MAX VSWR to 1.1  in RAM
168
Warning: Request to write to EEPROM denied due to insufficient permissions.
169
}}}
170
171
=== wattmeter ===
172
{{{
173
BRC> get wattmeter
174
BRC> RD POWER AT WATTMETER is 5.6 Watts [37.5 dBm]
175
BRC> CTED POWER AT WATTMETER is 1.7 Watts [32.4 dBm]
176
BRC> ETER VSWR is 3.49:1
177
}}}
178
179
=== tx_freq ===
180
{{{
181
BRC> get tx_freq
182
TRANSMIT FREQUENCY is 427.50000 MHz
183
}}}
184
185
=== training_interval ===
186
{{{
187
BRC> get ti
188
TRAINING INTERVAL is 90000 ticks (15 min)
189
}}}
190
191
=== rx_mode ===
192
{{{
193
BRC> get rx_mode
194
RECEIVER 1 ENABLED
195
RECEIVER 2 ENABLED
196
RECEIVER 3 ENABLED
197
}}}
198
199
=== rx_status ===
200
{{{
201
BRC> get rx_status
202
BER STATUS is LOCKED
203
RECEIVER Q SIGN is NON-INVERTED
204
RECEIVER 1 ENABLED
205
RECEIVER 2 ENABLED
206
RECEIVER 3 ENABLED
207
RECEIVER INJECTION is HIGH
208
}}}
209
210
=== paad ===
211
{{{
212
BRC> get paad
213
PA A->D PORT[0] = 0x0   [0.00v].
214
PA A->D PORT[1] = 0x0   [0.00v].
215
PA A->D PORT[2] = 0x2   [0.04v].
216
PA A->D PORT[3] = 0x80  [2.48v].
217
PA A->D PORT[4] = 0x9   [0.17v].
218
PA A->D PORT[5] = 0xd   [0.25v].
219
PA A->D PORT[6] = 0x1   [0.06v].
220
PA A->D PORT[7] = 0x1   [0.06v].
221
PA A->D PORT[8] = 0x9   [0.17v].
222
PA A->D PORT[9] = 0x80  [2.48v].
223
PA A->D PORT[10] = 0x1  [0.04v].
224
PA A->D PORT[11] = 0x80         [2.50v].
225
}}}
226
This seems to be the ADC readings of the PA power supply
227
228
=== forwrd_power ===
229
{{{
230
BRC> get fp
231
FORWARD POWER is 0 watts [-Inf dbm]
232
}}}
233
234
=== tx_freq ===
235
{{{
236
BRC> get tx_freq
237
TRANSMIT FREQUENCY is 427.50000 MHz
238
}}}
239
240
=== exciter_ad ===
241
{{{
242
BRC> get ex_ad
243
EXCITER A->D PORT[0] = 0x68     [13.71v].
244
EXCITER A->D PORT[1] = 0x5      [0.08v].
245
EXCITER A->D PORT[2] = 0xa1     [9.84v].
246
EXCITER A->D PORT[3] = 0xff     [4.98v].
247
EXCITER A->D PORT[4] = 0x7b     [4.80v].
248
EXCITER A->D PORT[5] = 0x27     [0.76v].
249
EXCITER A->D PORT[6] = 0x43     [1.31v].
250
EXCITER A->D PORT[7] = 0x0      [0.00v].
251
EXCITER A->D PORT[8] = 0x80     [5.00v].
252
EXCITER A->D PORT[9] = 0x8      [0.08v].
253
EXCITER A->D PORT[10] = 0x3     [0.03v].
254
EXCITER A->D PORT[11] = 0x80    [2.50v].
255
}}}
256
257
=== ex_kit_no ===
258
{{{
259
BRC> get ex_kit_no
260
EXCITER KIT NUMBER is CTX5062B
261
}}}
262
263
=== tetra_format ===
264
{{{
265
BRC> get tetra_format
266
MCC : 0
267
MNC : 0
268
CC  : 1
269
Downlink Type : 1
270
Uplink Type   : 7
271
Trigger : off
272
MS Power: 20 dBm
273
ACC param: 203 dBm
274
BRC> set tetra_format 262 42 1 1 7 off 20 203
275
276
 The value entered for MS power was not valid.
277
15 dBm is the default setting and has been used.
278
MCC : 262
279
MNC : 42
280
CC  : 1
281
Downlink Type : 1
282
Uplink Type   : 7
283
Trigger : off
284
MS Power: 20 dBm
285
ACC param: 203 dBm
286
}}}
287
288
=== rptr_status ===
289
{{{
290
BRC> get rptr_status
291
292
************************************************************
293
294
BRC CODE VERSION D07.00.20-TETRA-BRC-ROM
295
296
OUTPUT PORT 0 = 0x808604
297
INPUT PORT 0  = 0xc9881f
298
INPUT PORT 1  = 0x808604
299
300
NUMBER WORKING RECEIVERS DETECTED : 3.
301
  RX1 PRESENT...
302
  RX2 PRESENT...
303
  RX3 PRESENT...
304
305
BAND : TETRA {430 MHz}
306
307
RX FREQUENCY : 417.50000
308
TX FREQUENCY : 427.50000
309
TX IF FREQUENCY : 90.00000 MHz.
310
311
WINDOW CLIPPING LEVEL: 5.500000 db.
312
WINDOW CLIPPING SATURATION LEVEL: 15.000000 db.
313
WINDOW CLIPPING MODE: ON
314
315
SGC STATUS : ENABLED
316
SGC DELAY  : 0 units = 0.000000 msec. [msec = units/120]
317
318
PERIODIC TRAINING DISABLED. [900 SECONDS].
319
POWER LEVELING DISABLED. [300 SECONDS].
320
RF POWER REPORTS DISABLED.
321
RF ALARM REPORTS DISABLED.
322
POWER WATCHDOG ENABLED.
323
INITILIZATION TRACE DISABLED.
324
325
ALARM MASK : |ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|ff|
326
}}}
Add picture from clipboard (Maximum size: 48.8 MB)