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: sensorStart Error-1

Part Number: IWR6843ISK
Other Parts Discussed in Thread: IWR6843

Tool/software:

Hello,

I am using the IWR6843 ISK sensor and I am having trouble starting it. Below is the log file from the configuration port generated by my Python script. I don't understand what the error code -1 means or how to resolve the issue. I also tried using PuTTY to start the sensor, and after sending the full configurations,and receiving a 'Done' response, with sensorStart command returned an error code of -1.

Regards

COM is open
In/out queue size 4096/4096
Set timeouts: ReadInterval=0, ReadTotalTimeoutMultiplier=0, ReadTotalTimeoutConstant=2000, WriteTotalTimeoutMultiplier=0, WriteTotalTimeoutConstant=0
Baud rate 115200
RTS on
DTR on
Data bits=8, Stop bits=1, Parity=None
Set chars: Eof=0x00, Error=0x00, Break=0x00, Event=0x00, Xon=0x11, Xoff=0x13
Handflow: ControlHandShake=(DTR_CONTROL), FlowReplace=(TRANSMIT_TOGGLE, RTS_CONTROL), XonLimit=0, XoffLimit=0
Purge the serial port: RXABORT, RXCLEAR, TXABORT, TXCLEAR
Purge the serial port: RXABORT, RXCLEAR
Purge the serial port: TXABORT, TXCLEAR
<20240611134159.955 TX>
sensorStop<LF>
<20240611134159.956 RX>
sensorStop<LF>Ignored: Sensor is already stopped<LF> [len=56]
Done<LF>
<20240611134207.784 TX>
sensorStop<LF>
<20240611134207.795 RX>
 [len=5]
mmwDemo:/>sensorStop<LF>Ignored: Sensor is already stopped<LF> [len=56]
Done<LF>
<20240611134207.797 TX>
flushCfg<LF>
<20240611134207.807 RX>
 [len=5]
mmwDemo:/>flushCfg<LF>Done<LF>
<20240611134207.808 TX>
dfeDataOutputMode 1<LF>
<20240611134207.818 RX>
 [len=24]
mmwDemo:/>dfeDataOutputMode 1<LF>Done<LF>
<20240611134207.819 TX>
channelCfg 15 7 0<LF>
<20240611134207.830 RX>
 [len=35]
mmwDemo:/>channelCfg 15 7 0<LF>Done<LF>
<20240611134207.831 TX>
adcCfg 2 1<LF>
<20240611134207.841 RX>
 [len=33]
mmwDemo:/>adcCfg 2 1<LF>Done<LF>
<20240611134207.842 TX>
adcbufCfg -1 0 1 1 1<LF>
<20240611134207.853 RX>
 [len=26]
mmwDemo:/>adcbufCfg -1 0 1 1 1<LF>Done<LF>
<20240611134207.854 TX>
profileCfg 0 60 250 4.87 39.52 0 0 100 1 256 7529 3 1 158<LF>
<20240611134207.865 RX>
 [len=36]
mmwDemo:/>profileCfg 0 60 250 4.87 39.52 0 0 100 1 256 7529 3 1 158<LF>Done<LF>
<20240611134207.867 TX>
chirpCfg 0 0 0 0 0 0 0 1<LF>
<20240611134207.877 RX>
 [len=73]
mmwDemo:/>chirpCfg 0 0 0 0 0 0 0 1<LF>Done<LF>
<20240611134207.878 TX>
chirpCfg 1 1 0 0 0 0 0 4<LF>
<20240611134207.888 RX>
 [len=40]
mmwDemo:/>chirpCfg 1 1 0 0 0 0 0 4<LF>Done<LF>
<20240611134207.889 TX>
chirpCfg 2 2 0 0 0 0 0 2<LF>
<20240611134207.899 RX>
 [len=40]
mmwDemo:/>chirpCfg 2 2 0 0 0 0 0 2<LF>Done<LF>
<20240611134207.900 TX>
frameCfg 0 2 32 0 25 1 0<LF>
<20240611134207.911 RX>
 [len=40]
mmwDemo:/>frameCfg 0 2 32 0 25 1 0<LF>Done<LF>
<20240611134207.912 TX>
lowPower 0 0<LF>
<20240611134207.923 RX>
 [len=40]
mmwDemo:/>lowPower 0 0<LF>Done<LF>
<20240611134207.924 TX>
guiMonitor -1 0 0 0 0 0 1<LF>
<20240611134207.935 RX>
 [len=28]
mmwDemo:/>guiMonitor -1 0 0 0 0 0 1<LF>Done<LF>
<20240611134207.936 TX>
cfarCfg -1 0 2 8 4 3 0 15 1<LF>
<20240611134207.947 RX>
 [len=41]
mmwDemo:/>cfarCfg -1 0 2 8 4 3 0 15 1<LF>Done<LF>
<20240611134207.948 TX>
cfarCfg -1 1 0 8 4 4 1 15 1<LF>
<20240611134207.958 RX>
 [len=43]
