This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28075: Abort pending CAN TX Request immediately

Part Number: TMS320F28075

Hi,

I need to implement an algorithm to abort a pending CAN TX Request, if it was not started within a certain period. I've disabled the auto retransmission mode, so I take a look at TxRqst. If this is set, I try to abort.

Now my problem is how to abort. I tried various strategies like clearing TxRqst or MsgVal in the interface registers and writing the mailbox number to trigger a transfer. No luck.

So, how can I abort a pending CAN TX Request in DAR-mode?

Best regards,

Stefan

  • Stefan,

    Please be sure the Control or Arb bit in the IFnCMD register is set when you write the mailbox number. Otherwise, the TxRqst or MsgVal bit won't actually get updated.
  • Hi Adam,

    thanks for your reply. I checked that and Control and Arb are set. After studying the datasheet once more I found my mistake. There are two TxRqst-bits, but to abort I only reset one and the other was still set.
    Now I am using only the TxRqst-bit in the CMD-register (for sending and aborting) and the bit in the MCTL register is initialized unset and never changed.