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.

[参考译文] EVM430-FR6043:与超声波传感设计中心固件进行串行通信

Guru**** 2482105 points
Other Parts Discussed in Thread: EVM430-FR6043

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1260677/evm430-fr6043-serial-communication-with-ultrasonic-sensing-design-center-firmware

器件型号:EVM430-FR6043

我正在使用 EVM430-FR6043进行原型设计。

USS 应用程序很适合我。 我可以设置参数、记录图等。

我找到了固件的通信协议( https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/USSSWLib/USSSWLibGas/latest/上的 UltrasonicGasFR6043_02_30_00_01)

我想使用自己的应用程序与设备进行通信、因此我可以在自己的 Python 应用程序中使用 ToF 数据。 我正在发送一个简单的数据包来查询"应用程序版本"(命令0x99)、但未从串行端口获取任何返回数据。

可能是串行端口设置或软件包格式不正确。

正确的串行端口参数(波特率等)是什么?

我的测试包看起来像这样: 04 99 00 00 00 00 9D 00

这看起来是合理的吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    如果 要使用 USS 直流的 UART 接口、需要  在 comm_config.h 文件中将 COMM_SERIAL_INTERFACE 设置为 COMM_UART。 您可以在 hal_uart.c 中找到 UART 配置。

    此致、

    现金豪