# \[RF loopback failed\] Alright, so i broke it already

**URL:** <https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338>\
**Category:** LimeSDR\
**Created:** [23 July 2020 02:30 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338 "2020-07-23T02:30:00Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 02:30 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/1 "2020-07-23T02:30:01Z")

</div>

so… The lime quicktests kept failing, and I flashed the device again. something happened in while flashing the device, and well… looks like I’m going to be downloading the cypress sdk for ubuntu. Thought I’d create a thread to document my failure.  
Connected to [WestBridge [USB 2.0] 4BE]  
TransferPacket: Write failed (ret=-9)  
TransferPacket: Write failed (ret=-9)  
TransferPacket: Write failed (ret=-9)  
Update not supported: UNKNOWN[HW=0]

Programming update failed!

This is where I am at currently.  
I’ve downloaded FX3\_SDK\_1.3.4\_Linux.tar.gz and CyUSB3\_USB\_Suite\_Source.zip. I noticed however that the only instructions on the wiki are for windows, which isnt a thing that is done around these parts.

Before I go hacking around looking for gold does anyone want to point me toward the pinata?

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 02:56 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/2 "2020-07-23T02:56:25Z")

</div>

So, using the images from github, and limesuite, it would appear that the device is functional again. At least it looks like a device again.

Anyway, It may be helpful if someone edited the wiki to create a step by step for recovery from this.

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 02:57 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/3 "2020-07-23T02:57:27Z")

</div>

which would be download the images, start limesuite flash them, reset the device, the sdk and cypress do not need to be involved.

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 03:05 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/4 "2020-07-23T03:05:15Z")

</div>

nick@ipad:~/Downloads$ LimeQuickTest  
[TESTING STARTED]  
-\>Start time: Wed Jul 22 20:00:05 2020

-\>Device: LimeSDR-USB, media=USB 3.0, module=FX3, addr=1d50:6108, serial=00090726074E3527  
Serial Number: 00090726074E3527

[Clock Network Test]  
-\>FX3 GPIF clock test  
Test results: 38267; 42023; 45779 - PASSED  
-\>Si5351C test  
CLK0: 17554 / 17554 - PASSED  
CLK1: 17554 / 17554 - PASSED  
CLK2: 17554 / 17554 - PASSED  
CLK3: 17554 / 17554 - PASSED  
CLK4: 17554 / 17554 - PASSED  
CLK5: 17554 / 17554 - PASSED  
CLK6: 17554 / 17554 - PASSED  
-\>ADF4002 Test  
Result: 10 - PASSED  
-\>VCTCXO test  
Results : 5112937 (min); 5113073 (max) - PASSED  
-\>Clock Network Test PASSED

[FPGA EEPROM Test]  
-\>Read EEPROM  
-\>Read data: 12 07 1A 12 07 1A 02  
-\>FPGA EEPROM Test PASSED

[LMS7002M Test]  
-\>Perform Registers Test  
-\>External Reset line test  
Reg 0x20: Write value 0xFFFD, Read value 0xFFFD  
Reg 0x20: value after reset 0x0FFFF  
-\>LMS7002M Test PASSED

[RF Loopback Test]  
Note: The test should be run without anything connected to RF ports  
-\>Configure LMS  
TransferPacket: Read failed (ret=0)  
SetPllFrequency: configure FPGA PLL, failed to write registers  
-\>Run Tests (TX\_2-\> LNA\_L):  
SetFrequencySXT(805 MHz) - cannot deliver frequency  
-\>Run Tests (TX\_1 -\> LNA\_W):  
SetFrequencySXT(1805 MHz) - cannot deliver frequency  
-\>Run Tests (TX\_2-\> LNA\_H):  
SetFrequencySXT(2505 MHz) - cannot deliver frequency  
-\>RF Loopback Test FAILED

=\> Board tests FAILED \<=

Elapsed time: 2.00 seconds

Is this a power deficiency?

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 03:33 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/5 "2020-07-23T03:33:34Z")

</div>

