您好,目前采用定时器周期捕获的方法对PWM进行捕获。现象为,若定时器周期>PWM周期,可以正常捕获。但定时器周期<PWM周期,会导致捕获值保持为loadvalue。我的理解是,如果出现定时器周期小于pwm周期,假设捕获值为70000,那我不应该得到的是70000-65535吗?目前结果是65535。 定时器在边沿触发时,会将counter值置0,但不应该会影响到
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.
您好,目前采用定时器周期捕获的方法对PWM进行捕获。现象为,若定时器周期>PWM周期,可以正常捕获。但定时器周期<PWM周期,会导致捕获值保持为loadvalue。我的理解是,如果出现定时器周期小于pwm周期,假设捕获值为70000,那我不应该得到的是70000-65535吗?目前结果是65535。 定时器在边沿触发时,会将counter值置0,但不应该会影响到
您好
似乎您遇到的是 DEVICE ERR_01 (器件勘误表 https://www.ti.com/lit/er/slaz742b/slaz742b.pdf)
请参阅 SDK 中的 timx_timer_mode_capture_duty_and_period_LP_MSPM0G3507_nortos_ticlang、获取该错误的权变措施。