一、配置环境
①安装SICP端口驱动才能访问USART端口:
Using Uniflash With mmWave (ti.com)
| WARNING: COM Port Driver: If the COM ports do not appear as above, driver installation | is required. Install the appropriate driver, restart the PC, and try again.
CP210x USB to UART Bridge VCP Drivers - Silicon Labs (silabs.com)
Color | Name in Device Manager | Generic Name | Port Function |
Yellow | User UART or Enhanced COM Port | CFG Port | Used for passing configuration data and firmware to the EVM |
Blue | Data Port or Standard COM Port | Data Port | Used to send processed radar data output |
②安装适配的SDK环境:MMWAVE-SDK Software development kit (SDK) | TI.com
③安装CSS最新版:CCSTUDIO IDE、配置、编译器或调试器 | TI.com.cn
注意不同安装包支持的硬件设备,选择合适的安装包进行下载
④安装EMUpack:XDS Emulation Software (EMUPack) Download
将其与CSS装在同一目录下,具体见安装时文字提示
⑥此时WIN+X打开设备管理器→端口(PORT)可以观察到两个COM
⑦模块模式在mmWave Visualizer 上显示数据:mmWave Demo Visualizer (ti.com)
⑧安装UniFlash
使用前对板子进行断电→更换模式(flashing/functional)→上电→按下NRST→load image/use visualizer,结束后断电换回工作模式
⑨Toolbox:TI Resource Explorer:Radar Toolbox (ti.com)
二、开源例程-Vital Signs with People Tracking
CPD with Classification | xWR6843 | This demonstrates the use of TI 60GHz mmWave sensors for Vehicle Occupancy Detection (VOD) and Child Prescence Detection (CPD) for up to 3 rows of seats. 这展示了TI 60GHz毫米波传感器的使用,用于车辆占用检测(VOD)和儿童早孕检测(CPD)多达3排座椅。 |
上表内容路径: <PACKAGE_LOCATION>\source\ti\examples\examples_overview.html
开源例程网页位置:
Resource Explorer
mmWave radar sensors / Embedded Software / Radar Toolbox (1.10.00.13) / Example Proiects / inCabin Sensing /
①AWR6843 CPD With Classification:AWR6843 CPD With Classification
Userguide
Hardware Requirements
Item | Details |
xWR6843 Evaluation Board | xWR6843ISK-ODS ES2.0 Evaluation Board, Or xWR6843AOP ES2.0 Evaluation Board Or xWR6843ISK-ODS ES2.0 Evaluation Board |
MMWAVEICBOOST Carrier Board | OPTIONAL: MMWAVEICBOOST Carrier Board for CCS based development and debugging |
Computer | PC with Windows 10. If a laptop is used, please use the ‘High Performance’ power plan in Windows. |
Software Requirements
Tool | Version | Download Link |
TI mmWave SDK | 3.5.0.4 | TI mmWave SDK 3.5.0.4 and all the related tools are required to be installed as specified in the mmWave SDK release notes |
MATLAB Runtime | 2019a (9.6) | Exact version required. MATLAB Runtime - MATLAB Compiler - MATLAB |
UniFlash | Latest 最新的 | UniFlash tool is used for flashing TI mmWave Radar devices. Download offline tool or use the Cloud version |
Quickstart
- 将 EVM配置为闪烁模式
①配置模式
②flashing和functional之前按下NRST
- 使用 UniFlash 闪存 EVM
用UniFlash将下文列出的二进制文件刷写到EVM里,参考指示:Using Uniflash With mmWave (ti.com)
<PACKAGE_LOCATION>\source\ti\examples\InCabin_Sensing\AWR6843_CPD_with_Classification \prebuilt_binaries\occupancy_detection_3d_68xx.bin
Attention:
①建议使用UniFlash Cloud:UniFlash (ti.com)
②关掉防火墙/杀毒软件,CCS若load image速度过慢会认为端口未连上,出现类似如下报错
- 将 EVM配置为功能模式
- 安装 EVM 并创建测试环境
- 启动 AWR6843 _ CPD _ w _ Classicationer.exe
提前安装MATLAB Runtime Version R2019a (9.6)
刚刚开始用这个板子,摸索中……