nick@ipad:~/Downloads$ LimeQuickTest  
[TESTING STARTED]  
-\>Start time: Wed Jul 22 20:28:50 2020

-\>Device: LimeSDR-USB, media=USB 2.0, module=FX3, addr=1d50:6108, serial=00090726074E3527  
Warning: USB3 not available  
Serial Number: 00090726074E3527

[Clock Network Test]  
-\>FX3 GPIF clock test  
Test results: 61988; 208; 3964 - PASSED  
-\>Si5351C test  
CLK0: 17554 / 17554 - PASSED  
CLK1: 17554 / 17554 - PASSED  
CLK2: 17554 / 17554 - PASSED  
CLK3: 17554 / 17554 - PASSED  
CLK4: 17554 / 17554 - PASSED  
CLK5: 17554 / 17554 - PASSED  
CLK6: 17554 / 17554 - PASSED  
-\>ADF4002 Test  
Result: 10 - PASSED  
-\>VCTCXO test  
Results : 5112931 (min); 5113066 (max) - PASSED  
-\>Clock Network Test PASSED

[FPGA EEPROM Test]  
-\>Read EEPROM  
-\>Read data: 12 07 1A 12 07 1A 02  
-\>FPGA EEPROM Test PASSED

[LMS7002M Test]  
-\>Perform Registers Test  
-\>External Reset line test  
Reg 0x20: Write value 0xFFFD, Read value 0xFFFD  
Reg 0x20: value after reset 0x0FFFF  
-\>LMS7002M Test PASSED

[RF Loopback Test]  
Note: The test should be run without anything connected to RF ports  
-\>Configure LMS  
TransferPacket: Read failed (ret=0)  
-\>Run Tests (TX\_2-\> LNA\_L):  
Failed to read samples: Timeout  
CH0 (SXR=800.0MHz, SXT=805.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
Failed to read samples: Timeout  
CH1 (SXR=800.0MHz, SXT=805.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
-\>Run Tests (TX\_1 -\> LNA\_W):  
Failed to read samples: Timeout  
CH0 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
Failed to read samples: Timeout  
CH1 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
-\>Run Tests (TX\_2-\> LNA\_H):  
Failed to read samples: Timeout  
CH0 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
Failed to read samples: Timeout  
CH1 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
-\>RF Loopback Test FAILED

=\> Board tests FAILED \<=

Elapsed time: 8.96 seconds

With less stuff connected to the usb system, the fail grows more complex. I’m thinking power.

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [23 July 2020 13:25 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/6 "2020-07-23T13:25:37Z")

</div>

> [@lotharn](#):
>
> Device: LimeSDR-USB, media=USB 2.0, module=FX3, addr=1d50:6108, serial=00090726074E3527  
> Warning: USB3 not available

Please use a USB 3.0 port. A USB 2.0 port will not supply sufficient power.

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 15:46 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/7 "2020-07-23T15:46:18Z")

</div>

the first test did not have a usb2 flag. the second one did.  
heres another one that is connected directly to the host.

nick@ipad:~/Downloads$ LimeQuickTest  
[TESTING STARTED]  
-\>Start time: Thu Jul 23 08:42:54 2020

-\>Device: LimeSDR-USB, media=USB 3.0, module=FX3, addr=1d50:6108, serial=00090726074E3527  
Serial Number: 00090726074E3527

[Clock Network Test]  
-\>FX3 GPIF clock test  
Test results: 39314; 43070; 46826 - PASSED  
-\>Si5351C test  
CLK0: 17554 / 17554 - PASSED  
CLK1: 17554 / 17554 - PASSED  
CLK2: 17554 / 17554 - PASSED  
CLK3: 17554 / 17554 - PASSED  
CLK4: 17554 / 17554 - PASSED  
CLK5: 17554 / 17554 - PASSED  
CLK6: 17554 / 17554 - PASSED  
-\>ADF4002 Test  
Result: 10 - PASSED  
-\>VCTCXO test  
Results : 5112925 (min); 5113059 (max) - PASSED  
-\>Clock Network Test PASSED

[FPGA EEPROM Test]  
-\>Read EEPROM  
-\>Read data: 12 07 1A 12 07 1A 02  
-\>FPGA EEPROM Test PASSED

[LMS7002M Test]  
-\>Perform Registers Test  
-\>External Reset line test  
Reg 0x20: Write value 0xFFFD, Read value 0xFFFD  
Reg 0x20: value after reset 0x0FFFF  
-\>LMS7002M Test PASSED

[RF Loopback Test]  
Note: The test should be run without anything connected to RF ports  
-\>Configure LMS  
-\>Run Tests (TX\_2-\> LNA\_L):  
CH0 (SXR=800.0MHz, SXT=805.0MHz): Result:(-13.5 dBFS, 5.00 MHz) - PASSED  
CH1 (SXR=800.0MHz, SXT=805.0MHz): Result:(-16.2 dBFS, 5.00 MHz) - PASSED  
-\>Run Tests (TX\_1 -\> LNA\_W):  
TransferPacket: Read failed (ret=0)  
Failed to read samples: Timeout  
CH0 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
libusb: error [udev\_hotplug\_event] ignoring udev action bind  
libusb: error [udev\_hotplug\_event] ignoring udev action bind  
Failed to read samples: Timeout  
CH1 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
-\>Run Tests (TX\_2-\> LNA\_H):  
Failed to read samples: Timeout  
CH0 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
Failed to read samples: Timeout  
CH1 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-15.0 dBFS, 5.00 MHz) - FAILED  
-\>RF Loopback Test FAILED

=\> Board tests FAILED \<=

Elapsed time: 5.88 seconds

this stands out to me:

TransferPacket: Read failed (ret=0)

what can cause this?

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [23 July 2020 15:50 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/8 "2020-07-23T15:50:09Z")

</div>

Could be power brownout. Is the board plugged directly into the USB 3.0 port, without any cable in between? It should be possible to use a cable, but sometimes this have been seen to cause problems if lower quality or damaged etc. and resulting in voltage drop.

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 16:11 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/9 "2020-07-23T16:11:12Z")

