<?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 imx6: FlexCAN error count not increasing proper at 500Kbps/ 1Mbps  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-FlexCAN-error-count-not-increasing-proper-at-500Kbps-1Mbps/m-p/842034#M129126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i am working on flexcan driver related application on imx6q freescale processor&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i have a CAN network with one node A sending continuous can frame, bus speed at 125 kbps&amp;nbsp;towards node B receiving, then everything is normal well and fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am generating Error Frame using Canking (CAN analyser) software from PC with 500 kbps or any other&amp;nbsp; baud rate apart from working bus speed 125kbps&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am checking with two&amp;nbsp; processor one is with imx28(2.6.35.XX kernel) and other with imx6q (3.10.XX kernel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 1 min, with imx 28 , tx passive error count nearly 1000 where as with imx6q the tx passive error count(FLEXCANX__ECR -- error counter register) &lt;SPAN&gt;nearly&amp;nbsp;&lt;/SPAN&gt;100 where as in CAN analyser Error frames are near to 10000 for 1 min.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71290i9EF40E8D41C2B8F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Could you make me understand why the passive error count are different in processor and the CAN analyser are&amp;nbsp;different&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. looks like passive error count are not properly catched by the flexcan error count register at 500Kbps/ 1Mbps, but neatly works &amp;lt; 500Kbps. could anyone suggest why this happening..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jan 2019 07:56:17 GMT</pubDate>
    <dc:creator>shashikanthirem</dc:creator>
    <dc:date>2019-01-01T07:56:17Z</dc:date>
    <item>
      <title>imx6: FlexCAN error count not increasing proper at 500Kbps/ 1Mbps</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-FlexCAN-error-count-not-increasing-proper-at-500Kbps-1Mbps/m-p/842034#M129126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i am working on flexcan driver related application on imx6q freescale processor&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;i have a CAN network with one node A sending continuous can frame, bus speed at 125 kbps&amp;nbsp;towards node B receiving, then everything is normal well and fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am generating Error Frame using Canking (CAN analyser) software from PC with 500 kbps or any other&amp;nbsp; baud rate apart from working bus speed 125kbps&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am checking with two&amp;nbsp; processor one is with imx28(2.6.35.XX kernel) and other with imx6q (3.10.XX kernel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 1 min, with imx 28 , tx passive error count nearly 1000 where as with imx6q the tx passive error count(FLEXCANX__ECR -- error counter register) &lt;SPAN&gt;nearly&amp;nbsp;&lt;/SPAN&gt;100 where as in CAN analyser Error frames are near to 10000 for 1 min.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71290i9EF40E8D41C2B8F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Could you make me understand why the passive error count are different in processor and the CAN analyser are&amp;nbsp;different&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. looks like passive error count are not properly catched by the flexcan error count register at 500Kbps/ 1Mbps, but neatly works &amp;lt; 500Kbps. could anyone suggest why this happening..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2019 07:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-FlexCAN-error-count-not-increasing-proper-at-500Kbps-1Mbps/m-p/842034#M129126</guid>
      <dc:creator>shashikanthirem</dc:creator>
      <dc:date>2019-01-01T07:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: imx6: FlexCAN error count not increasing proper at 500Kbps/ 1Mbps</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-FlexCAN-error-count-not-increasing-proper-at-500Kbps-1Mbps/m-p/842035#M129127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the Section 26.8.7 "Error Counter Register (FLEXCANx_ECR)" of the i.MX6Dual/Quad Reference Manual document, available on the processor's Documentation web page:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors/i.mx-6-processors/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?tab=Documentation_Tab"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors/i.mx-6-processors/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In particular, it says the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"If the Rx_Err_Counter increases to a value greater than 127, it is not incremented further, even if more errors are detected while being a receiver".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the RX_ERR_COUNTER cannot count more than 128 consecutive receive errors.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 09:09:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-FlexCAN-error-count-not-increasing-proper-at-500Kbps-1Mbps/m-p/842035#M129127</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2019-01-24T09:09:23Z</dc:date>
    </item>
  </channel>
</rss>

