erikkaashoek
442d69cced
Change to scaled integer correction values
6 years ago
erikkaashoek
7afc7249d5
Repair spur processing and prepare for int_32 frequency correction
6 years ago
DiSlord
84572dec56
get_signal_path_loss correction use integer values
6 years ago
DiSlord
2621aaaa87
Fix my error vs not apply freq correction on CW mode
6 years ago
DiSlord
f87f94e65a
getSI4432_RSSI_correction now integer
6 years ago
DiSlord
5991b6ab88
Use integer as return value for perform
...
For tiniSA.exe need use Level/ Db = 32
Zero level defined as 128
6 years ago
DiSlord
673016bdca
Just update to master
6 years ago
erikkaashoek
f000c4bfab
Repaired correct_RSSI calculation and timing
6 years ago
erikkaashoek
1dbac1e03c
Some corrections to FAST sweep
6 years ago
erikkaashoek
aa92d9016d
Corrected small wide ofset error
6 years ago
erikkaashoek
38805e7531
Revert "Revert "Hidden HW refresh and wide offset scanning""
...
This reverts commit 1d6409649f .
6 years ago
erikkaashoek
1d6409649f
Revert "Hidden HW refresh and wide offset scanning"
...
This reverts commit a5646ff6b1 .
6 years ago
erikkaashoek
a5646ff6b1
Hidden HW refresh and wide offset scanning
6 years ago
erikkaashoek
eaf7020a95
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
fd8a595625
HW refresh and white Y-axis values
6 years ago
erikkaashoek
d312fb3986
Ensure high mode attenuation and offset is working correctly and
6 years ago
DiSlord
bf5c624a79
Define RSSI value types and macro for conversions
6 years ago
DiSlord
1f234e18d2
Fix trigger start
...
Restore correction in zero span
6 years ago
DiSlord
a1b4128374
More fixes to use int16_t values
6 years ago
DiSlord
2229d251f3
Add hack for solve wrong data get in wait trigger!!! Need fix it.
6 years ago
DiSlord
7615ca948d
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
DiSlord
e210b1b439
More stable trigger
6 years ago
erikkaashoek
ac9b51ab23
Removed update_rbw from perform as was already in apply_settings
6 years ago
erikkaashoek
83577310ea
Added update_rbw back into perform and adapted selftest to variable sweep points
6 years ago
DiSlord
2387c78ef6
setting.frequency_step now uint32_t
6 years ago
DiSlord
2d3de65160
fix typo
6 years ago
DiSlord
b51e55ed4b
fix progress bar
6 years ago
DiSlord
e92c2681ac
Add variable sweep point menu for test
6 years ago
DiSlord
29aa24cba9
more simply code
6 years ago
DiSlord
05747e3ce5
move init timings to perform
6 years ago
DiSlord
fc46c84d0b
Remove more calls update_rbw
...
Not need made dirty in it
6 years ago
DiSlord
29008c6969
Revert one, this data need for calc_min_sweep_time_us();
...
But in perform this call again!
6 years ago
DiSlord
2165ad38b2
Remove double init settings
...
This functions call in perform in apply_settings();
6 years ago
DiSlord
2942998b8e
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
DiSlord
4925e008a9
More faster exit on user input
6 years ago
erikkaashoek
33a83e843d
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
8c647daf12
Repair error on vbwSteps in precise mode
6 years ago
DiSlord
acfed38317
Exit from wait trigger, not read data in this case after (fix slowdown UI at this case)
6 years ago
DiSlord
f4ccfc953e
more simple code for trigger
6 years ago
DiSlord
27e77e45f8
Remove variable
6 years ago
DiSlord
324e543877
use int16_t for fast search trigger and as result of SI4432_RSSI()
6 years ago
DiSlord
432a715768
More simple and fast trigger event search
6 years ago
erikkaashoek
87635d665d
Add HW refresh option after 5000 sweeps
6 years ago
erikkaashoek
901c4dcc0a
Changed to symbolic names for the SI4432 selection
6 years ago
erikkaashoek
6e1a41f27f
Repaired attenuation cache problem
6 years ago
erikkaashoek
075817c494
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
9c031b03ce
Less HW reload required
6 years ago
DiSlord
39dbe316f5
revert freq cache count
6 years ago
DiSlord
f491e4b39b
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
DiSlord
dea3a8feb2
Fix typo
6 years ago
DiSlord
26e33535d7
Cache attenuation data, not rewrite if some
...
Not redraw status on trigger
6 years ago
erikkaashoek
beaf183930
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
1897953749
Selftest 3 working again
6 years ago
DiSlord
7213afd3e2
Code cleanup
6 years ago
erikkaashoek
39e1a02220
Trigger line to BLUE and status panel trigger text to green in NORAL mode
6 years ago
erikkaashoek
3087d5f39b
Merge branch 'DiSlord_test_branch'
6 years ago
DiSlord
08f4235008
Not use for trigger level stored trace
6 years ago
erikkaashoek
37495e9750
Add UP/DOWN trigger option and optimize constants
6 years ago
DiSlord
12fcfc560b
Small text fixes
6 years ago
erikkaashoek
84e5abe9ac
Remove dead time after output sweep
6 years ago
erikkaashoek
68d43e7fc0
Sweep time updates in output mode
...
This includes showing the actual sweep time in output mode so you can see when you have selected an impossible sweep time. The form does not auto refres so the new time is only visible after hitting a button
6 years ago
erikkaashoek
e63b6de6ab
Small text improvements
6 years ago
erikkaashoek
797277934c
Add AGC debug and some words changed
6 years ago
erikkaashoek
c326787273
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
654e58e0d1
Add option to debug AGC
6 years ago
DiSlord
d52ecc46ec
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
...
# Conflicts:
# sa_core.c
Fix trigger work, now trigger on rise edge of signal
also possible fix bug vs reset SI4432_step_delay if trigger enabled
6 years ago
erikkaashoek
aa2468955d
Revert "Prevent scan data twice if trigger option set (1 scan - normal scan, second is trigger wait, amd new scan before)"
...
This reverts commit 2073ae18b3 .
6 years ago
erikkaashoek
1890f3199a
Revert "Fix double &&"
...
This reverts commit 53b4a9265e .
6 years ago
DiSlord
e46fb7dd5c
Merge branch 'DiSlord_test_branch' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
...
# Conflicts:
# sa_core.c
6 years ago
erikkaashoek
53b4a9265e
Fix double &&
6 years ago
DiSlord
cc8e53d366
Revert "Prevent scan data twice if trigger option set (1 scan - normal scan, second is trigger wait, amd new scan before)"
...
This reverts commit 2073ae18b3 .
Need more detail work to fix it
6 years ago
DiSlord
2073ae18b3
Prevent scan data twice if trigger option set (1 scan - normal scan, second is trigger wait, amd new scan before)
6 years ago
DiSlord
9fad730664
More correct detect start time (for vbw)
6 years ago
DiSlord
9e44a08b3f
Fixes for time calculation at 1 step, now in most cases correct timings found after 1 sweep (skip start init delays)
...
Sweep time start calculate at 1 data get
Correction delays apply for every point so need divide on sweep_points (fix my mistake)
6 years ago
DiSlord
b0611b4951
Improved responsiveness of the UI interface.
...
Now if the scan time is more than 100ms, a cycle is used in which you can interrupt the processing of user input
6 years ago
DiSlord
c61f9d46d1
Fix apply additional delays twice in some cases
6 years ago
DiSlord
ce7bb82e6f
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
erikkaashoek
a2eead2d5d
Correct sweep time measurement when triggering is active in slow CW mode
6 years ago
erikkaashoek
7bc613b914
Set offset delay to safe value
6 years ago
erikkaashoek
9200611124
Prevent unneeded updating of status panel
6 years ago
DiSlord
19e5b208da
Merge branch 'master' of https://github.com/erikkaashoek/tinySA
...
# Conflicts:
# sa_core.c
# si4432.c
6 years ago
erikkaashoek
4554e1e619
Always show time after sweep with updated delay
6 years ago
erikkaashoek
a4ee3405dd
Renamed measure variable to something more meaningfull
6 years ago
erikkaashoek
e680d7e8aa
Updated sweep time logic and corrected first sweep after update
6 years ago
DiSlord
6c58939a6f
Fix my mistake on measure time
6 years ago
DiSlord
5acc180a92
Use variable for count sweep time
6 years ago
DiSlord
a2764f0896
restore time update on status panel
6 years ago
DiSlord
0eb769c61c
better solution for small time values
6 years ago
DiSlord
fb79c15a7e
Manually set delay for small times
6 years ago
DiSlord
dacb63c0f7
More fixes to timings
6 years ago
DiSlord
bf503d3629
Update greed on correction complete
6 years ago
DiSlord
0c83dc063d
Some fixes for timings
6 years ago
erikkaashoek
e568714722
Remove float in calc_min_Sweep_time
6 years ago
erikkaashoek
01038cf696
Forc frequency and status panel updates together to ensure equal time display
6 years ago
erikkaashoek
2186d202c3
vbw also vbw_x10 and repaired remaining rbw
6 years ago
DiSlord
5d0cd17718
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
...
# Fixed Conflicts:
# sa_core.c
6 years ago
erikkaashoek
a4b0230139
Added offset_delay
6 years ago
DiSlord
3a2d52b90e
Small fix setRBW parameter type
6 years ago
DiSlord
0dedf0b19d
Rewrite RBW and actualRBW use code
...
Now values is uint16 (float before)
And value = x10 in kHz (possibly better use uint32_t and in Hz)
Only one part of code i think need more fix:
VBW use still float
6 years ago
erikkaashoek
3a307ad78e
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
114b39fd3f
Rename extra fast
6 years ago
DiSlord
d845c67d23
small code optimization
6 years ago
DiSlord
5c8ae50a3e
Fix wrong file update
...
Revert "remove not correct select waterfall button on enable spur removal"
This reverts commit 9b4a8d916c .
6 years ago
DiSlord
9b4a8d916c
remove not correct select waterfall button on enable spur removal
6 years ago
erikkaashoek
e9626c21ff
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
311d0bda42
Massive sweep time redesign
6 years ago
DiSlord
a2ff8edabd
Small style fixes
...
SPI_BUFFER_SIZE depend from CELLWIDTH and CELLHEIGHT
6 years ago
erikkaashoek
ee2ffa105d
also here change letter
6 years ago
erikkaashoek
54e3eb5537
Updated sweep time prediction
6 years ago
erikkaashoek
0eab48086b
Simplified and cleaned sweep code and repaired level sweep
6 years ago
erikkaashoek
654377907f
Use lower case 's' for seconds
6 years ago
erikkaashoek
acf2e93401
Add high mode specific attenuation menu
6 years ago
erikkaashoek
e2bbfe8b13
Merge branch 'DiSlord_test_branch'
6 years ago
DiSlord
cf96ae7d22
Replace hardcoded values on defined constant
6 years ago
DiSlord
f9ad83dbef
Define SI4432 registers
...
Use defined names for better read code
6 years ago
erikkaashoek
d0a7c0649b
Added measuring of minimum sweep times
6 years ago
DiSlord
1dde3bd245
Remove more not need full screen redraw, more faster screen update in some cases
6 years ago
DiSlord
e365edb083
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
DiSlord
fc6e705fc8
Revert "Debug sweep time output"
...
This reverts commit 22a0d8fd38 .
6 years ago
erikkaashoek
ae6f32fc12
Add large amount of comment to perform and sweep
6 years ago
DiSlord
22a0d8fd38
Debug sweep time output
6 years ago
DiSlord
7ec86191be
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
erikkaashoek
d32f77a6d2
Measure and predict sweep time
6 years ago
DiSlord
1efe2b7871
Replace fabs macro on fabsf(float) function from math.h (more correct and compact use it for float)
6 years ago
erikkaashoek
a7c4558452
Removed color red from status panel and added scan speed indicator
6 years ago
erikkaashoek
43da653076
Merge branch 'DiSlord_test_branch'
6 years ago
DiSlord
11c5938807
Change use time from float to uint32 type
...
Now time settings stored as uSec value
6 years ago
erikkaashoek
5b8391fffb
Increase speed of extra fast scan
6 years ago
erikkaashoek
43a17936b2
Correct extra fast error
6 years ago
erikkaashoek
269b09d6a7
Speed improvement experiments
6 years ago
erikkaashoek
46616a6ce7
Sweep progress bar
6 years ago
erikkaashoek
5140ccde5a
Updated spur shifts and 10MHz keypad
6 years ago
erikkaashoek
dc46aa0ccb
Changed to CORRECT FREQUENCY and set min/max frequency
6 years ago
erikkaashoek
58e557f0d5
Send all console data in selected unit except scanraw
6 years ago
erikkaashoek
95fda046ef
No autoattenuation in normalized mode and markers turn red on overload
6 years ago
erikkaashoek
235840e9a9
Display subtract is active in statuspanel
6 years ago
erikkaashoek
2bd78e6ce4
Add normalize button, no auto attenuate when subtracting storage
6 years ago
erikkaashoek
c12b661905
Brighther red and S for seconds
6 years ago
erikkaashoek
e861cb7b0b
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
75cedbd0c8
Reset to known state after selftests
6 years ago
DiSlord
1c1491fd2a
More fixes for 4` display
...
Remove unused function definitions
Use printf format for time string
6 years ago
DiSlord
bc5b5f8e5b
Small format fixes in draw_cal_status
6 years ago
erikkaashoek
6ac1d9dfdb
Repaired selftest with new attenuation schema
6 years ago
erikkaashoek
ff6623958c
Rename step_atten to atten_step
6 years ago
DiSlord
d4044808e8
Add waterfall palette (not used by default) for enable need #define _USE_WATERFALL_PALETTE in nanovna.h (more info see in waterfall.c)
...
Add gradient calculation for waterfall (enabled by default)
Now HEIGHT = (GRIDY*NGRIDY), GRIDY variable integer value and depend from render area height
It allow save size and more better align render area
More constants fixes for 4`display
Fix full screen redraw on menu back or select next
6 years ago
erikkaashoek
a1f4799e33
Extended attenuation range in low input and step attenuation in high input
6 years ago
erikkaashoek
79e1c4ebda
selftest from console mode working again
6 years ago
erikkaashoek
01c4f31bb6
Added capture selftest end screen
6 years ago
erikkaashoek
b950251951
Resume selftest error corrected
6 years ago
erikkaashoek
4a2c18e98c
Selftest error screens can be captured
6 years ago
erikkaashoek
63e8cee471
Calculate correct CW sweep time when spur is on
6 years ago
erikkaashoek
7d259443ab
Added trigger cmd and level cmd in high output mode
6 years ago
erikkaashoek
2c3a268c47
Levelsweep warp error and show UI after cmd mode switch
6 years ago
erikkaashoek
88a9a0a866
Add output and f cmd and repair TIME status mismatch in high mode
6 years ago
erikkaashoek
72653930d5
Attenuation and output levels in 0.5dB steps
6 years ago
erikkaashoek
6246eb3492
Changed to LEVEL CHANGE and delta markers to dBc
6 years ago
erikkaashoek
b6d7de9e4f
Copyright header added
6 years ago
erikkaashoek
9a8a1558ee
Various UI improvements
6 years ago
erikkaashoek
25a302b917
Updating sweep indicators
6 years ago
erikkaashoek
ffd204d081
Github name change
6 years ago
erikkaashoek
2925336314
Correct delta unit and fast trigger sweeps
6 years ago
erikkaashoek
a56868cdb0
COrrect small sweep time calculation errors and long sweep time lockup
6 years ago
erikkaashoek
188308b5da
Disable AM modulation in high output
6 years ago
erikkaashoek
e8ce011f5d
dBc, shift waterfall and do not reset cal output
6 years ago
erikkaashoek
8584158b58
Fast sweep added
6 years ago
erikkaashoek
4c2f3d821c
Small text edits
6 years ago
erikkaashoek
c136d58853
output default off, help text improved, use %.3F format
6 years ago
erikkaashoek
879ae21538
zero span auto reflevel and display trigger level after setting
6 years ago
erikkaashoek
e48a37b504
Selftest 4 and sample repeat bugs
6 years ago
erikkaashoek
a02f94d3c8
Power cycle SI4432 on switch setting
6 years ago
erikkaashoek
76bb2d59dc
UI errors corrected and some code squeeze
6 years ago
erikkaashoek
27313d4ea9
Do auto reflevel calculations scaled to scale
6 years ago
erikkaashoek
8f31d8fafd
Reflevel multiple of scale
6 years ago
erikkaashoek
77f8938edd
Many small ui updates
6 years ago
erikkaashoek
7f0efbfdf9
Scale entry and trace command afapted
6 years ago
erikkaashoek
785d302817
Remove reflevel to multiple of scale
6 years ago
erikkaashoek
a8a7209f9c
Output sweep time repaired and output on/off implemented
6 years ago
erikkaashoek
492fbbed7f
Scaling linear units implemented
6 years ago
erikkaashoek
87555f8c3e
Sweep time calculation and delayed scale increase
6 years ago
erikkaashoek
be66fab7f6
Sweep speed improvement and better sweep time calculation
6 years ago
erikkaashoek
7a616786ca
Rounding and extra market digit
6 years ago
erikkaashoek
dbb685f794
Corrected auto agc error in linear mode
6 years ago
erikkaashoek
a5dff1a84a
Time grid added and time resolution updated
6 years ago
erikkaashoek
b522e2feb7
Change status letters
6 years ago
erikkaashoek
9bb9f92b98
Add auto indicators and tri-state switches
6 years ago
erikkaashoek
d3d2c2104f
Set auto reflevel of onsetting scale
6 years ago
erikkaashoek
70cb7cbe5a
Update of auto leveling in linear mode
6 years ago
erikkaashoek
67851716ba
Status panel to 30 pixels
6 years ago
erikkaashoek
93a3c2f439
grid in Linear mode only 5,1,1 and "load" command added
6 years ago
erikkaashoek
c1c1681c29
Keep reflevel
6 years ago
erikkaashoek
9c0584abd7
Simplified scale/refpos approach
6 years ago
erikkaashoek
5c2d57888c
Restore screen after calibration
6 years ago
erikkaashoek
1a9135acfe
Repaired reflevel error after scale change
6 years ago
erikkaashoek
e9a4fd63ea
No high input calibration for now
6 years ago
erikkaashoek
1eb94c4f9c
Small speed improvements in zero span mode
6 years ago
erikkaashoek
58e2dd8dfb
Display sweep time in zero span mode
6 years ago
erikkaashoek
eb706a2728
Input sweep time setting added
6 years ago
erikkaashoek
528895b6e8
Sweep time in seconds and auto AGC disabling
6 years ago
erikkaashoek
7100b9aee0
Level offset and sweep time added
6 years ago
erikkaashoek
5ce6439211
Command levelsweep added
6 years ago