Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-8948

Period calculation in PWM drivers (CC32XX, MSP432, MSP432E4) are off by 1

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • Medium
    • Resolution: Fixed
    • TI Device Drivers
    • TIDRIVERS-1475
    • 3.50.00
    • 3.60.00
    • Hide
      Equations used to calculate the timer period in ticks are off by 1. The equations should be:

      PWM_PERIOD_US:
      periodCounts = (periodValue * (freq.lo / 1000000)) - 1;

      PWM_PERIOD_HZ:
      periodCounts = (freq.lo / periodValue) - 1;

      PWMMSP432E4, PWMMSP432 & PWMCC32XX drivers are affected.
      Show
      Equations used to calculate the timer period in ticks are off by 1. The equations should be: PWM_PERIOD_US: periodCounts = (periodValue * (freq.lo / 1000000)) - 1; PWM_PERIOD_HZ: periodCounts = (freq.lo / periodValue) - 1; PWMMSP432E4, PWMMSP432 & PWMCC32XX drivers are affected.

    Description

      Period calculation in PWM drivers (CC32XX, MSP432, MSP432E4) are off by 1

      Attachments

        Activity

          People

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: