root / host / docs / usrp_e1xx.rst @ 8b377a89
History | View | Annotate | Download (2.74 KB)
| 1 |
======================================================================== |
|---|---|
| 2 |
UHD - USRP-E1XX Series Application Notes |
| 3 |
======================================================================== |
| 4 |
|
| 5 |
.. contents:: Table of Contents |
| 6 |
|
| 7 |
------------------------------------------------------------------------ |
| 8 |
Specify a non-standard image |
| 9 |
------------------------------------------------------------------------ |
| 10 |
The UHD will automatically select the USRP embedded FPGA image from the installed images package. |
| 11 |
The FPGA image selection can be overridden with the "fpga" device address parameter. |
| 12 |
|
| 13 |
Example device address string representations to specify non-standard FPGA image: |
| 14 |
|
| 15 |
:: |
| 16 |
|
| 17 |
fpga=usrp_e100_custom.bin |
| 18 |
|
| 19 |
------------------------------------------------------------------------ |
| 20 |
Changing the master clock rate |
| 21 |
------------------------------------------------------------------------ |
| 22 |
The master clock rate of the USRP embedded feeds both the FPGA DSP and the codec chip. |
| 23 |
UHD can dynamically reconfigure the clock rate though the set_master_clock_rate() API call. |
| 24 |
Hundreds of rates between 32MHz and 64MHz are available. |
| 25 |
A few notable rates are: |
| 26 |
|
| 27 |
* 64MHz - maximum rate of the codec chip |
| 28 |
* 61.44MHz - good for UMTS/WCDMA applications |
| 29 |
* 52Mhz - good for GSM applications |
| 30 |
|
| 31 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 32 |
Set 61.44MHz - uses external VCXO |
| 33 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 34 |
To use the 61.44MHz clock rate, the USRP embedded will require two jumpers to be moved. |
| 35 |
|
| 36 |
* J16 is a two pin header, remove the jumper (or leave it on pin1 only) |
| 37 |
* J15 is a three pin header, move the jumper to (pin1, pin2) |
| 38 |
|
| 39 |
For the correct clock settings, call usrp->set_master_clock_rate(61.44e6) |
| 40 |
before any other parameters are set in your application. |
| 41 |
|
| 42 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 43 |
Set other rates - uses internal VCO |
| 44 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 45 |
To use other clock rates, the jumpers will need to be in the default position. |
| 46 |
|
| 47 |
* J16 is a two pin header, move the jumper to (pin1, pin2) |
| 48 |
* J15 is a three pin header, move the jumper to (pin2, pin3) |
| 49 |
|
| 50 |
For the correct clock settings, call usrp->set_master_clock_rate(rate) |
| 51 |
before any other parameters are set in your application. |
| 52 |
|
| 53 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 54 |
Clock rate recovery - unbricking |
| 55 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 56 |
It is possible to set a clock rate such that the UHD can no longer communicate with the FPGA. |
| 57 |
When this occurs, it is necessary to use the usrp-e-utility to recover the clock generator. |
| 58 |
The recovery utility works by loading a special pass-through FPGA image so the computer |
| 59 |
can talk directly to the clock generator over a SPI interface. |
| 60 |
|
| 61 |
Run the following commands to restore the clock generator to a usable state: |
| 62 |
:: |
| 63 |
|
| 64 |
cd <prefix>/share/uhd/usrp_e_utilities |
| 65 |
./usrp-e-utility --fpga=../images/usrp_e100_pt_fpga.bin --reclk |