Jared Boone
1b7ef4212d
PortaPack: Show RX/TX "waves" when radio is operating.
2019-03-22 10:14:34 -07:00
Jared Boone
f0a45e3f0e
PortaPack: Change initial UI radio topology to match boot state.
...
So the RX amp isn't rendered for a moment at power-up.
2019-03-21 11:16:06 -07:00
Jared Boone
6e5b31d579
PortaPack: Add display of clock reference source.
2019-03-20 20:18:49 -07:00
Jared Boone
190c3972f4
Clock reference: Add UI hook. Simplify selection code.
2019-03-20 20:18:25 -07:00
Jared Boone
027a0eca97
rad1o: Fix #include.
2019-03-20 20:16:24 -07:00
Jared Boone
a535a9bb6b
PortaPack: Clear the baseband RX gain label on TX.
2019-03-20 19:09:10 -07:00
Jared Boone
78e27001aa
PortaPack: Make label-drawing functions take a label enum.
2019-03-20 19:08:44 -07:00
Jared Boone
84463eb0e1
PortaPack: Improve speed of frequency rendering.
...
To reduce impact on hackrf_sweep speed.
2019-03-20 16:33:32 -07:00
Jared Boone
ddec31c0a2
PortaPack: Double draw speed of UI, which was impacting hackrf_sweep.
2019-03-20 16:01:49 -07:00
Jared Boone
891eaa9e62
Clock reference: Return enum for selected clock source.
2019-03-20 14:38:18 -07:00
Jared Boone
dccb748216
PortaPack: Add check for PortaPack clock reference, use if present.
...
Wow, it takes a lot of ugly code to keep blinky happy...
2019-03-20 13:27:20 -07:00
Jared Boone
46fd11af5b
Si5351C: Extract best block source function into hackrf_core.
...
It's not an Si5351C driver thing, but a HackRF thing. Also added a driver function to check if CLKIN signal is valid, and made use of it, instead of opaque register read code.
2019-03-20 11:16:44 -07:00
Jared Boone
b4d8ee678e
PortaPack: Lots of clean-up
...
Perform PortaPack initialization separately from and earlier than UI initialization. Track if PortaPack was detected, provide (mostly useless) pointer if so. Put "weak" declarations into respective headers. Moving #includes around.
2019-03-20 10:46:46 -07:00
Jared Boone
af66a7c076
PortaPack: Add reference oscillator control function.
2019-03-19 10:04:08 -07:00
Jared Boone
c5e9b55b14
PortaPack: Refactor general UI functions into separate PortaPack API.
2019-03-18 21:52:23 -07:00
Jared Boone
5df5ec1094
PortaPack: Hide UI types that don't need to be exposed.
2019-03-18 15:11:34 -07:00
Jared Boone
12bb516cc0
PortaPack: Extract non-UI code into separate portapack.[ch] module.
...
I'll be adding some non-UI API functions to the top-level PortaPack structure.
2019-03-18 15:09:11 -07:00
Jared Boone
88dd1b2ad4
CPLD: Output row address table to C file, use it in program/verify code.
2019-03-09 16:35:10 -08:00
Dominic Spill
4fcfbec96a
Merge pull request #601 from jboone/hygiene
...
rad1o: Remove extra(?) SCU setup. Cut & paste oops?
2019-03-06 17:32:35 -07:00
Dominic Spill
42c1a46bb3
Fix mismatched ifdefs of my making
2019-03-06 17:17:20 -07:00
Dominic Spill
e27038a098
Merge branch 'master' into cpld_sram_load
2019-03-04 12:40:14 +00:00
Dominic Spill
19f073fc5a
Merge branch 'master' into hygiene
2019-03-03 22:29:12 +00:00
Dominic Spill
a4c1ab65c6
Merge pull request #602 from jboone/ui_restructuring
...
PortaPack and rad1o Ui restructuring, take 2
2019-03-03 22:27:57 +00:00
Jared Boone
5b5d82be56
Build rad1o UI wrapper to patch the portapack one
...
Also, fix building of blinky.
2019-03-02 21:12:31 -08:00
Jared Boone
f259c9aad6
PortaPack: Add HackRF One gates for PortaPack JTAG and OperaCake code.
...
I think these #defines might finally be the right shape...
2019-03-02 20:43:19 -08:00
Jared Boone
24fe561f3b
rad1o: Remove extra(?) SCU setup. Cut & paste oops?
2019-03-02 14:23:36 -08:00
Jared Boone
4fefd829ba
CMake: Fix blinky and rad1o dependencies and PortaPack-related breakage.
2019-03-02 14:23:06 -08:00
Jared Boone
8bc8bc13f0
PortaPack: Remove conditional PortaPack code.
...
TODO: DFU mode returns. I fear HackRF mode in PortaPack/HAVOC will not work.
2019-03-02 14:23:06 -08:00
Jared Boone
c32d57158a
PortaPack: Remove weak UI functions, detect and return UI function table.
...
TODO: Side effect was that now blinky has a lot of unreasonable dependencies.
TODO: rad1o breakage is likely...
2019-03-02 14:23:06 -08:00
Jared Boone
36cca31260
UI: Move ui_portapack.* to common.
...
Otherwise blinky won't build.
TODO: Tried to tease apart all the dependencies to get blinky to build without, but it's such a twisted knot...
2019-03-02 14:23:06 -08:00
Jared Boone
75adda314e
LED: Refactor halt function from CPLD update to core API.
...
Also call if CPLD load fails.
2019-03-02 14:19:21 -08:00
Jared Boone
afb55e18dd
CPLD: Load bitstream to SRAM at start-up.
2019-03-02 14:19:21 -08:00
Dominic Spill
e12866f81e
Remove PLL1 low speed settings (it's out of spec)
2019-02-11 16:38:07 -07:00
Dominic Spill
4507130608
Merge pull request #584 from jboone/cpld_checksum
...
Cpld checksum
2019-01-31 15:16:05 -07:00
Jared Boone
fa2a9acd1a
USB: initial CPLD checksum API support.
2019-01-31 21:19:21 +00:00
Jared Boone
499ac3ad4a
PortaPack: Move UI code to hackrf_usb project.
...
Was in common/ and in the common CMake file, which meant it was being included in the blinky project, which was unnecessary.
2019-01-31 09:37:48 +00:00
Jared Boone
7b86403ce8
PortaPack: If hardware not detected, try to init OperaCake.
2019-01-31 09:24:59 +00:00
Dominic Spill
62efaf5ddb
Merge branch 'master' of https://github.com/jboone/hackrf into jboone-master
2019-01-30 11:47:30 -07:00
Jared Boone
65b41fb80e
blinky: Remove dependency on CPLD JTAG API.
...
Shouldn't need that just to blink an LED!
2019-01-22 15:20:14 -08:00
Jared Boone
77e4cfe992
Merge remote-tracking branch 'jboone/cpld_fixes'
2019-01-21 17:37:48 -08:00
Jared Boone
d103c31187
CPLD: Rework timing between ADC, CPLD, SGPIO
...
Capture ADC and codec clock state with sufficient timing margin.
Increase drive strength on codec clock and invert CPLD capture clock to provide margin for capturing codec clock (I vs. Q channel).
2019-01-18 16:09:14 -08:00
Jared Boone
07f370bfba
PortaPack: Silence warnings about unused functions/variables I'm liable to use soon.
...
I don't like the __attribute__((unused)) markup, but woud rather not delete or comment out the code.
2019-01-09 15:48:59 -08:00
Jared Boone
e87b3f4fea
PortaPack: Address some unused variable/function warnings.
2019-01-09 15:30:24 -08:00
Jared Boone
e05677ab0d
OperaCake: Bring together with PortaPack code.
...
The plan is to have them coexist in the firmware binary, even if the hardware is mutually exclusive at runtime.
2019-01-07 15:35:41 -08:00
Dominic Spill
90d4014859
SPI flash: check busy flag is clear BEFORE enabling writes
2019-01-04 19:58:04 -07:00
Mike Walters
a357a7b1f0
Fix hang in w25q80bv_write_enable
...
This line is meant to wait for the WEL bit to be set, to signify that
the WRITE_ENABLE command has finished.
The previous code didn't do any masking, so would hang if any other
status bits were set.
2019-01-05 00:53:43 +00:00
Kate J. Temkin
73b5089581
Fix communications failures on USB suspend. ( #97 )
...
Linux issues a `GET_STATUS` request to validate that a USB device has
correctly resumed after an idle suspend; but HackRF has thus far not
implemented `GET_STATUS`. As a result, Linux assumes our USB devices
are failing to resume, and winds up resetting them. Oops. ^-^
2019-01-03 15:17:47 +00:00
Jared Boone
46ba0512d4
PortaPack: Remove noisy, extraneous "+" for amplifier gain labels, add space before "dB".
2019-01-02 09:37:43 -08:00
Jared Boone
c477317408
PortaPack: Improve baseband filter frequency label readability.
2019-01-02 09:35:15 -08:00
Jared Boone
a2902d7d3a
PortaPack: Hide first-IF mixer icon when bypassed.
2018-12-31 14:58:10 -08:00