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.

AWR2243: AWR2243 cascade

Part Number: AWR2243

Hi,

Customer self-made AW2243 4-piece cascade antenna board matches TI's TDA2x Demo board for debugging. When running the MIMO script, it shows that it has been connected, but the RF initialization fails.

Their Cascade board is different from TI's cascade EVM antenna. Is the RF initialization failure caused by the difference in the antenna? is there any other reason?

GM: Constructor
GM: Tue Mar 22 15:42:00 2022
RSTD.Transmit("/Settings")
[15:42:00]
[15:42:00] ### Running Startup script: "C:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\Scripts\Startup.lua" ###
[15:42:00] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[15:42:00] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[15:42:00] Scripter ignored: Attempt to UnBuild() again or before Build.
[15:42:00] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_03_00_00_14\\mmWaveStudio\\Clients\\\\LabClient.dll")
[15:42:00] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[15:42:00] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[15:42:00] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[15:42:00] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[15:42:00] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[15:42:00] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_03_00_00_14\\mmWaveStudio\\RunTime\\SAL.dll")
[15:42:00] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[15:42:00] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[15:42:00] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[15:42:00] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[15:42:00] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[15:42:00] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[15:42:00] RSTD.Transmit("/")
[15:42:00] RSTD.SaveSettings(): Settings saved to "C:\Users\zhuruijie\AppData\Roaming\RSTD\config.xml"
[15:42:00] RSTD.Build()
[15:42:00] RSTD.SaveSettings(): Settings saved to "C:\Users\zhuruijie\AppData\Roaming\RSTD\config.xml"
[15:42:00] RSTD.Transmit("/")
[15:42:00] RSTD.AL_Build()
[15:42:00] RSTD.AL_LoadXml()
[15:42:00] RSTD.Transmit("/")
[15:42:00] RSTD.AL_Init()
[15:42:00] RSTD.Clients_Build()
[15:42:00] GM: Init
[15:42:00] GM: Loaded 'C:\ti\mmwave_studio_03_00_00_14\mmWaveStudio\Clients\\LabClient.dll'
[15:42:00] GM: 1 Guest (s) init
[15:42:00] GM: 1 Module(s) init
[15:42:00] GM: 2 Tab (s) init
[15:42:00] RSTD.Client_LoadXml()
[15:42:01] [RadarAPI]: ar1.selectRadarMode(0)
[15:42:01] [RadarAPI]: Status: Passed
[15:42:01] Matlab Runtime Engine is installed
[15:42:01] [RadarAPI]: Starting Matlab Engine..
[15:42:05] [RadarAPI]: Matlab Engine Started!
[15:42:06] [RadarAPI]: ar1.selectCascadeMode(0)
[15:42:06] [RadarAPI]: Status: Passed
[15:42:06] [RadarAPI]: ar1.LoadSettings('C:\Users\zhuruijie\AppData\Roaming\RSTD\ar1gui.ini')
[15:42:06] TESTING = false
[15:42:06] RstdNet: Port 2777: Listening..
[15:42:06]
[15:42:06] ***Script completed successfully.***
[15:42:10] [RadarAPI]: ar1.selectRadarMode(1)
[15:42:10] [RadarAPI]: ar1.selectCascadeMode(1)
[15:42:10] [RadarAPI]: Status: Passed
[15:42:10] [RadarAPI]: Status: Passed
[15:42:12] [RadarAPI]: ar1.SelectCaptureDevice("TDA2XX")
[15:42:12] [RadarAPI]: Status: Passed
[15:42:12] [RadarAPI]: TDAStatusCallback Event Registered
[15:42:12] [RadarAPI]: registerTDAStatusCallback Status: Passed
[15:42:12] [RadarAPI]: ar1.ConnectTDA("192.168.33.180", 5001, 15)
[15:42:12] [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:42:12] [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:42:12] [RadarAPI]: Device 32 : CAPTURE_RESPONSE_VERSION_INFO Async event recieved() with status 0. TDA Version : REL_VISION_SDK_03_07_01_00 Aug 5 2019 15:04:45[15:42:12] [RadarAPI]: Device 32 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:42:14] [RadarAPI]: Device 1 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:42:14] [RadarAPI]: ConnectTDACaptureCard Status: Passed
[15:42:14] TDA Capture Card Status : CONNECTED!
[15:43:01] Setting up Studio for Cascade started..
[15:43:01] [RadarAPI]: Connection to the TDA is already established!
[15:43:01] ConnectTDA Successful
[15:43:01] selectCascadeMode Successful
[15:43:01] Setting up Studio for Cascade ended..
[15:43:01] [RadarAPI]: Device 1 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:02] [RadarAPI]: Device 1 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:02] [RadarAPI]: ar1.FullReset(1)
[15:43:02] [RadarAPI]: Status: Passed
[15:43:02] [RadarAPI]: ar1.SOPControl_mult(1,4)
[15:43:02] [RadarAPI]: Status: Passed
[15:43:02] Master : SOP Reset Successful
[15:43:02] [RadarAPI]: ar1.PowerOn_mult(1, 0, 1000, 0,0)
[15:43:02] [DeviceId-0] MSS power up done async event received!
[15:43:02] [RadarAPI]: Status: Passed
[15:43:02] Master : SPI Connection Successful
[15:43:02] [RadarAPI]: ar1.DownloadBssFwOvSPI_mult(1, C:\\ti\\mmwave_dfp_02_02_03_01\\firmware\\xwr22xx_metaImage.bin)
[15:43:06] Master : FW Download Successful
[15:43:06] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[15:43:06] [RadarAPI]: Status: Passed
[15:43:06] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[15:43:06] [RadarAPI]: Status: Passed
[15:43:06] [RadarAPI]: ar1.deviceVariantSelection("XWR2243")
[15:43:06] [RadarAPI]: Status: Passed
[15:43:06] [RadarAPI]: ar1.frequencyBandSelection("77G")
[15:43:06] [RadarAPI]: ar1.SelectChipVersion("XWR2243")
[15:43:06] [RadarAPI]: Status: Passed
[15:43:07] Device Status : XWR2243/ASIL-B/SOP:4/ES:1.1
[15:43:07] [RadarAPI]: ar1.RfEnable_mult(1)
[15:43:07] [DeviceId-0] BSS power up done async event received!
[15:43:07] [RadarAPI]: Status: Passed
[15:43:08] Master : RF Power Up Successful
[15:43:08] [RadarAPI]: ar1.ChanNAdcConfig_mult(1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 0, 1)
[15:43:09] [RadarAPI]: Status: Passed
[15:43:09] Master : Channel & ADC Configuration Successful
[15:43:09] [RadarAPI]: Device 2 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:09] [RadarAPI]: Device 2 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:10] [RadarAPI]: ar1.FullReset(2)
[15:43:10] [RadarAPI]: Status: Passed
[15:43:10] [RadarAPI]: ar1.SOPControl_mult(2,4)
[15:43:10] [RadarAPI]: Status: Passed
[15:43:10] Device 2 : SOP Reset Successful
[15:43:10] [DeviceId-1] MSS power up done async event received!
[15:43:10] [RadarAPI]: ar1.AddDevice(2)
[15:43:10] [RadarAPI]: Status: Passed
[15:43:10] Device 2 : SPI Connection Successful
[15:43:10] [RadarAPI]: Device 4 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:10] [RadarAPI]: Device 4 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:11] [RadarAPI]: ar1.FullReset(4)
[15:43:11] [RadarAPI]: Status: Passed
[15:43:11] [RadarAPI]: ar1.SOPControl_mult(4,4)
[15:43:11] [RadarAPI]: Status: Passed
[15:43:11] Device 3 : SOP Reset Successful
[15:43:11] [DeviceId-2] MSS power up done async event received!
[15:43:11] [RadarAPI]: ar1.AddDevice(4)
[15:43:11] [RadarAPI]: Status: Passed
[15:43:11] Device 3 : SPI Connection Successful
[15:43:11] [RadarAPI]: Device 8 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:11] [RadarAPI]: Device 8 : CAPTURE_RESPONSE_ACK Async event recieved() with status 0
[15:43:11] [RadarAPI]: ar1.FullReset(8)
[15:43:12] [RadarAPI]: Status: Passed
[15:43:12] [RadarAPI]: ar1.SOPControl_mult(8,4)
[15:43:12] [RadarAPI]: Status: Passed
[15:43:12] Device 4 : SOP Reset Successful
[15:43:12] [DeviceId-3] MSS power up done async event received!
[15:43:12] [RadarAPI]: ar1.AddDevice(8)
[15:43:12] [RadarAPI]: Status: Passed
[15:43:12] Device 4 : SPI Connection Successful
[15:43:12] [RadarAPI]: ar1.DownloadBssFwOvSPI_mult(14, C:\\ti\\mmwave_dfp_02_02_03_01\\firmware\\xwr22xx_metaImage.bin)
[15:43:15] [DeviceId-1] MSS Boot Error status Async event recieved(0x102262)
[15:43:15] [DeviceId-2] MSS Boot Error status Async event recieved(0x10226C)
[15:43:15] [DeviceId-3] MSS Boot Error status Async event recieved(0x102262)
[15:43:15] Slaves : FW Download Successful
[15:43:16] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[15:43:16] [RadarAPI]: Status: Passed
[15:43:16] [RadarAPI]: ar1.SelectChipVersion("XWR2243")
[15:43:16] [RadarAPI]: Status: Passed
[15:43:16] Slave1 Device Status : XWR2243/ASIL-B/SOP:4/ES:1.1
[15:43:17] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[15:43:17] [RadarAPI]: Status: Passed
[15:43:17] [RadarAPI]: ar1.SelectChipVersion("XWR2243")
[15:43:17] [RadarAPI]: Status: Passed
[15:43:17] Slave2 Device Status : XWR2243/ASIL-B/SOP:4/ES:1.1
[15:43:18] [RadarAPI]: ar1.SelectChipVersion("AR1243")
[15:43:18] [RadarAPI]: Status: Passed
[15:43:18] [RadarAPI]: ar1.SelectChipVersion("XWR2243")
[15:43:18] [RadarAPI]: Status: Passed
[15:43:18] Slave3 Device Status : XWR2243/ASIL-B/SOP:4/ES:1.1
[15:43:18] [RadarAPI]: ar1.RfEnable_mult(14)
[15:43:18] [DeviceId-1] BSS power up done async event received!
[15:43:18] [DeviceId-3] BSS power up done async event received!
[15:43:18] [DeviceId-2] BSS power up done async event received!
[15:43:18] [RadarAPI]: Status: Passed
[15:43:22] Slaves : RF Power Up Successful
[15:43:22] [RadarAPI]: ar1.ChanNAdcConfig_mult(14, 1, 1, 1, 1, 1, 1, 1, 2, 1, 0, 2)
[15:43:23] [RadarAPI]: Status: Passed
[15:43:23] Slaves : Channel & ADC Configuration Successful
[15:43:23] [RadarAPI]: ar1.RfLdoBypassConfig_mult(15, 0xF)
[15:43:23] [RadarAPI]: Status: Passed
[15:43:23] LDO Bypass Successful
[15:43:23] [RadarAPI]: ar1.LPModConfig_mult(15, 0,0)
[15:43:23] [RadarAPI]: Status: Passed
[15:43:23] Low Power Mode Configuration Successful
[15:43:23] [RadarAPI]: ar1.SetMiscConfig_mult(15, 1, 0, 0, 0)
[15:43:23] [RadarAPI]: Status: Passed
[15:43:23] Misc Control Configuration Successful
[15:43:23] [RadarAPI]: ar1.RfInitCalibConfig_mult(15, 1, 1, 1, 1, 1, 1, 1, 65537)
[15:43:23] [RadarAPI]: Status: Passed
[15:43:23] RF Init Calibration Successful
[15:43:23] [RadarAPI]: ar1.RfInit_mult(15)
[15:43:24] [DeviceId-0] MSS power up done async event received!
[15:43:27] RF Init response from the device timed out!
[15:43:27] RF Init failed
[15:43:27]
[15:43:27] ***Script completed successfully.***

  • Hello Nancy, 

    Our concerned expert on this is Out of office today. Please expect a response within a day or two. 

    Hope that's okay. 

    Regards,

    Ishita

  • Hi,

             Couple of questions:

    1. Was the design reviewed by TI team?

    2. Apart from antenna what all has changed?

    3. Did you try EVM in the same setup and confirm that procedure and process is correct?

    Regards

  • Abhed,

    1. This is from a MM customer and the design is not reviewed by TI.

    2. The difference between customer's 4-chip cascaded board and TI EVM are as belwo.

    a. Changed the power solution to discrete solution due to lack of PMIC.

    b. Change  auto level LMK00804BQWRGTRQ1 to industrial level LMK00804BPW

    c. Remove the qspi flash

    d. Remove temp sensor TMP112AQDRLRQ1

    3. They are using the default LUA in mmwave studio.

    I have asked customer to check the each power rail, SOP level when reset is released. Pls find more info below.

    1V0 1.02V;

    1V2 1.21V;

    1V8 1.82V;

    3V3 3.31V;

    VBAP 0.89V;

    14APLL 1.39V;

    14SYNTH 1.43V;

    VOUT_PA 1.04V;

    I found 14APLL is1.39V which should change from 0 to ~1.4V after RF init. But the log shows RF init failed. 

    Do you have any suggestion on this issue?

  • Hi,

          I some how feel that the steps in sequence are not carried out as mentioned in the user guide(in the installed folder of mmwave studio).

    Did the customer RF init the primary device after loading the firmware? If not then the other secondary devices won't get the clock out and won't work properly.

    Regards

  • [15:43:23] [RadarAPI]: ar1.RfInit_mult(15)

    The command in LUA will do RFinit to all devices. Let me ask customer try to only do RFinit on master device and see.

    Thanks,

    Chris

  • Hi,

        Yes they need to first RFinit only the Primary device and then can issue a mult API for all secondary devices together.

    Regards

  • Abhed,

    I helped customer to change the LUA to do RFinit for each device and found the master device RF init failed at the beginning. I tried to ask customer to print out the rfinit status, but the return value is -1 and seem no help to locate the issue. Do you have any idea on why master device RFinit failed? And any other debug suggestion?

    Related LUA:

    CalibStatus, CalibUpdate, Temperature, Timestamp = ar1.RfInit_mult(1)
    WriteToLog("CalibStatus ="..CalibStatus..", CalibUpdate = "..CalibUpdate..", Temperature="..Temperature..", Timestamp="..Timestamp.." \n", "red")
    if (0 == CalibStatus) then
    WriteToLog("RF Init Master Successful\n", "green")
    else
    WriteToLog("RF Init Master failed\n", "red")
    return -2
    end

    Related Log on mmwave studio:

    [11:20:14] [RadarAPI]: ar1.RfInit_mult(1)
    [11:20:15] [DeviceId-0] MSS power up done async event received!
    [11:20:18] RF Init response from the device timed out!
    [11:20:18] CalibStatus =-1, CalibUpdate = , Temperature=, Timestamp=0
    [11:20:18] RF Init Master failed

  • Hi,

          If the primary device is feeding the 40MHz to secodnary device(s), then the proper RF INIT of primary device is must.

    The primary device should not fail RF INIT until there is some problem with its power supplies of XTAL+ associated circuits.

    Regards