<?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>S12 / MagniV MicrocontrollersのトピックCAN messages lost after 16 received</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1367905#M18271</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using 9s12XEQ384.&lt;/P&gt;&lt;P&gt;I have a CAN master which issues instructions to 24 slaves.&amp;nbsp; The CAN bus length is 400mm and there are 120 Ohm termination resistors on each end of the bus.&amp;nbsp; All slaves run the same firmware.&amp;nbsp; The individual card IDs are setup with a DIP switch.&lt;/P&gt;&lt;P&gt;They are connected at 500 KBaud.&amp;nbsp; The communication is fine.&amp;nbsp; The messages get through and return data is sent.&amp;nbsp; But .....&lt;/P&gt;&lt;P&gt;At power up the master sends a message which all slaves must respond to to detect what CAN IDs are connected.&amp;nbsp; All CAN messages are received under interrupt on both the master and slaves.&lt;/P&gt;&lt;P&gt;I can only get a maximum of 16 responses.&amp;nbsp; If I unplug some of the lower ID address cards, then the higher value IDs are present.&amp;nbsp; So I can confirm that all 24 are responding, but only a maximum of 16 cards.&lt;/P&gt;&lt;P&gt;My CAN acceptance registers&amp;nbsp; are set for Don't Care&amp;nbsp; (0xffff)&amp;nbsp; I am using standard length IDs.&lt;/P&gt;&lt;P&gt;I send my request to respond on CAN ID = 0x0A&lt;/P&gt;&lt;P&gt;I get many responses on CAN ID = 0x0B, but as I said only a maximum of 16 are received.&lt;/P&gt;&lt;P&gt;Am I missing something in the CAN standard?&amp;nbsp; Is this response possible?&lt;/P&gt;&lt;P&gt;Is there a bus overload and I need to assign each a delay before it sends each cards response?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or am I doing something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wade Whitehorn&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 13:49:57 GMT</pubDate>
    <dc:creator>dastek</dc:creator>
    <dc:date>2021-11-08T13:49:57Z</dc:date>
    <item>
      <title>CAN messages lost after 16 received</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1367905#M18271</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using 9s12XEQ384.&lt;/P&gt;&lt;P&gt;I have a CAN master which issues instructions to 24 slaves.&amp;nbsp; The CAN bus length is 400mm and there are 120 Ohm termination resistors on each end of the bus.&amp;nbsp; All slaves run the same firmware.&amp;nbsp; The individual card IDs are setup with a DIP switch.&lt;/P&gt;&lt;P&gt;They are connected at 500 KBaud.&amp;nbsp; The communication is fine.&amp;nbsp; The messages get through and return data is sent.&amp;nbsp; But .....&lt;/P&gt;&lt;P&gt;At power up the master sends a message which all slaves must respond to to detect what CAN IDs are connected.&amp;nbsp; All CAN messages are received under interrupt on both the master and slaves.&lt;/P&gt;&lt;P&gt;I can only get a maximum of 16 responses.&amp;nbsp; If I unplug some of the lower ID address cards, then the higher value IDs are present.&amp;nbsp; So I can confirm that all 24 are responding, but only a maximum of 16 cards.&lt;/P&gt;&lt;P&gt;My CAN acceptance registers&amp;nbsp; are set for Don't Care&amp;nbsp; (0xffff)&amp;nbsp; I am using standard length IDs.&lt;/P&gt;&lt;P&gt;I send my request to respond on CAN ID = 0x0A&lt;/P&gt;&lt;P&gt;I get many responses on CAN ID = 0x0B, but as I said only a maximum of 16 are received.&lt;/P&gt;&lt;P&gt;Am I missing something in the CAN standard?&amp;nbsp; Is this response possible?&lt;/P&gt;&lt;P&gt;Is there a bus overload and I need to assign each a delay before it sends each cards response?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or am I doing something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wade Whitehorn&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 13:49:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1367905#M18271</guid>
      <dc:creator>dastek</dc:creator>
      <dc:date>2021-11-08T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: CAN messages lost after 16 received</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1368278#M18278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible that when I acknowledge the CAN RX interrupt that I clear some other message flags?&lt;/P&gt;&lt;P&gt;This is how I clear the RX flag&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAN1RFLG = RXF;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 07:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1368278#M18278</guid>
      <dc:creator>dastek</dc:creator>
      <dc:date>2021-11-09T07:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: CAN messages lost after 16 received</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1368971#M18282</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you send messages with the same ID from different nodes simultaneously? If data payload is the same (or no payload), then transmission from two or more nodes may match in time and others will see single message instead of two or more. Sending with same ID but different payload synchronously may trigger transmission errors&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Is there a bus overload and I need to assign each a delay before it sends each cards response?&lt;/LI-CODE&gt;&lt;P&gt;No, just read messages in time, not allowing OVRIF =1 to happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; CAN1RFLG = RXF; &lt;/LI-CODE&gt;&lt;P&gt;How RXF is defined? OK if it equals 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 06:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1368971#M18282</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2021-11-10T06:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: CAN messages lost after 16 received</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1369380#M18286</link>
      <description>&lt;P&gt;Hi Edward,&lt;/P&gt;&lt;P&gt;This is how I define RXF&amp;nbsp; :&amp;nbsp; #define RXF (unsigned char) 0x01&lt;/P&gt;&lt;P&gt;So that is not my problem.&lt;/P&gt;&lt;P&gt;There is no traffic on the bus before my master talks to the other nodes and there is no traffic after.&lt;/P&gt;&lt;P&gt;I have gone with a work around where I send a CAN message and then wait for it to be sent.&lt;/P&gt;&lt;P&gt;This works now so I will stay with it.&lt;/P&gt;&lt;P&gt;Thanks for the assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 14:44:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-messages-lost-after-16-received/m-p/1369380#M18286</guid>
      <dc:creator>dastek</dc:creator>
      <dc:date>2021-11-10T14:44:31Z</dc:date>
    </item>
  </channel>
</rss>