mmwDemo:/>cfarCfg -1 1 0 8 4 4 1 15 1<LF>Done<LF>
<20240611134207.959 TX>
multiObjBeamForming -1 1 0.5<LF>
<20240611134207.970 RX>
 [len=43]
mmwDemo:/>multiObjBeamForming -1 1 0.5<LF>Done<LF>
<20240611134207.971 TX>
clutterRemoval -1 0<LF>
<20240611134207.981 RX>
 [len=44]
mmwDemo:/>clutterRemoval -1 0<LF>Done<LF>
<20240611134207.982 TX>
calibDcRangeSig -1 0 -5 8 256<LF>
<20240611134207.992 RX>
 [len=35]
mmwDemo:/>calibDcRangeSig -1 0 -5 8 256<LF>Done<LF>
<20240611134207.993 TX>
extendedMaxVelocity -1 0<LF>
<20240611134208.003 RX>
 [len=45]
mmwDemo:/>extendedMaxVelocity -1 0<LF>Done<LF>
<20240611134208.004 TX>
bpmCfg -1 0 0 1<LF>
<20240611134208.015 RX>
 [len=40]
mmwDemo:/>bpmCfg -1 0 0 1<LF>Done<LF>
<20240611134208.016 TX>
lvdsStreamCfg -1 1 1 1<LF>
<20240611134208.026 RX>
 [len=31]
mmwDemo:/>lvdsStreamCfg -1 1 1 1<LF>Done<LF>
<20240611134208.027 TX>
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<LF>
<20240611134208.038 RX>
 [len=38]
mmwDemo:/>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<LF>Done<LF>
<20240611134208.041 TX>
measureRangeBiasAndRxChanPhase 0 1.5 0.2<LF>
<20240611134208.052 RX>
 [len=95]
mmwDemo:/>measureRangeBiasAndRxChanPhase 0 1.5 0.2<LF>Done<LF>
<20240611134208.054 TX>
CQRxSatMonitor 0 3 4 51 0<LF>
<20240611134208.065 RX>
 [len=56]
mmwDemo:/>CQRxSatMonitor 0 3 4 51 0<LF>Done<LF>
<20240611134208.066 TX>
CQSigImgMonitor 0 63 4<LF>
<20240611134208.077 RX>
 [len=41]
mmwDemo:/>CQSigImgMonitor 0 63 4<LF>Done<LF>
<20240611134208.078 TX>
analogMonitor 0 0<LF>
<20240611134208.089 RX>
 [len=38]
mmwDemo:/>analogMonitor 0 0<LF>Done<LF>
<20240611134208.090 TX>
aoaFovCfg -1 -45 45 -45 45<LF>
<20240611134208.101 RX>
 [len=33]
mmwDemo:/>aoaFovCfg -1 -45 45 -45 45<LF>Done<LF>
<20240611134208.102 TX>
cfarFovCfg -1 0 0 9.03<LF>
<20240611134208.113 RX>
 [len=42]
mmwDemo:/>cfarFovCfg -1 0 0 9.03<LF>Done<LF>
<20240611134208.114 TX>
cfarFovCfg -1 1 -2.4 2.40<LF>
<20240611134208.125 RX>
 [len=38]
mmwDemo:/>cfarFovCfg -1 1 -2.4 2.40<LF>Done<LF>
<20240611134208.126 TX>
calibData 0 0 0<LF>
<20240611134208.137 RX>
 [len=41]
mmwDemo:/>calibData 0 0 0<LF>Done<LF>
<20240611134209.139 TX>
sensorStart<LF>
<20240611134209.150 RX>
 [len=31]
mmwDemo:/>sensorStart<LF>Error -1<LF>
<20240611134216.756 TX>
sensorStop<LF>
<20240611134216.766 RX>
 [len=31]
mmwDemo:/>sensorStop<LF>Ignored: Sensor is already stopped<LF> [len=56]
Done<LF>
<20240611134216.769 TX>
flushCfg<LF>
<20240611134216.779 RX>
 [len=5]
