<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Model-Based Design Toolbox (MBDT)のトピックRe: Receiving cyclical RTR CAN Frame with ID 1FFFFFFFh when using more than one MPC5643</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684177#M856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RTR is defined in the Chip reference manual&amp;nbsp;&lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5643LRM.pdf" title="http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5643LRM.pdf"&gt;http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5643LRM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic idea behind the Remote Frame is that the &lt;STRONG&gt;Destination Node&lt;/STRONG&gt; can send/trigger this remote frame based on its received buffer message to cause the &lt;STRONG&gt;Source Node&lt;/STRONG&gt; to automatically transmit its message.&lt;/P&gt;&lt;P&gt;This is helpful for reducing the CPU time to process the CAN messages, allowing the CAN controller to store pre-formatted msg in one of its mailbox and sent out it immediately on Remote Frame request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have hardware similar with yours - but i would start to investigate from the Simulink generated code for each of the&amp;nbsp;sending and receiving models.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Couple of hints:&lt;/P&gt;&lt;P&gt;- For the transmitter check the &amp;nbsp;flexcan_564xl_buffer_transmit(). As far as i can see the RTR is set to 0 (CAN_0.BUF[BufferNo].CS.B.RTR = 0;)&lt;/P&gt;&lt;P&gt;- Check if anywhere in the generated code the RTR is set to 1.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Remote frame is a special kind of frame. The user can program an MB to be a Request Remote Frame by&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;writing the MB as Transmit with the RTR bit set to ‘1’. After the Remote Request frame is transmitted&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;successfully, the MB becomes a Receive Message Buffer, with the same ID as before."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-&amp;nbsp;&lt;/EM&gt;I would also try a live debug session to attach with a debugging tool like CW for MCU 10.7 in order to check what are the values of the CAN and Message Buffers during runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing - are you using a terminal 120ohm resistor for your CAN network ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 09:11:11 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2017-05-19T09:11:11Z</dc:date>
    <item>
      <title>Receiving cyclical RTR CAN Frame with ID 1FFFFFFFh when using more than one MPC5643</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684174#M853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I am using the Motor Control Toolbox for the mpc5643L. In my CAN Network are&amp;nbsp;2 TRK-USB-MPC5643L&amp;nbsp;and the&amp;nbsp;PCAN-USB Interface. Sending my message with the ID&amp;nbsp;001h works perfectly&amp;nbsp;fine.&lt;/P&gt;&lt;P&gt;In the Background the RTR-Frame with the ID 1FFFFFFFh is running cyclical with 0.7. The cyclical appearence of this RTR-Frame appears only when I use more than one TRK-USB-MPC5643L&amp;nbsp;in my CAN-Network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I suppress the sending of this frame?&lt;/P&gt;&lt;P&gt;What is the usage of this Frame?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for any advise or Help&lt;/P&gt;&lt;P&gt;Julian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 09:31:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684174#M853</guid>
      <dc:creator>julian_p</dc:creator>
      <dc:date>2017-05-18T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving cyclical RTR CAN Frame with ID 1FFFFFFFh when using more than one MPC5643</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684175#M854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you tell us more about your application configuration when using 2 or more devices like:&lt;/P&gt;&lt;P&gt;- both devices are sending messages at regular intervals or just when you press some buttons ?&lt;/P&gt;&lt;P&gt;- is there any chance that both devices to try to transmit the msg in the same time ?&lt;/P&gt;&lt;P&gt;- are you using different IDs for the messages ?&lt;/P&gt;&lt;P&gt;- can you link this 0.7 cycle time with any ISR from your applications ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 13:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684175#M854</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-18T13:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving cyclical RTR CAN Frame with ID 1FFFFFFFh when using more than one MPC5643</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684176#M855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Daniel,&lt;BR /&gt;thanks for your fast Reply!&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Case 1&lt;BR /&gt;A CAN Network consisting of one TRK-USB-MPC5643L&amp;nbsp;sending one CAN Message with the ID 1 to PCAN by pressing a button. When initializing (turning on) this network, once a CAN RTR Frame is on the bus with the ID 1FFFFFFF.&lt;/DIV&gt;&lt;DIV&gt;The sending and receiving of&amp;nbsp;MY message works fine.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Case 2&lt;BR /&gt;A CAN Network consisting of two TRK-USB-MPC5643L and PCAN. One of them is sending the message with ID 1 (like case 1) by pressing a button. The other one is receiving this message and turning on a light. PCAN for Monitoring the Messages. When initializing this network, the same CAN RTR Frame from case 1 is running in a cycle&amp;nbsp;of 0.7 or 0.8.&lt;BR /&gt;The Network works fine: The light is triggered by the first node of the CAN network with the message with ID 1.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;For both cases I am using the "CAN Transmit" block and "CAN Receive Trigger" from the MC Toolbox&lt;BR /&gt;I never defined this appearing Remote Frame nor do I send it conscously. &lt;BR /&gt;It somehow appears by itself. I assume that this Frame is defined somewhere else?! I Can't find any more Information about&amp;nbsp;to this RTR.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;more Information in the Simulink screenshots. I hope everything is readable.&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Config of nodes.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19323i3AEAD62C9DD7CF8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Config of nodes.png" alt="Config of nodes.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for helping&lt;BR /&gt;Julian&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:07:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684176#M855</guid>
      <dc:creator>julian_p</dc:creator>
      <dc:date>2017-05-18T15:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving cyclical RTR CAN Frame with ID 1FFFFFFFh when using more than one MPC5643</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684177#M856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The RTR is defined in the Chip reference manual&amp;nbsp;&lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5643LRM.pdf" title="http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5643LRM.pdf"&gt;http://www.nxp.com/assets/documents/data/en/reference-manuals/MPC5643LRM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic idea behind the Remote Frame is that the &lt;STRONG&gt;Destination Node&lt;/STRONG&gt; can send/trigger this remote frame based on its received buffer message to cause the &lt;STRONG&gt;Source Node&lt;/STRONG&gt; to automatically transmit its message.&lt;/P&gt;&lt;P&gt;This is helpful for reducing the CPU time to process the CAN messages, allowing the CAN controller to store pre-formatted msg in one of its mailbox and sent out it immediately on Remote Frame request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have hardware similar with yours - but i would start to investigate from the Simulink generated code for each of the&amp;nbsp;sending and receiving models.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Couple of hints:&lt;/P&gt;&lt;P&gt;- For the transmitter check the &amp;nbsp;flexcan_564xl_buffer_transmit(). As far as i can see the RTR is set to 0 (CAN_0.BUF[BufferNo].CS.B.RTR = 0;)&lt;/P&gt;&lt;P&gt;- Check if anywhere in the generated code the RTR is set to 1.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Remote frame is a special kind of frame. The user can program an MB to be a Request Remote Frame by&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;writing the MB as Transmit with the RTR bit set to ‘1’. After the Remote Request frame is transmitted&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;successfully, the MB becomes a Receive Message Buffer, with the same ID as before."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-&amp;nbsp;&lt;/EM&gt;I would also try a live debug session to attach with a debugging tool like CW for MCU 10.7 in order to check what are the values of the CAN and Message Buffers during runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thing - are you using a terminal 120ohm resistor for your CAN network ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 09:11:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/684177#M856</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-05-19T09:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving cyclical RTR CAN Frame with ID 1FFFFFFFh when using more than one MPC5643</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/1588778#M8007</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing the same problem. Did you finally find the solution?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 09:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Receiving-cyclical-RTR-CAN-Frame-with-ID-1FFFFFFFh-when-using/m-p/1588778#M8007</guid>
      <dc:creator>fabacasuso</dc:creator>
      <dc:date>2023-01-27T09:59:09Z</dc:date>
    </item>
  </channel>
</rss>

