2024-10-21 09:43 AM
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!
2024-10-21 10:02 AM
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 ?
2024-10-21 10:07 AM
@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:
2024-10-28 08:12 AM
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!
2024-10-28 08:32 AM - edited 2024-10-28 08:45 AM
Have you looked at ST's MPU range?
As @Tesla DeLorean suggested, I really don't think these things are aimed at microcontrollers at all.
Probably your best bet is going to be to start with a "conventional" host (Windows, Linux, etc) and use that as a basis to understand the interfaces, etc.
Then you can use that experience to inform porting to your microcontroller.
PS:
Or maybe look at other SDR providers who might offer better support to a microcontroller application
eg, https://limemicro.com/silicon/
PPS:
@badisenn wrote:I’m aiming to keep everything compatible with the STM32F746G Discovery board and HackRF for the CubeSat communication setup.
Maybe others in the "CubeSat" community could help?
Does the CubeSat have any particular dependency on the STM32F746G Disco? A 4.3" LCD doesn't seem particularly useful in a satellite??!
An RPi would be smaller!
It's been done: https://www.raspberrypi.com/for-industry/space/
2024-10-28 09:09 AM
>>Does the CubeSat have any particular dependency on the STM32F746G Disco? A 4.3" LCD doesn't seem particularly useful in a satellite??!
My inference would be that this for the Ground Station End of the link, but I have misread the tea leaves..