20649012dfLittle speedup and less size fft Better support other size LCD and font Fix CH1 unstable at begin sweep
DiSlord
2020-03-30 20:01:51 +0300
59b9534a5cSet minimum calibration bandwidth as BANDWIDTH_100 (can be greater if manually set) Need for speedup calibrate if need
DiSlord
2020-03-24 11:04:34 +0300
48e28f79d0Use compact variant sin_cos table in fft (not decrease speed, and need only 208 bytes flash)
DiSlord
2020-03-23 15:10:01 +0300
9221ad04caRevert, use sin_cos table in fft.h #define FFT_USE_SIN_COS_TABLE by default Increase code size on 700 bytes, but huge speedup (x3) transform
DiSlord
2020-03-23 01:16:36 +0300
2ed2f96f4aSize fixes - bandwidth count stored in menu (less error on add new values) - allow set any bandwidth count from command - bandwidth command print bandwidth freq on apply
DiSlord
2020-03-21 21:58:51 +0300
ddf51987ebOn calibration use max bandwidth setting
DiSlord
2020-03-21 20:23:59 +0300
6269f305baadd log frequency steps
#129
ward
2020-03-15 08:34:33 -0700
597c2c2958Better solutiom of prev fixes (reload si5351 settings on sweep begin)
#126
DiSlord
2020-03-15 16:02:22 +0300
23c765b719Fix very strange bug, on band 2 !!!!! Don`t understand why si5351 non stable on band 2 then change from band 3 It fixed if set before sweep one frequency from band 1 (for example 50MHz) Possibly problem in tlv320aic3204_set_gain, call only si5351_set_frequency_with_offset not work
DiSlord
2020-03-15 14:14:52 +0300
3eb8a4cfe9Fix interpolation range if sweep_points!=source calibration points count use sweep_points exept POINTS_COUNT on marker search and so
DiSlord
2020-03-14 21:23:02 +0300
fdb3886b0fMove define to str macro in nanovna.h (it allow output define valuer in error messages)
DiSlord
2020-03-14 16:50:35 +0300
45dfd7d970Fix sweep if points < maximum (mot sweep if frequency[i] == 0) Fix my tupo in extended scan command (not correctly parse point count)
DiSlord
2020-03-14 16:48:36 +0300
8a11eaa764Extend scan command, now in have additional input variable (optional), allow more faster get measured data usage: scan {start(Hz)} {stop(Hz)} [points] [outmask] [outmask] - optional, allow output measured data, its a mask (allow dec, hex, bin, oct) 0b001 - output frequency 0b010 - output CH0 data 0b100 - output CH1 data Example: 'scan 1000000 5000000 101 0b111' - output data in format: freq ch0[0] ch0[1] ch1[0] ch1[1] 'scan 1000000 5000000 101 0b101' - output data in format: freq ch1[0] ch1[1] 'scan 1000000 5000000 101 0x7' - output data as 0b111
DiSlord
2020-03-14 16:05:26 +0300
ec81a01226Not use float in vbat measure (faster, less size), yes get little error (but less then 1mV)
DiSlord
2020-03-14 15:21:26 +0300
922b66abdbMove 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)
DiSlord
2020-03-14 15:18:14 +0300
88617a31feIn 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
DiSlord
2020-03-13 22:42:28 +0300
8bdb650212Implement color command, allow change color settings in config (enabled bu default ENABLE_COLOR_COMMAND) Usage: usage: color {id} {rgb24} - Grid color: id = -3 - Menu bg color: id = -2 - Selected menu: id = -1 - Trace 1-4: id = 0..3 Color in hex RGB format (but possible any type input, dec, hex, bin. oct)
DiSlord
2020-03-12 21:43:35 +0300
6f25d0d43fRemove Mutex use (CH_CFG_USE_MUTEXES = FALSE), now all Mutex depend functions run in sweep thread It allow: - reduce shell thread stack size - more compact code - fix some hardcoded scan command code, allow write better scan version - run calibrate (not depend from pause sweep flag)
DiSlord
2020-03-12 19:53:58 +0300
92a529d1b9cancel log sweeps with resume command
ward
2020-03-11 19:25:09 -0700
1c42900ed3Add log based frequency support for scan
ward
2020-03-11 18:57:30 -0700
51b5cce016Fix Random jitters at band 1 and band change on some freq ranges Improve frequency stability on band change (100 MHz, 150MHz, 300 MHz, 450MHz)
DiSlord
2020-03-11 20:11:46 +0300
3714e05395Fix artifacts after marker move
DiSlord
2020-03-09 22:47:35 +0300
eebb625b9dAlways update marker info
DiSlord
2020-03-09 22:28:05 +0300
04fb661b1aAdd 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
DiSlord
2020-03-09 18:24:31 +0300
f9074149bbSize fixes, use define exept const, typdef index_t for indexes
DiSlord
2020-03-09 16:18:29 +0300
19121b3371Auto determine mark_map mask size from MAX_MARKMAP_X on compilation (up to MAX_MARKMAP_X = 32)
DiSlord
2020-03-09 14:40:17 +0300
5cf86ee1a6Revert dsp changes, need more research
DiSlord
2020-03-09 10:28:33 +0300
a2d90a5e91Try not lost data on dsp (Less noise on small signals) Use int64_t acc for values Use double on calculation
DiSlord
2020-03-09 01:25:46 +0300
77b5d0bcc8Select 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)
DiSlord
2020-03-08 22:48:36 +0300
Merge pull request #125 from DiSlord/master
TT
2020-03-08 19:33:13 +0900
45f04420cbImplement info command, move info_about[] to main.c Command enabled by default: ENABLE_INFO_COMMAND This feature not increase flash size
#125
DiSlord
2020-03-08 08:32:38 +0300
fc6e090595Add vbat_offset to config Implement vbat_offset command (if defined ENABLE_VBAT_OFFSET_COMMAND) Reduce code size
DiSlord
2020-03-07 23:37:39 +0300
bb7127fdd0Remove variable, use speep_mode flag
DiSlord
2020-03-07 22:21:02 +0300
e896f32803Replace function wait_dsp(delay) by definition: DSP_START(delay) //================================================ // Place some code thats need execute while delay //================================================ DSP_WAIT_READY
DiSlord
2020-03-07 20:57:43 +0300
12d53738bcRevert some changes: Start/stop generation feature (unstable on segment scan from CPU) Calibration on paused sweep (need more stack, need find better solution) Variable use optimization
DiSlord
2020-03-07 17:19:43 +0300
a43b6e3accsi5351.c and si5351.h Cleanup and optimize code Add comments, fix definitions Fix rounding errors Fix band 1 stability
DiSlord
2020-03-07 14:54:51 +0300
b77e1d6680Big work around si5351 generator
DiSlord
2020-03-05 22:36:44 +0300
Merge pull request #121 from DiSlord/master
TT
2020-03-01 09:19:28 +0900
18c5ca9157feat: add lever operation of electrical delay
TT
2020-03-01 08:50:46 +0900
7f5948c4b8chore: add scope name onto struct and enum
TT
2020-03-01 08:18:12 +0900
153585ff1fMove more address constants to nanovna.h
#121
DiSlord
2020-02-28 23:52:01 +0300
ccb3693516Huge reduce flash usage (about 5k), remove cal_data and _frequencies properties from data section Use void loadDefaultProps() for load default properties (default loaded also on error load from flash) Move some constants to nanovna.h
DiSlord
2020-02-28 23:15:38 +0300
cc3370c962si5351.c Remove unused function from header Set static calls for functions (less size) Set static constants (less size)
DiSlord
2020-02-28 18:57:18 +0300
a164a5765aDisable HAL_USE_RTC usage (need for cmd_time) Add ENABLE_TIME_COMMAND for enable cmd_time if need
DiSlord
2020-02-28 18:52:25 +0300
0116c529eaRestore sweep stack size as 640
DiSlord
2020-02-28 00:50:12 +0300
95b3f6f7d0Disable ChibiOS option CH_CFG_USE_MUTEXES_RECURSIVE All calls chMtxLock - chMtxUnlock not recursive
DiSlord
2020-02-27 21:21:54 +0300
17734f257dDisable 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)
DiSlord
2020-02-27 20:53:45 +0300
d386b0823cWrite clearScreen and use it in code More hard coded values fixes
DiSlord
2020-02-26 23:55:06 +0300
b7934745caRestore main thread stack size (stack usage code optimization give good result) Decrease sweep thread stack size from 640 to 512 (also stack usage code optimization give good result) Little change 16x22 font
DiSlord
2020-02-26 23:30:50 +0300
Merge branch 'master' into master
DiSlord
2020-02-25 06:35:06 +0300
48ff4893d3feat: force putting trailing zeros on float value
TT
2020-02-25 08:41:22 +0900
d2431f0cdcIncrease screen render (in some cases up to 2x speedup), decrease stack usage (code size less on 1500 bytes)
DiSlord
2020-02-24 22:47:52 +0300
5ee23be06fAdd definition of spi_buffer size Add check cell and spi_buffer size
DiSlord
2020-02-23 17:13:52 +0300
1177d87498Increase main thread stack size (if used as shell, if run some commands get stack limit, example "trace 0 x" command) Decrease interrupt stack size
DiSlord
2020-02-23 15:45:37 +0300
7d2708afcefeat: paramterize number of y-grid, revert to 8
0.7.0
TT
2020-02-23 11:37:41 +0900
Merge pull request #120 from DiSlord/master
TT
2020-02-23 00:08:16 +0900
10e5578c8cMerge branch 'levermode' into DiSlord-master
TT
2020-02-23 00:05:47 +0900
93d1233d8bfeat: change the operations to select lever mode
levermode
TT
2020-02-22 22:41:50 +0900
fb3c9cf82ffix: adjust width of space and triangle
TT
2020-02-22 22:40:06 +0900
863691c554fix: adjust spaces frequency and marker values
TT
2020-02-22 12:24:32 +0900
02a5715bb4Big code redisign (increase CELL draw size, more faster screen render), also save about 4-5kB flash size Try remove all hardcoded values from code (use definition if set) Some error fix
#120
DiSlord
2020-02-22 10:50:54 +0300
2381e338ebfix: adjust spaces frequency and marker values
TT
2020-02-22 12:24:32 +0900
2c231bab15Merge pull request #119 from DiSlord/master
TT
2020-02-22 11:13:18 +0900
e9f65b1426Huge rework chsnprintf function (basic functional more compact and faster):
#119
DiSlord
2020-02-11 11:54:05 +0300
ddc278fa18Huge rework chsnprintf function (basic functional more compact and faster): 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)
DiSlord
2020-02-10 22:22:27 +0300