LiteVNA User Guide
LiteVNA User Guide
LiteVNA User Guide
Table of contents
1.Introduction ............................................................................................................................................. 2
1
1.Introduction
Thank you for your trust and choosing LiteVNA. LiteVNA builds on the widely
acclaimed NanoVNA and SAA2. Now you can get a portable VNA that is as small as
the NanoVNA and capable of ultra-wide range measurements from 50 kHz to 6 GHz.
In order to minimize power consumption and size, LiteVNA uses only one mixer, which
allows S11 and S21 measurements through internal RF switching and can allows TDR
and DTF measurements through IFFT calculations.
The preparation of this manual refers to the NanoVNA User Guide of cho45.
LiteVNA Specifications
2
2.User interface
Main screen
1. START frequency
2. STOP frequency
The START frequency and STOP frequency are shown at the bottom of the display.
You can quickly select a frequency by clicking on the start or end frequency, and
modify the frequency by moving the Jog switch, and click on the frequency again after
selecting it to bring up the on-screen keyboard for quick frequency entry. You can set
the frequency in more detail through the menu Setting the measurement frequency
range.
3. Marker
The marker position for each trace is displayed as a small numbered triangle. The
selected marker can be moved to any of the measured points in the following ways:
• Drag a marker on the touch panel , the corresponding trace will also be
selected.
• Press and hold the JOG LEFT or JOG RIGHT buttons.
3
4. Calibration status
Displays the saved slot number of the calibration being used and the error correction applied.
C0 C1…: Each indicates that the corresponding calibration data is loaded.
5. Reference position
Indicates the reference position of the corresponding trace. You can change the position with:
DISPLAY →SCALE →REFERENCE POSITION.
6. Marker status
Displays the selected marker points and the frequency of the marker points.
7. Trace status
The status of each trace format and the value corresponding to the active marker are
displayed.
For example, if the display is showing: S11 LOGMAG 10dB/ 0.02dB , read it as follows:
Channel S11 (reflection)
Format LOGMAG
Scale is 10dB
Current value is 0.02dB
For the selected trace, the channel name is marked with a triangular shape in front.
8. Battery status
Display the battery voltage, when the icon turns red, please charge as soon as possible,
otherwise the battery may enter the protection state, once the battery enters the protection
state, you need to charge in the power off state to reactivate the battery.
4
Menu screen
5
Keypad screen
6
Device settings
The CONFIG menu contains general settings for the device:
7
Touch panel calibration and testing
The LCD touch panel can be calibrated using CONFIG → TOUCH CAL if there is a large
difference between the actual on-screen tap position and the recognized tap position.
NOTE: Be sure to save the settings with CONFIG → SAVE.
You can then test the LCD touch panel stylus tracking accuracy by selecting CONFIG →
TOUCH TEST.
A line is drawn while dragging the stylus along the touch panel. When released from the touch
panel, it returns to its original state. Repeat & save the touch screen calibration if tracking is
incorrect.
8
3.Performing measurements
The basic measurement sequence is:
1. Set the frequency range to be measured.
Use STIMILUS → START/STOP or STIMILUS →CENTER/SPAN
2. Perform calibration (and save!)
3. Connect the Device Under Test (DUT) and measure.
Note: After modifying the frequency, LiteVNA will calculate the calibration
parameters by interpolation, and we still recommend that you re-perform the
calibration if you need accurate measurements.
Setting the measurement frequency range
9
Zero span
Zero span is a mode in which one frequency is sent continuously without frequency
sweep.
Select and set STIMULUS → CW FREQ.
Note that using a single frequency scan will records the reference signal after the first
scan is completed, and the internal RF switch can maintain a continuous signal output,
which is useful for some situations where a continuous signal output is required.
Calibration
Calibration is required before you can start using it. LiteVNA will calculate the
calibration parameters by interpolation after modifying the measurement frequency, but
if you change from a narrower frequency to a wider frequency, the interpolation
calculation will no longer be accurate. Due to the errors in the interpolation calculation,
it is also recommended that you calibrate first for situations where precise
measurements are required.
The coaxial cable connected to the device under test should be connected to the
LiteVNA port before calibration. Although LiteVNA provides electrical delay
compensation and we provide the best coaxial cable possible, to minimize calibration
errors, we recommend that you calibrate at the end as close to the device under test
as possible.
The calibration procedure is as follows:
1. Reset current calibration state. Select menu item CAL →RESET and then
→CALIBRATE.
2. Connect OPEN standard to port 1 cable and click →OPEN. Wait for the current
calibration step to be completed, and the cursor will automatically move to the
next step.
3. Connect SHORT standard to port 1 cable and click →SHORT. Wait for the
current calibration step to be completed, and the cursor will automatically move
to the next step.
4. Connect LOAD standard to port 1 cable and click →LOAD. Wait for the current
calibration step to be completed, and the cursor will automatically move to the
next step.
5. Connect the THRU standard between the port 1 and port 2 cable ends, and
click
10
→THRU. Wait for the current calibration step to be completed, and the cursor
will automatically move to the next step.
6. Click →DONE.
7. In the pop-up save menu inside choose the location you need to save, save 0
will be automatically called back in the next boot.
Trace display
11
Trace format
Although each trace can have its own displayed format, you can only change the
format of the active trace.
To assign a format, set the trace to active (see above) then select: DISPLAY
→FORMAT The description and unit of measurement of each format is as
follows:
• LOGMAG : Logarithm of absolute value of measured value (dB per div)
• PHASE : Phase in the range of -180 ° to + 180 ° (90 degree default)
• DELAY : Delay (pico or nano seconds)
• SMITH : Smith Chart (Impedance scale is normalized during calibration)
• SWR : Standing Wave Ratio
• POLAR : Polar coordinate format (Impedance scale is normalized during
calibration)
• LINEAR : Absolute value of the measured value
• REAL : Real part of measured S parameter
• IMAG : Imaginary part of measured S parameter
• RESISTANCE : Resistance component of the measured impedance (ohms
per div)
REACTANCE : Reactance component of the measured impedance (ohms
• per div)
Trace channel
LiteVNA is a switch-switched T/R VNA that measures S11 (reflection, return loss) and
S21 (transmission, insertion loss).
Each trace can be set the measurement channel by clicking on the menu Display →
Channel.
12
Markers
13
Time domain operation
The LiteVNA can simulate time domain reflectometry by transforming frequency
domain data.
Select DISPLAY →TRANSOFRM →TRANSFORM ON to convert measured data to
the time domain.
If TRANSFORM ON is enabled, the measurement data is immediately converted to
the time domain and displayed. The relationship between the time domain and the
frequency domain is as follows.
• Increasing the maximum frequency increases the time resolution
• The shorter the measurement frequency interval (ie, the lower the maximum
frequency), the longer the maximum time length
For this reason, the maximum time length and time resolution are in a trade-off
relationship. In other words, the time length is the distance.
• If you want to increase the maximum measurement distance, you need to lower
the frequency spacing (frequency span / sweep points).
• If you want to measure the distance accurately, you need to increase the
frequency span.
HINT – Use a lower frequency to measure a longer length and a higher frequency to
measure a shorter length and adjust accordingly for accurate results.
14
Time domain low pass impulse
In low-pass mode, you can simulate TDR. In low-pass mode, the start frequency must
be set to 50 kHz, and the stop frequency must be set according to the distance to be
measured.
The trace format can be set to REAL.
Examples of Impulse response in open state and impulse response in short state are
shown below.
Open Short
15
Time domain low pass step
The trace format can be set to REAL.
Example measurements of Step response are shown below.
Open Short
16
Capacitive discontinuity (C in parallel) Inductive discontinuity (L in series)
17
• Frequency range setting
• Error correction at each measurement point
• Trace settings
• Marker settings
• Domain mode settings
• Electrical delay
You can save the current settings by selecting CAL → SAVE → SAVE n.
Current calibration data can be reset by selecting CAL → RESET.
CAL → CORRECTION indicates whether error correction is currently enabled. You
can deselect this to temporarily disable error correction.
18
4.NanoVNA-APP Software
The current version of LiteVNA uses the same communication protocol as SAA2 to
ensure good compatibility with NanoVNA-APP.
User interface
1. COM port
Select the COM port to connect LiteVNA. When the connection status shows Connected,
it means LiteVNA is connected, click Connected to disconnect, click Disconnected to
reconnect. The serial port baud rate does not work when connecting via USB port.
3. Scanning control
Click to stop scanning, click single scan, click for continuous scanning, click to
automatically record S2P files after each scan is completed.
19
4. Trace setting
In addition to displaying real-time scanned traces, you can also display multiple stored
traces and right-click the corresponding button to import the SNP file you need to
display.
5. Save image
Click to save the current window or the current trace display window, or to copy the trace
window to the clipboard.
6. Export Data
Click to export the data in SNP or CSV format.
8. Status Bar
Shows some settings and working status.
9. Trace format
Show the current trace format, click to select the trace format.
20
12. Update firmware
LiteVNA determines whether it needs to enter update mode through the communication
protocol, the button does not work when LiteVNA is connected. If you need to update
the firmware of LiteVNA, you need to press and hold the rocker switch of LiteVNA, then
turn on the power, LiteVNA will enter the update mode, the screen will remain black,
then connect through NanoVNA-APP, the update firmware prompt will pop up, click
"Yes" to enter the firmware update interface.
21
5.Appendix– USB data interface
To ensure compatibility with current PC software, LiteVNA uses the same data
communication protocol as SAA2, appears as a USB CDC (Communications Device
Class) virtual serial port both during normal operation and in DFU mode. PC software
can issue commands and request data by sending and receiving data on the virtual
serial port. Communications protocol is identical in the two cases, with only register
layouts differing.
Protocol description
Only the host may initiate commands by sending one or more bytes on the virtual
serial port. Each command may have a different length. There is no separator
delimiting each command. The device may not send data to the host except for
replies to a host-to-device command.
The following table lists all supported commands and their byte encodings, and is
applicable both during normal operation and in DFU mode.
22
Host to device command list
All byte values in the table are in hexadecimal. B0 to B5 denote bytes 0 to 5. B0 is the opcode.
B0 B1 B2 B3 B4 B5 Name Description
00 - - - - - NOP No operation
Register descriptions
The following table lists all registers accessible during normal operation.
All addresses are in hexadecimal.
Multi-byte integer registers are encoded in Little Endian. Lowest numbered registers contain
the least significant portions of the integer.
23
Address Name Description
00..07 sweepStartHz Sets the sweep start frequency in Hz. uint64.
24
08..0b rev0Re Real part of channel 0 incoming wave. int32
0c..0f rev0Im Imaginary part of channel 0 incoming wave. int32
25
f1 protocolVersion Version of this wire protocol. Always 0x01.
f2 hardwareRevision Hardware revision. Always 0x00 in DFU mode.
f3 firmwareMajor Firmware major version. Always 0xff in DFU mode.
f4 firmwareMinor Firmware minor version (of the bootloader).
Writing to flash
The procedure to write a new firmware image to flash are as follows.
1. Connect the device to the PC over USB and put the device into DFU mode.
2. Open the virtual serial port in raw mode (platform specific).
3. Write the address you wish to start flashing from to flashWriteStart.
4. Use the WRITEFIFO command to send up to 255 bytes at a time to flashFIFO.
Each WRITEFIFO command can be followed with a INDICATE command, which will
reply with ‘2’ only after the flash operation is complete.
There is no flow control on the virtual serial port and you must limit the amount of
outstanding writes to no more than 2048 bytes.
5. (Optional) Write 0x5e to doReboot to soft reset the device.
26