</div>

so heres the “power” lines from lsusb -v

cat usb | grep -ni power  
26: (Bus Powered)  
27: MaxPower 100mA  
92: Link Power Management (LPM) Supported  
107: (Bus Powered)  
133: Self Powered  
135: MaxPower 0mA  
162: No power switching (usb 1.0)  
170: Port 1: 0000.02a0 5Gbps power Rx.Detect  
171: Port 2: 0000.0203 5Gbps power U0 enable connect  
172: Port 3: 0000.02a0 5Gbps power Rx.Detect  
173: Port 4: 0000.02a0 5Gbps power Rx.Detect  
174: Port 5: 0000.02a0 5Gbps power Rx.Detect  
175: Port 6: 0000.02a0 5Gbps power Rx.Detect  
194: Self Powered  
220: Self Powered  
222: MaxPower 100mA  
444: Self Powered  
470: (Bus Powered)  
471: MaxPower 500mA  
531: Power Line Frequency  
1066: (Bus Powered)  
1092: Self Powered  
1094: MaxPower 0mA  
1120: No power switching (usb 1.0)  
1128: Port 1: 0000.0100 power  
1129: Port 2: 0000.0100 power  
1130: Port 3: 0000.0100 power  
1131: Port 4: 0000.0503 highspeed power enable connect  
1132: Port 5: 0000.0103 power enable connect  
1133: Port 6: 0000.0100 power  
1134: Port 7: 0000.0100 power  
1136: Self Powered

* * *

[https://pastebin.com/9vW2EPx5](https://pastebin.com/9vW2EPx5)

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [23 July 2020 16:12 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/10 "2020-07-23T16:12:31Z")

</div>

I’m guessing this means that my laptop simply doesnt drive enough power to usb for this to work period.

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [24 July 2020 01:09 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/11 "2020-07-24T01:09:26Z")

</div>

| 1 | |
| --- | --- |
| 2 | Bus 002 Device 023: ID 1d50:6108 OpenMoko, Inc. |
| 3 | Device Descriptor: |
| 4 | bLength 18 |
| 5 | bDescriptorType 1 |
| 6 | bcdUSB 3.00 |
| 7 | bDeviceClass 0 (Defined at Interface level) |
| 8 | bDeviceSubClass 0 |
| 9 | bDeviceProtocol 0 |
| 10 | bMaxPacketSize0 9 |
| 11 | idVendor 0x1d50 OpenMoko, Inc. |
| 12 | idProduct 0x6108 |
| 13 | bcdDevice 0.00 |
| 14 | iManufacturer 1 Myriad-RF |
| 15 | iProduct 2 LimeSDR-USB |
| 16 | iSerial 3 00090726074E3527 |
| 17 | bNumConfigurations 1 |
| 18 | Configuration Descriptor: |
| 19 | bLength 9 |
| 20 | bDescriptorType 2 |
| 21 | wTotalLength 70 |
| 22 | bNumInterfaces 1 |
| 23 | bConfigurationValue 1 |
| 24 | iConfiguration 0 |
| 25 | bmAttributes 0x80 |
| 26 | (Bus Powered) |
| 27 | MaxPower 100mA |
| 28 | Interface Descriptor: |
| 29 | bLength 9 |
| 30 | bDescriptorType 4 |
| 31 | bInterfaceNumber 0 |
| 32 | bAlternateSetting 0 |
| 33 | bNumEndpoints 4 |
| 34 | bInterfaceClass 255 Vendor Specific Class |
| 35 | bInterfaceSubClass 0 |
| 36 | bInterfaceProtocol 0 |
| 37 | iInterface 0 |
| 38 | Endpoint Descriptor: |
| 39 | bLength 7 |
| 40 | bDescriptorType 5 |
| 41 | bEndpointAddress 0x01 EP 1 OUT |
| 42 | bmAttributes 2 |
| 43 | Transfer Type Bulk |
| 44 | Synch Type None |
| 45 | Usage Type Data |
| 46 | wMaxPacketSize 0x0400 1x 1024 bytes |
| 47 | bInterval 0 |
| 48 | bMaxBurst 15 |
| 49 | Endpoint Descriptor: |
| 50 | bLength 7 |
| 51 | bDescriptorType 5 |
| 52 | bEndpointAddress 0x81 EP 1 IN |
| 53 | bmAttributes 2 |
| 54 | Transfer Type Bulk |
| 55 | Synch Type None |
| 56 | Usage Type Data |
| 57 | wMaxPacketSize 0x0400 1x 1024 bytes |
| 58 | bInterval 0 |
| 59 | bMaxBurst 15 |
| 60 | Endpoint Descriptor: |
| 61 | bLength 7 |
| 62 | bDescriptorType 5 |
| 63 | bEndpointAddress 0x0f EP 15 OUT |
| 64 | bmAttributes 2 |
| 65 | Transfer Type Bulk |
| 66 | Synch Type None |
| 67 | Usage Type Data |
| 68 | wMaxPacketSize 0x0400 1x 1024 bytes |
| 69 | bInterval 0 |
| 70 | bMaxBurst 0 |
| 71 | Endpoint Descriptor: |
| 72 | bLength 7 |
| 73 | bDescriptorType 5 |
| 74 | bEndpointAddress 0x8f EP 15 IN |
| 75 | bmAttributes 2 |
| 76 | Transfer Type Bulk |
| 77 | Synch Type None |
| 78 | Usage Type Data |
| 79 | wMaxPacketSize 0x0400 1x 1024 bytes |
| 80 | bInterval 0 |
| 81 | bMaxBurst 0 |
| 82 | Binary Object Store Descriptor: |
| 83 | bLength 5 |
| 84 | bDescriptorType 15 |
| 85 | wTotalLength 22 |
| 86 | bNumDeviceCaps 2 |
| 87 | USB 2.0 Extension Device Capability: |
| 88 | bLength 7 |
| 89 | bDescriptorType 16 |
| 90 | bDevCapabilityType 2 |
| 91 | bmAttributes 0x00000002 |
| 92 | Link Power Management (LPM) Supported |
| 93 | SuperSpeed USB Device Capability: |
| 94 | bLength 10 |
| 95 | bDescriptorType 16 |
| 96 | bDevCapabilityType 3 |
| 97 | bmAttributes 0x00 |
| 98 | wSpeedsSupported 0x000e |
| 99 | Device can operate at Full Speed (12Mbps) |
| 100 | Device can operate at High Speed (480Mbps) |
| 101 | Device can operate at SuperSpeed (5Gbps) |
| 102 | bFunctionalitySupport 3 |
| 103 | Lowest fully-functional device speed is SuperSpeed (5Gbps) |
| 104 | bU1DevExitLat 0 micro seconds |
| 105 | bU2DevExitLat 0 micro seconds |
| 106 | Device Status: 0x0000 |
| 107 | (Bus Powered) |
| 108 | |
| 109 | Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub |
| 110 | Device Descriptor: |
| 111 | bLength 18 |
| 112 | bDescriptorType 1 |
| 113 | bcdUSB 3.00 |
| 114 | bDeviceClass 9 Hub |
| 115 | bDeviceSubClass 0 Unused |
| 116 | bDeviceProtocol 3 |
| 117 | bMaxPacketSize0 9 |
| 118 | idVendor 0x1d6b Linux Foundation |
| 119 | idProduct 0x0003 3.0 root hub |
| 120 | bcdDevice 4.16 |
| 121 | iManufacturer 3 Linux 4.16.18-galliumos xhci-hcd |
| 122 | iProduct 2 xHCI Host Controller |
| 123 | iSerial 1 0000:00:14.0 |
| 124 | bNumConfigurations 1 |
| 125 | Configuration Descriptor: |
| 126 | bLength 9 |
| 127 | bDescriptorType 2 |
| 128 | wTotalLength 31 |
| 129 | bNumInterfaces 1 |
| 130 | bConfigurationValue 1 |
| 131 | iConfiguration 0 |
| 132 | bmAttributes 0xe0 |
| 133 | Self Powered |
| 134 | Remote Wakeup |
| 135 | MaxPower 0mA |
| 136 | Interface Descriptor: |
| 137 | bLength 9 |
| 138 | bDescriptorType 4 |
| 139 | bInterfaceNumber 0 |
| 140 | bAlternateSetting 0 |
| 141 | bNumEndpoints 1 |
| 142 | bInterfaceClass 9 Hub |
| 143 | bInterfaceSubClass 0 Unused |
| 144 | bInterfaceProtocol 0 Full speed (or root) hub |
| 145 | iInterface 0 |
| 146 | Endpoint Descriptor: |
| 147 | bLength 7 |
| 148 | bDescriptorType 5 |
| 149 | bEndpointAddress 0x81 EP 1 IN |
| 150 | bmAttributes 3 |
| 151 | Transfer Type Interrupt |
| 152 | Synch Type None |
| 153 | Usage Type Data |
| 154 | wMaxPacketSize 0x0004 1x 4 bytes |
| 155 | bInterval 12 |
| 156 | bMaxBurst 0 |
| 157 | Hub Descriptor: |
| 158 | bLength 12 |
| 159 | bDescriptorType 42 |
| 160 | nNbrPorts 6 |
| 161 | wHubCharacteristic 0x000a |
| 162 | No power switching (usb 1.0) |
| 163 | Per-port overcurrent protection |
| 164 | bPwrOn2PwrGood 10 \* 2 milli seconds |
| 165 | bHubContrCurrent 0 milli Ampere |
| 166 | bHubDecLat 0.0 micro seconds |
| 167 | wHubDelay 0 nano seconds |
| 168 | DeviceRemovable 0x00 |
| 169 | Hub Port Status: |
| 170 | Port 1: 0000.02a0 5Gbps power Rx.Detect |
| 171 | Port 2: 0000.0203 5Gbps power U0 enable connect |
| 172 | Port 3: 0000.02a0 5Gbps power Rx.Detect |
| 173 | Port 4: 0000.02a0 5Gbps power Rx.Detect |
| 174 | Port 5: 0000.02a0 5Gbps power Rx.Detect |
| 175 | Port 6: 0000.02a0 5Gbps power Rx.Detect |
| 176 | Binary Object Store Descriptor: |
| 177 | bLength 5 |
| 178 | bDescriptorType 15 |
| 179 | wTotalLength 15 |
| 180 | bNumDeviceCaps 1 |
| 181 | SuperSpeed USB Device Capability: |
| 182 | bLength 10 |
| 183 | bDescriptorType 16 |
| 184 | bDevCapabilityType 3 |
| 185 | bmAttributes 0x02 |
| 186 | Latency Tolerance Messages (LTM) Supported |
| 187 | wSpeedsSupported 0x0008 |
| 188 | Device can operate at SuperSpeed (5Gbps) |
| 189 | bFunctionalitySupport 3 |
| 190 | Lowest fully-functional device speed is SuperSpeed (5Gbps) |
| 191 | bU1DevExitLat 10 micro seconds |
| 192 | bU2DevExitLat 512 micro seconds |
| 193 | Device Status: 0x0001 |
| 194 | Self Powered |

is the sdr even attempting to increase it’s power?

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [24 July 2020 09:37 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/12 "2020-07-24T09:37:32Z")

</div>

> [@lotharn](#):
>
> is the sdr even attempting to increase it’s power?

I can’t see why not and this is handled by the Cypress FX3 controller. If the port is enumerating as USB 3.0 and Lime Suite can run tests, albeit with issues and it appears that insufficient current is being supplied, I’d suspect the host port and try other computers if possible. It has been known for certain USB 3.0 chipsets to be problematic and this something not limited to LimeSDR USB, but also USB 3.0 devices also. If we can at least rule the port out this would be good.

Perhaps @zack may have some other suggestions.

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [31 July 2020 04:01 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/13 "2020-07-31T04:01:34Z")

</div>

I put this on hold for a little while but I did end up grabbing a different usb hub that has power attached to it.

One question, what is the maximum safe voltage that the board will accept? Can this be hooked up to a 10-16v auto circuit?

Snip--------------------------------------------------------------

> ```
> nick@ipad:~$ LimeQuickTest 
> [TESTING STARTED]
> ->Start time: Thu Jul 30 20:53:23 2020
> 
> ->Device: LimeSDR-USB, media=USB 3.0, module=FX3, addr=1d50:6108, serial=00090726074E3527, HW=4, GW=2.23
> Serial Number: 00090726074E3527
> Chip temperature: 27 C
> 
> [Clock Network Test]
> ->FX3 GPIF clock test
> Test results: 43986; 47742; 51498 - PASSED
> ->Si5351C test
> CLK0: 17554 / 17554 - PASSED
> CLK1: 17554 / 17554 - PASSED
> CLK2: 17554 / 17554 - PASSED
> CLK3: 17554 / 17554 - PASSED
> CLK4: 17554 / 17554 - PASSED
> CLK5: 17554 / 17554 - PASSED
> CLK6: 17554 / 17554 - PASSED
> ->ADF4002 Test
> Result: 10 - PASSED
> ->VCTCXO test
> Results : 5112929 (min); 5113063 (max) - PASSED
> ->Clock Network Test PASSED
> 
> [FPGA EEPROM Test]
> ->Read EEPROM
> ->Read data: 12 07 1A 12 07 1A 02
> ->FPGA EEPROM Test PASSED
> 
> [LMS7002M Test]
> ->Perform Registers Test
> ->External Reset line test
> Reg 0x20: Write value 0xFFFD, Read value 0xFFFD
> Reg 0x20: value after reset 0x0FFFF
> ->LMS7002M Test PASSED
> 
> [RF Loopback Test]
> Note: The test should be run without anything connected to RF ports
> ->Configure LMS
> ->Run Tests (TX_2-> LNA_L):
> CH0 (SXR=800.0MHz, SXT=805.0MHz): Result:(-13.7 dBFS, 5.00 MHz) - PASSED
> CH1 (SXR=800.0MHz, SXT=805.0MHz): Result:(-16.4 dBFS, 5.00 MHz) - PASSED
> ->Run Tests (TX_1 -> LNA_W):
> CH0 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-18.5 dBFS, 5.00 MHz) - PASSED
> CH1 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-22.4 dBFS, 5.00 MHz) - FAILED
> ->Run Tests (TX_2-> LNA_H):
> CH0 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-17.5 dBFS, 5.00 MHz) - PASSED
> CH1 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-15.6 dBFS, 5.00 MHz) - PASSED
> ->RF Loopback Test FAILED
> 
> => Board tests FAILED <=
> 
> Elapsed time: 1.66 seconds
> 
> ```

SNIP---------------------------------------------------------------

> ```
> nick@ipad:~$ sudo lsusb -t
> [sudo] password for nick: 
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
> |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
> |__ Port 3: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 5000M
> |__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/7p, 480M
> |__ Port 2: Dev 12, If 0, Class=Hub, Driver=hub/5p, 480M
> |__ Port 1: Dev 13, If 0, Class=Hub, Driver=hub/4p, 480M
> |__ Port 3: Dev 15, If 0, Class=Mass Storage, Driver=usb-storage, 480M
> |__ Port 4: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
> |__ Port 4: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
> |__ Port 5: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
> |__ Port 5: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
> 
> ```

SNIP----------------------------------------------------------------------`  
nick@ipad:~$ sudo lsusb -v -s 5

```
Bus 002 Device 005: ID 1d50:6108 OpenMoko, Inc. 
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 3.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize0 9
  idVendor 0x1d50 OpenMoko, Inc.
  idProduct 0x6108 
  bcdDevice 0.00
  iManufacturer 1 Myriad-RF
  iProduct 2 LimeSDR-USB
  iSerial 3 00090726074E3527
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 70
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0 
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 4
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0 
      bInterfaceProtocol 0 
      iInterface 0 
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 15
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 15
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x0f EP 15 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x8f EP 15 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0400 1x 1024 bytes
        bInterval 0
        bMaxBurst 0
Binary Object Store Descriptor:
  bLength 5
  bDescriptorType 15
  wTotalLength 22
  bNumDeviceCaps 2
  USB 2.0 Extension Device Capability:
    bLength 7
    bDescriptorType 16
    bDevCapabilityType 2
    bmAttributes 0x00000002
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength 10
    bDescriptorType 16
    bDevCapabilityType 3
    bmAttributes 0x00
    wSpeedsSupported 0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport 3
      Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat 0 micro seconds
    bU2DevExitLat 0 micro seconds
Device Status: 0x0000
  (Bus Powered)

```

SNAP-----------------------------------------------------------

> [Jul30 19:10] usb 2-2.3: USB disconnect, device number 5  
> [+2.556449] usb 2-2.3: new SuperSpeed USB device number 6 using xhci\_hcd  
> [+0.014316] usb 2-2.3: LPM exit latency is zeroed, disabling LPM.  
> [+0.000840] usb 2-2.3: New USB device found, idVendor=1d50, idProduct=6108  
> [+0.000005] usb 2-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3  
> [+0.000003] usb 2-2.3: Product: LimeSDR-USB  
> [+0.000003] usb 2-2.3: Manufacturer: Myriad-RF  
> [+0.000003] usb 2-2.3: SerialNumber: 00090726074E3527

I notice this line:  
[+0.014316] usb 2-2.3: LPM exit latency is zeroed, disabling LPM.

is this saying it is disabling link power managment?

---

<div class="post-metadata">

**Author:** ![Zack](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/zack/32/89_2.png) [@Zack](https://discourse.myriadrf.org/u/Zack)\
**Post date:** [31 July 2020 08:31 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/14 "2020-07-31T08:31:45Z")

</div>

> [@lotharn](#):
>
> One question, what is the maximum safe voltage that the board will accept?

Check here please:  
[https://wiki.myriadrf.org/LimeSDR-USB\_hardware\_description#Power\_distribution](https://wiki.myriadrf.org/LimeSDR-USB_hardware_description#Power_distribution)

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [26 August 2020 03:44 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/15 "2020-08-26T03:44:55Z")

</div>

I guess i see that it accepts 6-12v. ok.

---

<div class="post-metadata">

**Author:** ![lotharn](https://avatars.discourse-cdn.com/v4/letter/l/9e8a1a/32.png) [@lotharn](https://discourse.myriadrf.org/u/lotharn)\
**Post date:** [26 August 2020 03:49 UTC](https://discourse.myriadrf.org/t/rf-loopback-failed-alright-so-i-broke-it-already/6338/16 "2020-08-26T03:49:58Z")

</div>

Sorry about my late reply.

So i’m now providing 3.5 possible amps over usb.

This however has not changed the results of the quick test. I’ve left the device powered overnight, and the system it is connected to isnt showing any of the previous issues that may have been brownout.

> ```
> nick@ipad:~$ LimeQuickTest 
> [TESTING STARTED]
> ->Start time: Tue Aug 25 20:48:24 2020
> 
> ->Device: LimeSDR-USB, media=USB 3.0, module=FX3, addr=1d50:6108, serial=00090726074E3527, HW=4, GW=2.23
> Serial Number: 00090726074E3527
> Chip temperature: 46 C
> 
> [Clock Network Test]
> ->FX3 GPIF clock test
> Test results: 32738; 36494; 40250 - PASSED
> ->Si5351C test
> CLK0: 17554 / 17554 - PASSED
> CLK1: 17554 / 17554 - PASSED
> CLK2: 17554 / 17554 - PASSED
> CLK3: 17554 / 17554 - PASSED
> CLK4: 17554 / 17554 - PASSED
> CLK5: 17554 / 17554 - PASSED
> CLK6: 17554 / 17554 - PASSED
> ->ADF4002 Test
> Result: 10 - PASSED
> ->VCTCXO test
> Results : 5112941 (min); 5113077 (max) - PASSED
> ->Clock Network Test PASSED
> 
> [FPGA EEPROM Test]
> ->Read EEPROM
> ->Read data: 12 07 1A 12 07 1A 02
> ->FPGA EEPROM Test PASSED
> 
> [LMS7002M Test]
> ->Perform Registers Test
> ->External Reset line test
> Reg 0x20: Write value 0xFFFD, Read value 0xFFFD
> Reg 0x20: value after reset 0x0FFFF
> ->LMS7002M Test PASSED
> 
> [RF Loopback Test]
> Note: The test should be run without anything connected to RF ports
> ->Configure LMS
> ->Run Tests (TX_2-> LNA_L):
> CH0 (SXR=800.0MHz, SXT=805.0MHz): Result:(-14.9 dBFS, 5.00 MHz) - PASSED
> CH1 (SXR=800.0MHz, SXT=805.0MHz): Result:(-18.1 dBFS, 5.00 MHz) - PASSED
> ->Run Tests (TX_1 -> LNA_W):
> CH0 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-20.4 dBFS, 5.00 MHz) - PASSED
> CH1 (SXR=1800.0MHz, SXT=1805.0MHz): Result:(-24.0 dBFS, 5.00 MHz) - FAILED
> ->Run Tests (TX_2-> LNA_H):
> CH0 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-17.9 dBFS, 5.00 MHz) - PASSED
> CH1 (SXR=2500.0MHz, SXT=2505.0MHz): Result:(-16.2 dBFS, 5.00 MHz) - PASSED
> ->RF Loopback Test FAILED
> 
> => Board tests FAILED <=
> 
> Elapsed time: 1.80 seconds
> 
> nick@ipad:~$
> 
> ```
