I am using the AWR1642BOOST EVM in conjunction with the DCA1000 EVM to capture complex raw data. I am using the MATLAB script from page 16 in the user guide "mmWave Radar Device ADC Raw Data Capture", and when I read the acquired data into MATLAB, I find that the fileSize is an odd number that does not match the total number of samples considering the number of ADC samples, chirps and frames. This problem first appears in Line 37 for the code "LVDS = zeros(1, fileSize/2)." Why am I reading an odd fileSize?
Even when removing a very small portion of data to maintain an even number of data points at the beginning of the array, the code still crashes when creating the LVDS matrix in the for loop towards the end.
I have also noticed that when extracting the raw data from the binary file that the first 7 numbers (1, 0, 1456, 0, 0, 0, 0) in the adcData variable are consistent whenever I capture data for any number of frames, chirp loops, etc.
Is there a specific reason as to why I am obtaining too many numbers in the initial adcData array in MATLAB. Just a reminder, this is right after I initially open the binary file and read the information.
I am using mmWave Studio v2.0.0.2. The only values I change are the number of frames in the sensorConfig tab; the rest are default values.