nanovna-v2 / NanoVNA2-firmware

Firmware for NanoVNA V2
https://nanorfe.com/nanovna-v2.html
215 stars 85 forks source link

Cw mode fix #48

Closed wutje closed 3 years ago

wutje commented 3 years ago

This PR fixes CW mode by making sure the RF output mux is not switched during measurements. This is done by adding a "measurement mode":

The signal generators are no longer updated if the frequency is equal to the last supplied, this to prevent short drops during the PLL update.

The "CW mode" is selected automatically when selecting CW Freq or a zero span.

The 3 modes are available as manual options as well. The selected mode is saved with the calibration. Note that no matter what option you select it will only take effect AFTER the initial two ECAL runs are done, this to ensure ECAL is available if later on it is selected.

wutje commented 3 years ago

Forgot to mention that this fixes #3