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.

DSP280049HRPWM精度问题



 在使用280049的HRPWM功能,按照官网的例程,是没有问题的,因为官网的PWM模块比较器赋值为周期寄存器值的1/2,但是我在最低点和最高点实现电平翻转就会有问题,频率在跳变不能稳定。

  • 图片是PWM的调节,但是我要做的是PFM调节及实现High Resolution Period,我看数据手册没有详细讲解High Resolution Period,
  • 你好,请问你说的

    user5191107 说:
    频率在跳变不能稳定
    具体是什么样的吗?

    PFM的话,控制频率输出就是调整周期寄存器

    另外,你是在数据手册上没看到太多介绍?有没有看过芯片的技术手册?www.ti.com.cn/.../sprui33d.pdf

  • HRPCTL Register Field Descriptions描述

    High Resolution Period Enable Bit
    0: High resolution period feature disabled. In this mode the ePWM
    behaves as a Type 0 ePWM.
    1: High resolution period enabled. In this mode the HRPWM module
    can control high-resolution of both the duty and frequency.
    When high-resolution period is enabled, TBCTL CTRMODE = 0,1 (downcount mode) is not supported.

    请问下“ When high-resolution period is enabled, TBCTL CTRMODE = 0,1 (downcount mode) is not supported.”这句话的意思是当使能了高分辨率周期时,不支持时基递减计数模式吗? 也就是高分辨率周期不支持递减计数模式吗?
    还是其他的意思?
  • HRPCTL Register Field Descriptions描述

    High Resolution Period Enable Bit
    0: High resolution period feature disabled. In this mode the ePWM
    behaves as a Type 0 ePWM.
    1: High resolution period enabled. In this mode the HRPWM module
    can control high-resolution of both the duty and frequency.
    When high-resolution period is enabled, TBCTL CTRMODE = 0,1 (downcount mode) is not supported.

    请问下“ When high-resolution period is enabled, TBCTL CTRMODE = 0,1 (downcount mode) is not supported.”这句话的意思是当使能了高分辨率周期时,不支持时基递减计数模式吗? 也就是高分辨率周期不支持递减计数模式吗?
    还是其他的意思?
    谢谢您能解答下。
  • 如果这句话没有记错,那么就是你说的这个意思^_^。同时你发的那个图本身也是一个提示:最低点和最高点存在3周期占空比范围限制,高分辨率模式在这些区间无法使用^_^
  • 好的,谢谢您了,已经懂了。

    图片是贴主发的,哈哈

    谢谢您啦