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

SPI logging feature not usable with Vector Microsar OS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium

      The TI SPI McAL driver calls the GetCounterValue() API inside Spi_logJob() API to get the timestamp when a job is triggered. The GetCounterValue() then calls the Vector Microsar OS API Os_Api_GetCounterValue() to get the counter value. This OS API shall not be called with interrupts disabled as per the Microsar OS documentation.

      However, in SPI McAL driver, the interrupts are disabled when the Spi_logJob() API is called. This will trigger OS errors E_OS_DISABLEDINT errors in customer's application. 

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

              Created:
              Updated:
              Resolved: