Changes between Version 2 and Version 3 of Tutorials/k0SDR/Tutorial00


Ignore:
Timestamp:
Aug 23, 2012, 7:47:04 PM (12 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial00

    v2 v3  
    22
    33== Description ==
    4 In this tutorial we'll use the 2 USRPs on Sandbox 3 to transmit and receive a single frequency over the air. The UHD (UniversalSoftwareRadioPeripheral Hardware Driver) is used to communicate with the USRPs. This driver is used standalone to configure and enable the USRP for communication.
     4In this tutorial we'll use the 2 USRPs on Sandbox 3 to transmit and receive a single frequency over the air to demonstrate the use of ''Universal software Radio peripheral'' Hardware Drivers (UHD) which  is used standalone to configure and enable the USRPs.
    55
    66== Hardware / Software Resources utilized ==
    77 1. Sandbox 3 - consists of two nodes (node1-1 & node1-2). Each node has a USRP2 connect via Ethernet.
    8  2. ''ubuntu-11-10-gnuradio.ndz'': disk image loaded onto nodes. This image has all the precompiled - software required to configure the USRPs and analyze recorded data.
     8 2. ''ubuntu-11-10-gnuradio.ndz'': disk image loaded onto nodes. This image has all the precompiled - software required to configure the USRPs and analyze recorded data. The USRP2's interface with the node is already configured.
    99 3. omf-5.2 / omf-5.3: used to image to nodes
    1010 4. octave: GNU version of MATLAB
     
    5252}}}
    5353
    54  * The directory content like the following in both nodes
     54 * The directory content should look like the following in both nodes
    5555{{{
    5656root@node1-1:~/uhd/host/build/examples# ls
     
    6060CTestTestfile.cmake  rx_multi_samples  test_messages       tx_timed_samples
    6161}}}
     62
     63 * Once inside the node verify that the node can talk to the USRP
     64{{{
     65root@node1-1:~/uhd/host/build/examples# uhd_find_devices
     66}}}
     67
     68  * It should return something like the following:
     69{{{
     70root@node1-1:~/uhd/host/build/examples# uhd_find_devices
     71linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.003-0-unknown
     72
     73--------------------------------------------------
     74-- UHD Device 0
     75--------------------------------------------------
     76Device Address:
     77    type: usrp2
     78    addr: 192.168.10.2
     79    name:
     80    serial: 1232
     81}}}
     82
     83 * Probe the device
     84{{{
     85root@node1-1:~/uhd/host/build/examples# uhd_usrp_probe
     86linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.003-0-unknown
     87
     88-- Opening a USRP2/N-Series device...
     89-- Current recv frame size: 1472 bytes
     90-- Current send frame size: 1472 bytes
     91  _____________________________________________________
     92 /
     93|       Device: USRP2 / N-Series Device
     94|     _____________________________________________________
     95|    /
     96|   |       Mboard: USRP2-REV4
     97|   |   hardware: 1024
     98|   |   mac-addr: 00:50:c2:85:34:d0
     99|   |   ip-addr: 192.168.10.2
     100|   |   gpsdo: none
     101|   |   serial: 1232
     102|   |
     103|   |   Time sources: none, external, _external_, mimo
     104|   |   Clock sources: internal, external, mimo
     105|   |   Sensors: mimo_locked, ref_locked
     106|   |     _____________________________________________________
     107|   |    /
     108|   |   |       RX DSP: 0
     109|   |   |   Freq range: -50.000 to 50.000 Mhz
     110|   |     _____________________________________________________
     111|   |    /
     112|   |   |       RX DSP: 1
     113|   |   |   Freq range: -50.000 to 50.000 Mhz
     114|   |     _____________________________________________________
     115|   |    /
     116|   |   |       RX Dboard: A
     117|   |   |   ID: XCVR2450 (0x0061)
     118|   |   |     _____________________________________________________
     119|   |   |    /
     120|   |   |   |       RX Subdev: 0
     121|   |   |   |   Name: XCVR2450 (0x0061)
     122|   |   |   |   Antennas: J1, J2
     123|   |   |   |   Sensors: lo_locked, rssi
     124|   |   |   |   Freq range: 2400.000 to 6000.000 Mhz
     125|   |   |   |   Gain range LNA: 0.0 to 30.5 step 15.0 dB
     126|   |   |   |   Gain range VGA: 0.0 to 62.0 step 2.0 dB
     127|   |   |   |   Connection Type: IQ
     128|   |   |   |   Uses LO offset: No
     129|   |   |     _____________________________________________________
     130|   |   |    /
     131|   |   |   |       RX Codec: A
     132|   |   |   |   Name: ltc2284
     133|   |   |   |   Gain Elements: None
     134|   |     _____________________________________________________
     135|   |    /
     136|   |   |       TX DSP: 0
     137|   |   |   Freq range: -250.000 to 250.000 Mhz
     138|   |     _____________________________________________________
     139|   |    /
     140|   |   |       TX Dboard: A
     141|   |   |   ID: XCVR2450 (0x0060)
     142|   |   |     _____________________________________________________
     143|   |   |    /
     144|   |   |   |       TX Subdev: 0
     145|   |   |   |   Name: XCVR2450 (0x0060)
     146|   |   |   |   Antennas: J1, J2
     147|   |   |   |   Sensors: lo_locked
     148|   |   |   |   Freq range: 2400.000 to 6000.000 Mhz
     149|   |   |   |   Gain range VGA: 0.0 to 30.0 step 0.5 dB
     150|   |   |   |   Gain range BB: 0.0 to 5.0 step 1.5 dB
     151|   |   |   |   Connection Type: QI
     152|   |   |   |   Uses LO offset: No
     153|   |   |     _____________________________________________________
     154|   |   |    /
     155|   |   |   |       TX Codec: A
     156|   |   |   |   Name: ad9777
     157|   |   |   |   Gain Elements: None
     158}}}
     159
     160 If the commands ''uhd_find_devices'' & ''uhd_usrp_probe '' return No UHD Devices Found, please refer to the trouble shooting section.
     161
     162 * Set up node1-1 to transmit a single frequency sine wave with a frequency of 100k Hz sampled at a rate of 8 Msamples / second and modulated upto 5000MHz
     163{{{
     164./tx_waveforms --wave-freq 100e3 --wave-type SINE --freq 5000e6 --rate 8e6
     165}}}
     166
     167== Troubleshooting ==
     168 * ''uhd_find_devices'' & ''uhd_usrp_probe '' return No UHD Devices Found