<?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>LPC MicrocontrollersのトピックRe: Q2: CAN transmission in a proper way?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062614#M41014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #333399; background-color: #ffffff;"&gt;I have used MCAN_TransferSendBlocking() function till now which worked until number of devices are less.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It is not clear to me what you mean, especiall with "number of devices are less".&lt;/P&gt;&lt;P&gt;Check that your bus is not in "error passive" state.&lt;/P&gt;&lt;P&gt;Perhaps you have a termination issue. Can you see bus traffic with a scope ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think a blocking send is quite a bad idea on a&amp;nbsp;non-synchronous and non-deterministic&amp;nbsp;bus&amp;nbsp;like CAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2020 13:41:21 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2020-05-25T13:41:21Z</dc:date>
    <item>
      <title>Q2: CAN transmission in a proper way?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062611#M41011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;I have custom made LPC54618 board &amp;amp; I want to communicate with x number of other CAN devices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #333399;"&gt;I have used MCAN_TransferSendBlocking() function till now which worked until number of devices are less.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #333399;"&gt;I certainly moved to MCAN_TransferSendNonBlocking() for better transmission but it is not working properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #333399;"&gt;It stays in that function forever. Does anybody has working solution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333399;"&gt;Thanks...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2020 05:10:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062611#M41011</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-05-23T05:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Q2: CAN transmission in a proper way?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062612#M41012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Friend,&lt;/P&gt;&lt;P&gt;As you know that the CAN packet has priority, the lower the target ID(identification)&amp;nbsp; in the CAN packet is, the higher priority the CAN packet has. in other words, the ID with 0x00 in packet has the highest priority. Based on the CAN arbitration rule, the CAN packet with the lower ID sends firstly.&lt;/P&gt;&lt;P&gt;So pls decrease the target ID number in a multiple CAN nodes environment.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 06:01:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062612#M41012</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-05-25T06:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Q2: CAN transmission in a proper way?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062613#M41013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/xiangjun.rong"&gt;xiangjun.rong&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;there is no problem with ID priority.&lt;/P&gt;&lt;P&gt;it is a problem function &lt;SPAN style="color: #333399; background-color: #ffffff;"&gt;MCAN_TransferSendNonBlocking()&amp;nbsp;&lt;/SPAN&gt;itself or maybe i'm not using it properly.&lt;/P&gt;&lt;P&gt;so share code if you have any working code of CAN transmission (not the one in sdk example).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 10:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062613#M41013</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-05-25T10:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Q2: CAN transmission in a proper way?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062614#M41014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #333399; background-color: #ffffff;"&gt;I have used MCAN_TransferSendBlocking() function till now which worked until number of devices are less.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It is not clear to me what you mean, especiall with "number of devices are less".&lt;/P&gt;&lt;P&gt;Check that your bus is not in "error passive" state.&lt;/P&gt;&lt;P&gt;Perhaps you have a termination issue. Can you see bus traffic with a scope ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think a blocking send is quite a bad idea on a&amp;nbsp;non-synchronous and non-deterministic&amp;nbsp;bus&amp;nbsp;like CAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2020 13:41:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062614#M41014</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2020-05-25T13:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Q2: CAN transmission in a proper way?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062615#M41015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frank, device in the sense BMS. This is the scenario, when 3 BMSs are communicating successfully on a CAN line, if I add one more BMS to the same line, one of the communicating BMS will stop communicating (while at the same time) the newly added BMS will communicate successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I surely know that Blocking send is very bad idea because I want 20 BMSs to communicate on the same bus (which will somehow will not work at some point of time).&lt;/P&gt;&lt;P&gt;I'm unable to get non-blocking send work properly. Can you help me in this regard?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 04:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062615#M41015</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-05-26T04:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Q2: CAN transmission in a proper way?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062616#M41016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;...if I add one more BMS to the same line, one of the communicating BMS will stop communicating (while at the same time) the newly added BMS will communicate successfully.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;This does not sound like a physical issue with the bus.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Not sure what you mean with "BMS". But I suggest to read the manual of this device. Has it any limitations in regard to identical devices on one bus ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My company, for example, works a lot with CANopen devices (sensors).&amp;nbsp;Some older devices had DIP switches for ID selection. limiting the number of devices on the bus (CANopen uses IDs similar to addresses).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You BMS device firmware might be buggy. I would suggest to&amp;nbsp;record the CAN bus traffic in a fail scenario, and evaluate the trace.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 06:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q2-CAN-transmission-in-a-proper-way/m-p/1062616#M41016</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2020-05-26T06:24:41Z</dc:date>
    </item>
  </channel>
</rss>

