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.

MMWCAS-RF-EVM: How to Obtain Absolute Timestamps for the MMWCAS-RF-EVM Cascade Board

Part Number: MMWCAS-RF-EVM
Other Parts Discussed in Thread: MMWCAS-DSP-EVM

Tool/software:

Hi Engineer,

I referred to the method mentioned in the following link to parse the idx.bin file and obtained the timestamps. However, these timestamps seem to be calculated from the radar's power-up start time and are not absolute timestamps.

    MMWCAS-DSP-EVM: mmWave Studio捕获数据的时间戳问题 - 传感器论坛 - 传感器 - E2ETm 设计支持

    

Here is my code:

clc;clear;close all;
adcIdxFileName = 'Data_Path\slave3_0000_idx.bin';
idxFile =fopen(adcIdxFileName, 'r');
indexInfo = fread(idxFile, 'uint64');
timeStampFrame = indexInfo(8:6:end); % data size for the effective number of frames
fclose(idxFile);
epoch = datetime(1970,1,1,0,0,0);
timeInSeconds = double(timeStampFrame) / 1e6;
stdTimeStamp = epoch + seconds(timeInSeconds);
stdTimeStamp.Format = 'yyyy-MM-dd-HH-mm-ss-SSS';
stdTimeStampStr = string(stdTimeStamp);
disp(stdTimeStampStr);    

Using this code, I obtained the following timestamps:

    

Currently, I need to retrieve the absolute timestamp corresponding to each frame. Is there any method to achieve this?

This issue was also mentioned in the last part of the link above, but it seems the staff did not reply.

Best regards!