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.

TMS320F280049C: Use the CAN polling mode

Part Number: TMS320F280049C

Hi Experts,

     My customer want to use the CAN polling mode, not the CAN uses interrupt mode for triggering.

     Do we have like this example? if yes, where can I find it?

BR

Shaoxing

  • Shaoxing,

                    The answer would depend on many things:

    Does customer want to use polling for Transmit or Receive or both?

    How many message objects does customer wants to use? If it is just one object for transmit and another one for receive, it can be accomplished using the TxOK and RxOK bits in the CAN_ES register. Examples are there in my App.report www.ti.com/lit/sprace5.

    If it is more than one object, CAN_TXRQ_21 Register can be polled for transmit operations and CAN_NDAT_21 Register can be polled for receive.