DiSlord
66bd2ae21a
Change sweep timing strategy, use timer for check clean data ready, and run measure on next buffer ready
...
Start si5351 on 32MHz, this allow send correct clock to AIC3204 and start it
Move init si5351 after display init
Cleanup screen at startup
2020-08-03 12:15:16 +03:00
DiSlord
d3ad97c6a9
Update bandwidth string on change
2020-08-03 11:03:15 +03:00
DiSlord
7f34a93067
Simple start analog wathdog
...
Add 900kHz i2c setting
2020-08-02 11:30:01 +03:00
DiSlord
f90b920d5e
More comments
...
Rewrite flash.c for less size
Add cache for check checksum (more faster interpolate, used in multi segments sweep)
More fixes for font and select size of marker icon
More debug functions
2020-08-01 19:44:34 +03:00
DiSlord
6b25d86128
Add base support for dynamic button text
...
Save some flash size
2020-07-29 20:39:47 +03:00
DiSlord
156e21f4ee
Format fixes for frequency value string
...
More code defines (various mode)
Add debug command for i2c bus speed
2020-07-29 19:41:51 +03:00
DiSlord
1a3f2b1354
More disable debug functions
2020-07-23 20:35:40 +03:00
DiSlord
7008d6d4e9
Allow marker on|off command use
2020-07-23 16:43:39 +03:00
DiSlord
e47129e21d
Add options for enable/disable some command
...
Disable debug command as default
2020-07-23 16:29:21 +03:00
DiSlord
bed63ca84b
Add LCD command for debug (disabled as default)
...
Add defines for more easy change to 48kHz ADC
Add commented touch calibration settings for 4`LCD
2020-07-17 17:36:14 +03:00
DiSlord
c9e512fe9c
Multiline text output and align
2020-07-09 20:42:45 +03:00
DiSlord
13cc4f4833
Default touch coordinates
2020-07-05 12:34:22 +03:00
DiSlord
34a3eeafce
increase sweep thread stack size
2020-07-01 12:30:31 +03:00
DiSlord
12567ba1b1
Restore full screen redraw in scale/ref change (allow do it in pause and see result)
2020-07-01 12:23:57 +03:00
DiSlord
e2f2b58925
Remove full screen redraw on scale/ref/trace change.
2020-06-28 18:15:28 +03:00
DiSlord
3213a8022c
Fix MAX_TRACE_TYPE to 13
...
Increase digit for show Q factor (use %.3f format)
2020-06-21 08:00:01 +03:00
DiSlord
76223f5e25
Merge branch 'master' of https://github.com/ttrftech/NanoVNA
2020-06-20 12:31:35 +03:00
DiSlord
10037eee7b
Add hard fault handler for STM32 CPU (disabled by default)
...
It allow better search problems by use 'list' file and hard fault address (PC reg)
2020-06-20 12:12:38 +03:00
DiSlord
a8f36a4c5d
Add compact RTC library (only 500 bytes for all, default RTC lib req ~ 2kB)
...
For enable use external (LSE) clock generator need un comment in Makefile
#UDEFS+= -DVNA_USE_LSE
By default use internal (LSI) clock generator, but it stop then VNA power off
For enable use external (LSE) clock generator, need install 32.768kHz clock quartz on PC14 and PC15 pins, it allow clock run while power off
For enable use RTC in code uncomment in nanovna.h
#define __USE_RTC__
This enable command 'time'
usage: time [y|m|d|h|min|sec] 0-99
Example set 2020 year run 'time y 20'
Add show current time in version screen
Better use font size constants for all screen size
2020-06-20 12:07:38 +03:00
TT
bc1b57c3f0
feat: add format quality factor
2020-06-20 08:08:21 +09:00
TT
64de4d5d87
fix: add wait in dump command
2020-06-16 08:22:18 +09:00
DiSlord
237a329226
Add sin_cos table for 6 or 12kHz offset for dsp
...
Add support direct clock for AIC3204 from si5351
Now possible made calibration and not reset old calibration data, just made another calibration (not need reset or disable correction).
Open - Short calibration depend from self, need recalibrate it together.
Load calibration possible made alone
Isoln, Thru also depend from self, need recalibrate it together.
2020-06-04 20:26:06 +03:00
DiSlord
dedae1ea82
Merge branch 'master' into master
2020-05-14 18:08:30 +03:00
TT
d7c7d8faeb
feat: add bandwidth command
2020-05-14 07:05:43 +09:00
TT
fe7a1ac4de
fix: keep freq mode in each save slot
2020-05-14 06:53:52 +09:00
DiSlord
2f7f2a2473
Fix AIC NADC to 1
...
Fix 300-900MHz gain to 50
2020-04-30 14:01:04 +03:00
DiSlord
23475a75c4
Add variable sweep point support
2020-04-29 14:32:40 +03:00
DiSlord
11ce58a9af
Not use AUTO power for si5351
...
Apply gain only for all harmonic
Add variable offset table generation
2020-04-29 14:30:22 +03:00
DiSlord
a2e205e25b
Remove frequency table from properties (allow get less size)
...
Fix interpolation near harmonic change point (use extrapolate from prev or next 2 points)
2020-04-29 14:23:59 +03:00
DiSlord
987c0c2ed5
Separate apply CH0 and CH1 calibration (remove depend CH1 calibration from CH0)
...
Made CH measure only for selected traces (for calibration or external USB req measure all)
Not apply edelay for USB external or calibration
2020-04-29 14:07:07 +03:00
DiSlord
49b52213cf
Change config and properties flash address definitions
...
Show BW settings at bottom of screen
2020-04-04 08:43:32 +03:00
DiSlord
e09ee19646
Move bandwidth option from properties to config
...
Little fixes
2020-04-02 16:36:59 +03:00
DiSlord
e6d680cd44
Not wait sweep end for apply bandwidth command
...
More size screen/font definitions
Prevent overflow on bigger POINTS_COUNT values
2020-04-01 00:36:43 +03:00
DiSlord
20649012df
Little speedup and less size fft
...
Better support other size LCD and font
Fix CH1 unstable at begin sweep
2020-03-30 20:01:51 +03:00
DiSlord
59b9534a5c
Set minimum calibration bandwidth as BANDWIDTH_100 (can be greater if manually set)
...
Need for speedup calibrate if need
2020-03-24 11:04:34 +03:00
DiSlord
2ed2f96f4a
Size 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
2020-03-21 21:58:51 +03:00
DiSlord
ddf51987eb
On calibration use max bandwidth setting
2020-03-21 20:23:59 +03:00
DiSlord
7b17e9cfa6
Add bandwidth command
2020-03-21 18:25:36 +03:00
DiSlord
4c8a476265
Size fixes:
...
accumerate_count not changed in sweep
2020-03-21 17:54:47 +03:00
DiSlord
e837578586
Fix typo
2020-03-21 16:40:49 +03:00
DiSlord
22e4df1577
Little rework bandwidth:
...
- Not reset sweep on request
- Better menu response
- little DSP optimization
Faster i2c bus (now 600kHz, allow more faster add settings)
Add i2c command (disabled by default)
Little fix stat command
2020-03-21 16:15:03 +03:00
TT
1656342eeb
feat: add bandwidth setting of detector
2020-03-21 21:03:08 +09:00
TT
0d407577f8
style: uniform code style and untabify
2020-03-21 09:33:33 +09:00
DiSlord
597c2c2958
Better solutiom of prev fixes (reload si5351 settings on sweep begin)
2020-03-15 16:02:22 +03:00
DiSlord
23c765b719
Fix 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
Little faster call command from shell
Fix interpolation if points < POINTS_COUNT
2020-03-15 14:14:52 +03:00
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)
2020-03-14 21:23:02 +03:00
DiSlord
45dfd7d970
Fix sweep if points < maximum (mot sweep if frequency[i] == 0)
...
Fix my tupo in extended scan command (not correctly parse point count)
2020-03-14 16:48:36 +03:00
DiSlord
8a11eaa764
Extend 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
2020-03-14 16:05:26 +03:00
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)
2020-03-14 15:18:14 +03:00
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
2020-03-13 22:42:28 +03:00