<?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: How do I setup Flexcan fifo on k64? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-setup-Flexcan-fifo-on-k64/m-p/725383#M44394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Fang. I am using one of the example projects actually as a template. What I am interested in is the receiving not transmitting. I have made some modification to my code since that time is that I setup several MBs on the flexcan module to the IDs I want to recieve on the bus, then since I know that the message are gonna be sent as a burst and in order I interrupt only once when the last message is received and this is how I reduce the number of times the MCU has to context switch to run the interrupt and store then data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2018 18:05:48 GMT</pubDate>
    <dc:creator>ahmedsobhy</dc:creator>
    <dc:date>2018-03-09T18:05:48Z</dc:date>
    <item>
      <title>How do I setup Flexcan fifo on k64?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-setup-Flexcan-fifo-on-k64/m-p/725381#M44392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the Flexcan module on the K64 setup to receive data from the CAN bus using Message Buffers. I setup each Message buffer with a specific ID to listen to and receive the info from the bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime a message is received the module causes an Interrupt. I then read the data from the message buffer and so on. I would like to know if there is a better implementation using FIFO buffers for example, that would not cause any messages to be dropped and at the same time reduce the workload on the MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Ahmed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2018 23:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-setup-Flexcan-fifo-on-k64/m-p/725381#M44392</guid>
      <dc:creator>ahmedsobhy</dc:creator>
      <dc:date>2018-03-04T23:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I setup Flexcan fifo on k64?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-setup-Flexcan-fifo-on-k64/m-p/725382#M44393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make reference from the FlexCAN project that was released for the Kinetis K6X. You can find the project in the KINETIS_SC.zip file on NXP website. There is a "can_loopback_node" project included that has example CAN driver code. Thre is an ISR that can handle transmit included. The FlexCAN_Poll_TxMBs() function in the can.c file is probably of the most interest to you. The function references polling, but it is called by the MB isr function.&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 08:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-setup-Flexcan-fifo-on-k64/m-p/725382#M44393</guid>
      <dc:creator>miduo</dc:creator>
      <dc:date>2018-03-09T08:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I setup Flexcan fifo on k64?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-setup-Flexcan-fifo-on-k64/m-p/725383#M44394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Fang. I am using one of the example projects actually as a template. What I am interested in is the receiving not transmitting. I have made some modification to my code since that time is that I setup several MBs on the flexcan module to the IDs I want to recieve on the bus, then since I know that the message are gonna be sent as a burst and in order I interrupt only once when the last message is received and this is how I reduce the number of times the MCU has to context switch to run the interrupt and store then data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 18:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-setup-Flexcan-fifo-on-k64/m-p/725383#M44394</guid>
      <dc:creator>ahmedsobhy</dc:creator>
      <dc:date>2018-03-09T18:05:48Z</dc:date>
    </item>
  </channel>
</rss>

