Tool/software:
Hi Sir
We followed the sample code and would like to enable continuous streaming mode(single tone).
The radar current increases, but the frequency is not shown on the spectrum analyzer.
static int32_t CLI_MMWaveStartContMode(int32_t argc, char* argv[]) { int32_t retVal; const rlContModeCfg_t contModeCfg = { .startFreqConst = 1435384036, .txOutPowerBackoffCode = 0, .txPhaseShifter = 0, .digOutSampleRate = 10000, .hpfCornerFreq1 = 0, .hpfCornerFreq2 = 0, .rxGain = 36, .vcoSelect = 0x0, .reserved0 = 0x0 }; const rlContModeEn_t contModeEn = { .contModeEn = 1, .reserved = 0 }; /* Set continue mode configuration */ retVal = rlSetContModeConfig(RL_DEVICE_MAP_INTERNAL_BSS, (rlContModeCfg_t*)&contModeCfg); retVal = rlEnableContMode(RL_DEVICE_MAP_INTERNAL_BSS, (rlContModeEn_t*)&contModeEn); return 0; } char* radarCmdString[MAX_RADAR_CMD] = { "sensorStop \n\r", "flushCfg \n\r", "dfeDataOutputMode 2 \n\r", "channelCfg 15 1 0 \n\r", "adcCfg 2 0 \n\r", "adcbufCfg -1 1 1 1 1 \n\r", "lowPower 0 0 \n\r", "StartContMode", "sensorStart \n\r", };
ADCBuf_Params_init(&ADCBufparams); ADCBufparams.chirpThresholdPing = 1; ADCBufparams.chirpThresholdPong = 1; ADCBufparams.continousMode = 1;//change to 1