<?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>topic CAN0 : RX packets errors in iMX6Q in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352050#M181194</link>
    <description>&lt;P&gt;Hi All.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on iMX6Q Custom board and i am using the Yocto Project Linux kernel Version 4.9.168,&lt;/P&gt;&lt;P&gt;in our project we are using &lt;STRONG&gt;msp432e&lt;/STRONG&gt; (MSP432E401Y Arm® Cortex®-M4F, windows Environment)&amp;nbsp; and &lt;STRONG&gt;iMX6Q&lt;/STRONG&gt; processor (Linux Environment), The controller and processor interface using the CAN communication and both set to 1Mbps baud rate with triple sampling on,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Imx6Q side some CAN frame are missing. to find the missing frames one side i used the CAN sniper in between msp432 and iMX6Q to get the data before reaching to imx6q, the CAN sniper connected to the linux pc or busmaster pc tool and other side&amp;nbsp; i get the data from imx6q on target board,&amp;nbsp; then i compare the both the logs, in iMX6q side frames are missing please refer the below image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;and on target side if i execute the &lt;STRONG&gt;ifconfig&lt;/STRONG&gt; command in RX Packet errors are more appeared.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one help me to resolve this issue,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to decrease the baud rate 500000 also not work, and increase the&amp;nbsp;#define FLEXCAN_MB_SIZE 16 to 32 here also Fail in CAN communication.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NANDESHSG_1-1633622372007.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158531i34075CD5C11E246D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NANDESHSG_1-1633622372007.png" alt="NANDESHSG_1-1633622372007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NANDESHSG_0-1633622165604.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158530i153463320A43A146/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NANDESHSG_0-1633622165604.png" alt="NANDESHSG_0-1633622165604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Oct 2021 16:04:38 GMT</pubDate>
    <dc:creator>NANDESHSG</dc:creator>
    <dc:date>2021-10-07T16:04:38Z</dc:date>
    <item>
      <title>CAN0 : RX packets errors in iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352050#M181194</link>
      <description>&lt;P&gt;Hi All.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on iMX6Q Custom board and i am using the Yocto Project Linux kernel Version 4.9.168,&lt;/P&gt;&lt;P&gt;in our project we are using &lt;STRONG&gt;msp432e&lt;/STRONG&gt; (MSP432E401Y Arm® Cortex®-M4F, windows Environment)&amp;nbsp; and &lt;STRONG&gt;iMX6Q&lt;/STRONG&gt; processor (Linux Environment), The controller and processor interface using the CAN communication and both set to 1Mbps baud rate with triple sampling on,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Imx6Q side some CAN frame are missing. to find the missing frames one side i used the CAN sniper in between msp432 and iMX6Q to get the data before reaching to imx6q, the CAN sniper connected to the linux pc or busmaster pc tool and other side&amp;nbsp; i get the data from imx6q on target board,&amp;nbsp; then i compare the both the logs, in iMX6q side frames are missing please refer the below image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;and on target side if i execute the &lt;STRONG&gt;ifconfig&lt;/STRONG&gt; command in RX Packet errors are more appeared.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one help me to resolve this issue,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to decrease the baud rate 500000 also not work, and increase the&amp;nbsp;#define FLEXCAN_MB_SIZE 16 to 32 here also Fail in CAN communication.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NANDESHSG_1-1633622372007.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158531i34075CD5C11E246D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NANDESHSG_1-1633622372007.png" alt="NANDESHSG_1-1633622372007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NANDESHSG_0-1633622165604.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158530i153463320A43A146/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NANDESHSG_0-1633622165604.png" alt="NANDESHSG_0-1633622165604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 16:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352050#M181194</guid>
      <dc:creator>NANDESHSG</dc:creator>
      <dc:date>2021-10-07T16:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: CAN0 : RX packets errors in iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352118#M181200</link>
      <description>&lt;P&gt;It could be timing mismatch. Perhaps odd CAN module clock on either iMX or MSP432, something like 66.(6) MHz, which doesn't divide by CAN bit rate. You may check it with&amp;nbsp;&lt;/P&gt;&lt;P&gt;ip -details link show can0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 19:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352118#M181200</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2021-10-07T19:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: CAN0 : RX packets errors in iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352375#M181234</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Kef2,&lt;/P&gt;&lt;P&gt;Thanks for your quick reply,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i executed the above command it gives the following result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NANDESHSG_0-1633672806859.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/158584iAC2A3692BDEB28B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NANDESHSG_0-1633672806859.png" alt="NANDESHSG_0-1633672806859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;SGN&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 06:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352375#M181234</guid>
      <dc:creator>NANDESHSG</dc:creator>
      <dc:date>2021-10-08T06:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: CAN0 : RX packets errors in iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352453#M181245</link>
      <description>&lt;P&gt;30.0 MHz is OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then try checking timings using scope. Disconnect node from the bus, let it send something and observe minimum pulse width on CANH/CANL. It should precisely match expected bitrate, 1.0us for 1Mbps, 2.0us for 500kbps etc. Any visible timing mismatch confirms timing is bad. Repeat the same with you other node.&lt;/P&gt;&lt;P&gt;Edward&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 07:26:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352453#M181245</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2021-10-08T07:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: CAN0 : RX packets errors in iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352649#M181270</link>
      <description>&lt;P&gt;Hi Nandish&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for that issue may be recommended to try nxp linux from source.codeaurora.org/external/imx/linux-imx repository (as linux kernel version 4.9.168 is not supported by nxp)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.9.88_2.0.0_ga" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.9.88_2.0.0_ga&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;use simple can tests:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/test/can/doc?h=imx_4.9.88_2.0.0_ga" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/test/can/doc?h=imx_4.9.88_2.0.0_ga&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 11:53:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1352649#M181270</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-10-08T11:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: CAN0 : RX packets errors in iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1371119#M183017</link>
      <description>&lt;P&gt;Hello&amp;nbsp; All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i am trying to change the timeout delay as 50 to 250, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define FLEXCAN_TIMEOUT_US (50)&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* 8 for RX fifo and 2 error handling */&lt;BR /&gt;#define FLEXCAN_NAPI_WEIGHT (8 + 2) as&amp;nbsp;#define FLEXCAN_NAPI_WEIGHT ( 64 ) /* 64 MB's */&amp;nbsp;&lt;BR /&gt;but when is increase the time out error occurred bit late. but issue is same, can any one help me to come out of this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nandish S.G&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 07:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CAN0-RX-packets-errors-in-iMX6Q/m-p/1371119#M183017</guid>
      <dc:creator>NANDESHSG</dc:creator>
      <dc:date>2021-11-15T07:40:35Z</dc:date>
    </item>
  </channel>
</rss>

