Latest Version

Latest Version

HackRF Great Scott Gadgets Sep 28, 2021 USER DOCUMENTATION 1 HackRF One 1 1.1 Features..................................................1 1.2 Differences between Jawbreaker and HackRF One...........................1 1.3 Enclosure Options............................................2 1.4 Using HackRF One’s Buttons......................................2 1.5 SMA, not RP-SMA............................................2 1.6 Transmit Power..............................................3 1.7 Receive Power..............................................3 1.8 External Clock Interface (CLKIN and CLKOUT)............................3 1.9 Hardware Documentation........................................4 1.10 Expansion Interface...........................................4 2 Opera Cake 9 2.1 Using Opera Cake............................................9 2.2 Opera Glasses.............................................. 10 3 FAQ 11 3.1 I can’t seem to access my HackRF under Linux............................. 11 3.2 hackrf_set_sample_rate fails....................................... 13 3.3 What is the big spike in the center of my received spectrum?...................... 13 3.4 How do I deal with the DC offset?.................................... 14 3.5 Purchasing HackRF........................................... 14 3.6 Making sense of gain settings...................................... 14 3.7 System Requirements.......................................... 15 3.8 LEDs................................................... 15 3.9 Half-Duplex, Full-Duplex........................................ 15 3.10 What is the receive sensibility of HackRF?............................... 16 3.11 Troubleshooting............................................. 16 4 Getting Help 17 5 Tips and Tricks 19 5.1 USB Cables (and why to use a noise reducing one)........................... 19 5.2 Sampling Rate and Baseband Filters................................... 19 6 HackRF Community Projects and Mentions 21 6.1 Retired Projects.............................................. 21 7 Operating System Tips 23 7.1 Package managers............................................ 23 7.2 Building from source........................................... 24 i 8 Getting Started with HackRF and GNU Radio 27 8.1 Try Your HackRF with Pentoo Linux.................................. 27 8.2 Software Setup.............................................. 28 8.3 Examples................................................. 28 9 Software Support 29 9.1 Software with HackRF Support..................................... 29 9.2 GNU Radio Based............................................ 29 9.3 Direct Support.............................................. 29 9.4 Can use HackRF data.......................................... 29 9.5 HackRF Tools.............................................. 30 9.6 Handling HackRF data.......................................... 30 10 libhackRF API 31 10.1 Setup, Initialization and Shutdown.................................... 31 10.2 Using the Radio............................................. 33 10.3 Reading and Writing Registers...................................... 34 10.4 Updating Firmware............................................ 35 10.5 Board Identifiers............................................. 36 10.6 Miscellaneous.............................................. 37 10.7 Data Structures.............................................. 37 10.8 Enumerations............................................... 38 11 hackrf_sweep 41 11.1 Usage................................................... 41 11.2 Output fields............................................... 41 12 Updating Firmware 43 12.1 Updating the SPI Flash Firmware.................................... 43 12.2 Updating the CPLD........................................... 43 12.3 Only if Necessary: DFU Boot...................................... 44 12.4 Only if Necessary: Recovering the SPI Flash Firmware......................... 44 12.5 Obtaining DFU-Util........................................... 44 13 Firmware Development Setup 47 14 LPC43xx Debugging 49 14.1 Black Magic Probe............................................ 49 14.2 LPC-Link................................................. 49 14.3 ST-LINK/V2............................................... 49 14.4 Run ARM GDB............................................. 51 15 LPC43xx SGPIO Configuration 53 15.1 Frequently Asked Questions....................................... 53 16 LPC43xx USB DFU Notes 55 16.1 Setup................................................... 55 16.2 Usage Notes............................................... 55 16.3 Jellybean Notes.............................................. 56 17 LPC43xx USB Implementation 57 17.1 Initial Experimentation and Discovery.................................. 57 18 Hardware Components 59 18.1 Block Diagrams............................................. 60 ii 19 Clocking 63 20 Multiple Device Hardware Level Synchronization 65 20.1 Purpose.................................................. 65 20.2 Related work............................................... 65 20.3 Requirements............................................... 65 20.4 Opening your HackRF.......................................... 66 20.5 Connect the clocks............................................ 66 20.6 Identify the pin headers......................................... 67 20.7 Wire up the pin headers......................................... 69 20.8 Upgrade................................................. 71 20.9 Testing with hackrf_transfer....................................... 71 20.10 What next?................................................ 72 21 Jawbreaker 75 21.1 Features.................................................. 75 21.2 Set your Jawbreaker Free!........................................ 75 21.3 SMA, not RP-SMA............................................ 76 21.4 Transmit Power.............................................. 76 21.5 Hardware Documentation........................................ 76 21.6 Expansion Interface........................................... 76 22 Design Goals 83 23 Future Hardware Modifications 85 23.1 Antenna.................................................. 85 23.2 Baseband................................................. 85 23.3 CPLD................................................... 85 23.4 Clocking................................................. 85 23.5 USB................................................... 86 23.6 Power Management........................................... 86 23.7 Regulators................................................ 86 23.8 Buttons.................................................. 86 23.9 Shielding................................................. 86 23.10 Footprints................................................. 86 23.11 Shield Support.............................................. 87 24 Lemondrop Bring Up 89 24.1 Si5351 I2C................................................ 89 25 LPC4350 SGPIO Experimentation 95 25.1 SGPIO Examples............................................. 95 iii iv CHAPTER ONE HACKRF ONE HackRF One is the current hardware platform for the HackRF project. It is a Software Defined Radio peripheral capable of transmission or reception of radio signals from 1 MHz to 6 GHz. Designed to enable test and development of modern and next generation radio technologies, HackRF One is an open source hardware platform that can be used as a USB peripheral or programmed for stand-alone operation. 1.1 Features • half-duplex transceiver • operating freq: 1 MHz to 6 GHz • supported sample rates: 2 Msps to 20 Msps (quadrature) • resolution: 8 bits • interface: High Speed USB (with USB Micro-B connector) • power supply: USB bus power • software-controlled antenna port power (max 50 mA at 3.3 V) • SMA female antenna connector (50 ohms) • SMA female clock input and output for synchronization • convenient buttons for programming • pin headers for expansion • portable • open source 1.2 Differences between Jawbreaker and HackRF One Jawbreaker was the beta platform that preceded HackRF One. HackRF One incorporates the following changes and enhancements: • Antenna port: No modification is necessary to use the SMA antenna port on HackRF One. • PCB antenna: Removed. • Size: HackRF One is smaller at 120 mm x 75 mm (PCB size). • Enclosure: The commercial version of HackRF One from Great Scott Gadgets ships with an injection molded plastic enclosure. HackRF One is also designed to fit other enclosure options. 1 HackRF • Buttons: HackRF One has a RESET button and a DFU button for easy programming. • Clock input and output: Installed and functional without modification. • USB connector: HackRF One features a new USB connector and improved USB layout. • Expansion interface: More pins are available for expansion, and pin headers are installed on HackRF One. • Real-Time Clock: An RTC is installed on HackRF One. • LPC4320 microcontroller: Jawbreaker had an LPC4330. • RF shield footprint: An optional shield may be installed over HackRF One’s RF section. • Antenna port power: HackRF One can supply up to 50 mA at 3.3 V DC on the antenna port for compatibility with powered antennas and other low power amplifiers. • Enhanced frequency range: The RF performance of HackRF One is better than Jawbreaker, particularly at the high and low ends of the operating frequency range. HackRF One can operate at 1 MHz or even lower. 1.3 Enclosure Options The commercial version of HackRF One from Great Scott Gadgets ships with an injection molded plastic enclosure,

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    104 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us