[Hackrf-dev] Can hackrf support 23.04M sampling rate?

Russell Hande zefie at persona.cc
Sun May 4 16:33:29 EDT 2014


Also it depends on what is in use on that USB hub. Many laptops bundle
internal components, such as a bluetooth module, or the webcam into an
internal USB hub. Personally I've only had luck on USB3 ports since
they have more bandwidth to share across multiple devices.

On Sun, May 4, 2014 at 2:11 PM, Michael Ossmann <mike at ossmann.com> wrote:

> I can get 21.5 Msps reliably on one USB port on my laptop. That is the

> fastest consistent speed I have seen. The maximum speed seems to depend

> on the USB host controller.

>

>

> On Sun, May 04, 2014 at 09:16:42PM +0800, Jiao Xianjun wrote:

>>

>> I change to another usb port, the rate is increased to 38.3MiB/second.

>> Seems that it is impossible for my computer (thinkpad T410) to support rate

>> larger than 19.15Msps?

>>

>>

>> On Sun, May 4, 2014 at 9:07 PM, Jiao Xianjun <putaoshu at gmail.com> wrote:

>>

>> > Hi,

>> >

>> > I try to run hackrf at 23.04Msps, and get:

>> >

>> >

>> > ------------------------------------------------------------------------------------------------

>> > hackrf_transfer -f 2000000000 -r tmp.bin -n 100000000 -s 23040000

>> > call hackrf_sample_rate_set(23040000 Hz/23.040 MHz)

>> > call hackrf_baseband_filter_bandwidth_set(20000000 Hz/20.000 MHz)

>> > call hackrf_set_freq(2000000000 Hz/2000.000 MHz)

>> > samples_to_xfer 100000000/100Mio

>> > Stop with Ctrl-C

>> > 34.1 MiB / 1.000 sec = 34.1 MiB/second

>> > 34.3 MiB / 1.000 sec = 34.3 MiB/second

>> > 34.1 MiB / 1.000 sec = 34.1 MiB/second

>> > 34.3 MiB / 1.000 sec = 34.3 MiB/second

>> > 34.3 MiB / 1.000 sec = 34.3 MiB/second

>> > 28.8 MiB / 1.000 sec = 28.8 MiB/second

>> >

>> > User cancel, exiting...

>> > Total time: 6.00102 s

>> > hackrf_stop_rx() done

>> > hackrf_close() done

>> > hackrf_exit() done

>> > fclose(fd) done

>> > exit

>> >

>> > ------------------------------------------------------------------------------------------------

>> >

>> > Does that mean hackrf support 23.04Msps, but seems there is packet loss?

>> > (according to reported MiB/second)

>> >

>> > BR

>> >

>> > Jiao Xianjun

>> >

>> >

>

>> _______________________________________________

>> HackRF-dev mailing list

>> HackRF-dev at greatscottgadgets.com

>> http://nine.pairlist.net/mailman/listinfo/hackrf-dev

>

> _______________________________________________

> HackRF-dev mailing list

> HackRF-dev at greatscottgadgets.com

> http://nine.pairlist.net/mailman/listinfo/hackrf-dev



More information about the HackRF-dev mailing list