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.

[参考译文] TMS320F280025C:为什么 HRCAP 初始化序列需要延迟?

Guru**** 2394305 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1264545/tms320f280025c-why-is-delay-required-in-hrcap-initialization-sequence

器件型号:TMS320F280025C

19.2.2 HRCAP 初始化序列以下是 HRCAP 初始化序列步骤。 使用 HRCAP 进行相对时间测量时、只需要步骤1-5。 使用 HRCAP 进行时间转换测量时、需要执行所有步骤。 1.使用 HRCAP_enableHighResolutionClock ()启用 HRCLK 2. 延迟1 µs 3。 使用 HRCAP_enableHighResolution ()启用 HR 模式4. 延迟1 µs 5。 根据需要配置 eCAP 模块、包括中断6。 使用 HRCAP_setCalibrationPeriod ()设置校准周期7. 使用 HRCAP_setCalibrationMode ()启用连续校准8. 使用 HRCAP_enableCalibrationInterrupt ()启用中断9. 使用 HRCAP_startCalibration ()开始校准

为什么这里需要延迟?

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

    尊敬的 Aditya:

    我已要求软件团队提供有关为何需要此延迟的更多信息。 我会在收到答案时向您提供最新信息。

    此致!

    mA

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

    尊敬的 Aditya:

    启用 HRCLK 后、需要该延迟才能使其稳定。

    此致!

    mA