目录
1.准备工作
-
下载sdk:提供编译好的bin文件,位于文件夹C:\ti\mmwave_sdk_01_02_00_05\packages\ti\demo\xwr16xx\mmw\xwr16xx_mmw_demo.bin。关于sdk版本的选择请参考链接,否则会出现问题。
-
Uniflash(网页版或.exe均可以):烧写程序
-
mmWave Demo Visualizar上位机界面(网页版或.exe均可以):用于接收数据进行可视化显示。
2.步骤
- 将SOP设置为101,进入烧写模式。
- 连接好电源和开发板之后,打开Uniflash软件,选择开发板的型号,点击start;
- 在setting&utilities那一栏设置正确的串口号,去设备管理器查看,选uart那个;
- 返回program那一栏,点击browse,找到xwr16xx_mmw_demo.bin文件,勾选好后,点击load image,等待烧写完毕;
- 断电,将SOP设置值为001,进入正常功能模式;
- 上电,打开mmWave Demo Visualizar上位机界面,点击上方的Options按钮;这个上位机要设置两个串口号,一个配置一个传数据,去设备管理器查看,选对应的端口号。在config标签页还可以设置其他信息。点击SEND CONFIG TO MMWAVE DEVICE按钮,可以看到右边迅速打印出了很多信息。
3.效果
这里附上一份发出去的配置信息,在后面抓取到数据在matlab中进行分析的时候能够用得到。
mmwDemo:/>% ***************************************************************
Skipped
mmwDemo:/>% Created for SDK ver:01.02
Skipped
mmwDemo:/>% Created using Visualizer ver:2.0.0.0
Skipped
mmwDemo:/>% Frequency:77
Skipped
mmwDemo:/>% Platform:xWR16xx
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:/>% 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:/>% ***************************************************************
Skipped
mmwDemo:/>sensorStop
Done
mmwDemo:/>flushCfg
Done
mmwDemo:/>dfeDataOutputMode 1
Done
mmwDemo:/>channelCfg 15 3 0
Done
mmwDemo:/>adcCfg 2 1
Done
mmwDemo:/>adcbufCfg -1 0 0 1 0
Done
mmwDemo:/>profileCfg 0 77 429 7 57.14 0 0 70 1 256 5209 0 0 30
Done
mmwDemo:/>chirpCfg 0 0 0 0 0 0 0 1
Done
mmwDemo:/>chirpCfg 1 1 0 0 0 0 0 2
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 0 8 4 4 0 5120
Done
mmwDemo:/>cfarCfg -1 1 0 4 2 3 0 5120
Done
mmwDemo:/>peakGrouping -1 1 1 1 1 255
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:/>nearFieldCfg -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
Done
mmwDemo:/>measureRangeBiasAndRxChanPhase 0 1.5 0.2
Done
mmwDemo:/>CQRxSatMonitor 0 3 5 123 0
Done
mmwDemo:/>CQSigImgMonitor 0 127 4
Done
mmwDemo:/>analogMonitor 1 1
Done
mmwDemo:/>sensorStart
Debug: Init Calibration Status = 0x7fe
Done
4.参考资料
- xWR16xx mmWave Demo Setup Guide
资料的地址如下:
The best place to start is with the setup guide for the mmWave SDK Demo:
It can be found in Resource Explorer by browsing to the following location: Software -> mmWave Sensors -> Industrial Toolbox -> Labs -> mmWave SDK Demo - 14xx -> Setup Guide.
It can be found in Resource Explorer by browsing to the following location: Software -> mmWave Sensors -> Industrial Toolbox -> Labs -> mmWave SDK Demo - 16xx -> Setup Guide.
It can be found in Resource Explorer by browsing to the following location: Software -> mmWave Sensors -> Industrial Toolbox -> Labs -> mmWave SDK Demo - 68xx -> Setup Guide.
Once the above guide is completed, more examples, resources, and documentation can be found in the mmWave Sensors package in Resource Explorer
来源:oschina
链接:https://my.oschina.net/u/4361003/blog/4725185