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.

AWR2944EVM: Init Calibration Status = 0xffe Error

Part Number: AWR2944EVM
Other Parts Discussed in Thread: AWR2944,

I am using AWR2944 EVM and SDK 4.4 along with the cloud agent. I have modified the default profile with my custom changes. When I issue the "sensorStart" command, I am getting an Init Calibration Status = 0xffe Error.

Can you please let me know what I am doing wrong the profile. I am attaching the log here.

----

mmwDemo:/>sensorStop
Ignored: Sensor is already stopped
Done

mmwDemo:/>flushCfg
Done

mmwDemo:/>dfeDataOutputMode 1
Done

mmwDemo:/>channelCfg 15 15 0
Done

mmwDemo:/>adcCfg 2 0
Done

mmwDemo:/>adcbufCfg -1 1 1 1 1
Done

mmwDemo:/>lowPower 0 0
Done

mmwDemo:/>%(See Figure 17 for description of parameters listed here.)
Skipped
mmwDemo:/>profileCfg 0 77 2 1 12 0 0 10 1 300 37500 2 2 30
Done

mmwDemo:/>profileCfg 1 77.1 2 2 12 0 0 -10 1 300 37500 2 2 30
Done

mmwDemo:/>chirpCfg 0 0 0 0 0 0 0 8
Done

mmwDemo:/>chirpCfg 1 1 1 0 0 0 0 8
Done

mmwDemo:/>chirpCfg 2 2 0 0 0 0 0 4
Done

mmwDemo:/>chirpCfg 3 3 1 0 0 0 0 4
Done

mmwDemo:/>chirpCfg 4 4 0 0 0 0 0 2
Done

mmwDemo:/>chirpCfg 5 5 1 0 0 0 0 2
Done

mmwDemo:/>chirpCfg 6 6 0 0 0 0 0 1
Done

mmwDemo:/>chirpCfg 7 7 1 0 0 0 0 1
Done

mmwDemo:/>chirpCfg 8 8 0 0 0 0 0 8
Done

mmwDemo:/>chirpCfg 9 9 1 0 0 0 0 8
Done

mmwDemo:/>chirpCfg 10 10 0 0 0 0 0 4
Done

mmwDemo:/>chirpCfg 11 11 1 0 0 0 0 4
Done

mmwDemo:/>chirpCfg 12 12 0 0 0 0 0 2
Done

mmwDemo:/>chirpCfg 13 13 1 0 0 0 0 2
Done

mmwDemo:/>chirpCfg 14 14 0 0 0 0 0 1
Done

mmwDemo:/>chirpCfg 15 15 1 0 0 0 0 1
Done

mmwDemo:/>%advChirpCfg 2 0 8 0 -20 0 -20 0 0 0 0 0 0 0 0 0 0 [NOT USED ONLY LISTED FOR DOCUMENTATION]
Skipped
mmwDemo:/>frameCfg 0 15 128 0 300 50 1 0
Done

mmwDemo:/>%advFrameCfg 4 0 1 2 [For illustration only – Not used in MD77]
Skipped
mmwDemo:/>%subFrameCfg 0 0 0 2 32 50 0 1 1 50 [For illustration only – Not used in MD77]
Skipped
mmwDemo:/>%[Used only during debug on TI EVM]
Skipped
mmwDemo:/>guiMonitor -1 1 1 0 1 1 1
Done

mmwDemo:/>cfarCfg -1 0 2 8 4 3 0 15 1
Done

mmwDemo:/>cfarCfg -1 1 0 4 2 3 1 15 1
Done

mmwDemo:/>multiObjBeamForming -1 0 0.5
Done

mmwDemo:/>calibDcRangeSig -1 0 -5 8 256
Done

mmwDemo:/>clutterRemoval -1 0
Done

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 1 0 1 0 1 0 1 0
Done

mmwDemo:/>measureRangeBiasAndRxChanPhase 0 1.5 0.2
Done

mmwDemo:/>aoaFovCfg -1 -75 75 -15 15
Done

mmwDemo:/>cfarFovCfg -1 0 0.4 200
Done

mmwDemo:/>cfarFovCfg -1 1 -55.55 55.55
Done

mmwDemo:/>extendedMaxVelocity -1 0
Done

mmwDemo:/>calibData 0 0 0
Done

mmwDemo:/>%spreadSpectrumConfig 1 1 0.25 1 0 0 0 0 0 0 0 0 [For illustration only]
Skipped
mmwDemo:/>sensorStart
Debug: Init Calibration Status = 0xffe
Error -1

----

Platform details:

OS: Windows 11

Browser: Chrome

SDK Ver: 4.4

Demo Visualizer version: 4.4

---

Regards

Ganesan

  • Due to local holidays we will be able to get back to you second half of the week

    thank you

    Cesar

  • Hi,

    If the user selected invalid parameters in the user generated configuration file or the sliders in the CONFIGURE tab generate an invalid configuration, then the mmWave sensor device reports back an error of -1.

    I can see the idle time being selected as 2 us but for AWR2944 minimum value should be 2.5 us.

    The configuration file you are using can contain more faults like this. Please refer to the SDK user guide and visualizer user guide to input all correct allowed values. 

    Thanks,

    Pradipta.

  • Hi Pradipta:

    Thanks for your reply. Can you please point me to the document/URL which lists the minimum/maximum parameters limit such as minimum idle time for AWR2944? Is there any interactive tool which I can use to choose the chirp and profile configs for the application we have.

    Regards

    Ganesan

  • Hi,

    Please use the ICD for information on all the API's to radar front end communication. It can be found in the below path form the SDK folder.

    ti\mmwave_mcuplus_sdk_04_04_01_02\mmwave_dfp_02_04_09_01\docs

    Also, you can use the mmWave Studio for RF control and data evaluation and also the ramp time generator tab in the Studio can be used to tune your profile parameters. 

    MMWAVE-STUDIO IDE, configuration, compiler or debugger | TI.com

    Thanks,

    Pradipta.

  • Hi:

    Thank you for sending the information about ICD. It looks like mmWaveStudio needs additional DAV data capture card for proper experimenting with the frames and chirps config. I also found one App Report "SWRA553A" useful, which talks about the various capabilities with respect to chirp configuration. Also, Chapter 11 on ICD gives specific limits on xWR294x devices. This is exactly I was looking for. Thanks for your inputs.

    I will modify my profile config file according to this and try on the AWR2944EVM. I request to keep this ticket open for another few days, till I check the modified config file on the hardware.

    Best regards

    Ganesan

  • Hi:

    I modified one of the example profile config files for TDM mode. Unfortunately, the default demo code does not accept the configuration. I am getting an exception "mmwDemo:/>sensorStart <LF> Exception: ./mss/mmw_cli.c, line 301."

    I am enclosing the modified config file. Can you please help me in correcting the same?

    I am trying a advFrameConfig with 3 sub-frames each with different Slopes and chirp numbers as listed in the Table below.

    These sets of 3 subframes are repeated every 50 msec.

    Adv. Frame Chirp No. Ramp BW (MHz) Ramp Slope (MHz/usec) ADC window time (usec) over head time (usec) Total Chirp Duration (usec) Chirp Duty Cycle (%) Max IF (MHz)
    SubFrame #1 of 3 1-255 360 45 8.00 6 14 57.14286 15.00
    SubFrame #2 of 3 1-510 180 22.5 8.00 6 14 57.14286 15.00
    SubFrame #3 of 3 1-1023 90 4.5 20.00 6 26 76.92308 6.00

    %==> Config file starts here <==

    % ***************************************************************
    % Created for SDK ver:04.01
    % Created using Visualizer ver:4.1.0.0
    % Frequency:77
    % Platform:AWR294X
    % CFG Type: 2 Azim Tx
    % ***************************************************************
    % Features - Up ramp (3 antennas, 1,3 & 4 shuffling) and 20 Hz frame rate
    %     Date - 17-Aug-2023
    %   Author - Ganesan T, based on phase0_new cfg file
    % **********************************************************************
    %Profile command
    sensorStop
    flushCfg
    dfeDataOutputMode 3
    %         RxAntMask  TxAntMask    IsCascade?
    channelCfg 15        13           0
    %         NumADCBits  OutFormat   
    adcCfg 2 0
    % <subFrameIdx=-1>, <adcOutputFmt=1>, <SampleSwap=1>, <ChanInterleave=1>, <ChirpThreshold=1>
    adcbufCfg -1 1 1 1 1
    lowPower 0 0
    %                        T      T        T                    T      T
    %          ID , FREQ, [IDLE, ADCSTART,RAMPEND,TXPWR,TXPHSFT,SLOPE,TXSTART] ADCSMP, DIGSMP,HRFFREQ1/2,RXGAINE
    profileCfg  0    77       3      1      12     -8     0       45     1      300    37500   2  2        30
    profileCfg  1    77       3      1      12      0     0       22.5   1      300    37500   2  2        30
    profileCfg  2    77       3      1      24      0     0       4.5    1      750    37500   2  2        30
    %
    %          CSidx , CEidx , PROF-ID, Fvar, Svar ITvar, adcSVar...     TXmASK
    %SUB-FRAME0 [SR-SF0]
    chirpCfg   0        1        0      0     0 0 0                          8
    chirpCfg   1        1        0      0     0 0 0                          4
    chirpCfg   2        2        0      0     0 0 0                          1
    %SUB-FRAME1 [MR-SF1]                                         
    chirpCfg   3        3        1      0     0 0 0                          8
    chirpCfg   4        4        1      0     0 0 0                          4
    chirpCfg   5        5        1      0     0 0 0                          1
    %SUB-FRAME2 [LR-SF2]                                         
    chirpCfg   6        6        2      0     0 0 0                          8
    chirpCfg   7        7        2      0     0 0 0                          4
    chirpCfg   8        8        2      0     0 0 0                          1

    %           NSF  .  . TRIG . NSF-FOR-SEQCFG
    %<numSubFrames=0>, <forceProfile=0>, <numFrames=0>, <triggerSelect=1>, <frameTrigDelay_msec=0>,<numSubFramesForSeqCfg=4>
    advFrameCfg   3    0                 0               1                 0                       3                        
    %<subFrameNum=0>, <forceProfileIndex=0>, <chirpStartIndex=0>, <numOfChirps=2>, <numLoops=32>, <burstPeriodicity_msec=50>, <chirpStartIndexOffset=0>,<numOfBurst=1>, <numOfBurstLoops=1>, <subFramePeriodicity_msec=50>
    %           SFN, fPROF-ID, CSIdx  #Chirps, numLoops, burstPERD, CSoffset, numBurst, numBLoops  SFPeriod
    %subFrameCfg  0   0         0      3        85        50         0         1         1          50            
    %subFrameCfg  1   0         3      3        170       50         0         1         1          50
    %subFrameCfg  2   0         6      3        341       50         0         1         1          50
    subFrameCfg  0   0         0      3        85        2.4         0         1         1          50            
    subFrameCfg  1   0         3      3        170       4.8         0         1         1          50
    subFrameCfg  2   0         6      3        341       17.7         0         1         1          50

    %lowPower 0 0
    guiMonitor -1 1 1 0 0 0 1

    cfarCfg  0 0 2 8 4 3 0 15 1
    cfarCfg  0 1 0 4 2 3 1 15 1
    cfarCfg -1 0 2 8 4 3 0 15 1
    cfarCfg -1 1 0 4 2 3 1 15 1

    multiObjBeamForming -1 0 0.5
    calibDcRangeSig     -1 0 -5 8 256
    aoaFovCfg           -1 -90 90 -90 90
    cfarFovCfg          -1 1 -1  1.00
    cfarFovCfg          -1 0  0  22.88

    clutterRemoval -1 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 1 0 1 0 1 0 1 0
    measureRangeBiasAndRxChanPhase 0 1.5 0.2
    extendedMaxVelocity -1 0
    calibData 0 0 0
    spreadSpectrumConfig 1 1 0.25 1 0 0 0 0 0 0 0 0
    sensorStart

    %==> Config file ends here <==

  • Hi Ganesan,

    The edited and working config has been shared with you.

    Thanks,

    Pradipta.