Jared Boone
f13e2d32c0
Add symbol coding namespace, NRZI decoder.
2015-11-06 09:39:59 -08:00
Jared Boone
934936d3f6
Enhancements to clock recovery
...
Linearly interpolate input and delayed samples, based on phase of internal symbol clock.
2015-11-06 09:39:59 -08:00
Jared Boone
b41ff962f4
Replace std::sin() with interpolated LUT.
2015-10-14 11:10:24 -07:00
Jared Boone
291de8f869
Change channel_spectrum type to std::complex<float>.
...
Move FFT bit-reversal to complex<int16_t> -> complex<float> copy.
Change window so that adjacent bins have constant(-ish) gain.
Change window to float.
Change time domain samples to accumulate at even intervals over the FFT interval.
2015-10-14 11:10:24 -07:00
Jared Boone
882fbbef31
Add more fft_swap bit reversal functions.
2015-10-14 11:10:24 -07:00
Jared Boone
8f7e26b5c1
Break out BasebandStatsView, add main, RSSI threads.
2015-10-14 10:59:32 -07:00
Jared Boone
7f46f0d071
Add tick tracking for all baseband threads.
2015-10-14 10:44:20 -07:00
Jared Boone
aa733b1b61
Remove FSK from receiver menu. It doesn't do anything (yet).
2015-09-02 18:55:00 -07:00
Jared Boone
f91f17b9fb
Increase touch sensitivity a bit.
2015-09-02 18:48:51 -07:00
Jared Boone
9a3454d695
Touch code cleanup, stop scanning when no touch.
...
No need to change voltages on touch panel when no touch is detected. This should reduce noise a bit.
2015-09-02 18:48:38 -07:00
Jared Boone
f1ca3fe5bb
Switch RFFC5072, MAX2837 back to 40MHz reference.
...
Turns out the MAX2837 can't tune the necessary range when given a 50MHz reference. Oops.
2015-09-02 17:45:19 -07:00
Jared Boone
293337b647
Init radio in RX mode, not TX mode.
2015-09-02 17:30:16 -07:00
Jared Boone
e2bb77d756
Change wideband FFT bin filter, clean up code a bit.
2015-09-02 11:29:38 -07:00
Jared Boone
c4de9c4423
Mute audio whenever baseband mode is changed.
2015-09-01 21:05:47 -07:00
Jared Boone
c52de7abe6
Clean up baseband/RSSI streaming control.
...
Address hang-up of baseband and RSSI when switching modulation modes really fast.
2015-09-01 21:05:32 -07:00
Jared Boone
687e627dae
Mechanism to clear waterfall when switching modulations.
2015-09-01 21:04:27 -07:00
Jared Boone
d4c85bd786
Move receiver "back" button to separate row.
2015-09-01 20:38:59 -07:00
Jared Boone
24e398ca62
Add HackRF mode explanation text.
2015-09-01 20:23:11 -07:00
Jared Boone
4846557f12
Missed spots when renaming REVISION to GIT_REVISION.
2015-09-01 14:21:40 -07:00
Jared Boone
5d8c636f40
Halt M4 right after sending M0 the shutdown message.
...
Addresses issue #55 .
2015-09-01 13:49:09 -07:00
Jared Boone
75d9aa9c73
Remove extra CPLD code internal signals.
2015-08-27 16:54:38 -07:00
Jared Boone
19764ce693
Swap function of P2_8, P2_4 in schematic, firmware, CPLD.
...
gpio_unused: P2_4 -> P2_8
gpio_lcd_rd: P2_8 -> P2_4
P2_8 is a very long line, shared with DFU button.
Revise schematic to match CPLD signal names.
2015-08-27 16:54:38 -07:00
Jared Boone
3fea68d777
Adjust wideband specan gain to match other modes.
2015-08-27 14:57:05 -07:00
Jared Boone
b13081696d
Simplify MessageQueue pop() usage.
2015-08-27 14:35:17 -07:00
Jared Boone
d8b3b4cb6b
Check queue empty only once when reading messages.
...
There was a second is_empty() call hidden in the pop() call, so the while(condition) was redundant.
2015-08-27 14:27:29 -07:00
Jared Boone
5d9079f87f
Stop streaming when changing baseband configuration.
...
Without, the baseband would get confused.
2015-08-27 14:07:15 -07:00
Jared Boone
e751e10e45
Add wideband spectrum processor.
2015-08-27 13:57:31 -07:00
Jared Boone
23ac04ad56
Make channel spectrum members protected, not private.
2015-08-27 13:51:55 -07:00
Jared Boone
c7907e948c
Extract FSKProcessor into separate files.
2015-08-27 13:31:39 -07:00
Jared Boone
ffe829cf67
Extract WidebandFMAudio into separate files.
2015-08-27 13:19:34 -07:00
Jared Boone
7c5db55f8f
Extract NarrowbandFMAudio into separate files.
2015-08-27 13:14:45 -07:00
Jared Boone
e246ea2c39
Extract NarrowbandAMAudio class into separate files.
2015-08-27 13:07:07 -07:00
Jared Boone
6bf61cbe88
Extract BasebandProcessor into separate files.
2015-08-27 11:11:08 -07:00
Jared Boone
b0e9afe26c
Add missing #includes.
2015-08-27 11:10:44 -07:00
Jared Boone
04d05368c7
Push static variables and spectrum calc into BasebandProcessor.
2015-08-27 10:48:29 -07:00
Jared Boone
de0777f476
Extract FMSquelch into separate files.
2015-08-27 09:59:03 -07:00
Jared Boone
b904971ef2
Extract IIR filter configurations into separate file.
2015-08-27 09:58:37 -07:00
Jared Boone
c92bf12fbd
Extract ChannelDecimator into separate files.
2015-08-27 09:49:14 -07:00
Jared Boone
035ec84f04
Wrap MessageQueue.push() with mutex.
...
This addresses issue #61 , occasional FIFO/data corruption. With the mutex, any thread on one core can write to the FIFO. But still, only one thread on one core should read from the FIFO.
2015-08-26 14:18:03 -07:00
Jared Boone
7937ea7327
Enable DMB instruction at end of FIFO data copy.
...
Can't hurt to make sure FIFO and buffer state are flushed before returning to caller...
2015-08-26 14:13:51 -07:00
Jared Boone
4974774f82
Simplify PLL math when correcting for PPM.
2015-08-25 17:56:03 -07:00
Jared Boone
98773cb62a
Make GIT_REVISION value available within code.
...
Addresses issue #59 .
No idea what it'll do if the commit is also tagged as a release...
2015-08-25 16:33:52 -07:00
Jared Boone
4fe145b61d
Remove application kludge to strip DFU of header.
...
Strip the header in in the Python SPI image generator, instead.
2015-08-25 15:11:22 -07:00
Jared Boone
f7ced7a823
Support Python 3.x in make_spi_image.py.
2015-08-25 14:56:50 -07:00
Jared Boone
dfe0bd7366
Generate SPI flash image with Python, not dd/cat/head.
...
Addresses issue #42 .
Windows users now stand a chance of being able to build an image, and all these zero-byte HackRF binary issues should go away.
2015-08-25 14:30:38 -07:00
Jared Boone
8f326e2d8e
Use PPB correction to adjust clock generator XTAL PLLA frequency.
...
Addresses issue #40 .
2015-08-24 12:11:33 -07:00
Jared Boone
fe7dcdc613
Function to adjust clock generator XTAL PLL frequency.
...
Needed to switch PLLA to operate in fractional mode.
2015-08-24 12:09:11 -07:00
Jared Boone
3a96c04aa7
Implement, use configuration for FM demod deviation.
2015-08-21 09:19:08 -07:00
Jared Boone
fa275156ed
Move FSKPacketMessage to stack.
2015-08-21 09:18:21 -07:00
Jared Boone
589cb47cc6
Move M4 shutdown() next to init().
2015-08-20 20:40:46 -07:00