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.

[参考译文] TMS570LC4357:正交脉冲发生器

Guru**** 2394295 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1299752/tms570lc4357-quadrature-pulse-generator

器件型号:TMS570LC4357

SIR 我 需要使用 捕获寄存器 将 能够 找到 频率,然后 值  出现在  该 寄存器它将是 微,毫,毫微秒 该  信息,我需要它,   在 PWM 计算时间周期中、我们采用一个公式 Time Period = Period (ns)* CLOCK Frequency (MHz)-1 、就像正交捕获周期寄存器的任何公式一样。

请尽快

谢谢!

N·库马尔

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

    尊敬的 Nanda Kumar:

    捕获计时器将从预分频的 VCLK3运行。

    例如、如果您的 VCK3为75MHz。

    并且您的预分频值是2

    如果您将捕获寄存器值设为500、则应按如下所示计算周期

    Period =(1/(VCLK3/Prescaled_value))*捕获寄存器值

    周期=(1/(75MHz/2)*500

    周期=(1/37.5Mhz)* 500 = 13.33uSec。

    通过这种方法、您应该计算周期。

    --
    谢谢。此致、
    Jagadish。