Commit graph

508 commits

Author SHA1 Message Date
DiSlord 8c131098f0 Update SPI lib
Add DMA rx support for SD card
2020-07-12 15:42:07 +03:00
DiSlord 89da23e45a Move SPI bus macros to spi.h 2020-07-12 12:25:18 +03:00
DiSlord 17b229d90f Fix unix path 2020-07-11 23:26:03 +03:00
DiSlord 0a09763cbb Small definition update 2020-07-11 18:40:35 +03:00
DiSlord da194e82cf Upload diskio driver for SD cards support 2020-07-11 18:38:03 +03:00
DiSlord fdf88ae289 Move some definitions too nanovna.h 2020-07-11 18:05:44 +03:00
DiSlord 3522c05375 Comment 2020-07-09 20:43:48 +03:00
DiSlord c9e512fe9c Multiline text output and align 2020-07-09 20:42:45 +03:00
DiSlord 1afe5c6db2 Merge branch 'master' of https://github.com/DiSlord/NanoVNA 2020-07-09 20:42:16 +03:00
DiSlord 86096a8c6a Multiline text output and align 2020-07-09 20:41:24 +03:00
DiSlord b1952a350f More simple keyboard init 2020-07-09 11:59:33 +03:00
DiSlord 13cc4f4833 Default touch coordinates 2020-07-05 12:34:22 +03:00
DiSlord 9d34154f30 More compact UI code
Rewrite screen touch, now more better detect coordinate (and more compact)
New test touch screen (now for exit need push button)
2020-07-05 12:33:40 +03:00
DiSlord 6309b082e2 Use some constants for pad definitions 2020-07-05 12:27:22 +03:00
DiSlord ac93394626 Remove not used file 2020-07-05 10:10:03 +03:00
DiSlord ff4cd0b8f7 Not close menu on recall 2020-07-03 23:08:52 +03:00
DiSlord 8894110423 Full screen keyboard
Custom buttons draw support
2020-07-03 22:03:54 +03:00
DiSlord 34a3eeafce increase sweep thread stack size 2020-07-01 12:30:31 +03:00
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