DiSlord
e9f65b1426
Huge rework chsnprintf function (basic functional more compact and faster):
...
I can`t upload my version chprintf.c to ChibiOS\os\hal\lib\streams upload it to root :(
now support print float and Suffix if use example %.1F on 1.234e-3 print 1.234m, %F print 1.23m
now support + flag %+d on 8 print +8, %+d on -8 print -8
now support freq output if use %q example %q on 1234567890 print 1.234 567 890 GHz, %.8q print 1.234567GHz
fix rounding errors on print float example if print use %.2f on 2.199 print 2.20 (before 2.19)
Use it in code - made more compact (save about 2k bytes) and easy display values (set output more digits after . for some values)
Made some font glyph more compact, allow 3px glyph
More correct create frequencies table on big span (not use float operations), also produce more compact code
Use double value input from keyboard (not lost Hz on input)
Set sweep_points as uint Optimize set_sweep_frequency size
Fix freq commands broken after freq set as uint32 (add str to uint32 functions for freq bigger then 2 147 483 647):
cmd_freq
cmd_offset
cmd_threshold
cmd_scan
cmd_sweep
Define _isdigit macro (replace isdigit() function, its too big)
Rewrite std universal atoi() to more compact my_atoi and write new unsigned variant my_atoui
6 years ago
TT
ae38c9794d
view: pack smith marker value
6 years ago
TT
14dfe97557
fix: revert color of traces to the original
6 years ago
DiSlord
a46a20028f
Remove unused global variable (fgrid)
...
Set areasize as int16
6 years ago
ВшЫдщкв
5a4d02208f
define POINTS_COUNT in nanovna.h
...
fix 'micro' char in font
fix draw STOP distance in frequency field
fix x position calc in plot_into_index
fix frequencies delta defined as int in plot.c
fix frequencies defined as int in ui.c
6 years ago
ВшЫдщкв
df5a655cd0
Remove comment, fix last add
6 years ago
DiSlord
e7bdead77a
Merge branch 'master' into master
6 years ago
TT
066027f5b5
fix: prototype mismatch
6 years ago
ВшЫдщкв
6f666cf31b
Change Font size (more readable)
...
Rework display spi driver:
use DMA for read, write
add blitBitmap functions
Use DMA for color fill
More correct SPI bus control
Move color definitions to nanovna.h
Some code optimization for speed and size (save about 3k bytes)
Change grid Y resolution to 10
Fix convert from float to int (fix some rounding errors on plot)
Disable unused HAL serial
Change battery icon
6 years ago
TT
18a1ca4e6e
feat: add marker tracking
6 years ago
TT
e1ba0c77f0
chore: store velocity factor in float
6 years ago
TT
c4495b6d58
chore: add reserved room in properties and config
6 years ago
TT
fcb0be6def
fix: remove upper limit of signed int32 for frequency setting
6 years ago
TT
75ea464c91
chore: delta symbol
6 years ago
TT
0bfa2c073e
feat: add marker smith value format menu
6 years ago
TT
a534a89c89
feat: add marker delta mode
6 years ago
TT
1422e5fd49
feat: show each markers when multiple markers are active
6 years ago
TT
a3eb29ea04
feat: add marker operation groupdelay->edelay
6 years ago
TT
c7af840f53
feat: add feedback of lever mode
6 years ago
TT
3f209e4986
feat: add marker search
6 years ago
TT
47fec0b024
remove buffer used only in dump command
6 years ago
TT
0124e1b32d
chore: update codec control
6 years ago
TT
7adba06333
chore: reduce foot-print of numfont20x24
6 years ago
TT
dcbcfe162c
chore: shrink 5x7 font
6 years ago
TT
3fc17e18f9
fix: break sweep loop on frequency change
6 years ago
TT
f7e712798a
chore: remove warnings
6 years ago
TT
bfd45c715d
fix: fix digit loss of sweep frequency
6 years ago
TT
94659a22ba
feat: add threshold command
6 years ago
TT
516319b354
fix: plot only if sweep completed
6 years ago
TT
47f48d83e4
fix: omit drawing screen from usb thread
6 years ago
cho45
1120d5c33b
Fix timedomain transform (based on acd944d5fa1c8bfd016b27c65e92e14e81f755c8 by @erikkaashoek )
6 years ago
cho45
aa4faa5a6e
rename TDR -> TD
6 years ago
cho45
6bad9de606
change menu name to 'TRANSFORM'
6 years ago
cho45
8f0bfacf3d
setting velocity factor
6 years ago
cho45
95ab399567
save domain mode
6 years ago
cho45
889d675836
TDR feature
6 years ago
cho45
a9457dbd0a
show battery indicator (requires implementing D2 on board)
6 years ago
cho45
5e9756e4e0
append `reset dfu` command and `CONFIG` -> `ENTER DFU`
6 years ago
cho45
39b7fdf95e
append version info screen to UI
6 years ago
TT
3e841920fb
refactor: introduce trace_info
6 years ago
cho45
f9a5d2e3ef
Add REAL IMAG R X trace format
6 years ago
cho45
1c4718ae4a
implement capture command
6 years ago
TT
b823a8060d
ui: enable and all off in marker selection
6 years ago
TT
e626c581ee
feat: add sample command to evalutate dynamic range
6 years ago
TT
b815a5b2fe
menu: add feedback at correction/pause menu item
6 years ago
TT
dd724da327
view: add left arrow on menu items
6 years ago
TT
0807816e09
ui: add pad icon, electrical delay unit
6 years ago
TT
c4edf2a6eb
omit: unused buffer refiq
6 years ago
TT
b64826b76a
add numeric input support scale and electrical delay
8 years ago
TT
7228ebd5fa
add numeric input (WIP)
8 years ago
TT
5d1934d85f
support electrical delay
8 years ago
TT
5a441edc6b
update marker position on sweep frequency change
8 years ago
TT
043972e6ca
fix segv on active trace 4, apply error term inside sweep loop, show active trace on marker info
8 years ago
TT
8ce6b7b6e0
omit redraw_all to fix to be ignored first push
8 years ago
TT
c121731b04
draw delta frequency of two markers
8 years ago
TT
774a11ae74
add interpolation on cal
8 years ago
TT
b42749e57d
fix jump of touch sense, add touchtest command, draw on touch cal, fix gap of drag marker position
9 years ago
TT
095b250137
implemented correlation detection, worked, but no good result
9 years ago
TT
f97c50957c
delete unused var
9 years ago
TT
373e56f006
add clearconfig command
9 years ago
TT
295ec105e6
set scale and refpos temporally
9 years ago
TT
cb50a0e6c3
add toggle sweep operation
9 years ago
TT
4845bde486
change from active to active_props
9 years ago
TT
c083fb9298
add refpos indicator, make marker able to be sticking out
9 years ago
TT
5ebb3330ff
add menu item delay (but not work)
9 years ago
TT
3852f9cb21
move menu_color and touch_cal to config
9 years ago
TT
7943a3fe96
add dragging marker
9 years ago
TT
9037593831
add save and restore dac value in flash
9 years ago
TT
9f5259556c
split config and properties
9 years ago
TT
a76698c166
add menu item of marker all off
9 years ago
TT
74cfdb93a3
arrange code, add notice at head of each file
9 years ago
TT
0bf87f42aa
work touch menu operation
9 years ago
TT
8038df8c66
change adc driver not to use chibios hal
9 years ago
TT
8d39e43471
rename freq_start/stop
9 years ago
TT
6d0ea0e1dd
remove fstart/fstop
9 years ago
TT
aa91bc23fc
add CW, mod freq from limits
9 years ago
TT
a50517bf3f
add keypad for freq and scale, add save menu
9 years ago
TT
d84a212a3b
add channel menu, narrow and ensure selection, reverse marker moving direction
9 years ago
TT
4e55ca4f70
add atof of my own
9 years ago
TT
69c41aa57e
add wait_dsp function, add trace all off command, fix hang on ploting polar with trace 0
9 years ago
TT
25dd4bf182
add grid control, etc
9 years ago
TT
121691b5e1
add polar_grid, experimental smith_grid2
9 years ago
TT
9a63892480
add menu structure and behavior
9 years ago
TT
052460d145
add cal status indicator
9 years ago
TT
04d1ec19ab
add impedance and L/C parameter value on marker of smith chart
9 years ago
TT
f0eaa108ad
save trace and marker data
9 years ago
TT
38d6a50047
add areas to save/recall
9 years ago
TT
faaf6dd353
fix marker info drawing disorder
9 years ago
TT
5498d63751
make controlable marker with lever switch, test menu display
9 years ago
TT
23f2b7f695
optimize drawing rectangular grid
9 years ago
TT
bc6ce2963c
add some comments, order code
9 years ago
TT
6ff0acecdf
add micro and pi
9 years ago
TT
539653b52a
add ohm char font, change face of zero "0"
9 years ago
TT
3eb8125086
add marker command
9 years ago
TT
be967b006c
rearrange marker info
9 years ago
TT
00a4b70bf7
split code into plot.c
9 years ago
TT
17188a0418
shrink stack size, add marker info temporally
9 years ago
TT
0d6c718a47
change command name from data to dump, add data command to fetch array, marker position
9 years ago
TT
520ebef659
add open capacitance model (constant)
9 years ago
TT
ab87c813a1
add band pass filter on tlv320aic3204
9 years ago
TT
e4f46c69c0
add trace command
9 years ago
TT
0fe058aca7
add save/recall feature
9 years ago
TT
86fae97c9b
add SOLT/E-Resp calibration and command
9 years ago
TT
9dda579abe
add preliminaly calibration
9 years ago
TT
01057921f6
adjust memory allocation for keep caldata
9 years ago
TT
b5abce3dfc
change to cell drawing method
9 years ago
TT
82a8f19c25
add smith plot, spi dma transfer
9 years ago
TT
314ca70b31
clean unused code, add drawing frequencies
9 years ago
TT
b2e3fe770d
set sweep on draw, adjust grid
9 years ago
TT
c1decf606b
use float to calc gamma, cleanup
9 years ago
TT
92161068db
add plotting and smith grid
9 years ago
TT
602df8af7a
add spi lcd ili9341 in development
9 years ago
TT
a5fd502ba0
add band change handling
9 years ago
TT
b0e8aee11e
add temprally gamma caluclation
9 years ago
TT
10b2cb7702
add dsp.c (hilbert, iir)
9 years ago
TT
7b3b28f8af
add gain/offset/power command, clean up si5351a control
9 years ago
TT
a2e09a7923
support >150MHz, fix failure on frequency change
9 years ago
TT
011d9774f5
add >150MHz support
9 years ago
TT
59020b8cfc
initial commit
9 years ago