<?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: Unable to send Data on FlexCAN interface on iMX6ULL</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845168#M129503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be useful to check&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-1437"&gt;https://community.nxp.com/docs/DOC-1437&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also one can try with "canutils" package&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/linux-can/can-utils/blob/master/README.md" title="https://github.com/linux-can/can-utils/blob/master/README.md"&gt;can-utils/README.md at master · linux-can/can-utils · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Dec 2018 03:32:45 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2018-12-08T03:32:45Z</dc:date>
    <item>
      <title>Unable to send Data on FlexCAN interface on iMX6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845165#M129500</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;&lt;/P&gt;&lt;P&gt;I am trying to bringup FlexCAN on a custom board running iMX6ULL. The issue that i am &lt;BR /&gt;facing is, i am able to create a CAN interface but i don't see any data coming out of&lt;BR /&gt;my CAN port. I probed the port using a DSO and i don't see any transaction on the port.&lt;BR /&gt;The following are my entries in the device table and attached are the various logs.&lt;BR /&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also can someone point me to any documents on how to perform a loopback test on CAN interface ? I am running Linux 4.1.15 version of kernel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;reg_can_3v3: regulator@0 {&lt;BR /&gt;compatible = "regulator-fixed";&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;regulator-name = "can-3v3";&lt;BR /&gt;regulator-min-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt;regulator-max-microvolt = &amp;lt;3300000&amp;gt;;&lt;BR /&gt;gpios = &amp;lt;&amp;amp;gpio4 16 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;flexcan1 {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_flexcan1&amp;gt;;&lt;BR /&gt;xceiver-supply = &amp;lt;&amp;amp;reg_can_3v3&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_flexcan1: flexcan1grp{&lt;BR /&gt;MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020&lt;BR /&gt;MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020&lt;BR /&gt;&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The following are the logs&lt;BR /&gt;==========================&lt;BR /&gt;root@imx6ul7d:~/can# ifconfig can0&lt;BR /&gt;can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;BR /&gt;UP RUNNING NOARP MTU:16 Metric:1&lt;BR /&gt;RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt;TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt;collisions:0 txqueuelen:10&lt;BR /&gt;RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;BR /&gt;Interrupt:23&lt;/P&gt;&lt;P&gt;root@imx6ul7d:~/can# ip -details -statistics link show can0&lt;BR /&gt;2: can0: &amp;lt;NOARP,UP,LOWER_UP,ECHO&amp;gt; mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 10&lt;BR /&gt;link/can promiscuity 0&lt;BR /&gt;can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 0&lt;BR /&gt;bitrate 125000 sample-point 0.875&lt;BR /&gt;tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1&lt;BR /&gt;flexcan: tseg1 4..16 tseg2 2..8 sjw 1..4 brp 1..256 brp-inc 1&lt;BR /&gt;clock 30000000&lt;BR /&gt;re-started bus-errors arbit-lost error-warn error-pass bus-off&lt;BR /&gt;0 0 0 0 0 0&lt;BR /&gt;RX: bytes packets errors dropped overrun mcast&lt;BR /&gt;0 0 0 0 0 0&lt;BR /&gt;TX: bytes packets errors dropped carrier collsns&lt;BR /&gt;0 0 0 0 0 0&lt;BR /&gt;root@imx6ul7d:~/can#&lt;BR /&gt;root@imx6ul7d:~/can# cansend can0 100#1122334455667788&lt;BR /&gt;root@imx6ul7d:~/can#&lt;BR /&gt;root@imx6ul7d:~/can# ip -details -statistics link show can0&lt;BR /&gt;2: can0: &amp;lt;NOARP,UP,LOWER_UP,ECHO&amp;gt; mtu 16 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 10&lt;BR /&gt;link/can promiscuity 0&lt;BR /&gt;can state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 0&lt;BR /&gt;bitrate 125000 sample-point 0.875&lt;BR /&gt;tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1&lt;BR /&gt;flexcan: tseg1 4..16 tseg2 2..8 sjw 1..4 brp 1..256 brp-inc 1&lt;BR /&gt;clock 30000000&lt;BR /&gt;re-started bus-errors arbit-lost error-warn error-pass bus-off&lt;BR /&gt;0 0 0 0 0 0&lt;BR /&gt;RX: bytes packets errors dropped overrun mcast&lt;BR /&gt;0 0 0 0 0 0&lt;BR /&gt;TX: bytes packets errors dropped carrier collsns&lt;BR /&gt;0 0 0 0 0 0&lt;BR /&gt;root@imx6ul7d:~/can#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Biju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2018 13:30:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845165#M129500</guid>
      <dc:creator>bijunair</dc:creator>
      <dc:date>2018-12-06T13:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send Data on FlexCAN interface on iMX6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845166#M129501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simple test is described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/can?h=imx_4.9.88_2.0.0_ga" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/can?h=imx_4.9.88_2.0.0_ga"&gt;can\test - imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;note, second can device should be connected to board to get data out.&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>Fri, 07 Dec 2018 00:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845166#M129501</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-12-07T00:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send Data on FlexCAN interface on iMX6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845167#M129502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is what i have done.&lt;/P&gt;&lt;P&gt;I have connected 2 of my development boards back to back and created CAN interface on both the devices. After this, on one device i used "cansend" utility to send a CAN packet and on the second board i started the "candump" utility to capture the packets. But still i don't see any of the TX and RX counters getting incremented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, i didn't see the "cantest" application to test CAN. The document&amp;nbsp;FSL-UT-CAN-003 talks about this utility. Does it mean "cantest" utility ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, appreciate any thoughts on what i can try now ? Does my DTS file looks good ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Biju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 07:54:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845167#M129502</guid>
      <dc:creator>bijunair</dc:creator>
      <dc:date>2018-12-07T07:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send Data on FlexCAN interface on iMX6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845168#M129503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Biju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be useful to check&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-1437"&gt;https://community.nxp.com/docs/DOC-1437&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also one can try with "canutils" package&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/linux-can/can-utils/blob/master/README.md" title="https://github.com/linux-can/can-utils/blob/master/README.md"&gt;can-utils/README.md at master · linux-can/can-utils · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Dec 2018 03:32:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845168#M129503</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-12-08T03:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to send Data on FlexCAN interface on iMX6ULL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845169#M129504</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;&amp;nbsp; &amp;nbsp; &amp;nbsp;I have the same issue, look&amp;nbsp;&lt;A href="https://community.nxp.com/thread/518435"&gt;https://community.nxp.com/thread/518435&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 09:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-send-Data-on-FlexCAN-interface-on-iMX6ULL/m-p/845169#M129504</guid>
      <dc:creator>wuyixuan</dc:creator>
      <dc:date>2019-11-21T09:17:46Z</dc:date>
    </item>
  </channel>
</rss>

