<?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 Re: iMx6 UL and FlexCAN Rx FIFO in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMx6-UL-and-FlexCAN-Rx-FIFO/m-p/768118#M119319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q. Does it activate the HW Rx FIFO ? From my understanding, I think is is (with a deph of 6 messages).&lt;/P&gt;&lt;P&gt;A. Yes.&lt;/P&gt;&lt;P&gt;Q. Does it also manage a Software Rx FIFO?&lt;/P&gt;&lt;P&gt;A. No.&lt;/P&gt;&lt;P&gt;The FlexCAN register area is locked from the User mode access.&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>Fri, 13 Apr 2018 07:21:24 GMT</pubDate>
    <dc:creator>art</dc:creator>
    <dc:date>2018-04-13T07:21:24Z</dc:date>
    <item>
      <title>iMx6 UL and FlexCAN Rx FIFO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx6-UL-and-FlexCAN-Rx-FIFO/m-p/768117#M119318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom board with an iMx6UL running a kernel 4.14 (built with buildroot)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FlexCAN driver (unmodified) is compiled and running.&lt;/P&gt;&lt;P&gt;When I test it with socketCAN tools (candump), CAN messages are correctly received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'd like to understand how the driver configures the FlexCAN module, specially how it manages reception FIFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Does it activate the HW Rx FIFO ? From my understanding, I think is is (with a deph of 6 messages).&lt;/P&gt;&lt;P&gt;2) Does it also manage a Software Rx FIFO?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use memtool to read the value of the&amp;nbsp;FLEXCANx_MCR register to check the FlexCan configuration, but I get the following error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;# ./memtool -32 02090000 4&lt;BR /&gt;Reading 0x4 count starting at address 0x02090000&lt;/P&gt;&lt;P&gt;Bus error&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And dmesg gives the following log:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;[ 7995.508046] Unhandled fault: external abort on non-linefetch (0x1008) at 0xb6f9c000&lt;BR /&gt;[ 7995.515777] pgd = cca08000&lt;BR /&gt;[ 7995.518530] [b6f9c000] *pgd=8df84835, *pte=02090303, *ppte=02090a33&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Note: I can read registers from other modules (SPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 14:12:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx6-UL-and-FlexCAN-Rx-FIFO/m-p/768117#M119318</guid>
      <dc:creator>Bijam</dc:creator>
      <dc:date>2018-04-05T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: iMx6 UL and FlexCAN Rx FIFO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx6-UL-and-FlexCAN-Rx-FIFO/m-p/768118#M119319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q. Does it activate the HW Rx FIFO ? From my understanding, I think is is (with a deph of 6 messages).&lt;/P&gt;&lt;P&gt;A. Yes.&lt;/P&gt;&lt;P&gt;Q. Does it also manage a Software Rx FIFO?&lt;/P&gt;&lt;P&gt;A. No.&lt;/P&gt;&lt;P&gt;The FlexCAN register area is locked from the User mode access.&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>Fri, 13 Apr 2018 07:21:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx6-UL-and-FlexCAN-Rx-FIFO/m-p/768118#M119319</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2018-04-13T07:21:24Z</dc:date>
    </item>
  </channel>
</rss>

