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.

[参考译文] AFE4960PEVM:MCU 的软件接口

Guru**** 2388100 points
Other Parts Discussed in Thread: AFE4960PEVM
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/1188516/afe4960pevm-software-interface-to-mcu

器件型号:AFE4960PEVM

你(们)好。

我目前正在研究连接 python 软件以与 AFE4960PEVM 配合使用。 在之前的请求中、我被告知可以从 Biosensing Python 脚本中获取所有相关信息。 我设法通过 regProg.py 中使用的命令( 例如、命令="C:REG_W"+地址+数据+ afeNum)与运行的 MCU 进行通信。  

但是、当从捕获脚本 regCapture.py 的第167行"command="C:cap_start"+Continuous+numDataReadyS"尝试命令时、我返回一个错误、即 MCU 未知该命令。  

当我在 pcComM.c 第168行查看 MCU 源代码时,会出现一个条件:“if (usbStruct.usbData[1].DataReceieved)"必须满足,但我找不到 usbStruct.usbData[1]"从中获取数据的代码(必须是 USB 输入,但它似乎只输入到 usbStruct.usbData[0]")。

虽然我使用的是从 Biosensing 软件导出的默认寄存器设置、但我可能缺少此处的特定设置。

我希望在这里有一种方法可以帮助您。

此致