erikkaashoek
41994127e8
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
be2fb2e466
Added quick menu
5 years ago
erikkaashoek
b8c04980a9
Added attack and decay
5 years ago
erikkaashoek
c2ce6e10c9
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
352e80b965
Trace colors repaired
5 years ago
erikkaashoek
0e9d3b3f30
Merge branch 'DiSlord_palette_color'
5 years ago
DiSlord
52b4f2bd58
Use "palette" index for draw all on display
...
Colors stored in config
Now possible change any color by 'color' command and store for use
5 years ago
erikkaashoek
312c959bfe
Move pause and resume to bottom of stack
5 years ago
erikkaashoek
7d6d1d33d0
Merge debugged
5 years ago
erikkaashoek
168a43a6d1
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
38fd765666
A lot of changes
...
- Store actual frequency in config
- Measure FM deviation
- Center zoom updated to work with dragged marker
- Improved touch calibration markers
5 years ago
erikkaashoek
34560a911b
Added averaging and narrowed span
5 years ago
erikkaashoek
84fd00631e
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
c13ee07320
Force AM markers
5 years ago
erikkaashoek
62875fbdc4
Updated depth formula
5 years ago
erikkaashoek
ba506d5173
Calculate AM modulation depth and improved pass band calculation
5 years ago
erikkaashoek
d55ead2ea8
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
47d41050ca
Change PASS BAND measurement not to ask for frequency
5 years ago
erikkaashoek
2b79faaeab
Protect THD
5 years ago
erikkaashoek
aca8f2dbcc
THD measurement added
5 years ago
erikkaashoek
424051821f
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
79257600f3
Erase menu in waterfall aerea
5 years ago
erikkaashoek
566dbd0dfa
Waterfall for any amounts of sweep points
...
Also remove bottom level indicator when in waterfall mode
5 years ago
erikkaashoek
b0f5097d92
Waterfall big, small or off
5 years ago
erikkaashoek
dae01ca925
Add hamband and gridlines setting
5 years ago
erikkaashoek
bf6accf142
Added Ham band coloring
5 years ago
erikkaashoek
28b6712338
Some code size squeezing
5 years ago
erikkaashoek
922c682164
Added frequency grid indication and increased grid
5 years ago
erikkaashoek
79a60450c8
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
e5d27aa3fc
Computed AGC in high mode after peak and reduced overload warning levels
5 years ago
erikkaashoek
6dfe1be073
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
140a1be1a8
Bugs corrected
...
- Overload warning when normalized
- trace store not working
- save command not working
5 years ago
erikkaashoek
58be2b410c
Merge branch 'master' into tinySA-V4
5 years ago
erikkaashoek
1167bdec16
Hyperbolic interpolation of tracking marker frequencies (OneOfEleven)
5 years ago
DiSlord
7ff0be62ac
Initial commit for H4 tinySA version
5 years ago
DiSlord
8e0b201fc2
Add delta symbol for delta markers
...
Add different marker icon size, and use cell_blit_bitmap for draw it
Change # symbol for big font
5 years ago
DiSlord
7dd31965f0
Not store unused font glyph (index < 0x17)
...
Add 10x14 bold font
Now all ili9341_drawstring_size replaced by use this font
Change some text for align in menus vs new font
5 years ago
DiSlord
4435c46c34
Fix typo
5 years ago
DiSlord
174be32ec2
Allow blit8BitWidthBitmap draw bitmap width bigger then 8px
...
Allow draw in cell any type bitmap
Remove code doubles
5 years ago
DiSlord
8900f87160
Initial iteration of 3d button UI
5 years ago
DiSlord
5a46a6486f
Run trace command in sweep thread
...
Change grid text format to 7.3
6 years ago
DiSlord
76edcbf64b
Remove not used variable
...
Small simplify code
6 years ago
erikkaashoek
f3d7261ddc
Correct sign error in overload calculation
6 years ago
DiSlord
755ee83f26
Define color for grid info
...
Need allow in future user select it by command (add palette)
6 years ago
DiSlord
8055682f57
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
erikkaashoek
fd8a595625
HW refresh and white Y-axis values
6 years ago
DiSlord
6833ea601a
Fix waterfall for 145 points
...
Prepare for 3d buttons update (fix keyboard draw buttons)
6 years ago
erikkaashoek
d312fb3986
Ensure high mode attenuation and offset is working correctly and
6 years ago
DiSlord
54af2e5dfc
Correct format output
6 years ago
DiSlord
d9d1cb7f67
Use precision format for frequency output
...
Use constants in calculation
6 years ago
erikkaashoek
aa52c404fd
Correct grid step value direction
6 years ago
DiSlord
3abc1ba504
Better right align text in grid
6 years ago
DiSlord
27f85e8405
Implement show grid values at right of screen
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
0c83dc063d
Some fixes for timings
6 years ago
erikkaashoek
01038cf696
Forc frequency and status panel updates together to ensure equal time display
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
311d0bda42
Massive sweep time redesign
6 years ago
DiSlord
cf96ae7d22
Replace hardcoded values on defined constant
6 years ago
DiSlord
1dde3bd245
Remove more not need full screen redraw, more faster screen update in some cases
6 years ago
erikkaashoek
a7c4558452
Removed color red from status panel and added scan speed indicator
6 years ago
DiSlord
11c5938807
Change use time from float to uint32 type
...
Now time settings stored as uSec value
6 years ago
erikkaashoek
95fda046ef
No autoattenuation in normalized mode and markers turn red on overload
6 years ago
DiSlord
425221aa10
Use better button input debounce and input process (this used in last NanoVNA firmwares) more compact and simple
...
Replace POINTS_COUNT to sweep_points this more correct
6 years ago
DiSlord
1c1491fd2a
More fixes for 4` display
...
Remove unused function definitions
Use printf format for time string
6 years ago
DiSlord
a8c69894f1
New battery icon + voltage show
6 years ago
DiSlord
28c1129e80
Remove test string
6 years ago
DiSlord
ec40777f97
Update ili9341 init settings for get good gamma curve
...
Now colors gradient look perfect, so fix begin gradient color more darker
6 years ago
DiSlord
fb44b7d2a3
Allow more better define waterfall_palette size and use
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
cf27d943ab
Update RBW from scanwar
6 years ago
DiSlord
c06b41953b
Rewrite waterfall code
...
Use integer CELL_Y data
It more fast and compact (allow speedup from 46ms to 34ms for update)
6 years ago
DiSlord
b32733749d
Use defined constants for button size in redraw request
6 years ago
erikkaashoek
303405afd7
Variable size font
6 years ago
erikkaashoek
63e8cee471
Calculate correct CW sweep time when spur is on
6 years ago
erikkaashoek
88a9a0a866
Add output and f cmd and repair TIME status mismatch in high mode
6 years ago
erikkaashoek
6246eb3492
Changed to LEVEL CHANGE and delta markers to dBc
6 years ago
erikkaashoek
428bd1bbfe
Use large marker font only when one marker is active
6 years ago
erikkaashoek
9a8a1558ee
Various UI improvements
6 years ago
erikkaashoek
25a302b917
Updating sweep indicators
6 years ago
erikkaashoek
59fd8d6e6d
Automatic marker size reduction
6 years ago
erikkaashoek
2925336314
Correct delta unit and fast trigger sweeps
6 years ago
erikkaashoek
e8ce011f5d
dBc, shift waterfall and do not reset cal output
6 years ago
erikkaashoek
3b61c73a11
Replace LCD size constants
6 years ago
erikkaashoek
c136d58853
output default off, help text improved, use %.3F format
6 years ago
erikkaashoek
7f0efbfdf9
Scale entry and trace command afapted
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
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
9d6f5dbb6f
Markerinfo shows (delta) time in zero span mode
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
c1c1681c29
Keep reflevel
6 years ago
erikkaashoek
9c0584abd7
Simplified scale/refpos approach
6 years ago
erikkaashoek
58e2dd8dfb
Display sweep time in zero span mode
6 years ago
erikkaashoek
e77359b6ac
Small UI improvements
6 years ago
erikkaashoek
c0e152f6c0
Small UI improvements and additional units
6 years ago
erikkaashoek
72cdb485ff
Display units better
6 years ago
erikkaashoek
7f43e46fd9
Some small UI requests
6 years ago
erikkaashoek
c854513d59
Updated waterfall gamma correction
6 years ago
erikkaashoek
6c272d1f75
Small UI changes
6 years ago
erikkaashoek
d7763cec48
Add spur menu and cleanup code
6 years ago
erikkaashoek
2898c02d36
Load/Store of settings added
6 years ago
erikkaashoek
6c1c5ea809
V0.2 working for board evaluation
6 years ago
erikkaashoek
2d430a4f58
Small improvements
6 years ago
erikkaashoek
a6b9e48921
Waterfall improvement and extra measurements
6 years ago
erikkaashoek
1a356f5253
Waterfall with improved colors
6 years ago
erikkaashoek
3aa934bad8
Tracking generator output and cleaning up UI
6 years ago
erikkaashoek
c259ca4727
Marker search repaired
6 years ago
erikkaashoek
5b661b9093
Hangup in offset keypad solved
6 years ago
erikkaashoek
1a2664943f
Many marker and measurement related updates
6 years ago
erikkaashoek
e749f7f8ac
ICON experiment
6 years ago
erikkaashoek
92119ca101
High outputlevels and waterfall fix
6 years ago
erikkaashoek
7d64766513
Optimize stack usage by shifting test and calibrate to lowest level
6 years ago
erikkaashoek
62e0120f22
Measurements working
6 years ago
erikkaashoek
bd50a9d3e5
Small bug fixes
6 years ago
erikkaashoek
dea4d02631
Cleanup settings
6 years ago
erikkaashoek
6a627149d6
Test and calibrate updated
6 years ago
erikkaashoek
39da5289b4
Spur avoidance table added
6 years ago
erikkaashoek
37befeb947
Self test extended
6 years ago
erikkaashoek
8dcf6a6b59
Force top level menu on screen
6 years ago
erikkaashoek
b56af01ba2
Cleaning up the high input menu system
6 years ago
erikkaashoek
9c129b1310
Output modulation added
6 years ago
erikkaashoek
9fb0638def
Full screen mode menu
6 years ago
erikkaashoek
1105264089
Input forms working
6 years ago
erikkaashoek
f2137f4f97
All except waterfall working
6 years ago
erikkaashoek
4353721ec5
First running port
6 years ago
TT
0d407577f8
style: uniform code style and untabify
6 years ago
DiSlord
3eb8a4cfe9
Fix interpolation range if sweep_points!=source calibration points count
...
use sweep_points exept POINTS_COUNT on marker search and so
Now possible change sweep_points in process (for faster sweep)
6 years ago
DiSlord
922b66abdb
Move offset variable to si5351.c (better use it as independent library)
...
Define and move constants in nanovna.h, and use it
Fix command 'marker' - display marker freq (not current freq)
6 years ago
DiSlord
88617a31fe
In ili9341.c remove tabs, add palette mode blit function
...
In plot.c prepare for 8bit/pixel mode (test, allow increase cell buffer size by use 4 or 8bit/pixel mode, but not need for now)
main.c little change wait execute shell command in sweep thread
6 years ago
DiSlord
10ae59e786
Little cleanup
6 years ago
DiSlord
3714e05395
Fix artifacts after marker move
...
(For faster screen update on marker move, all old area update info invalidate after use draw_all_cells(TRUE) on page switch)
Force redraw all cells after end marker move
6 years ago
DiSlord
eebb625b9d
Always update marker info
6 years ago
DiSlord
04fb661b1a
Add flag in config for sweep mode
...
#define FREQ_MODE_START_STOP 0x0
#define FREQ_MODE_CENTER_SPAN 0x1
Now sweep mode not defined from frequency0 > frequency1 or frequency0 < frequency1
frequency0 always < frequency1
All freq must get by use get_sweep_frequency(mode)
Revert Select CH0 reflect channel before set freq, add additional delay on 0 sweep point
6 years ago
DiSlord
f9074149bb
Size fixes, use define exept const, typdef index_t for indexes
6 years ago
DiSlord
19121b3371
Auto determine mark_map mask size from MAX_MARKMAP_X on compilation (up to MAX_MARKMAP_X = 32)
6 years ago
DiSlord
2d273a5548
Fix typo
6 years ago
DiSlord
a19722cdc3
Reduce last patch fix size (use pointers)
6 years ago
DiSlord
90407d5730
Fix screen artifacts:
...
In mark_cells_from_index(void) mark all rectangle (in most cases this not decrease render speed, and more fast in calculation, and no errors)
6 years ago
DiSlord
77b5d0bcc8
Select CH0 reflect channel before set freq (in some rare cases dsp started but CH not ready)
...
Little code optimization
Add commented 600kHz I2C bus timings (work, give x1.5 speed, but need change DSP ready timings not by wait_count, need use chVTGetSystemTimeX() its better)
6 years ago
DiSlord
fc6e090595
Add vbat_offset to config
...
Implement vbat_offset command (if defined ENABLE_VBAT_OFFSET_COMMAND)
Reduce code size
6 years ago
DiSlord
b77e1d6680
Big work around si5351 generator
...
Improve sweep speed about 60%
Stop generation on pause sweep
Remove all hack for si5351
Reduce code size
Fix integer overflow on big freq values
Additional
Change I2C
Others:
move marker_tracking variable to ui config
move some definition to correct place
reduce tlv320aic3204 code size
Speedup marker move from lever (BUTTON_REPEAT_TICKS = 625)
Need test stability
6 years ago
TT
f1cc60e99e
feat: add lever mode for electrical delay
6 years ago
TT
18c5ca9157
feat: add lever operation of electrical delay
6 years ago
DiSlord
17734f257d
Disable unused ChibiOS options:
...
CH_CFG_USE_WAITEXIT (used only is Shell run as thread)
CH_CFG_USE_EVENTS (NanoVNA not use events)
CH_CFG_USE_EVENTS_TIMEOUT (NanoVNA not use events)
Implement stack use check in "threads" command, now free stack space show in table as "stk free" in hex
Check stack usage by sweep, and main threads (seems all ok, but add 64 bytes to sweep)
Replace some const values to defined
6 years ago