Changes between Version 1 and Version 2 of WARPLab/Examples/userExtension


Ignore:
Timestamp:
May 22, 2013, 2:57:31 PM (11 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab/Examples/userExtension

    v1 v2  
    11[[TracNav(WARPLab/TOC)]]
    22= WARPLab 7 Example: EEPROM User Extension =
    3 File: [source:/ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Examples/wl_example_8x2_array.m wl_example_8x2_array.m]
     3Script File: [source:/ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Examples/user_extension/user_extension_script.m user_extension_script.m]
     4Class File: [source:/ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Examples/user_extension/user_extension_example_class.m user_extension_example_class.m]
    45
    5 This example shows how WARPLab can be used for array communications even when the number of antennas exceeds what can be supported on a single WARP board. This example uses two separate WARP boards to act as a single many-antenna transmitter while a third board receives their transmissions.
     6Note: the example class and the example script must be in the same directory as one another so that MATLAB can identify the location of the example class once the example script is run.
    67
    7 This example uses 3 nodes:
    8  * A node that acts as a primary transmitter. This node uses its own on-board clocks for sampling and RF clocking.
    9  * A node that acts as a secondary transmitter. This node uses the primary transmitter's clocks as the sources for sampling and RF. Furthermore, the [wiki:../../Reference/TriggerManager Trigger Manager] core is used such that the secondary transmitter is triggered by an external twisted pair cable assembly.
    10  * A node to act as a receiver.
     8This example shows how custom commands can be added to the WARPLab Reference Design via a custom user extension class.
    119
    1210'''Requirements:'''
    1311 * [wiki:../../Downloads WARPLab reference design 7.1.0] or later
    14  * 3 [wiki:HardwareUsersGuides/WARPv3 WARP v3 nodes]
    15  * 2 [wiki:HardwareUsersGuides/CM-MMCX CM-MMCX clock modules]
    16  * 2 [wiki:HardwareUsersGuides/FMC-RF-2X245 FMC-RF-2X245 radio modules]
    17  * 2 MMCX cable assemblies
    18  * 1 twisted pair cable assembly
     12 * 1 [wiki:HardwareUsersGuides/WARPv3 WARP v3 node]
    1913
    2014== Setup ==
    21 [[Image(8x2_diagram.png,width=800)]]
    2215
    2316To run this example, you must set up your experiment as follows:
    24  1. Mount the CM-MMCX modules on two WARP v3 nodes. Power must be '''off''' when mounting/unmounting a clock module.
    25  1. Mount the FMC-RF-2X245 modules on the same two WARP v3 nodes. For assistance installing an FMC-RF-2X245, see the [wiki:GettingStarted/WARPv3/Hardware#InstallinganFMCModule FMC Installation How-To].
    26  1. Set the CM-MMCX switches on each node (see figures below); one node will be the clock source, the other will be the clock sink.
    27  1. Connect MMCX cables from the outputs of the source node to the inputs of the sink node.
    28  1. Connect the twisted pair cable between the debug headers of the WARP v3 boards. Pin 8 of the source node should connect to pin 15 of the sink node. Use the other conductor of the cable to connect ground between nodes (see figure below).
    29  1. Set the DIP switches on the WARP v3 boards to 0000 (clock source node) and 0001 (clock sink node).
    30  1. Power on the two WARP v3 nodes
    31  1. Download the 4RF WARPLab reference bitstream to both nodes (clock source node first). Both nodes should boot, with the source node showing "01" on the hex displays and the sink showing "02".
    32  1. Set the DIP switch on the third WARP v3 board to 0010.
    33  1. Power on the third WARP v3 board and download the 2RF WARPLab reference bitstream. The node should boot and show "03" on the hex displays.
     17 1. Power on the WARP v3 node
     18 1. Set the DIP switch on the WARP v3 board to 0000.
     19 1. Download the 2RF WARPLab reference bitstream to the board. The board should boot, and show "01" on the hex display.
     20 1. Run the [source:/ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Examples/user_extension/user_extension_script.m user_extension_script.m] example script.
     21
     22== Observations ==
     23
     24
     25
     26== Explanation ==