Skip to main content
Associate
October 21, 2024
Question

library for interfacing HackRF One with STM32?

  • October 21, 2024
  • 1 reply
  • 1872 views

Hello,
I am currently working on a CubeSat communication system using an STM32F746G Discovery board and HackRF One. The HackRF One is connected to the STM32 board via an OTG adapter. I am looking for any existing libraries or resources that can help interface the HackRF One with STM32.
Has anyone worked on something similar, or is there any recommended library for this type of communication setup? Any guidance or suggestions would be greatly appreciated!

1 reply

Tesla DeLorean
Guru
October 21, 2024

If this stuff doesn't drop out of Google or GitHub, probably because people aren't doing it that way.

Perhaps try something with an OS and USB Stack, say a RPi or BeagleBoard ?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Andrew Neil
Super User
October 21, 2024

@Tesla DeLorean wrote:

Perhaps try something with an OS and USB Stack, say a RPi or BeagleBoard ?


Indeed.

@badisenn - libhackrf  is what's recommended:

https://github.com/greatscottgadgets/hackrf/tree/master/host

Various other stuff here:

https://hackrf.readthedocs.io/en/latest/software_support.html

Maybe join their Discord channel to ask if what you want is likely to be feasible:

https://greatscottgadgets.com/hackrf/#:~:text=We%20invite%20you%20to%20join%20our%20community%20discussions%20on%20Discord.

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
badisennAuthor
Associate
October 28, 2024

Hi Andrew Neil,

Thanks for the recommendations! I’ve already tried implementing the .c and .h files from the libhackrf library, but I ran into some errors. I’ve joined the HackRF community, and they suggested changing tools, but unfortunately, I’m restricted to using the current tools due to limited materials.

If you have any insights on working within these constraints, especially with STM32 and USB OTG integration, I’d really appreciate it. I’m aiming to keep everything compatible with the STM32F746G Discovery board and HackRF for the CubeSat communication setup.

Thanks again for your help!