TI中文支持网
TI专业的中文技术问题搜集分享网站

DCA100+AWR1642 ES2.0+SPI无法连接

我按照DCA1000的操作视频中的方法,进行操作,但进行到第八步:Next Click the SPI Connect button. The SPI Connect button becomes SPI Disconnect indicating a success.的时候,之后并没有出现SPI Disconnect ,而是出现了下图的情况:

我在操作前已经用uniflash来 erase Flash板子了,然后将sop0+sop2改为了sop0+sop1,电源:5V 2A 给 DCA1000 ,5V 3A 给 AWR1642。

并且AWR1642可以跑SDK中的demo在mmwave demo visualizer上。我不知道是哪里出了问题,下面是我output中的情况:

GM: Constructor
GM: Wed Jan 09 10:05:06 2019
RSTD.Transmit("/Settings")
[10:05:06] 
[10:05:06] ### Running Startup script: "C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Scripts\Startup.lua" ###
[10:05:07] RSTD.SetAndTransmit ("/Settings/Scripter/Display DateTime" , "1")
[10:05:07] RSTD.SetAndTransmit ("/Settings/Scripter/DateTime Format" , "HH:mm:ss")
[10:05:07] Scripter ignored: Attempt to UnBuild() again or before Build.
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 0/Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Clients\\\\LabClient.dll")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 0/Use" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 1/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 2/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 3/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 4/Use" , "FALSE")
[10:05:07] RSTD.SetVar ("/Settings/AL Client/AL Dll" , "C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\RunTime\\SAL.dll")
[10:05:07] RSTD.SetVar ("/Settings/Clients/Client 0/GuiDll" , "")
[10:05:07] RSTD.SetVar ("/Settings/AutoUpdate/Enabled" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/AutoUpdate/Interval" , "1")
[10:05:07] RSTD.SetVar ("/Settings/Monitors/UpdateDisplay" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/Monitors/OneClickStart" , "TRUE")
[10:05:07] RSTD.SetVar ("/Settings/Automation/Automation Mode" , "false")
[10:05:07] RSTD.Transmit("/")
[10:05:07] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[10:05:07] RSTD.Build()
[10:05:07] RSTD.SaveSettings(): Settings saved to "C:\Users\Administrator\AppData\Roaming\RSTD\config.xml"
[10:05:07] RSTD.Transmit("/")
[10:05:07] RSTD.AL_Build()
[10:05:07] RSTD.AL_LoadXml()
[10:05:07] RSTD.Transmit("/")
[10:05:07] RSTD.AL_Init()
[10:05:07] RSTD.Clients_Build()
[10:05:07] GM: Init
[10:05:07] GM: Loaded 'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\\LabClient.dll'
[10:05:07] GM: 1 Guest (s) init
[10:05:07] GM: 1 Module(s) init
[10:05:07] GM: 2 Tab (s) init
[10:05:07] RSTD.Client_LoadXml()
[10:05:07] [RadarAPI]: Starting Matlab Engine..
[10:05:11] [RadarAPI]: Matlab Engine Started!
[10:05:14] [RadarAPI]: ar1.LoadSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
[10:05:14] TESTING = false
[10:05:14] 
[10:05:14] ***Script completed successfully.***
[10:05:18] [RadarAPI]: Opening Gpio Control Port()
[10:05:18] [RadarAPI]: Status: Passed
[10:05:19] [RadarAPI]: Opening Board Control Port()
[10:05:19] [RadarAPI]: Status: Passed
[10:05:20] [RadarAPI]: ar1.FullReset()
[10:05:20] [RadarAPI]: Status: Passed
[10:05:20] [RadarAPI]: Closing Board Control Port()
[10:05:20] [RadarAPI]: Status: Passed
[10:05:21] [RadarAPI]: Closing Gpio Control Port()
[10:05:21] [RadarAPI]: Status: Passed
[10:05:21] [RadarAPI]: ar1.SOPControl(2)
[10:05:21] [RadarAPI]: Status: Passed
[10:05:22] [RadarAPI]: ar1.Connect(4,115200,1000)
[10:05:23] [RadarAPI]: ar1.Calling_IsConnected()
[10:05:25] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[10:05:25] [RadarAPI]: Status: Passed
[10:05:25] [RadarAPI]: RS232 is not connected ..!!!!
[10:05:25] [RadarAPI]: ar1.frequencyBandSelection("77G")
[10:05:25] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[10:05:25] [RadarAPI]: Status: Passed
[10:05:25] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
[10:05:26] [RadarAPI]: ar1.SelectChipVersion("AR1642")
[10:05:26] [RadarAPI]: Status: Passed
[10:05:26] [RadarAPI]: ar1.SelectChipVersion("XWR1642")
[10:05:26] [RadarAPI]: Status: Passed
[10:05:26] Device Status : XWR1642/ASIL-B/SOP:2/ES:2
[10:05:26] [RadarAPI]: ar1.SaveSettings('C:\Users\Administrator\AppData\Roaming\RSTD\ar1gui.ini')
[10:05:34] [RadarAPI]: ar1.DownloadBSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\radarss\\xwr16xx_radarss.bin")
[10:05:35] [RadarAPI]: Downloading BSS Patch RPRC Binary..
[10:05:42] [RadarAPI]: ar1.GetBSSFwVersion()
[10:05:42] [RadarAPI]: BSSFwVersion:(02.00.00.01 (05/10/17))
[10:05:43] [RadarAPI]: ar1.GetBSSPatchFwVersion()
[10:05:43] [RadarAPI]: BSSPatchFwVersion:(01.02.00.03 (24/10/18))
[10:05:45] [RadarAPI]: ar1.DownloadMSSFw("C:\\ti\\mmwave_studio_02_00_00_02\\mmWaveStudio\\Scripts\\..\\..\\rf_eval_firmware\\masterss\\xwr16xx_masterss.bin")
[10:05:45] [RadarAPI]: Downloading MSS RPRC Binary..

谢谢

wei liu40:

回复 Wesley He:

你好, 点击之后,就没有反应了,mmWave studio中spi connect 并没有变为disconnect,而是像我最开始提问中图片里显示的那样。也没有报错,在output里只走到你发的红色字体之前的那里,红色字没有出现,具体的output我也在最开始提问中列出来了,我现在很担心是不是我的DCA这块板子坏掉了。我在英文E2E里发现了一个人和我的一样的现象,他的问题是在,他把MCAN打开,把spi关闭。我想知道这两个是在哪里设置的,我想看看我是不是也是这里出现了问题。

wei liu40:

回复 Wesley He:

问题已解决,就是这里,谢谢。

user5997687:

回复 Wesley He:

iwr6843的这个spi开关是哪个?

user6170380:

楼主,你好。我用的AWR1843+DCA1000,按照手册进行到RS232 CONNECT这一步就连接不了了,请问你的RS232连接是把端口选好之后直接点下方的CONNECET就连接成功了吗?还是有什么其他操作,我昨天试了一天RS232连接那块一直都没有反应。

user6170380:

回复 Wesley He:

你好,AWR1843这块是没有按钮的,该怎么选择CAN总线和SPI总线呢? 我看1843的这个S2开关处根本就没有调整的按钮。

user6170380:

回复 user6170380:

已解决,将sop2+sop0改为sop1+sop0,RS232就连上了。

赞(0)
未经允许不得转载:TI中文支持网 » DCA100+AWR1642 ES2.0+SPI无法连接
分享到: 更多 (0)