<?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 When TJA1043 with iMX6UL the kernel complains 'STF_ERR' and 'FRM_ERR' in NXP Designs</title>
    <link>https://community.nxp.com/t5/NXP-Designs/When-TJA1043-with-iMX6UL-the-kernel-complains-STF-ERR-and-FRM/m-p/1321444#M914</link>
    <description>&lt;P&gt;After the dts modified as below, the kernel can list the flexcan interface by ifconfig and iproute2, and the loopback test is Okay.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;pinctrl_flexcan2: flexcan2grp{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;fsl,pins = &amp;lt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;&amp;gt;;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;However, it complains 'STF_ERR' when using cansend (one of canutils) to send a message, and complains 'FRM_ERR' when using candump (one of canutils) to receive messages from Host PC via USB-to-CAN adapter.&lt;BR /&gt;&lt;BR /&gt;Circuit connection shown as below:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN_tja1043_connection.png" style="width: 900px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152530iCFACB4F5DF888FBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_tja1043_connection.png" alt="CAN_tja1043_connection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To simplify the circuit, the STB_N and EN is connected to V3.3 directly. The STF_ERR and FRM_ERR info is obtained by `dmesg | grep can` command. See the macro in flexcan.c and the definition in Reference Manual, STF is abbr to Stuffing, FRM is abbr to Frame.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How to get rid of these info? Any comment and suggestion are appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 02:16:30 GMT</pubDate>
    <dc:creator>adamhuang</dc:creator>
    <dc:date>2021-08-11T02:16:30Z</dc:date>
    <item>
      <title>When TJA1043 with iMX6UL the kernel complains 'STF_ERR' and 'FRM_ERR'</title>
      <link>https://community.nxp.com/t5/NXP-Designs/When-TJA1043-with-iMX6UL-the-kernel-complains-STF-ERR-and-FRM/m-p/1321444#M914</link>
      <description>&lt;P&gt;After the dts modified as below, the kernel can list the flexcan interface by ifconfig and iproute2, and the loopback test is Okay.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;pinctrl_flexcan2: flexcan2grp{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;fsl,pins = &amp;lt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;MX6UL_PAD_UART2_RTS_B__FLEXCAN2_RX 0x1b020&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;MX6UL_PAD_UART2_CTS_B__FLEXCAN2_TX 0x1b020&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;&amp;gt;;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;However, it complains 'STF_ERR' when using cansend (one of canutils) to send a message, and complains 'FRM_ERR' when using candump (one of canutils) to receive messages from Host PC via USB-to-CAN adapter.&lt;BR /&gt;&lt;BR /&gt;Circuit connection shown as below:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CAN_tja1043_connection.png" style="width: 900px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152530iCFACB4F5DF888FBF/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_tja1043_connection.png" alt="CAN_tja1043_connection.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To simplify the circuit, the STB_N and EN is connected to V3.3 directly. The STF_ERR and FRM_ERR info is obtained by `dmesg | grep can` command. See the macro in flexcan.c and the definition in Reference Manual, STF is abbr to Stuffing, FRM is abbr to Frame.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How to get rid of these info? Any comment and suggestion are appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 02:16:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/When-TJA1043-with-iMX6UL-the-kernel-complains-STF-ERR-and-FRM/m-p/1321444#M914</guid>
      <dc:creator>adamhuang</dc:creator>
      <dc:date>2021-08-11T02:16:30Z</dc:date>
    </item>
  </channel>
</rss>

