Hackrf Tools; Handling Hackrf Data - Great Scott Gadgets HackRF Manual

Table of Contents

Advertisement

HackRF

19.5 HackRF Tools

In addition to third party tools that support HackRF, we provide some commandline tools for interacting with HackRF.
For information on how to use each tool look at the help information provided (e.g. hackrf_transfer -h) or the
manual
pages.
The first two tools (hackrf_info and hackrf_transfer) should cover most usage. The remaining tools are provided
for debugging and general interest; beware, they have the potential to damage HackRF if used incorrectly.
• hackrf_info Read device information from HackRF such as serial number and firmware version.
• hackrf_transfer Send and receive signals using HackRF. Input/output can be 8bit signed quadrature files or wav
files.
• hackrf_max2837 Read and write registers in the Maxim 2837 transceiver chip. For most tx/rx purposes
hackrf_transfer or other tools will take care of this for you.
• hackrf_rffc5071 Read and write registers in the RFFC5071 mixer chip. As above, this is for curiosity or debug-
ging only, most tools will take care of these settings automatically.
• hackrf_si5351c Read and write registers in the Silicon Labs Si5351C clock generator chip. This should also be
unnecessary for most operation.
• hackrf_spiflash A tool to write new firmware to HackRF. This is mostly used for
• hackrf_cpldjtag A tool to update the CPLD on HackRF. This is needed only when
version prior to 2021.03.1.

19.6 Handling HackRF data

19.6.1 Matlab
fid
= open(
samples.bin
len
=
1000; %
1000
samples
y
=
fread(fid, 2*len,
y
= y(1:2:end)
+ 1j*y(2:2:end);
fclose(fid)
64
,
r
);
int8
);
Updating
Firmware.
Updating Firmware
Chapter 19. Software Support
to a

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HackRF and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF