Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

AWR6843ISK: Infinite loop in Mcu_sysAPLLStatus()

Part Number: AWR6843ISK
Other Parts Discussed in Thread: MMWAVEICBOOST, , UNIFLASH, IWR6843

Hello,

I have some problems getting the MMWAVEICBOOST + AWR6843ISK running.

Hardware setup:

  1. Place jumper P4 (SOP2) + P6(SOP0) -> or flashing mode
  2. Connect USB XDS110
  3. Press Sw2 NRST
  4. S1 Switch mux config:  

            –       -- 

Software setup:

  1. Install the SDK from TI and locate the correct META_IMAGE: for AWR6843ISK

https://software-dl.ti.com/ra-processors/esd/MMWAVE-SDK/latest/index_FDS.html

                   

2. Chose the correct COM port (COM6)

               

 

 

3. Install Uniflash:

              https://www.ti.com/tool/download/UNIFLASH?keyMatch=UNIFLASH%20DOWNLOAD&tisearch=Search-EN-everything

4. Configure the Com port: COM6 and Device: mmWave – IWR6843 

5. Load the META_IMAGE

             

After that we removed the P4 (SOP2) ( SOP0 connected -> for functional mode), press NRST again and connect to the JTAG to load our application created using the MCAL mcal_01.04.01.00_GA

  • We observe the same behavior regarding the Mcu_init() topic (SPARE0 reg )  
      •  
      •       
  • During Mcu_Init the application gets stuck in a while loop in Mcu_sysAPLLStatus().
    This is because toprcmREG->SPARE0(0xFFFFE1EC) has the value 0x0 and this value never changes.
    When is this value supposed to be changed? 

    Attached you find a screenshot with the register values.

 

 

 

  • Hi,

    If you are debugging your image through CCS, please flash CCS debug binary from below location instead of MMW demo binary:

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\utils\ccsdebug\xwr68xx_ccsdebug.bin

    Thanks

    Yogesh

  • hello,

    I'm not debugging with CCS, I'm using Lauterbach debugger.

    I also try with xwr68xx_ccsdebug.bin and I have the same behavior.

    Thanks,

    Florin

  • Did you verify if you are able to load and run OOB demo?

    Thanks

    Yogesh

  • Hello,

    Yes, I was able to flash and run the out_of_box_demo:

    mmwDemo:/>% ***************************************************************
    Skipped
    
    mmwDemo:/>% Created for SDK ver:03.05
    Skipped
    
    mmwDemo:/>% Created using Visualizer ver:3.5.0.0
    Skipped
    
    mmwDemo:/>% Frequency:60
    Skipped
    
    mmwDemo:/>% Platform:xWR68xx
    Skipped
    
    mmwDemo:/>% Scene Classifier:best_range_res
    Skipped
    
    mmwDemo:/>% Azimuth Resolution(deg):15
    Skipped
    
    mmwDemo:/>% Range Resolution(m):0.044
    Skipped
    
    mmwDemo:/>% Maximum unambiguous Range(m):9.02
    Skipped
    
    mmwDemo:/>% Maximum Radial Velocity(m/s):1
    Skipped
    
    mmwDemo:/>% Radial velocity resolution(m/s):0.13
    Skipped
    
    mmwDemo:/>% Frame Duration(msec):100
    Skipped
    
    mmwDemo:/>% RF calibration data:None
    Skipped
    
    mmwDemo:/>% Range Detection Threshold (dB):15
    Skipped
    
    mmwDemo:/>% Doppler Detection Threshold (dB):15
    Skipped
    
    mmwDemo:/>% Range Peak Grouping:enabled
    Skipped
    
    mmwDemo:/>% Doppler Peak Grouping:enabled
    Skipped
    
    mmwDemo:/>% Static clutter removal:disabled
    Skipped
    
    mmwDemo:/>% Angle of Arrival FoV: Full FoV
    Skipped
    
    mmwDemo:/>% Range FoV: Full FoV
    Skipped
    
    mmwDemo:/>% Doppler FoV: Full FoV
    Skipped
    
    mmwDemo:/>% ***************************************************************
    Skipped
    
    mmwDemo:/>sensorStop
    Ignored: Sensor is already stopped
    
    Done
    
    mmwDemo:/>flushCfg
    Done
    
    mmwDemo:/>dfeDataOutputMode 1
    Done
    
    mmwDemo:/>channelCfg 15 5 0
    Done
    
    mmwDemo:/>adcCfg 2 1
    Done
    
    mmwDemo:/>adcbufCfg -1 0 1 1 1
    Done
    
    mmwDemo:/>profileCfg 0 60 567 7 57.14 0 0 70 1 256 5209 0 0 158
    Done
    
    mmwDemo:/>chirpCfg 0 0 0 0 0 0 0 1
    Done
    
    mmwDemo:/>chirpCfg 1 1 0 0 0 0 0 4
    Done
    
    mmwDemo:/>frameCfg 0 1 16 0 100 1 0
    Done
    
    mmwDemo:/>lowPower 0 0
    Done
    
    mmwDemo:/>guiMonitor -1 1 1 0 0 0 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 1 0.5
    Done
    
    mmwDemo:/>clutterRemoval -1 0
    Done
    
    mmwDemo:/>calibDcRangeSig -1 0 -5 8 256
    Done
    
    mmwDemo:/>extendedMaxVelocity -1 0
    Done
    
    mmwDemo:/>bpmCfg -1 0 0 1
    Done
    
    mmwDemo:/>lvdsStreamCfg -1 0 0 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
    Done
    
    mmwDemo:/>measureRangeBiasAndRxChanPhase 0 1.5 0.2
    Done
    
    mmwDemo:/>CQRxSatMonitor 0 3 5 121 0
    Done
    
    mmwDemo:/>CQSigImgMonitor 0 127 4
    Done
    
    mmwDemo:/>analogMonitor 0 0
    Done
    
    mmwDemo:/>aoaFovCfg -1 -90 90 -90 90
    Done
    
    mmwDemo:/>cfarFovCfg -1 0 0 8.92
    Done
    
    mmwDemo:/>cfarFovCfg -1 1 -1 1.00
    Done
    
    mmwDemo:/>calibData 0 0 0
    Done
    
    mmwDemo:/>sensorStart
    Debug: Init Calibration Status = 0x1ffe
    
    Done

    Thanks,

    Florin

  • Florin,

    Seems there is xwr6xxx_radarss_rprc.bin version mismatch b'n SDK 3.5 and MCAL 1.4.1. MCAL 1.4.1 was tested with SDK 3.4 CCSdebug binaries. 

    I will look into it and come back next week.

    Thanks

    Yogesh

  • Hi Florin,

    We have identified potential issue with Mcu_sysBSSDeassertResetUngateClock() sequence. We are reviewing the same and will come back tomorrow with the fix.

    Thanks

    Yogesh

  • Hi Florin,

    Since this is being discussed off-line, I will be closing this thread.

    Thanks

    Yogesh