DiSlord
ff52ba1d45
Code style
2020-05-25 13:36:23 +03:00
DiSlord
cd4fc4f54f
Not do multiple check Touch position on process touch (less code size)
...
Do delay 200ms on leveler menu up/down switch
2020-05-25 13:29:34 +03:00
DiSlord
8e58018995
Use default UI colors for sweep_points and bandwidth UI menu
...
Remove domain mode change on calibration menu select (not need)
2020-05-20 13:15:57 +03:00
DiSlord
881e46e122
Move ADC channel touch definition to nanovna.h
2020-05-17 23:47:15 +03:00
DiSlord
4444e94e3d
Set 20Hz timer clock for touch check (1000Hz before, not need do it so fast, adc interrupt cause little noise on measure)
2020-05-17 17:56:51 +03:00
DiSlord
cd745ca5eb
Merge branch 'master' of https://github.com/ttrftech/NanoVNA
2020-05-16 12:00:30 +03:00
TT
fb57511f9a
view: change R+Xj to R+jX in menu label of smith value format
2020-05-16 10:48:50 +09:00
DiSlord
04a8820192
Remove variable, lost in last merge
2020-05-14 18:24:54 +03:00
DiSlord
dedae1ea82
Merge branch 'master' into master
2020-05-14 18:08:30 +03:00
TT
56b0d3ad8a
env: insert wait after switching to dfu
2020-05-14 07:20:29 +09:00
TT
ba7d358d35
fix: force disable tracking on marker search left/right op
2020-05-14 07:18:59 +09: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
a1bbee724c
Add support 96kHz ADC, allow increase sweep speed and bandwidth to 2kHz
2020-04-29 14:34:05 +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
3204d662a6
Add additional band for si5351 generator
...
Add minimum support 800Hz frequency
2020-04-29 14:27: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
c322d5e3cb
Add limited variable offset support, and constant sin_cos tables for various offset and ADC speed
2020-04-29 13:43:32 +03:00
DiSlord
018b9c7776
Exapmple definition for header file
2020-04-29 13:41:30 +03:00
DiSlord
e6450aa3ea
Update header file for future fixes:
...
Variable sweep_points support
Increase ADC from 48kHz to 96kHz
Some in code definitions for easy compile and platform change
2020-04-29 13:40:53 +03:00
DiSlord
3dab9cadfd
Remove double code from plot.c
...
Update battery icon
2020-04-26 01:07:09 +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
c572e66231
Allow better si5351 generate frequency less than 50k
...
Small speedup DSP processing, less size
Add Cortex M4 DSP instruction support
2020-04-02 22:11:32 +03:00
DiSlord
e09ee19646
Move bandwidth option from properties to config
...
Little fixes
2020-04-02 16:36:59 +03:00
DiSlord
30ff60a3de
Made LCD rx DMA mode optional (disabled by default), use __USE_DISPLAY_DMA_RX__ for enable
2020-04-01 12:42:05 +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
2f288d20cd
More screen size depends definition fixes
2020-03-30 23:35:45 +03:00
DiSlord
e34f460b22
Fix typo
2020-03-30 21:45:06 +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
48e28f79d0
Use compact variant sin_cos table in fft (not decrease speed, and need only 208 bytes flash)
2020-03-23 15:10:01 +03:00
DiSlord
9221ad04ca
Revert, 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
2020-03-23 01:16:36 +03:00
DiSlord
0c0f399657
Improve button input, better debounce less code size
2020-03-22 19:18:40 +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
4a44ecc37c
Fix comment
2020-03-21 16:47:32 +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
5a10105b1a
Merge branch 'bandwidth'
2020-03-21 21:19:53 +09: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
TT
a4821604a5
Merge pull request #126 from DiSlord/master
...
Fix screen artifacts, change start/stop or center/span mode set, remove Mutex use
2020-03-21 09:22:06 +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