perform() now also sets up the first point when the frequency step changed,
not only when dirty: the part that depends on the step (RBW and its
sub-steps, step delay, RSSI correction of the RBW, sweep time estimate) for
a new step, the hardware (radios, switches, MCU clock, correction tables)
only when dirty. scanraw no longer sets dirty itself, so it skips the
hardware setup (the basic power cycles and re-initializes both SI4432,
about 80 ms) and the redraw that its dirty caused after it. Zero span keeps
dirty: its series of RSSI samples needs the full setup at its frequency. A
single zero span point is measured as in a sweep, with a step of half the
RBW, instead of filling the RSSI buffer of a whole zero span sweep (40 ms
on the Ultra).
ui off shows "Remote only mode. Touch screen to enable UI" and the drawing
functions return at once, so a command no longer waits for a redraw of the
screen. A touch or a jog press only gives the UI back, as do ui on, a lost
USB connection, USB DISK mode and the commands that need the user (new
command flag CMD_UI_ON: selftest, touchcal, touchtest, menu). The PC learns
it from a "ui on" line before its next reply. ui shows the state, it is not
stored and survives mode changes.
While the UI is off message boxes go to the console without their delay,
rbw and sweeptime report the values of changed settings while paused, and
measure nf_store computes the noise figure itself (noise_figure(), it was
only computed while drawing the marker info).
measure {mode} [value].. starts a measurement as the MEASURE menu does. The
values the menu asks with keypads are the arguments, in the same order, e.g.
measure channel_power 5800M 20M. The menu callback is reused, so the console
and the menu set up a measurement in the same way. Only in the spectrum
analyzer, as the menu.
- freq {frequency} sets zero span at the frequency, like sweep cw. It only
paused the sweep.
- hop with N points measures N points from start to stop, it measured N+1.
An invalid range no longer leaves the sweep paused.
- scan {start} {stop} also scans that range in multi-band mode and afterwards
restores the sweep points and frequencies. The stale frequency table gave a
wrong sweep stop and made the next scan very slow (27 s instead of 0.4 s).
- Remove the doubled "usage: " of the if and sd_read commands.
MODULATION -> BURST keys the generator output on and off: ON TIME of every
PERIOD, continuously or COUNT bursts. In burst mode the FREQ / AM DEPTH /
FM DEVIATION buttons set PERIOD / ON TIME / COUNT, START SWEEP becomes
START BURST (fires COUNT bursts, restarts continuous bursts) and the CTCSS
button is blank. Console: "modulation burst|period|ontime|count|trigger".
The Si4468 stays in TX with its PLL untouched: it runs OOK in asynchronous
TX direct mode from GPIO1, driven by TIM8_CH3 PWM on PB9 (one pulse mode
with the repetition counter for COUNT bursts). GPIO1 is normally the CTS
line to PB9, so while burst is selected GPIO1 is an input and CTS is polled
over SPI (READ_CMD_BUFF, the reply is read in the same transaction). PB9
only drives while GPIO1 is an input and is released before every Si4468
reset. MODEM_FREQ_DEV is set to 0 in burst mode, OOK otherwise shifts the
carrier by the deviation of the RX configuration.
- Burst works where the Si4468 makes the output (up to 1.13 GHz and the
mixer path above it), not from the ADF directly ("MOD: BURST N/A").
- Period 2us..89s, resolution about period/65536, timing from the MCU
clock (about 1%).
- The new settings fill alignment holes of setting_t: its size and the
stored presets stay valid.
F072 builds are unchanged. Tested on HW V0.5.4 with a tinySA basic in zero
span: ON level and frequency equal to CW, about 48 dB on/off ratio, COUNT
bursts exact, pulses from about 2 us.
"ext_gain" without an argument now prints the current external gain after
the usage line, as "attenuate" and "rbw" do.
Tested on a ZS407 and a tinySA BASIC: 0.0, 12.5 after "ext_gain 12.5". +16 B.
commit d9f1514b26
Merge: 61480136210a57
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sun Dec 11 13:54:00 2022 +0300
Merge branch 'DiSlord_browser' of https://github.com/erikkaashoek/tinySA into DiSlord_browser
commit 6148013c54
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sun Dec 11 13:53:42 2022 +0300
Rewrite progress bar update/remove dead code/use buffering in cmd_scanraw
cmd_vbat now run in sweep thread
commit 6210a57304
Author: erikkaashoek <erik@kaashoek.com>
Date: Fri Dec 9 12:06:01 2022 +0100
Level error + above 4.4GHz
commit 63a26eb112
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Dec 7 18:59:45 2022 +0300
Less code size and remove variable
commit e46a7423ee
Author: erikkaashoek <erik@kaashoek.com>
Date: Mon Dec 5 10:36:20 2022 +0100
Fix keyboard
commit 519af36d93
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 21:49:32 2022 +0300
Add Enter button
commit a1eeae37f3
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 21:49:05 2022 +0300
Not need clear text
commit 1d9c85c7c3
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 20:04:37 2022 +0300
Replace
commit 400175ed48
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 19:57:16 2022 +0300
Fix
commit dc01db6e8a
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 19:52:11 2022 +0300
Add lcd_set_font function
Allow lcd_printf print by selected font
Fix text position in browser
commit bb860080de
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 17:53:47 2022 +0300
Add SWEEP_UI_MODE flag for console command
This allow run command if active thread in UI mode
commit 31e4d72a46
Merge: 18b4b94f832809
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 16:15:39 2022 +0300
Merge branch 'DiSlord_browser' of https://github.com/erikkaashoek/tinySA into DiSlord_browser
commit f8328093f1
Author: erikkaashoek <erik@kaashoek.com>
Date: Sat Dec 3 13:16:53 2022 +0100
Removed compile warnings on 072
commit 18b4b94875
Merge: 80dfb6ed99d679
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 15:05:50 2022 +0300
Merge branch 'V4.3' of https://github.com/erikkaashoek/tinySA into DiSlord_browser
commit 80dfb6e6bc
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 14:01:05 2022 +0300
Fix warnings
commit a61de95423
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 13:51:47 2022 +0300
Fix f072 compile
commit 467f300b3d
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 12:50:26 2022 +0300
Add *.cmd files browse and execute
Added some useful functions
commit f2752f1200
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 12:48:52 2022 +0300
Fix clean frequency area
commit ab35aadde3
Merge: 6fcdc8b68a5114
Author: erikkaashoek <erik@kaashoek.com>
Date: Sat Dec 3 09:59:06 2022 +0100
Merge branch 'DiSlord_browser' of https://github.com/erikkaashoek/tinySA into DiSlord_browser
commit 6fcdc8b7af
Author: erikkaashoek <erik@kaashoek.com>
Date: Sat Dec 3 09:56:58 2022 +0100
UI updated with STORAGE menu
commit 68a5114048
Merge: fae9a43afb59b8
Author: DiSlord Live <dislordlive@gmail.com>
Date: Sat Dec 3 11:22:42 2022 +0300
Merge branch 'V4.3' of https://github.com/erikkaashoek/tinySA into DiSlord_browser
commit fae9a43825
Merge: ba7a3dc768ecf0
Author: DiSlord Live <dislordlive@gmail.com>
Date: Fri Dec 2 18:23:14 2022 +0300
Merge branch 'DiSlord_browser' of https://github.com/erikkaashoek/tinySA into DiSlord_browser
# Conflicts:
# ui.c
commit ba7a3dc941
Author: DiSlord Live <dislordlive@gmail.com>
Date: Fri Dec 2 18:19:11 2022 +0300
Add autofilename option
Ask for filename on save
commit 0c0ac98140
Author: DiSlord Live <dislordlive@gmail.com>
Date: Fri Dec 2 18:17:48 2022 +0300
Add Enter symbol
Update fonts
commit 768ecf01ca
Author: erikkaashoek <erik@kaashoek.com>
Date: Fri Dec 2 08:20:25 2022 +0100
Old compiler can't use "string"[0]
commit c4563d6efc
Author: DiSlord Live <dislordlive@gmail.com>
Date: Thu Dec 1 23:56:06 2022 +0300
Keyboard size and position definition
commit e63db4f2df
Author: DiSlord Live <dislordlive@gmail.com>
Date: Thu Dec 1 23:55:32 2022 +0300
Refactoring keyboard code, prepare for text input keyboard
commit 597b4e300f
Merge: c43b8c17b602fc
Author: erikkaashoek <erik@kaashoek.com>
Date: Thu Dec 1 09:53:05 2022 +0100
Merge branch 'V4.3' into DiSlord_browser
commit c43b8c1005
Author: erikkaashoek <erik@kaashoek.com>
Date: Thu Dec 1 09:23:27 2022 +0100
Added preset load/store SD card
commit a0b0351a7e
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 23:03:04 2022 +0300
Disable battery and cal state update in browser mode
commit 9b3d077942
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 22:56:55 2022 +0300
Use big font for browser
commit 01e87fc27b
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 22:24:40 2022 +0300
Add browser option
commit be63b81b1b
Merge: 5d22b2f1543296
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 21:19:45 2022 +0300
Merge branch 'DiSlord_browser' of https://github.com/erikkaashoek/tinySA into DiSlord_browser
commit 5d22b2fcce
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 21:18:39 2022 +0300
Add dump firmware option
commit 154329698d
Merge: d31a599b9b9ea1
Author: erikkaashoek <erik@kaashoek.com>
Date: Wed Nov 30 19:17:58 2022 +0100
Merge pull request #42 from erikkaashoek/V4.3
Add c and h commands
commit d31a599b1d
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 21:17:36 2022 +0300
Fix typo
commit 517428bd01
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 20:43:38 2022 +0300
Allow read/write more then one sector (512 bytes) in one time
commit 84342fbd43
Author: DiSlord Live <dislordlive@gmail.com>
Date: Wed Nov 30 20:28:37 2022 +0300
Update save to card part
#33: rename all Si446*.h and SI446*.h files to all lower case
#33: change all #include "Si..." etc. accordingly
F072: put some undefined tinySA3 items between "#ifdef TINYSA4" "#endif"
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>