Other Parts Discussed in Thread: IWRL6432AOPEVM
Tool/software:
I am currently preparing for R&D of sensors and doing various experiments with IWRL6432BOOST/IWRL6432AOPEVM boards and have reached the Range DPU test. This is the test ..\MMWAVE_L_SDK_05_05_03_00\examples\datapath\rangeproc\xwrL64xx-evm\m4fss0-0_freertos
While studying the test, I encountered a discrepancy between the size of the data file and the data specified in the header of this file. When loading the radar ADC source/configuration as "..\BinData\major_motion\adc_data_0001_CtestAdc6Ant.bin" with a size of 5898256 bytes, I see the following data in the header (first 4 int32_t values):
numTxAntennas = 2
numRangeBins = 64
numChirpsPerFrame = 64
numFrames 60
Running the test and inspecting rangeproc_test_main.c in the debugger shows that a single frame of radar data is read from the file as a sequence of fragments of 384 samples of 3 receive antennas for all 64 chirps.
For the case of numRxAntennas = 3, which is hardcoded in the test, we have 60*64*3*128=1,474,560 samples, or 2,949,120 bytes. However, the file is 5,898,256 bytes in size. The header is 4*4=16 bytes, the rest is the data block: 5,898,256 - 16 = 5,898,240 bytes, which is twice as much.
It looks like either numChirpsPerFrame should be 128, or the numFrames should be 120. I am not considering the option that the calculation should take into account the number of transmitting antennas that double the number of samples in the frame, because I am analyzing the code.
Please clarify where I am wrong?
Thank you.