Output Modes

From indie Semiconductor Wiki
Jump to navigation Jump to search

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].

Standard 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.

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.

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.

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!

Change the data format from WebGUI:

  • Open the Com2WebSocket tool, select the correct baud rate and COM port for your firmware, and connect to the system
  • Open the WebGUI and connect to the WebSocket provided by the Com2WebSocket tool
  • (Optional) Set any desired RF, processing, and target recognition parameters
  • Change to the “Output Data” tab
  • Chose the 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 it can be disconnected from the WebGUI and the Com2WebSocket tool if needed.

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
ADC clk div 2, Number of samples 512, Number of ramps 1, DC Cancel OFF, WIN OFF, FIR OFF
Base frequency 119500 MHz
Bandwidth 5 GHz

{!S11052C12}
{!B0452C022}
{!F00074B30}
{!P000009C4}

SiRad Easy®

For firmware 1.3.xx
DC cancelled and unwindowed ADC
ADC clock divider 5, samples 512, number of ramps 16 , down sampling 0

{!S01113A0A}
{!BB0344025}

SiRad Easy®

For firmware 1.3.xx
non DC cancelled and unwindowed RAW ADC
ADC clock divider 5, samples 512, number of ramps 16 , down sampling 0

{!S01113A02}
{!BB0344025}

SiRad Easy®

For firmware 1.4.xx
DC Cancellation OFF, Windowing OFF, Number of Ramps 1, Number of Samples 512, Protocol TSV

{!S01432012}
{!B0452C025}

SiRad Easy®

For firmware 1.4.xx
DC Cancellation OFF, Windowing OFF, Number of Ramps 1, Number of Samples 512, Protocol Binary

{!S01452012}
{!B0452C025}

SiRad Simple®

For firmware 1.4.xx
SER1 1, AGC ON, RAW 1, DC Cancellation OFF, Windowing OFF, Number of Ramps 1, Number of Samples 512, Protocol TSV

{!S01031012}
{!B0452C025}

SiRad Simple®

For firmware 1.4.xx
SER1 1, AGC ON, RAW 1, DC Cancellation OFF, Windowing OFF, Number of Ramps 1, Number of Samples 512, Protocol Binary

{!S01051012}
{!B0452C025}

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.

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}
{!BA452C022}

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}
{!BA452C022}

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}
{!BA452C025}

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}
{!BA452C025}

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}
{!BA452C025}

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}
{!BA452C025}

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}