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