Commit graph

490 commits

Author SHA1 Message Date
DiSlord 61b3989c28 Add part of SD card code (need some cleanup), disabled (not added diskio part!) 2020-07-01 12:29:25 +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 a0ac128406 Use original fatFS lib 2020-06-28 18:17:13 +03:00
DiSlord e2f2b58925 Remove full screen redraw on scale/ref/trace change. 2020-06-28 18:15:28 +03:00
DiSlord e383b53f5a Better init settings for display. Allow see some colors as on monitor. 2020-06-25 19:33:11 +03:00
DiSlord 71f11ee84f Add modified FatFS library vR0.14 for future SD card support
See http://elm-chan.org/fsw/ff/00index_e.html
2020-06-21 08:07:00 +03:00
DiSlord 56501fba58 Add dsp.h, and fix header in rtc.c 2020-06-21 08:05:00 +03:00
DiSlord 9b14e48b35 Decrease delay after band change 2020-06-21 08:04:04 +03:00
DiSlord 9bd8c99980 Enable CHPRINTF_USE_SPACE_FLAG in printf
It allow use ' ' in place '+' for better string formatting
Also add support output for complex numbers (but not enable it)
2020-06-21 08:02:40 +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 169b75555c Lost makefile for RTC 2020-06-20 12:08:20 +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 3491ba2fbe Merge branch 'master' of https://github.com/ttrftech/NanoVNA 2020-06-13 21:06:22 +03:00
DiSlord 66a8a84082 Revert use 8MHz clock for AIC 2020-06-13 19:49:37 +03:00
TT e57292ea01 doc: add ssci to README.md 2020-06-12 05:50:55 +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 b3de8f0160 Update SPI lib for display (prepare for add SD card support) 2020-06-04 13:20:20 +03:00
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