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

Correct timeout unit of SemaphoreP_pend()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • PDK
    • PDK-12894
    • PROCESSOR_SDK_09.00.00
    • PROCESSOR_SDK_09.00.00
    • Hide
      j721e-evm
      j7200-evm
      j721s2-evm
      j784s4-evm
      Show
      j721e-evm j7200-evm j721s2-evm j784s4-evm

      Issue Description:

      In the header file mentioned it is in millisecond but in the FreeRTOS code this argument is passed to the xSemaphoreTake(pSemaphore->semHndl, timeout)
      which requires a tick instead of millisecond.
      timeout need to be converted to tick before passing to xSemaphoreTake

       *  @param  timeout Timeout (in milliseconds) to wait for the semaphore to
       *                  be posted (signalled).

      extern SemaphoreP_Status SemaphoreP_pend(SemaphoreP_Handle semPhandle,
                                               uint32_t timeout);

      Resolution Description:
      Corrected the API comment to tick instead of millisecond in SemaphoreP.h header file.

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

              Created:
              Updated:
              Resolved: