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,求助大神解答

  • 我想要产生开关Sb的波形,求大神指点
  • 你可以看看F2837X的PWM模块,用Trigger Events 配合CMPA, CMPB进行设置。
    14.6.1 Purpose of the Action-Qualifier Submodule
    The action-qualifier submodule is responsible for the following:
    • Qualifying and generating actions (set, clear, toggle) based on the following events:
    – CTR = PRD: Time-base counter equal to the period (TBCTR = TBPRD).
    – CTR = Zero: Time-base counter equal to zero (TBCTR = 0x00)
    – CTR = CMPA: Time-base counter equal to the counter-compare A register (TBCTR = CMPA)
    – CTR = CMPB: Time-base counter equal to the counter-compare B register (TBCTR = CMPB)
    • T1, T2 events: Trigger events based on comparator, trip or syncin events
    • Managing priority when these events occur concurrently
    • Providing independent control of events when the time-base counter is increasing and when it is
    decreasing
  • COMPARATOR 只是外部模拟信号比较,trip也是外部信号相关,程序内部变量产生T1,T2 events的话,请问有哪些方法呢
  • 如果不借助外部信号,我目前想不到其他的方法。

    ERIC