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.

IWR6843ISK: IWR6843: Problems with openSensor and Out-of-Box HWA demo with mmWave-SDK 3.4.0.3

Part Number: IWR6843ISK
Other Parts Discussed in Thread: IWR6843

Hi,

I have a problem with running the out of box HWA demo on the IWR6843-ISK module.

I'm using the following configuration (from mmWaveDemoVisualizer 3.4.0, note that the HWA demo needs the platform to be set to xWR64xx which is kind of strange):

% ***************************************************************
% Created for SDK ver:03.04
% Created using Visualizer ver:3.4.0.0
% Frequency:60
% Platform:xWR64xx
% Scene Classifier:best_range_res
% Azimuth Resolution(deg):15
% Range Resolution(m):0.044
% Maximum unambiguous Range(m):3.95
% Maximum Radial Velocity(m/s):2.07
% Radial velocity resolution(m/s):0.13
% Frame Duration(msec):100
% Range Detection Threshold (dB):15
% Doppler Detection Threshold (dB):15
% Range Peak Grouping:enabled
% Doppler Peak Grouping:enabled
% Static clutter removal:disabled
% Angle of Arrival FoV: Full FoV
% Range FoV: Full FoV
% Doppler FoV: Full FoV
% ***************************************************************
sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 5 0
adcCfg 2 1
adcbufCfg -1 0 1 1 1
profileCfg 0 60 244 7 57.14 0 0 70 1 112 2279 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 4
frameCfg 0 1 32 0 100 1 0
lowPower 0 0
guiMonitor -1 1 1 0 0 0 1
cfarCfg -1 0 2 8 4 3 0 15 1
cfarCfg -1 1 0 8 4 4 1 15 1
multiObjBeamForming -1 1 0.5
clutterRemoval -1 0
calibDcRangeSig -1 0 -5 8 256
extendedMaxVelocity -1 0
lvdsStreamCfg -1 0 0 0
compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
measureRangeBiasAndRxChanPhase 0 1.5 0.2
CQRxSatMonitor 0 3 5 121 0
CQSigImgMonitor 0 55 4
analogMonitor 0 0
aoaFovCfg -1 -90 90 -90 90
cfarFovCfg -1 0 0 3.90
cfarFovCfg -1 1 -2.07 2.07
sensorStart

After sending the config to the mmw-device using the visualizer I get the following error:

Error: mmWave Open failed [Error code: -3119 Subsystem: 119]

The error code means:

/**
* @brief Error Code: mmWave link BSS calibration configuration failed
*/
#define MMWAVE_ECALCFG (MMWAVE_ERRNO_BASE-19)
rlRfSetCalMonFreqLimitConfig(), returns 119

Further debugging reveals that the problem arises when the rlRfSetCalMonFreqLimitConfig function in mmwave_link.c is called:

int32_t MMWave_openLink()

...

    freqLimit.freqLimitLow  = ptrMMWaveMCB->openCfg.freqLimitLow;
    freqLimit.freqLimitHigh = ptrMMWaveMCB->openCfg.freqLimitHigh;
    retVal = rlRfSetCalMonFreqLimitConfig(RL_DEVICE_MAP_INTERNAL_BSS, &freqLimit);

In SDK 3.3 the frequency limits were both set to zero in main.c and in the new SDK they are set to 600 and 640 respectivley in the OOB-demo.

Setting the limits to zero as a workaround does not help, the same error still arises.

Can you please advise me how to solve the issue?