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

Mailbox index always passed as 0 in case of TX interrupt processing for FIFO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • MCAL
    • MCAL-8751
    • PROCESSOR-CORESDK_08.02.00
    • MCUSW_J7_09.01.00
    • Hide
      j7200-evm
      j721e-evm
      Show
      j7200-evm j721e-evm

      There is an issue with the Tx interrupt processing in the MCAL CAN driver. In the function Can_mcanProcessISRTx() when calling CanIf_TxConfirmation(), the first argument is canMailbox->canTxRxPduId[messageBox] which points to the canTxRxPduId[messageBox] for HTH == 0.

      This should be replaced by mailboxObj->canTxRxPduId[messageBox] where mailboxObj = &canMailbox[hth];

      The HTH can be fixed in the top level for loop by comparing against objTxMbxType[loopCnt].hth;

      Please refer the attached diff patch.

      Customer issues

      [^patch.diff]

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

              Created:
              Updated: