
I try port most code from H/H4 (not finish, but... it work)
Changes:
- rewritten control code si53351 (ported from H, almost unchanged, only work on harmonics is cut out)
- accelerated work on the i2c bus with si53351 (it is software, but the decrease in delays made it possible to speed up the work of the si5351)
- accelerated work on the SPI bus with ADF (it is software, but the decrease in latencies made it possible to speed up the work with the ADF4350)
- new measurement timings are installed
All this made it possible to understand the measurement speed by a factor of 2 (and for SI up to 140 MHz by more than 4 times), you can further increase the speed by choosing AVGx1 (by default 2x), this will still increase the speed, but at the cost of a slight deterioration in quality at high frequencies
For V2 / V2Plus frequency step up to 140MHz - 1Hz, above 140MHz - 625Hz
For V2Plus4 up to 140MHz, it seems like 10Hz, above 10k (it seems like this code is hidden, I can't say for sure)
Now for the rendering and interface
- ported the code for drawing the screen from H, this gave in some cases more than twice the screen refresh rate (especially when there are many long lines), not to be confused with the measurement speed
- added track | Z |
- the FPU module is used for calculations
- removed unnecessary buffers and so on, this allowed the free memory to be used to increase the number of points to 301
- the UI system has been redesigned, which made it possible to move the markers with the rocker, change the type of graph, size, and anchor point on H when paused.
- The Time Domain code has been rewritten, it is 2 times faster (and taking into account FPU, about 10 times)
- full support for NanoVNA-App for control from it
- add 6 markers support
- add grid text (DISPLAY->SCALE/DIV )
This is from the main one, which I don't remember yet, I ported almost everything from H, the main thing was that I wanted to speed up the work and remove the annoying impossibility of working with a rocker to set markers during a pause (well, and change the track)
The main thing I work with is V2Plus, so on a regular V2 I could miss something.
Once again about the timings, the new AVGx2 mode is analogous to the old AVGx1 in quality (the new AVGx1 mode speeds up, but at the expense of a small loss of quality)
ATTENTION the firmware is compiled with FPU enabled, so if you have FPU version on the screen - no, they will not work (later i compile some fw vs disabled FPU support)