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.

CCS/TMS320F28375D: CAN Remote Frame Interrupt

Part Number: TMS320F28375D


Tool/software: Code Composer Studio

Dear Sir,

I've a requirement to generate an interrupt on receiving an RTR frame from a master controller. Is it possible to do so in TMS320F28375D/S controllers. If yes please let me know the procedure. I've tried a few configurations but they didn't turn out to be successful. Kindly assist on this.

Regards,

Kireeti Chelkapally.

  • Kireeti,
    I'd like to understand your requirements better. Upon reception of a RTR frame, a data frame can be automatically transmitted, the completion upon which an interrupt can be asserted. Is there a reason why an interrupt needs to be generated solely on the reception of RTR?
  • Hello sir,

    Thank you for the reply. I would like to manipulate the data that is being sent in that particular RTR when an RTR is received (can be after serving the RTR request also). Therefore my application should know if an RTR is received or not.
    As you mentioned after automatic transmission of data frame also an interrupt can be generated. This is also ok for my application. I've tried this configuration (configured a mailbox as a Remote & enabled transmission interrupt) but it did not generate interrupt.


    Kireeti.
  • Kireeti,

                Let us look at two scenarios: 

    1. You receive a Remote frame in a Receive mailbox. This should generate an interrupt. I don’t see this as being any different than receiving a (normal) data frame in a receive mailbox.
    2. You receive a Remote frame in a Transmit mailbox configured for automatic transmission. Upon completion of transmission, this should generate an interrupt. I don’t see this as being any different than transmitting a (normal) data frame from a transmit mailbox. But you say you have tried this and it doesn’t work. Have you tried transmitting a dataframe normally (i.e. not as an automatic response to a remote frame)?

     

  • Hi Sir,

    With ref to Point 1. My application doesn't require this configuration. so i didn't try this as of now.

    With ref to Point 2. I've configured the Mailbox for Automatic transmission. I would like to generate interrupt in this configuration. I did not try transmitting a normal data frame that generates interrupt.


    Kireeti.
  • Kireeti,

       I haven't heard from you in a while and hope this is resolved.