Output Modes Easy r4

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: SiRad Easy® r4

  • Self Trigger, trigger delay 0, gain settings 4, Raw bit set, CPL, C, R, P, TL set 0, ERR and ST set 1, TSV protocol: !S11052C12
  • ADC clk div set 2, Number of samples set to 512, number of ramps 1, DC off, WIN off, FIR off: !B0452C022
  • Base frequency 119500 MHz: !F00074B30
  • Bandwidth 5 GHz: !P000009C4

SiRad Easy®

SiRad Simple®

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:

*TL, ST and ERR to 1,AGC on, unit mm, Standard protocol: !S11022E02