<?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 Processors中的主题 Re: Can bus cann't work normally on sabresd platform</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663592#M101891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;igorpadykov:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The loopback test is that CAN1_TX connected CAN1_RX?&lt;/LI&gt;&lt;/UL&gt;&lt;H1 data-reactid=".1ldo0auja4g.0.0.0.1.0" style="background: #ffffff; border: 0px; font-weight: 300; font-size: 28px; margin: 0px 18px 0px 0px;"&gt;&amp;nbsp;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2016 08:02:10 GMT</pubDate>
    <dc:creator>tangyuan</dc:creator>
    <dc:date>2016-10-31T08:02:10Z</dc:date>
    <item>
      <title>Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663588#M101887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am debugging can bus on sabresd platform.But CAN bus cann't work normally on sabresd platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I cann't probe the waveform from the CAN0_TX.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Firstly i add the pin in board_mx6q_sabresd.h:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX6Q_PAD_GPIO_7__CAN1_TXCAN,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;MX6Q_PAD_GPIO_8__CAN1_RXCAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Secondly ,I follow the steps below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000000; font-size: 9pt;"&gt;dmesg | grep can&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #4f81bd; font-size: 9pt;"&gt;ip link set can0 up type can bitrate 125000&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4f81bd; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #000000; font-size: 9pt;"&gt;ifconfig can0 up&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4f81bd; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #000000; font-size: 9pt;"&gt;ifconfig can0&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;SPAN style="font-size: 9pt;"&gt;cansend can0 -i0x100 11 22 33 44&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;But i cann't still probe the waveform from the CAN0_TX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;The picture is as follows&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="ty2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7074i578663870BD18C67/image-size/large?v=v2&amp;amp;px=999" role="button" title="ty2.PNG" alt="ty2.PNG" /&gt;&lt;/span&gt;one&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp; &amp;nbsp;My kernel is linux 3.0.35.&amp;nbsp;Attachment is my reference document&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp; &amp;nbsp;Can you anyone help me ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 07:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663588#M101887</guid>
      <dc:creator>tangyuan</dc:creator>
      <dc:date>2016-10-24T07:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663589#M101888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for testing two boards should be used. Alternatively one can test&lt;/P&gt;&lt;P&gt;with imx-test package (..test/can folder)&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz"&gt;www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Mon, 24 Oct 2016 11:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663589#M101888</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-24T11:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663590#M101889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;My main problem is that i cann't &amp;nbsp;probe any wareform from the CAN1_TX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 02:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663590#M101889</guid>
      <dc:creator>tangyuan</dc:creator>
      <dc:date>2016-10-31T02:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663591#M101890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;had you tried loopback test&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 06:36:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663591#M101890</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-31T06:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663592#M101891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;igorpadykov:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The loopback test is that CAN1_TX connected CAN1_RX?&lt;/LI&gt;&lt;/UL&gt;&lt;H1 data-reactid=".1ldo0auja4g.0.0.0.1.0" style="background: #ffffff; border: 0px; font-weight: 300; font-size: 28px; margin: 0px 18px 0px 0px;"&gt;&amp;nbsp;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 08:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663592#M101891</guid>
      <dc:creator>tangyuan</dc:creator>
      <dc:date>2016-10-31T08:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663593#M101892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 08:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663593#M101892</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-31T08:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663594#M101893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;igorpadykov:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Do&amp;nbsp;I need to connect CAN1_TX and CAN1_RX?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Now ,i didn't connect CAN1_TX and CAN1_RX.But i get the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; My test command is as follws:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;root@freescale /$ ip link set can0 down&lt;BR /&gt;root@freescale /$ ip link set can0 type can bitrate 50000 loopback on&lt;BR /&gt;root@freescale /$ ip link set can0 up&lt;BR /&gt;flexcan imx6q-flexcan.0: writing ctrl=0x27293005&lt;BR /&gt;root@freescale /$ candump can0 &amp;amp;&lt;BR /&gt;[1] 2570&lt;BR /&gt;interface = can0, family = 29, type = 3, proto = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@freescale /$ cansend can0 -i 0x01 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88&lt;BR /&gt;interface = can0, family = 29, type = 3, proto = 1&lt;BR /&gt;&amp;lt;0x001&amp;gt; [8] 11 22 33 44 55 66 77 88 &lt;BR /&gt;root@freescale /$&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@freescale /$ cantest can0 1F334455#1122334455667788&lt;BR /&gt;root@freescale /$ &amp;lt;0x1f334455&amp;gt; [8] 11 22 33 44 55 66 77 88&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This is correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 09:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663594#M101893</guid>
      <dc:creator>tangyuan</dc:creator>
      <dc:date>2016-10-31T09:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663595#M101894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;nbsp; &amp;nbsp; Now ,i didn't connect CAN1_TX and CAN1_RX.But i get the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAN1_RX should be connected to CAN1_TX in loopback mode&lt;/P&gt;&lt;P&gt;or other board, otherwise CAN1_RX may be treated by driver as always busy&lt;/P&gt;&lt;P&gt;state and will not send data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 09:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663595#M101894</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-31T09:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can bus cann't work normally on sabresd platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663596#M101895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;igorpadykov&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; I have already connected CAN1_TX and CAN1_RX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;I test as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="huihuan.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5946iA85C10A2EC55E1ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="huihuan.PNG" alt="huihuan.PNG" /&gt;&lt;/span&gt;s&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Is this correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;I havn't &amp;nbsp;still probed &amp;nbsp;any waveform on CAN1_TX or CAN1_RX&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 01:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Can-bus-cann-t-work-normally-on-sabresd-platform/m-p/663596#M101895</guid>
      <dc:creator>tangyuan</dc:creator>
      <dc:date>2016-11-01T01:57:55Z</dc:date>
    </item>
  </channel>
</rss>

