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.

[参考译文] TMS570LS1224:在没有任何中断的情况下计算时间:RTI 或 HET?

Guru**** 2486815 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/734191/tms570ls1224-count-the-time-without-any-interrupts-rti-or-het

器件型号:TMS570LS1224

您好!

我想计算从重置为某些操作的时间戳。 但是、我不能使用切断应用程序的任何中断来执行此操作。 这是可行的吗?

我的理解是 RTI 仅使用中断。

我`使用 HET 模块来计算和存储复位后的时间、尤其是使用` hetGetTimestamp 函数。 但我对 HET 的理解非常有限。

有人能帮我们解决这个问题吗?

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!
    RTI couвd 也用作计数器。 您可以读取寄存器以查找计数器值。

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

    您好、感谢您的回复。

    我将尝试使用 RTI 来实现它。 但您知道我们可以计算多少时间吗? 假设间隔为1ns。 或100ns 间隔。

    感谢您的帮助、我将进行调查。

    此致、

    Clovis