erikkaashoek
49a4dede62
Auto mixer_drive and first correction table
5 years ago
erikkaashoek
10ef465890
First correction table and lna leveloffset
5 years ago
erikkaashoek
d4d6e15413
Add LNA correction
5 years ago
erikkaashoek
27799c8bc3
Update ultra switches
5 years ago
erikkaashoek
ce065db537
Add IF calibration
5 years ago
erikkaashoek
6e72f4549d
Add ESD protection dependencies
5 years ago
erikkaashoek
5603bf384e
Rename offset to external_gain
5 years ago
erikkaashoek
6805c661c2
Merge DiSlord improvements, add Listen to tinySA4, change cal level to -25dBm
5 years ago
erikkaashoek
7f6c9fe609
Moved LISTEN to main loop
5 years ago
erikkaashoek
d8e061a751
Listen and Limits added
5 years ago
erikkaashoek
3192035ff4
Shift modulation calibration to output modes only
5 years ago
erikkaashoek
31d8406706
Optimize modulation calibration
5 years ago
erikkaashoek
9e287c0fe0
Merge DiSlor speed improvements
5 years ago
erikkaashoek
e0a6e9cb43
Updated M_AM, auto calc of .cor factors and reduced autolevel for 300Hz
5 years ago
erikkaashoek
05fb4fb8d1
AM modulation repaired
5 years ago
erikkaashoek
ff89e20894
Calc, agc and lna2 commands added
5 years ago
erikkaashoek
00a1715d07
More comment
5 years ago
erikkaashoek
bd409ec577
Merge optimizations and update modulation freq
5 years ago
erikkaashoek
bbe055e995
Merge DiSlord optimizations
5 years ago
erikkaashoek
f45fd2927e
Simplified outputlevel code
5 years ago
erikkaashoek
082e465a2e
Add zero command
5 years ago
erikkaashoek
74017052d5
Merged DiSlord optimizations
5 years ago
erikkaashoek
daf86346c6
Merge DiSlord improvements
5 years ago
erikkaashoek
3a671a71f2
Do not send if USB is not active
5 years ago
erikkaashoek
34f0d5c91a
Optimizations
5 years ago
erikkaashoek
37a844aba4
Small optimizations
5 years ago
erikkaashoek
7fe319f141
remote desktop speed increase
5 years ago
erikkaashoek
e5cd84c9df
Add level_offset switch and repaired sliders
5 years ago
DiSlord
62e7c27bb2
Replace force_set_markmap to redraw_request |= REDRAW_AREA for less screen update
5 years ago
DiSlord
6eff8ca5ee
Update RTC module
5 years ago
erikkaashoek
6d80f658d5
Keypad repaired
5 years ago
DiSlord
c6fc9a5d80
Add define for MARKER_INVALID and TRACE_INVALID
...
Remove obsolete marker search functions
5 years ago
erikkaashoek
a1559e77ac
low output corrected
5 years ago
erikkaashoek
c3e9c8aaf2
TINYSA3 and TINYSA4 merged
5 years ago
erikkaashoek
42fd2b713b
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
232494b66b
Removed some floats
5 years ago
erikkaashoek
a95ec1d8cc
Remote desktop
5 years ago
erikkaashoek
1387496479
Small bugs and space saving
...
Waterfall colors
Attennuation averaging
Removed ham bands
5 years ago
erikkaashoek
add7cb225f
Add low output start burst
5 years ago
erikkaashoek
f7790b7fdc
Sweep DAC on PA4 added
5 years ago
erikkaashoek
84528e8869
Corrected correction table center frequency
5 years ago
erikkaashoek
36d27d4caa
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
5162b521a0
Added high correction table
5 years ago
erikkaashoek
e8d23a7047
Added output leveloffset
5 years ago
erikkaashoek
7c7fd57b16
Add battery status to form and freq_t
5 years ago
erikkaashoek
0e3f97c217
Automatic harmonic mode and some small bugs
5 years ago
erikkaashoek
5ba6bdbe45
Saveconfig working and console command 64 bit frequencies
5 years ago
erikkaashoek
a04d69b011
Converted to 64 bit frequencies
5 years ago
erikkaashoek
defcf7e5cf
Runtime calculate spur table from IF
5 years ago
erikkaashoek
0fdb646c0f
Modulation working
5 years ago
erikkaashoek
c27fd5b7e5
Added frequency correction
5 years ago
erikkaashoek
8f81361bcd
SCANRAW zero level reduced
5 years ago
erikkaashoek
3191fccaad
Remote control working
5 years ago
erikkaashoek
e4587197f5
updated USB command
5 years ago
erikkaashoek
eda12805a1
Repaired marker bug
5 years ago
erikkaashoek
4f9c9aad73
First step of adding harmonic mixing and maxFreq now 4.29GHz
5 years ago
erikkaashoek
2687191e19
Many improvements
5 years ago
erikkaashoek
894a149025
Spur reduce updates and much more
5 years ago
erikkaashoek
b47a95b1bd
First tuning
5 years ago
erikkaashoek
9e2749ede0
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
606ec95b5f
Slider span
5 years ago
erikkaashoek
a964f3d8f3
Help text, size compression and '0' readability
5 years ago
erikkaashoek
8f3a4da50e
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
17697051bc
Solved vbat race condition
5 years ago
erikkaashoek
41994127e8
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
b8c04980a9
Added attack and decay
5 years ago
erikkaashoek
2d2f52d52f
Added ultra and extra_lna
5 years ago
erikkaashoek
fbc6238cbd
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
6f87211a66
Remove __ULTRA_SA__
5 years ago
erikkaashoek
48f9ea33a8
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
4dfbcca1ed
Reduce version specifics
5 years ago
erikkaashoek
5a0154b592
Reduce differences and remove unneeded parts
5 years ago
erikkaashoek
0da4d0a0e6
Lowe output mode working
5 years ago
erikkaashoek
acf2b1f180
Basic High Output mode working
5 years ago
erikkaashoek
ba2fcb197e
Correct merge error
5 years ago
erikkaashoek
c2ce6e10c9
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
063af84d95
Modulation console commands working
5 years ago
erikkaashoek
0e9d3b3f30
Merge branch 'DiSlord_palette_color'
5 years ago
DiSlord
52b4f2bd58
Use "palette" index for draw all on display
...
Colors stored in config
Now possible change any color by 'color' command and store for use
5 years ago
erikkaashoek
312c959bfe
Move pause and resume to bottom of stack
5 years ago
erikkaashoek
168a43a6d1
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
38fd765666
A lot of changes
...
- Store actual frequency in config
- Measure FM deviation
- Center zoom updated to work with dragged marker
- Improved touch calibration markers
5 years ago
erikkaashoek
917366bc1b
Corrected rounding error
5 years ago
erikkaashoek
35e8016926
All working
5 years ago
erikkaashoek
62d83ee44f
Added sample mean calculation
5 years ago
erikkaashoek
fae783f2a9
Working!!!!
5 years ago
erikkaashoek
759c373c65
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
e660f336c0
Add offset command
5 years ago
erikkaashoek
424051821f
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
ae3a69cfbf
Serial integrated
5 years ago
erikkaashoek
e0ab998ffd
Rework FM modulation and UI crash
5 years ago
erikkaashoek
d12f105542
Change marker command to use frequency or index
5 years ago
erikkaashoek
a56056903b
User settable modulation frequency
5 years ago
erikkaashoek
db328ff327
Add menu option to set marker frequency
5 years ago
erikkaashoek
4b711ab151
Add marker peak command and caloutput command
5 years ago
erikkaashoek
bf6accf142
Added Ham band coloring
5 years ago
erikkaashoek
28b6712338
Some code size squeezing
5 years ago
erikkaashoek
fb47362d88
Change scan command and change startup
5 years ago
erikkaashoek
8a4179c684
Correct wrong marker frequencies
5 years ago
erikkaashoek
79a60450c8
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
6351063eb8
Restore load preset at startup
5 years ago
erikkaashoek
6dfe1be073
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
abef8aa051
Added save/recall commands and changed auto reflevel target to -30
5 years ago
erikkaashoek
140a1be1a8
Bugs corrected
...
- Overload warning when normalized
- trace store not working
- save command not working
5 years ago
erikkaashoek
385259b0ad
Merge branch 'master' into tinySA-V4-SI4463
5 years ago
erikkaashoek
0aec13e49e
Make SI4432 optional
5 years ago
erikkaashoek
e2d5f52dc0
First stage SI4463 RSSI working
5 years ago
erikkaashoek
ffba0dadf9
Merge branch 'master' into tinySA-V4
5 years ago
erikkaashoek
9dbce30497
I2C, I2S, si5351 and tlv320aic3204 added
5 years ago
erikkaashoek
9f152c34d4
Button drag added
5 years ago
erikkaashoek
62e5b6ae43
Correct typos and add SI4432 timing debug function
5 years ago
DiSlord
5abf8b900e
Implement share SPI bus
5 years ago
DiSlord
7ff0be62ac
Initial commit for H4 tinySA version
5 years ago
erikkaashoek
38e4fcd143
Repair sweep command to include sweep points
5 years ago
erikkaashoek
33fb5ecca0
v0.3 correction table and correction applied to output level
5 years ago
erikkaashoek
eb85400e0e
Added deviceid command. Use saveconfig to store
6 years ago
DiSlord
5a46a6486f
Run trace command in sweep thread
...
Change grid text format to 7.3
6 years ago
DiSlord
38061a6921
Not allow reset bu user input first 2 init sweep
...
Reset seep time if select < 2.5 ms
6 years ago
DiSlord
ca23486b11
Fix sync timings for 2-3ms interval
6 years ago
erikkaashoek
8b732d675f
Bump version number
6 years ago
erikkaashoek
5c0388ce89
Merge branch 'DiSlord_test_branch'
6 years ago
DiSlord
047a8320d0
Prepare variable sweep points support
...
Need only add fixes to waterfall mode
6 years ago
DiSlord
bae297e356
Prevent multi call set_rbw on frequency prepare
...
Also update settings on frequency change
6 years ago
erikkaashoek
73737e2947
Powercycle seems to create unstability, temp removed
6 years ago
DiSlord
324e543877
use int16_t for fast search trigger and as result of SI4432_RSSI()
6 years ago
DiSlord
62c80c8668
Touch fixes, and optimization
6 years ago
DiSlord
934ab41d8b
More defines for use set FG BG color, direct call function more compact
6 years ago
DiSlord
7213afd3e2
Code cleanup
6 years ago
DiSlord
84ba285694
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
DiSlord
65ec38fae8
remove test code
6 years ago
DiSlord
e7f45066b2
Force screen redraw on ref/scale level change
6 years ago
erikkaashoek
37495e9750
Add UP/DOWN trigger option and optimize constants
6 years ago
DiSlord
0c83dc063d
Some fixes for timings
6 years ago
DiSlord
82265cd447
Add thread information on debug screen
...
Increase main thread stack size, now 0x200
6 years ago
erikkaashoek
e9626c21ff
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
311d0bda42
Massive sweep time redesign
6 years ago
DiSlord
ace88a0b5a
Reduce sweep thread stack size from 900 to 768
6 years ago
DiSlord
cf96ae7d22
Replace hardcoded values on defined constant
6 years ago
DiSlord
7ef621beed
More remove screen redraw req
6 years ago
erikkaashoek
dd289f8ecd
Merge branch 'DiSlord_test_branch'
6 years ago
erikkaashoek
269b09d6a7
Speed improvement experiments
6 years ago
DiSlord
1104964fe9
Merge branch 'master' of https://github.com/erikkaashoek/tinySA into DiSlord_test_branch
6 years ago
erikkaashoek
27eaa8f4b3
Reduce duration of initial sweeps
6 years ago
DiSlord
be8599d664
Set frequencyStop and frequencyStart uint32_t type
6 years ago
erikkaashoek
dc46aa0ccb
Changed to CORRECT FREQUENCY and set min/max frequency
6 years ago
erikkaashoek
58e557f0d5
Send all console data in selected unit except scanraw
6 years ago
DiSlord
fd70371a54
More replace POINTS_COUNT to sweep_points
6 years ago
erikkaashoek
58cea9e6d2
Merge remote-tracking branch 'origin/DiSlord_test_branch'
6 years ago
DiSlord
c06b41953b
Rewrite waterfall code
...
Use integer CELL_Y data
It more fast and compact (allow speedup from 46ms to 34ms for update)
6 years ago
erikkaashoek
79e1c4ebda
selftest from console mode working again
6 years ago
erikkaashoek
4a2c18e98c
Selftest error screens can be captured
6 years ago
erikkaashoek
61cc1dc843
Remote control improvements
6 years ago
erikkaashoek
63e8cee471
Calculate correct CW sweep time when spur is on
6 years ago
erikkaashoek
7d259443ab
Added trigger cmd and level cmd in high output mode
6 years ago
erikkaashoek
3db1738e0b
Change to levelchange and sweeptime cmd added
6 years ago
erikkaashoek
88a9a0a866
Add output and f cmd and repair TIME status mismatch in high mode
6 years ago
erikkaashoek
39f01263ba
Hide one letter commands
6 years ago
erikkaashoek
6ce2439898
Shifted to scanraw to ensure compatibility
6 years ago
erikkaashoek
b17c8afdf2
Updated scan command
6 years ago
erikkaashoek
25a302b917
Updating sweep indicators
6 years ago
erikkaashoek
199c771d68
Refer realy off on reset and ui correction
6 years ago
erikkaashoek
e8ce011f5d
dBc, shift waterfall and do not reset cal output
6 years ago
erikkaashoek
3b61c73a11
Replace LCD size constants
6 years ago
erikkaashoek
879ae21538
zero span auto reflevel and display trigger level after setting
6 years ago
erikkaashoek
76bb2d59dc
UI errors corrected and some code squeeze
6 years ago
erikkaashoek
27313d4ea9
Do auto reflevel calculations scaled to scale
6 years ago
erikkaashoek
8f31d8fafd
Reflevel multiple of scale
6 years ago
erikkaashoek
77f8938edd
Many small ui updates
6 years ago
erikkaashoek
7f0efbfdf9
Scale entry and trace command afapted
6 years ago
erikkaashoek
a8a7209f9c
Output sweep time repaired and output on/off implemented
6 years ago
erikkaashoek
93a3c2f439
grid in Linear mode only 5,1,1 and "load" command added
6 years ago
erikkaashoek
9c0584abd7
Simplified scale/refpos approach
6 years ago
erikkaashoek
7100b9aee0
Level offset and sweep time added
6 years ago
erikkaashoek
5ce6439211
Command levelsweep added
6 years ago
erikkaashoek
979f369724
Added modulation and level commands
6 years ago
erikkaashoek
6a9d0737a7
Marker cmd now shows absolue level as 4th number
6 years ago
erikkaashoek
59b7d2b1ad
Stop auto attenuation with attunate command
6 years ago
erikkaashoek
3493e82d83
Small ui corrections
6 years ago
erikkaashoek
068bfacbcf
correction table added to config
6 years ago
erikkaashoek
c0e152f6c0
Small UI improvements and additional units
6 years ago
erikkaashoek
7a4f789a24
Spur menu and reffer startup
6 years ago
erikkaashoek
29821f98de
New menu working
6 years ago
erikkaashoek
330aa3c6ec
LINEARITY measurement added
6 years ago
erikkaashoek
40d5ceac61
Own_microsecond_delay busy loop
6 years ago
erikkaashoek
7ef36b08de
Powercycle SI4432
6 years ago
erikkaashoek
67d1a38816
Trigger debugged
6 years ago
erikkaashoek
ae63eaf7d2
Add trigger option
6 years ago
erikkaashoek
0827aaa16d
PC control working
6 years ago
erikkaashoek
eef33fa47f
Prepare for PC application
6 years ago
erikkaashoek
6c272d1f75
Small UI changes
6 years ago
erikkaashoek
d7763cec48
Add spur menu and cleanup code
6 years ago
erikkaashoek
2898c02d36
Load/Store of settings added
6 years ago
erikkaashoek
faea96b1c9
cmd selftest
6 years ago
erikkaashoek
6c1c5ea809
V0.2 working for board evaluation
6 years ago
erikkaashoek
955973e57b
Merge branch 'tinySA' into tinySA-v0.2
6 years ago
erikkaashoek
1f7a0357a5
Making ULTRA_SA an option
6 years ago
erikkaashoek
20d9c2bbd6
Harmonic mode implemented
6 years ago
erikkaashoek
aa6c062341
Modify marker menu created adn ADF4351 core added
6 years ago
erikkaashoek
8bffd8ba36
Added harmonic mixer
6 years ago
erikkaashoek
2d430a4f58
Small improvements
6 years ago
erikkaashoek
a7ae6d4197
Serial experiements
6 years ago
erikkaashoek
fddb3310e7
Merge branch 'tinySA' into tinySA-v0.2
6 years ago
erikkaashoek
3aa934bad8
Tracking generator output and cleaning up UI
6 years ago
erikkaashoek
a651ed2d38
Merge branch 'tinySA' into tinySA-v0.2
6 years ago
erikkaashoek
1a2664943f
Many marker and measurement related updates
6 years ago
erikkaashoek
2ff78fa061
Merge branch 'tinySA' into tinySA-v0.2
6 years ago
erikkaashoek
5f3aed5844
Menu structure adapted
6 years ago
erikkaashoek
e986514a18
Merge branch 'tinySA' into tinySA-v0.2
6 years ago
erikkaashoek
6422f9c5ed
spur table updated and default IF corrected
6 years ago
erikkaashoek
993388625e
Improved SI4432 setup and selftest for sample time and attenuator
6 years ago
erikkaashoek
495063f5bf
First experiment with span in output mode
6 years ago
erikkaashoek
060879f459
Merge branch 'tinySA' into tinySA-v0.2
6 years ago
erikkaashoek
7d64766513
Optimize stack usage by shifting test and calibrate to lowest level
6 years ago
erikkaashoek
b7d2d87825
Corrected the attenuator error
6 years ago
erikkaashoek
0a03ff0a2f
Added full marker tracking
6 years ago
erikkaashoek
4683b88d0c
Menu update
6 years ago
erikkaashoek
ae326020e3
Merge branch 'master' into tinySA
6 years ago
erikkaashoek
dea4d02631
Cleanup settings
6 years ago
erikkaashoek
6c74a28458
Code cleaning
6 years ago
erikkaashoek
39da5289b4
Spur avoidance table added
6 years ago
erikkaashoek
b56af01ba2
Cleaning up the high input menu system
6 years ago
erikkaashoek
f2137f4f97
All except waterfall working
6 years ago
erikkaashoek
4353721ec5
First running port
6 years ago
TT
1656342eeb
feat: add bandwidth setting of detector
6 years ago
TT
0d407577f8
style: uniform code style and untabify
6 years ago
DiSlord
597c2c2958
Better solutiom of prev fixes (reload si5351 settings on sweep begin)
6 years ago
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
6 years ago
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)
6 years ago
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)
6 years ago
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
6 years ago
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)
6 years ago
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
6 years ago
DiSlord
8bdb650212
Implement 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)
6 years ago
DiSlord
6f25d0d43f
Remove 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)
Rewrite uint32_t my_atoui(const char *p), now its allow read:
hex 0xaAbBcC1122
dec 12345678
bin 0b00011100
oct 0o12345678
Add some comments
6 years ago
DiSlord
04fb661b1a
Add 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
All freq must get by use get_sweep_frequency(mode)
Revert Select CH0 reflect channel before set freq, add additional delay on 0 sweep point
6 years ago
DiSlord
77b5d0bcc8
Select 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)
6 years ago
TT
6befd57bc1
fix: segv in sample command
6 years ago
DiSlord
45f04420cb
Implement info command, move info_about[] to main.c
...
Command enabled by default: ENABLE_INFO_COMMAND
This feature not increase flash size
6 years ago
DiSlord
fc6e090595
Add vbat_offset to config
...
Implement vbat_offset command (if defined ENABLE_VBAT_OFFSET_COMMAND)
Reduce code size
6 years ago
DiSlord
bb7127fdd0
Remove variable, use speep_mode flag
6 years ago
DiSlord
e896f32803
Replace function wait_dsp(delay) by definition:
...
DSP_START(delay)
//================================================
// Place some code thats need execute while delay
//================================================
DSP_WAIT_READY
Fix Band table description
Add power stabilization delay on sweep start
6 years ago
DiSlord
12d53738bc
Revert 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
6 years ago
DiSlord
a43b6e3acc
si5351.c and si5351.h
...
Cleanup and optimize code
Add comments, fix definitions
Fix rounding errors
Fix band 1 stability
mcuconf.h
Set I2C bus clock to SYSCLK (more fast)
Apply 400kHz bus I2C clock timings for 8MHz and 48Mhz clock
main.c
Remove and reset some variables
Add separate sweep for calibration (allow calibrate if sweep paused)
Increase main thread stack (need for run calibrate, possibly need execute some commands in sweep threads for reduce stack usage)
6 years ago
DiSlord
b77e1d6680
Big work around si5351 generator
...
Improve sweep speed about 60%
Stop generation on pause sweep
Remove all hack for si5351
Reduce code size
Fix integer overflow on big freq values
Additional
Change I2C
Others:
move marker_tracking variable to ui config
move some definition to correct place
reduce tlv320aic3204 code size
Speedup marker move from lever (BUTTON_REPEAT_TICKS = 625)
Need test stability
6 years ago
TT
f1cc60e99e
feat: add lever mode for electrical delay
6 years ago
TT
18c5ca9157
feat: add lever operation of electrical delay
6 years ago
DiSlord
ccb3693516
Huge 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
6 years ago
DiSlord
a164a5765a
Disable HAL_USE_RTC usage (need for cmd_time)
...
Add ENABLE_TIME_COMMAND for enable cmd_time if need
Fix incorrect data on run cmd_scan cmd_data if Tansform enabled on NanoVNA (remove transform_domain() from sweep, add in front of plot_into_index in sweep thread)
Remove pause/run in reload (not need, command run vs CMD_WAIT_MUTEX flag)
6 years ago
DiSlord
0116c529ea
Restore sweep stack size as 640
6 years ago
DiSlord
17734f257d
Disable 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)
Implement stack use check in "threads" command, now free stack space show in table as "stk free" in hex
Check stack usage by sweep, and main threads (seems all ok, but add 64 bytes to sweep)
Replace some const values to defined
6 years ago