portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.05k stars 520 forks source link

I need to be able to transmit at a bandwidth of 10 Mhz. #2001

Closed gn0b0dy closed 3 months ago

gn0b0dy commented 4 months ago

Description of the feature you're suggesting.

When I try using the jammer, signal generator, or capture/replay I am limited to a bandwidth under 10 Mhz. It seems like the maximum transmit bandwidth I have seen so far is something like 5 or 5.5 Mhz (ie spectrum painter). I know the max bandwidth of the hackrf is 20 Mhz, does that mean it is also possible to transmit 20 Mhz at once? I need to be able to Jam a signal that turns pulse frequencies into sound, for example a pulse that repeats every 200 seconds would turn into a 200 Hz sound, regardless of which frequency it is actually transmitting on. It generates different frequency pulse along a 9 or 10 Mhz range, starting at the low end of the audible sound spectrum and increasing as the radio frequency increases. For example, it starts at 200 Hz at the beginning of the 10 Mhz (ie the 1st 200th chunk of the 10 Mhz range) and it will demodulate into that sound with the same amplitude as the radio signal chunk, and then the next signal chunk (ie the 2nd 200th chunk of the 10 Mhz range) might be a 400 Hz sound, and it keeps increasing until it reaches the end of the 10 Mhz range. I also have a side question if anyone would be so kind to answer: do you know of any app or program that would be able to demodulate such signals into corresponding sound waves? I greatly appreciate any help I can receive with this, thank you.

Anything else?

No response

Brumi-2021 commented 4 months ago

Hi @gn0b0dy , HackRF itself with external laptop - with enough USB bandwidth ) sure that can handle Rx BW 20Mhz capture and I believed that also Tx BW 20Mhz. In Rx I already tested many times with sdrAngel or gnuradio ,… , or HackRF command tools and it works perfectly. In Tx not tested , but it should also work .

But using Portapack , we have big CPU constraints (204 MHz) and also SD CARD interface bandwidth limitations . So far in normal SD card speed I just reached max sustained read/write avg 6MB/sec or 6,5 MB/s . (we also added High speed SD card setting , that theoretically double the sd card speed , but in my test just reached up to 8 to 10MB/s avg speed . But be careful , in some SD cards can produce corrupted files . It is good for experimental in high speed SD cards, but not 100% reliable , so I do not suggest you to keep it permanent activated ) .

Due to this above limitations , As example , in capture mode , our mayhem keep max BW REC 5,5Mhz , we are actually sampling SR =22Mhz (max ADC IC SPEC) but we are applying /4 decimation to improve SNR and help to make less abrupt and fast FIR filters . (Internal capture sampling is 22Mhz , but post processing is 5,5Mhz)

So if you want to hit BW REC/ PLAY 20Mhz , you really need to go to HackRF mode and try it , with external laptop CPU (>2 or 3Ghz easily )

if you agree we can close that issue .

Cheers