<?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>MQX Software SolutionsのトピックRe: FlexCan RxFIFO</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356028#M11595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the MQX drivers?&lt;/P&gt;&lt;P&gt;Could you please try using the flexcan example? This is located at the path: C:\Freescale\Freescale_MQX_4_1\mqx\examples\can\flexcan&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt; Sol &lt;BR /&gt; &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>Thu, 18 Dec 2014 16:19:39 GMT</pubDate>
    <dc:creator>soledad</dc:creator>
    <dc:date>2014-12-18T16:19:39Z</dc:date>
    <item>
      <title>FlexCan RxFIFO</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356027#M11594</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 am currently trying to use the FlexCan RxFifo on a K61 using MQX 4.1.1. However I am noticing that the messages always come in on the last buffer while mqx always checks message buffer 0. So when I start the system the first 5 messages my CAN system receives are all 0's and my system is always 5 messages behind. Am I missing initializing something so they system doesn't assume that all the FIFO buffers are in use already? I see in the datasheet that "Before enabling the RFEN, the CPU must service the IFLAG bits asserted in the Rx FIFO region; see Section "Rx FIFO". Otherwise, these IFLAG bits will mistakenly show the related MBs now belonging to FIFO as having contents to be serviced" however I look at the reigsters and it appears everything is cleared correctly. Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 19:58:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356027#M11594</guid>
      <dc:creator>derekkrouze</dc:creator>
      <dc:date>2014-12-16T19:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCan RxFIFO</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356028#M11595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the MQX drivers?&lt;/P&gt;&lt;P&gt;Could you please try using the flexcan example? This is located at the path: C:\Freescale\Freescale_MQX_4_1\mqx\examples\can\flexcan&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt; Sol &lt;BR /&gt; &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>Thu, 18 Dec 2014 16:19:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356028#M11595</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2014-12-18T16:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCan RxFIFO</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356029#M11596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response soledad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the MQX drivers and have looked through the example code given, unfortunately the example doesn't seem geared towards the RxFIFO and I seem to be doing everything they are in the example. It feels like the hardware thinks message buffers 0-5 are in use when the first message comes in. I have stepped through the code and when the interrupt is fired my message is in the RxFIFO buffer 0 and then when the interrupt is cleared it goes to the end of the fifo and the system reads packets of zeros. After 6 messages are received I finally get my very first message to be processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 16:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356029#M11596</guid>
      <dc:creator>derekkrouze</dc:creator>
      <dc:date>2014-12-18T16:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCan RxFIFO</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356030#M11597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case any one else is looking at this thread, I want to make sure they realize what was happening here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fsl_flexcan driver in MQX 4.1 has a bug: the interrupt happens when the message comes in, but it doesn't copy out the message before it clears the interrupt.&amp;nbsp; When the driver reads out the message later, it always seems like you're queue-length messages behind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has been fixed in Kinetis SDK 1.1.0, but I don't know how that applies to the straight MQX distributions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 22:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356030#M11597</guid>
      <dc:creator>lisamichauxsmit</dc:creator>
      <dc:date>2015-01-29T22:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: FlexCan RxFIFO</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356031#M11598</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;This bug seems always be present in MQX 4.2.&lt;/P&gt;&lt;P&gt;Are they a workaround or a patch to apply?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 07:37:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FlexCan-RxFIFO/m-p/356031#M11598</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2015-12-23T07:37:07Z</dc:date>
    </item>
  </channel>
</rss>

