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.

[参考译文] MSP430FR6045:USS (EVM-MSP430FR6045) 测量(流速测量)所用的时间会发生变化。

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1587898/msp430fr6045-time-taken-by-uss-evm-msp430fr6045-measurement-flow-rate-measurement-is-varying

器件型号: MSP430FR6045

您好、

我要在一秒的窗口内测量流速测量所需的时间(通过切换 GPIO)。 所以我观察到、有时它需要 9 毫秒、13 毫秒、16 毫秒。 我希望每次都需要相同的时间、无论是 9ms、13ms 还是 16ms。

此致、

Anup Kumar

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

    尊敬的 Anup Kumar:

    您尝试通过正确切换 GPIO 来获得 USS 测量时间? 能否说明您在程序中的哪一点添加 GPIO 切换代码?

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

    您好、谢:

    Toggeling Before, HMI_Pres Measurement_Update ();

    之后、       HMI_Posts Measurement_Update ();

    此致  

    Anup Kumar。

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

    尊敬的 Kumar:

    USS 算法的执行时间应基于许多因素、例如脉冲数、信号质量、配置、

    这不是固定时间。 您可以尝试通过更多测试来获取平均值。 但如果您想缩短这段时间、可以尝试直接减少脉冲数。

    谢谢!

    此致

    Johnson