Hi,
I try to get 256 complex adc samples per azimuth virtual antenna without Blackman window. I do all processing on computer. I have static scene in my lab.
I use modified mmw demo code from mmwave_sdk_01_02_00_05.
data_path.c
I commented lines from 530 to 567.
There are calls of MmwDemo_genWindow for Blackman and Hanning windows for range and Doppler FFT.
config_hwa_util.c
HWAutil_configRangeFFT
159: hwaParamCfg[paramsetIdx].accelModeArgs.fftMode.fftEn = 0;
163: hwaParamCfg[paramsetIdx].accelModeArgs.fftMode.windowEn = 0;
main.c
I use modified MmwDemo_transmitProcessedOutput to send first 8192 bytes from gMmwMCB.dataPathObj.radarCube to loggingUartHandle.
It works. But I get error in sensor_mgmt.c when try to get more than 229 ADC samples per channel.
MmwDemo_doSensorStart
497: if (MMWave_config (gMmwMCB.ctrlHandle, &gMmwMCB.cfg.ctrlCfg, &errCode) < 0)
506: System_printf ("Error: mmWave Config failed [Error code: %d Subsystem: %d]\n",
507: mmWaveErrorCode, subsysErrorCode);
mmWaveErrorCode = -3108
subsysErrorCode = 41
I unable to find meaning of error codes.
I use profile_2d.cfg
I tried to set
profileCfg 0 77 7 7 58 0 0 34 1 256 4500 0 0 30
then
profileCfg 0 77 7 7 58 0 0 30 1 256 4500 0 0 30
I tried to set
frameCfg 0 1 16 0 100 1 0
then
frameCfg 0 1 8 0 100 1 0
and then
frameCfg 0 1 4 0 100 1 0
It doesn’t help.
How to fix errors and make the code work?
Regards,
Gennadii