Output Modes
Contents
1 How to change Protocol Type
The Easy r4 FMCW firmware has 3 different protocol types named; Standard (WebGUI), TSV (Tab Separated Values), and Binary. How to select between them is explained below. The Protocol can be changed from the System Configuration command, bit number 19-20. You can either calculate the respective commands send transmit over a terminal program or you can use WebGUI to configure the SiRad evaluation kit. For detailed information please see the protocol description [1].
1.1 Protocol Types
1.1.1 WebGUI Protocol
It is the default protocol of SiRad Easy r4 FMCW firmware. In order to use WebGUI, the Standard protocol should be selected by assigning 00 to the Protocol section in the System Configuration command.
1.1.2 TSV Protocol
In TSV protocol, the data format is in decimal and separated with Tab, therefore it eases the evaluation of the data frames. In order to activate, 01 should be assigned to the Protocol section in the System Configuration command.
1.1.3 Binary Protocol
In Binary protocol, the length of transmitted data is fewer therefore transmission time is shorter. In order to activate, 10 should be assigned to the Protocol section in the System Configuration command.
1.2 Protocol Change Methods
1.2.1 Using WebGUI
- Reset or power cycle the kit,
- Open the Com2WebSocket tool, select the correct baud rate depending on the flashed firmware version (default is 230400 baud), the correct COM port assigned to the kit by the OS, *and connect to the kit,
- Open the WebGUI software and connect to the WebSocket provided by the Com2WebSocket tool,
- (Optional) Set any desired radar, processing or target recognition parameters,
- Change to the “Output Data” tab,
- Chose the output or protocol type with the “Protocol Type” slider,
- Select the desired output data checkboxes.
From that moment on, the system transmits the selected data frames and can be disconnected from the WebGUI software and the Com2WebSocket tool if needed.
1.2.2 Using Terminal
Change from WebGUI Protocol to TSV Protocol
- Find your desired bit settings in the “System Configuration” command
- Set the “Protocol” bits in the “System Configuration” command to “00” for WebGUI/HexString output mode or to “01” for TSV output mode,
- Send the command to the system.
- The displayed data should change to the desired output mode.
Change to SiRad GUI Protocol
- Find your desired bit settings in the “System Configuration” command
- Set the “Protocol” bits in the “System Configuration” command to “10” (SiRad GUI / BIN protocol) ,
- Send the command to the system.
The communication should change to the SiRad GUI protocol with binary output mode.
2 How to choose Output Frame
You can choose which data you want from the SiRad Easy r4 Evaluation kit such as Raw ADC, Magnitude/Range, and Target List. Below there are some examples listed.
2.1 Raw ADC
To acquire raw ADC data from the kit you need to follow the steps below:
System Configuration Command:
- set 1 to RAW bit
After that you need to de-select processing-related parameters, otherwise, you will receive ADC data with selected processing applied. Secondly, the value range of the raw ADC data for 1 ramp is 12 bits (0 to 4096), the number of ramps should be less than 16 to eliminate saturation.
Baseband Configuration Command:
- set 0 to WIN bit
- set 0 to FIR bit
- set 0 to DC bit
- Adjust Number of ramps
WebGUI does not support ADC data demonstration!
Example Configuration:
| Product | Configuration Description | Script |
|
SiRad Easy® r4 |
Self Trigger, trigger delay 0, Gain 4, RAW 1, CPL, C, R, P, TL 0, ERR and ST 1, Protocol TSV |
{!S11052C12} |
|
SiRad Easy® |
For firmware 1.3.xx |
{!S01113A0A} |
|
SiRad Easy® |
For firmware 1.3.xx |
{!S01113A02} |
|
SiRad Easy® |
For firmware 1.4.xx |
{!S01432012} |
|
SiRad Easy® |
For firmware 1.4.xx |
{!S01452012} |
|
SiRad Simple® |
For firmware 1.4.xx |
{!S01031012} |
|
SiRad Simple® |
For firmware 1.4.xx |
{!S01051012} |
2.2 Target List
To acquire only Target List from the kit you need to follow the steps below:
System Configuration Command:
- set 1 to TL(Target list) bit
- set 0 to RAW, CPL, P, R, and C
Example Configuration:
| Product | Configuration Description | Script |
|
SiRad Easy® r4 |
Target List, ST and ERR 1,AGC ON, unit mm, protocol WebGUI |
{!S11022E02} |
|
SiRad Easy® |
Target List 1, Range, Phase, RAW, CPL, ST and ERR 0, LOG 0, protocol WebGUI, SER2 1, SER1 0, AGC ON, trigger delay 0 |
{!S01012202} |
|
SiRad Easy® |
Target List 1, Range, Phase, RAW, CPL, ST and ERR 0, LOG 0, protocol TSV, SER2 1, SER1 0, AGC ON, trigger delay 0 |
{!S01032202} |
|
SiRad Easy® |
Target List 1, Range, Phase, RAW, CPL, ST and ERR 0, LOG 0, protocol Binary, SER2 1, SER1 0, AGC ON, trigger delay 0 |
{!S01052202} |
|
SiRad Simple® |
Target List 1, Range, Phase, RAW, CPL, ST and ERR 0, LOG 0, protocol WebGUI, SER2 0, SER1 1, AGC ON, trigger delay 0 |
{!S01011202} |
|
SiRad Simple® |
Target List 1, Range, Phase, RAW, CPL, ST and ERR 0, LOG 0, protocol TSV, SER2 0, SER1 1, AGC ON, trigger delay 0 |
{!S01031202} |
|
SiRad Simple® |
Target List 1, Range, Phase, RAW, CPL, ST and ERR 0, LOG 0, protocol Binary, SER2 0, SER1 1, AGC ON, trigger delay 0 |
{!S01051202} |
2.3 Complex FFT
You can acquire Complex FFT results from SiRad evaluation kits in different protocol.
System Configuration Command:
- Set the “CPL” bit in the “System Configuration” command,
- Send the command to the device. The displayed data should change to Complex FFT data output.
Example Configuration:
| Product | Configuration Description | Script |
|
SiRad Easy® r4 |
DC Cancellation ON, Windowing ON, Number of Ramps 1, Number of Samples 512, FFT Size 512, Error and Status Frame ON, Protocol TSV |
{!S19062C22} |
|
SiRad Easy® r4 |
DC Cancellation ON, Windowing ON, Number of Ramps 1, Number of Samples 512, FFT Size 512, Error and Status Frame ON, Protocol TSV |
{!S190A2C22} |
|
SiRad Easy® |
SER2 1, AGC ON, Format Linear, DC Cancellation ON, Windowing ON, Number of Ramps 1, Number of Samples 512, FFT Size 512, Error and Status Frame ON, Protocol TSV |
{!S09032C22} |
|
SiRad Easy® |
SER2 1, AGC ON, Format Linear, DC Cancellation ON, Windowing ON, Number of Ramps 1, Number of Samples 512, FFT Size 512, Error and Status Frame ON, Protocol Binary |
{!S09052C22} |
|
SiRad Simple® |
SER1 1, AGC ON, Format Linear, DC Cancellation ON, Windowing ON, Number of Ramps 1, Number of Samples 512, FFT Size 512, Error and Status Frame ON, Protocol TSV |
{!S09031C22} |
|
SiRad Simple® |
SER1 1, AGC ON, Format Linear, DC Cancellation ON, Windowing ON, Number of Ramps 1, Number of Samples 512, FFT Size 512, Error and Status Frame ON, Protocol Binary |
{!S09051C22} |
2.4 Phase Data
You can acquire phase frame by enabling Phase Frame in System Configuration command. The scaling factors of phase frame are 110 for Webgui protocol and 10000 for binary and TSV protocol. Therefore for better phase resolution we suggest switching to TSV/Binary protocol.
System Configuration Command:
- set 1 to P (Phase) bit
Example Configuration:
| Product | Configuration Description | Script |
|
SiRad Easy® r4 |
Self Trigger, LED ON, SER2 1, AGC ON, Format Log, Phase, Error and Status Frame ON, Protocol TSV |
{!S11062C42} |
|
SiRad Easy® r4 |
Self Trigger, LED ON, SER2 1, AGC ON, Format Log, Phase, Error and Status Frame ON, Protocol Binary |
{!S110A2C42} |
|
SiRad Easy® |
Self Trigger, LED ON, SER2 1, AGC ON, Format Log, Phase, Error and Status Frame ON, Protocol TSV |
{!S01032C42} |
|
SiRad Easy® |
Self Trigger, LED ON, SER2 1, AGC ON, Format Log, Phase, Error and Status Frame ON, Protocol Binary |
{!S01052C42} |
|
SiRad Simple® |
Self Trigger, LED ON, SER1 1, AGC ON, Format Log, Phase, Error and Status Frame ON, Protocol TSV |
{!S01031C42} |
|
SiRad Simple® |
Self Trigger, LED ON, SER1 1, AGC ON, Format Log, Phase, Error and Status Frame ON, Protocol Binary |
{!S01051C42} |