<?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>i.MX RT Crossover MCUsのトピックRe: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2085272#M34121</link>
    <description>His problem has been described very clearly. This is a very obvious error. When using the standard routine and development board for CANopen communication, the NMT state can be switched, the heartbeat packet can be received and the frequency of the heartbeat packet can be modified. Both the SDO and TPDO are operating normally and can read, write, and modify the content of the object dictionary. However, only the RPDO is not working properly. I used two CAN protocol analyzers from different brands to send data, and this situation occurred in both cases. I also consulted many CANopen experts and learned that this is an abnormal situation. Therefore, I think it is likely a bug in this CANopen protocol stack.</description>
    <pubDate>Wed, 23 Apr 2025 08:38:40 GMT</pubDate>
    <dc:creator>2419725132</dc:creator>
    <dc:date>2025-04-23T08:38:40Z</dc:date>
    <item>
      <title>The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2082917#M34067</link>
      <description>&lt;P&gt;Background: I'm using an NXP MCU and the CANopen protocol stack provided in the SDK package (EmSA CANopen (FD) Libraries for NXP SDKs). Most of the code is enclosed in the .a library files, and the hardware CAN module part is also included in these .a library files. So, I can't see the code of the CAN module and am unable to troubleshoot the issues. According to the ChangeLogKSDK.txt document, the protocol stack version is 7.10_rev1.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Problem: When using a CAN analyzer's PC software as the host computer to send RPDO to the MCU, I've encountered a problem. For some reason, the host computer needs to send one more byte for the MCU to enter the MCOUSER_RPDOReceived callback function. For example, if the mapping object of the RPDO in the object dictionary is set to 4 bytes (e.g., 0x20120020, where the last 0x20 indicates 4 bytes), the DLC (Data Length Code) on the host computer needs to be set to 5 bytes (or more) for the MCU to successfully receive the data, execute the callback, and successfully set the content in the object dictionary. (The code for setting the values in the object dictionary is not in the callback; the callback is just for users to write additional application code.) Otherwise, not only will the callback not be executed, but the content in the object dictionary will not change either.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For instance, if 1 byte is set, the DLC needs to be set to 2 bytes for the MCOUSER_RPDOReceived callback function to execute and obtain the correct data. This pattern continues in a similar manner.&lt;BR /&gt;If 8 bytes are set, when the DLC is less than or equal to 8, the situation is the same as above, and the callback will not be executed. However, if the DLC is greater than 8, the data received in the MCOUSER_RPDOReceived callback function will be garbled, and the content in the object dictionary cannot be changed, meaning the setting fails.&lt;/P&gt;&lt;P&gt;What could be the reason for this? Is it a certain setting inherent in the CANopen protocol? Is there a macro that can turn on or off this setting?#RT1170-EVK&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 02:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2082917#M34067</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2025-04-18T02:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2083702#M34078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;'CANopen protocol stack provided in the SDK package (EmSA CANopen (FD) Libraries for NXP SDKs). Most of the code is enclosed in the .a library files....'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;--&amp;gt;&amp;nbsp;&lt;/SPAN&gt;Please clarify both hardware EVK and SDKs in details, it seems be all source code to customers if you download from offical EVK bord (e.g, RT1170-EVKB: &lt;A href="https://mcuxpresso.nxp.com/en/builder?hw=MIMXRT1170-EVKB" target="_blank"&gt;https://mcuxpresso.nxp.com/en/builder?hw=MIMXRT1170-EVKB&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;i.mx RT list:&amp;nbsp;&lt;A href="https://nxp.com/imxrt" target="_blank"&gt;https://nxp.com/imxrt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 07:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2083702#M34078</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2025-04-21T07:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2083809#M34088</link>
      <description>Hello, the example code path I am using is ...\SDK_2_16_000_MIMXRT1170-EVK\boards\evkmimxrt1170\canopen_examples\mco_slave, and the development board is MIMXRT1170-EVK&lt;BR /&gt;&lt;BR /&gt;Problem: When using a CAN analyzer's PC software as the host computer to send RPDO to the MCU, I've encountered a problem. For some reason, the host computer needs to send one more byte for the MCU to enter the MCOUSER_RPDOReceived callback function. For example, if the mapping object of the RPDO in the object dictionary is set to 4 bytes (e.g., 0x20120020, where the last 0x20 indicates 4 bytes), the DLC (Data Length Code) on the host computer needs to be set to 5 bytes (or more) for the MCU to successfully receive the data, execute the callback, and successfully set the content in the object dictionary. (The code for setting the values in the object dictionary is not in the callback; the callback is just for users to write additional application code.) Otherwise, not only will the callback not be executed, but the content in the object dictionary will not change either.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For instance, if 1 byte is set, the DLC needs to be set to 2 bytes for the MCOUSER_RPDOReceived callback function to execute and obtain the correct data. This pattern continues in a similar manner.&lt;BR /&gt;If 8 bytes are set, when the DLC is less than or equal to 8, the situation is the same as above, and the callback will not be executed. However, if the DLC is greater than 8, the data received in the MCOUSER_RPDOReceived callback function will be garbled, and the content in the object dictionary cannot be changed, meaning the setting fails.&lt;BR /&gt;&lt;BR /&gt;Is this issue caused by my incorrect operation or a bug in the .a library file? If it’s due to improper operation, what steps should I take to correct it</description>
      <pubDate>Mon, 21 Apr 2025 10:00:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2083809#M34088</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2025-04-21T10:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2084222#M34097</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Did you follow user manual or steps from Readme.md before you ask this question?&lt;/P&gt;