mmwDemo:/>flushCfg<LF>Done<LF>
<20240611134216.780 SYS>
Set timeouts: ReadInterval=0, ReadTotalTimeoutMultiplier=0, ReadTotalTimeoutConstant=2000, WriteTotalTimeoutMultiplier=0, WriteTotalTimeoutConstant=0
COM is closed

  • Hello, 

    Are you running one of the examples or some custom software? If custom, can you also let me know what version of the SDK the code is built with? can you please also share the .cfg file version of the configuration? 

    Best regards,

    Josh

  • Hello,

    Product Release 3.6 LTS Release Date: June 13, 2022

    sdk version '03.03.00.01'

    1072.profile.cfg.

    % ***************************************************************
    % Created for SDK ver:03.05
    % Created using Visualizer ver:3.5.0.0
    % Frequency:60
    % Platform:xWR68xx
    % Scene Classifier:best_vel_res
    % Azimuth Resolution(deg):15 + Elevation
    % Range Resolution(m):0.088
    % Maximum unambiguous Range(m):9.01
    % Maximum Radial Velocity(m/s):2.56
    % Radial velocity resolution(m/s):0.08
    % Frame Duration(msec):66.667
    % RF calibration data:None
    % 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
    %configDataPort 3125000 0
    dfeDataOutputMode 1
    channelCfg 15 7 0
    adcCfg 2 1
    adcbufCfg -1 0 1 1 1
    profileCfg 0 60 114 4.87 39.52 0 0 100 1 256 7529 3 1 158
    chirpCfg 0 0 0 0 0 0 0 1
    chirpCfg 1 1 0 0 0 0 0 4
    chirpCfg 2 2 0 0 0 0 0 2
    frameCfg 0 2 32 0 25 1 0
    lowPower 0 0
    guiMonitor -1 0 0 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
    bpmCfg -1 0 0 1
    lvdsStreamCfg -1 1 1 1
    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 4 51 0
    CQSigImgMonitor 0 63 4
    analogMonitor 0 0
    aoaFovCfg -1 -45 45 -45 45
    cfarFovCfg -1 0 0 9.03
    cfarFovCfg -1 1 -2.4 2.40
    calibData 0 0 0
    sensorStart
    

  • Hello, 

    Thank you for sharing the configuration. You listed two different SDK versions. Which one is it? Do you also get the same error if you use one of the default .cfg files from the SDK ({SDK_INSTALL}\packages\ti\demo\xwr68xx\mmw\profiles)?

    Regards,

    Josh

  • Hi,

    sorry for my previous mistake.

    these are the information i got when I connect to the config port

    port info: COM3 -> {'Platform': 'xWR68xx', 'mmWave SDK Version': '03.05.00.04', 'Device Info': 'IWR68XX QM non-secure ES 02.00', 'RF F/W Version': '06.03.02.06.20.08.11', 'RF F/W Patch': '00.00.00.00.00.00.00', 'mmWaveLink Version': '01.02.06.06', 'Lot number': '4325209', 'Wafer number': '6', 'Die coordinates in wafer': 'X = 15, Y = 32'}

    and I am using this profile epiwatch_3x.cfg

    Regards,

    Helen

    % ***************************************************************
    % Created for SDK ver:03.05
    % Created using Visualizer ver:3.5.0.0
    % Frequency:60
    % Platform:xWR68xx
    % Scene Classifier:best_vel_res
    % Azimuth Resolution(deg):15 + Elevation
    % Range Resolution(m):0.088
    % Maximum unambiguous Range(m):9.01
    % Maximum Radial Velocity(m/s):2.56
    % Radial velocity resolution(m/s):0.08
    % Frame Duration(msec):66.667
    % RF calibration data:None
    % 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
    %configDataPort 3125000 0
    dfeDataOutputMode 1
    channelCfg 15 7 0
    adcCfg 2 1
    adcbufCfg -1 0 1 1 1
    profileCfg 0 60 250 4.87 39.52 0 0 100 1 256 7529 3 1 158
    chirpCfg 0 0 0 0 0 0 0 1
    chirpCfg 1 1 0 0 0 0 0 4
    chirpCfg 2 2 0 0 0 0 0 2
    frameCfg 0 2 32 0 25 1 0
    lowPower 0 0
    guiMonitor -1 0 0 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
    bpmCfg -1 0 0 1
    lvdsStreamCfg -1 1 1 1
    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 4 51 0
    CQSigImgMonitor 0 63 4
    analogMonitor 0 0
    aoaFovCfg -1 -45 45 -45 45
    cfarFovCfg -1 0 0 9.03
    cfarFovCfg -1 1 -2.4 2.40
    calibData 0 0 0
    sensorStart
    

  • Hello, 

    It's no problem. Thank you for the information. Please give me a day or two to look into this. You may ping this thread if I do not get back to you by then. Thanks for your patience. 

    Best Regards,

    Josh

  • Hi Helen, 

    My sincere apologies for the delay. I was able to reproduce the issue you are seeing. When debugging the demo in CCS, it gives the error code -3110.

     

    This equates to mmwave link frame configuration error. 

     (mmwave.h)

    The issue is that the framePeriodicity is too small. With the frame period set to 25ms (frameCfg 0 2 32 0 25 1 0) it is actually smaller than the active chirping time which is calulated as ( (idleTime + rampEndTime) * numTxAntennna ) * numChirpLoops. In the configuration you shared the active chirping time comes out to ~27.8 ms (>25 ms frame time). The frame period should account for the full active chirping time + some additional time for further processing and transmission of output data. 

    Best Regards,

    Josh

  • Hi Josh,

    I am really thankfull.increasing the frame period resolved my issue

    Greetings

  • Helen, 

    I'm glad to hear your issue is resolved. I will close this thread now. Please create a new post for any additional questions. 

    Best Regards,

    Josh