| 1 | = WARPLab 7 Example: Multi-Node Synchronization = |
| 2 | |
| 3 | This WARPLab example illustrates how to share clocks and triggers among WARP nodes to eliminate all timing and frequency offsets. This configuration has many uses. For example, when developing a new PHY it can be helpful to test performance with zero carrier frequency offset (CFO). This same configuration can also be used to synchronize multiple nodes for large-scale MIMO experiments, where the RF interfaces of multiple nodes are used together to form a meta node with many antennas. |
| 4 | |
| 5 | == Setup == |
| 6 | '''Requirements:''' |
| 7 | * [wiki:../../Downloads WARPLab reference design 7.1.0] or later |
| 8 | * 2 [wiki:HardwareUsersGuides/WARPv3 WARP v3 nodes] |
| 9 | * 2 [wiki:HardwareUsersGuides/CM-MMCX CM-MMCX clock modules] (one per WARP v3 node) |
| 10 | * 2 MMCX cable assemblies |
| 11 | * 1 twisted pair cable assembly |
| 12 | |
| 13 | |
| 14 | To run this example, you must setup your experiment as follows: |
| 15 | 1. Mount the CM-MMCX modules on each WARP v3 node. Power must be '''off''' when mounting/unmounting a clock module. |
| 16 | 1. Set the CM-MMCX switches on each node (see figure below); one node will be the clock source, the other will be the clock sink. |
| 17 | 1. Connect MMCX cables from the outputs of the source node to the inputs of the sink node. |
| 18 | 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). |
| 19 | 1. Set the DIP switches on the WARP v3 boards to 0000 (source node) and 0001 (sink node). |
| 20 | 1. Power on the WARP v3 nodes |
| 21 | 1. Download the WARPLab reference bitstream to both nodes (source node first). Both nodes should boot, with the source node showing "01" on the hex displays and the sink showing "02". |
| 22 | |
| 23 | |
| 24 | |
| 25 | Once the hardware is connected and programmed you can run the example m code: [source:/ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Examples/wl_example_siso_txrx_nodeSync.m wl_example_siso_txrx_nodeSync.m]. |
| 26 | |