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.

TMS470MF06607 "DCAN INT" Interrupt register bit[23:16] Int1ID --- Behavior and Usage

 

Sirs,
Could you please advise how to use the bits? Or intended case to use the bits?

 

It would be helpful if the followings would be covered also:

Q. Key differences to Int0ID. The TRM describes that the bit tells "Pending" interrupt?
   It might be the point but not clear for me.

Q. When the bits are non-zero? As long as my test the bits were always zero.
     Is it when a multiple messages are waiting for interrupt service?

 

 

  • Hi Hideaki Nambu,

    In DCAN, Init0ID & Init1ID bitfields provide information of the source of interrupt. for DCAN0 and DCAN1 interrupts. These bitfields will point to to the interrupt with highest priority, means they will contain the message number of the highest priority interrupt. 

    These bit fields are non zero when any message object interrupt is active and has not being serviced/cleared by IntPnd bit resp.

    Thanks.

  • If the above post answers your question, pls click verify answer and close this thread. Thanks.

  • Harshit and  Karthikeyan,

    Please forgive my late response. Although I would need your advice once again before closing.

    So my question is Int1ID bit and how to make the bits non-zero. I think the answer would be IntMux[127:0]. Do you agree?

    As long as my test the IntMux[1] could select the message object # destination from {Int0ID or Int1ID}. Having the result I think the technical reference manual spnu495c Table10-17 implies the same thing.

     

  • Hideaki Nambu,

    DCAN INTMUX for a given message object determines whether the interrupt needs to be routed to DCANINT0 or DCANINT1.

    By default they are '0' which will take your interrupt to DCANINT0 line, once you configure the same to '1' then DCANINT1 line will be activated when the IntPnd for a given message object gets set (for ex when TxIE is set and a successful transmission happens, which will activate IntPnd).

    Once you get the DCANINT1 line activated as discussed above, then Int1ID will give you the message object for which the interrupt has occurred, it will stay non-zero until you clear that interrupt.

    Hope this clarifies your question.

  • Hello Karthik,

    Thank you for your response. Very clear.