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

nortos DPL ClockP ISR should check for equality, not less-than-equal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • TI Device Drivers
    • TIDRIVERS-964
    • 3.10.00
    • Hide
      3.20.00
       3.10.03
      Show
      3.20.00  3.10.03
    • Hide
      The ClockP/NoRTOS implementation has a problem if timeout is 'big' or when running for a long time and a wrap-around of the tick occurs.

      This check in the sysTickHandler was changed from this:

          while ((ClockP_ctrl.list != NULL) && (ClockP_ctrl.list->timeout <= ClockP_ctrl.count))

      to this:

          while ((ClockP_ctrl.list != NULL) && (ClockP_ctrl.list->timeout == ClockP_ctrl.count))
      Show
      The ClockP/NoRTOS implementation has a problem if timeout is 'big' or when running for a long time and a wrap-around of the tick occurs. This check in the sysTickHandler was changed from this:     while ((ClockP_ctrl.list != NULL) && (ClockP_ctrl.list->timeout <= ClockP_ctrl.count)) to this:     while ((ClockP_ctrl.list != NULL) && (ClockP_ctrl.list->timeout == ClockP_ctrl.count))

      nortos DPL ClockP ISR should check for equality, not less-than-equal

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

              Created:
              Updated:
              Resolved: