This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DCA1000EVM: Best way to directly talk to the board to collect raw ADC data?

Part Number: DCA1000EVM
Other Parts Discussed in Thread: IWR6843AOPEVM, , MMWAVEICBOOST, IWR6843

Tool/software:

Dear,

My goal is to talk directly to the DCA1000EVM board. This board is connected to the IWR6843AOPEVM + MMWAVEICBOOST boards. I can correctly collect ADC data and do post processing for this data. My goal is now to implement real time data collection script in python etc. 

My question is what the best way is to talk directly to the board and configure the settings of the board on the fly without using mmwave studio?
I am currently doing it like this but there must be a better way:

I run a script to start mmwave studio and a lua script with it:

Fullscreen
1
cmd /C "mmWaveStudio.exe /lua C:\Users\dagma\Documents\mmWave_script_IWR6843\auto_lua\src\auto_communication.lua"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

This is how i run this:

Fullscreen
1
2
3
4
5
def start_mmwave_studio(self):
subprocess.Popen(self.config['paths']['cmd_path'], cwd=self.config['paths']['studio_runtime_path'])
self.write_to_file("Starting mmWave Studio...")
time.sleep(110)
self.write_to_file("mmWave Studio should be ready now.")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


This is my lua script:
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-------- CONSTANTS ----------------------------------------
COM_PORT=6
BAUDRATE= 115200
RADARSS_BIN_PATH = "C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\radarss\\xwr68xx_radarss.bin"
MASTERSS_BIN_PATH = "C:\\ti\\mmwave_studio_02_01_01_00\\rf_eval_firmware\\masterss\\xwr68xx_masterss.bin"
-----------------------------------------------------------
-------- RADAR SETTINGS -----------------------------------
-- General
NUM_TX = 2
NUM_RX = 4
-- ProfileConfig
START_FREQ = 60 -- GHz
IDLE_TIME = 100 -- us
RAMP_END_TIME = 60 -- us
ADC_START_TIME = 6 --us
FREQ_SLOPE = 29,982 -- MHz/us
ADC_SAMPLES = 256 -- ADC Samples originally 256
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


But there surely must be a better to run these lua commands to the board and talk directly to it. Somebody who has tips or experience?

I was also wondering if there is a good documentation source for the RADAR API with all the different commands we can send to the radar.

If more information is needed, please let me know! 

Thanks in advance.

Best regards,
Dag