&lt;P&gt;Especially for hardware and board setting.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sam_Gao_0-1745296821198.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334155iFC1EC3B0F6D54661/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sam_Gao_0-1745296821198.png" alt="Sam_Gao_0-1745296821198.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 04:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2084222#M34097</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2025-04-22T04:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2084248#M34099</link>
      <description>I connected the CAN analyzer to the CANL and CANH lines on the development board. Using the CAN analyzer, I can monitor the heartbeat packets from the slave device and switch its state.</description>
      <pubDate>Tue, 22 Apr 2025 05:56:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2084248#M34099</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2025-04-22T05:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2084255#M34100</link>
      <description>Additional note: TPDO and SDO can read/write and modify object dictionary entries normally, but there is an issue with RPDO</description>
      <pubDate>Tue, 22 Apr 2025 06:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2084255#M34100</guid>
      <dc:creator>suki</dc:creator>
      <dc:date>2025-04-22T06:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2085055#M34115</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249507"&gt;@suki&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So even you follow up the steps as README shown, this demo/example(NO ANY Modification) is still not workable from your side? If yes, please clarify in details.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 03:58:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2085055#M34115</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2025-04-23T03:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2085272#M34121</link>
      <description>His problem has been described very clearly. This is a very obvious error. When using the standard routine and development board for CANopen communication, the NMT state can be switched, the heartbeat packet can be received and the frequency of the heartbeat packet can be modified. Both the SDO and TPDO are operating normally and can read, write, and modify the content of the object dictionary. However, only the RPDO is not working properly. I used two CAN protocol analyzers from different brands to send data, and this situation occurred in both cases. I also consulted many CANopen experts and learned that this is an abnormal situation. Therefore, I think it is likely a bug in this CANopen protocol stack.</description>
      <pubDate>Wed, 23 Apr 2025 08:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2085272#M34121</guid>
      <dc:creator>2419725132</dc:creator>
      <dc:date>2025-04-23T08:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2087164#M34150</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249685"&gt;@2419725132&lt;/a&gt;&amp;nbsp;So, in your opinion, this is a bug from&amp;nbsp;&lt;SPAN&gt;CANopen protocol stack even&amp;nbsp;without the technical details/behaivor? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you submit to CANOpen about your opinion to github issue to help fix this 'bug'?&amp;nbsp;&lt;A href="https://github.com/CANopenNode/CANopenNode" target="_blank"&gt;https://github.com/CANopenNode/CANopenNode&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 08:21:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2087164#M34150</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2025-04-25T08:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2088206#M34168</link>
      <description>I have already consulted the author of the (EmSA CANopen (FD) Libraries for NXP SDKs) protocol stack. They provided me with a new.a library file. After I replaced the original one with this new file, everything worked properly. This indicates that it was indeed a bug.</description>
      <pubDate>Mon, 28 Apr 2025 08:59:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2088206#M34168</guid>
      <dc:creator>2419725132</dc:creator>
      <dc:date>2025-04-28T08:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2088274#M34170</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249685"&gt;@2419725132&lt;/a&gt;&amp;nbsp;Would you please share it here? and please share how did you get it?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/249507"&gt;@suki&lt;/a&gt;&amp;nbsp;please follow to check if the 'dedicated new lib' is open here.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 10:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2088274#M34170</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2025-04-28T10:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2089118#M34192</link>
      <description>I found that although this library has fixed the RPDO, there are still other bugs. Therefore, I won't share it here to avoid causing any misguidance. I'm still pursuing the investigation of these new bugs. I directly contacted them on the official website (&lt;A href="http://www.em-sa.com/nxp" target="_blank"&gt;www.em-sa.com/nxp&lt;/A&gt;) of the (EmSA CANopen (FD) Libraries for NXP SDKs) protocol stack, and that's why they replied to me. I think that since they are responsible for adding the CANopen protocol stack to your NXP chip's SDK, once bugs occur, it should be you who asks them to fix these bugs and then update the SDK, instead of me having to do the asking.</description>
      <pubDate>Tue, 29 Apr 2025 07:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2089118#M34192</guid>
      <dc:creator>2419725132</dc:creator>
      <dc:date>2025-04-29T07:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: The issue with NXP's canopen protocol stack, regarding the length error when setting RPDO</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2089832#M34202</link>
      <description>&lt;P&gt;Please follow&amp;nbsp;&lt;A href="https://www.esacademy.com/en/client-work/nxp.html" target="_blank"&gt;https://www.esacademy.com/en/client-work/nxp.html&lt;/A&gt;&amp;nbsp;to find detials.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 05:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/The-issue-with-NXP-s-canopen-protocol-stack-regarding-the-length/m-p/2089832#M34202</guid>
      <dc:creator>Sam_Gao</dc:creator>
      <dc:date>2025-04-30T05:16:14Z</dc:date>
    </item>
  </channel>
</rss>

