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: 数据采集中为什么采出来都是两遍?

Part Number: MMWCAS-RF-EVM

为什么采了120帧的数据,每个主从设备都要存两遍呢?

  • 感谢您对TI产品的关注!
    关于你的咨询,我们正在确认你的问题,稍后回复您。

  • Hi 

    idx 文件存储了数据的header, 可以读取到帧的数量信息和其他的采集相关信息,

    data文件才是存储最终的原始数据。

    详见下列代码。

    Ken

    C:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\MatlabExamples\4chip_cascade_MIMO_example\utils\dataParse

    function [numIdx dataFileSize] = getValidNumFrames(adcIdxFileName)

    idxFile = fopen(adcIdxFileName,'r');
    heaferInfoSize = 6;
    heaferInfo = fread(idxFile, heaferInfoSize,'uint32');
    numIdx = heaferInfo(4); % number of effective frame
    fclose(idxFile);
    idxFile = fopen(adcIdxFileName,'r');
    heaferInfoSize = 3;
    heaferInfo = fread(idxFile, heaferInfoSize,'uint64');
    dataFileSize = heaferInfo(3); % data size for the effective number of frames
    fclose(idxFile);

    end