Project

General

Profile

PostProductionTesting » History » Version 4

9600, 02/19/2016 10:52 PM

1 1 9600
2 4 9600
h1. Post-production testing
3 4 9600
4 4 9600
5 1 9600
Basic checks to perform after production to make sure there are no critical issues with manufacturing.
6 1 9600
7 1 9600
8 4 9600
h2. Required instruments:
9 4 9600
10 4 9600
11 1 9600
1. Laboratory Power Supply Unit (PSU) 3-15V/0-2A with DC current indication or external ammeter.
12 1 9600
2. Voltmeter or multimeter with good accuracy.
13 1 9600
3. Spectrum analyzer, at least as good as Signal Hound.
14 1 9600
4. PC with 1GbE port, configured with IP 192.168.10.1/24.
15 1 9600
5. 1GbE capable cable, plugged into the PC port described above.
16 1 9600
6. RF cables, adapters, attenuators etc.
17 1 9600
18 1 9600
19 4 9600
h2. UHD
20 1 9600
21 1 9600
22 4 9600
You should download and [[Building_firmware|build]] the Fairwaves version of UHD.
23 1 9600
24 4 9600
Then follow "normal UHD build instructions":http://files.ettus.com/uhd_docs/manual/html/build.html. You only need to build 'host' part of UHD.
25 1 9600
26 1 9600
27 4 9600
h2. Testing
28 1 9600
29 1 9600
30 4 9600
31 4 9600
h3. 1. Critical issues
32 4 9600
33 4 9600
34 4 9600
Check that all "critical issues":https://code.google.com/p/umtrx/issues/list?can=2&q=Priority%3DCritical are fixed or worked around for the unit under the test.
35 4 9600
36 4 9600
37 4 9600
h3. 2. Short circuit
38 4 9600
39 4 9600
40 4 9600
Adjust PSU current limit to 1-1.5A, set voltage to 3-4V and double check polarity. Apply power to [[UmTRX]] and check [[UmTRX]] current consumption with the PSU:
41 4 9600
42 4 9600
* If the current consumption of [[UmTRX]] is limited by the PSU, check the power polarity. If the polarity is correct, mark this [[UmTRX]] unit as defective with the "over-current" label.
43 1 9600
* If the current consumption is below the limit, slowly increase PSU output voltage to 12V. Current consumption should be less then 0.5A at 12V - probably around 0.3A (without Ethernet cable connected and without firmware loaded).
44 1 9600
45 1 9600
46 4 9600
h3. 3. DC-DC converters
47 4 9600
48 4 9600
49 1 9600
Test voltages of all the following test points:
50 1 9600
|| C140 || 2.5V ||
51 1 9600
|| C138 || 1.2V ||
52 1 9600
|| C141 || 3.3V ||
53 1 9600
|| C131 || 6V ||
54 1 9600
|| U18 || 5V ||
55 1 9600
|| U28 || 3.3V ||
56 1 9600
|| U29-1, U29-2 || 3.3V ||
57 1 9600
|| U30-1, U30-2 || 2.5V ||
58 1 9600
|| U31-1, U31-2,[[br]]U32-1, U32-2 || 1.8V ||
59 1 9600
|| Collector Q3[[br]] near GBEth || 1.0V ||
60 1 9600
61 1 9600
62 4 9600
h3. 4. Clock source
63 4 9600
64 4 9600
65 1 9600
Check that both switches of the S3 dip-switch are turned down (position "master"). Check that LED-I lights constantly (indicates that clock is OK) and LED-G lights constantly (indicates that GPS is powered on).
66 1 9600
67 1 9600
68 4 9600
h3. 5. Ethernet PHY
69 4 9600
70 4 9600
71 1 9600
Plug in an Ethernet cable, connected to a 1GbE network.
72 1 9600
73 1 9600
* Current draw should increase by about 100-150mA.
74 1 9600
* LED6 and the right LED on the Ethernet connector should light constantly, LED5 and the left LED on the Ethernet connector might blink.
75 1 9600
76 1 9600
77 1 9600
78 4 9600
h3. 6. FPGA firmware
79 4 9600
80 4 9600
81 1 9600
1. Switch off power.
82 1 9600
2. Connect JTAG adapter. 
83 1 9600
3. Switch on power back. 
84 4 9600
4. "Load firmware":http://umtrx.org/hardware/flashing/. 
85 1 9600
86 1 9600
Firmware images:
87 1 9600
88 4 9600
* "UmTRXv2":http://people.osmocom.org/ipse/umtrx-v2/current/
89 1 9600
90 1 9600
[[span(style=color: #FF0000, Describe LED status and debug port output.)]]
91 1 9600
92 1 9600
93 4 9600
h3. 7. GPS sync
94 4 9600
95 4 9600
96 1 9600
Connect GPS antenna and wait for ~1 min for LED G to start blinking - this means that GPS sync is acquired.
97 1 9600
98 1 9600
99 4 9600
h3. 8. LEDs status
100 4 9600
101 4 9600
102 1 9600
Check all LED's in according to functionality as described in [FeaturesAndTechnicalSpecification].
103 1 9600
104 1 9600
105 4 9600
h3. 9. LMS init
106 4 9600
107 4 9600
108 1 9600
[[span(style=color: #FF0000, Describe for both LMS chips.)]]
109 1 9600
110 4 9600
Connect the spectrum analyzer (SA) to the TX1 port and set the SA and TX to the same frequency, e.g. 960MHz. Find the [[TxLO]] leakage level.
111 1 9600
112 1 9600
To check LMS control lines adjust its configuration.
113 1 9600
114 1 9600
Usual contents of *.bat* file to init basic functions:
115 4 9600
<pre>
116 1 9600
set lms=%C:\Python32\UmTRX\umtrx_lms.py --umtrx-addr 192.168.10.2 --lms 1%
117 1 9600
%LMS% --lms-init
118 1 9600
%LMS% --lms-tx-enable 1
119 1 9600
%LMS% --lms-rx-enable 1
120 1 9600
%LMS% --lms-set-tx-vga1-gain -10
121 1 9600
%LMS%  --pll-ref-clock 26e6 --lpf-bandwidth-code 0x0f --lms-auto-calibration
122 1 9600
%LMS% --lms-tx-pll-tune 960000000
123 1 9600
%LMS% --lms-set-tx-pa 2
124 1 9600
%LMS% --lms-set-tx-vga2-gain 20
125 1 9600
%LMS%  --lms-rx-pll-tune 915000000
126 1 9600
%LMS% --lms-set-rx-vga2-gain 9
127 1 9600
%LMS% --lms-set-rx-lna 3
128 4 9600
</pre>
129 1 9600
130 1 9600
131 4 9600
h3. 10. Modulated Tx
132 1 9600
133 1 9600
134 4 9600
Generate a modulated signal and check power consumption by functionality as described in [[PowerConsumption]].
135 4 9600
136 4 9600
Exercise case as the modulated signal of [[UmTRX]] will be much higher than [[TxLO]] leakage and could damage your SA!
137 4 9600
138 1 9600
To get ideal GMSK modulation might be used the next example:
139 4 9600
<pre>
140 1 9600
tx_samples_from_file.exe --rate 1083333 --freq 9478e5 --file gmsk.cfile --loop
141 4 9600
</pre>
142 4 9600
To make measurements of phase error etc, better to "run [[OpenBTS]]":http://umtrx.org/applications/openbts/ after [[LMS6002DCalibration]].
Add picture from clipboard (Maximum size: 48.8 MB)