Uploaded image for project: 'CIFX Toolkit'
  1. CIFX Toolkit
  2. NXDRVTKIT-151

OS_SpiLock() could lead into deadlock when using in ISR function

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: No Change Required
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cifX/netX Toolkit
    • Labels:
      None
    • Account:
      SDO Driver (SDODRIVER)

      Description

      If SPM is used in interrupt mode, the netX SPI read/write functions are also called in the cifX Toolkit ISR function. Calling the cifX Toolkit ISR function in interrupt context and executing a OS_SpinLock() (wait mutex) can lead into a deadlock, if the mutex is used at the same time in task mode.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  RMay Robert M [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: