<?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>Kinetis Software Development KitのトピックRe: Using FlexCAN with KSDK and MQX RTOS</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431036#M2563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alessandro,&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have same problem. I agree you saying that "I&amp;nbsp; can choose any couple of Rx/Tx Message Buffers for one CAN device, but the KSDK 1.3 FlexCAN driver can work with only one couple at time, not more as I would like and as I used with the PEx CAN_LDD component."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you solve this problem. This should be a bug right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 19:03:44 GMT</pubDate>
    <dc:creator>okaner</dc:creator>
    <dc:date>2016-09-16T19:03:44Z</dc:date>
    <item>
      <title>Using FlexCAN with KSDK and MQX RTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431032#M2559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a TWR-K65F180M I tried the FlexCAN demoes flexcan_loopback and flexcan_network that come with KSD 1.3.0.&lt;/P&gt;&lt;P&gt;I ported those demoes on my new CAN application on the same board using KDS 3.0.0 + PEx + MQX_KSDK Standard.&lt;/P&gt;&lt;P&gt;Like demoes, my application defines and use one RX Message Buffer and One TX Message Buffer among the 16 FlexCAN available buffers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to have in my application two distinct CAN tasks operating on the same CAN bus, each task using a different couple of Rx/TX Message Buffers with assigned different RX and TX identifiers, e.g. one task uses RX_MB=0 with MB_ID=0x123 and TX_MB=8 with MB_ID=0x145, the other task uses RX_MB=1 with MB_ID=0x167 and TX_MB=9 with MB_ID=0x189.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For frame trasmissions I just have to call&amp;nbsp; FLEXCAN_DRV_Send() with the right TX_MB and MB_ID. But what if a would check the transmission end on a single TX Message Buffer? The FLEXCAN_DRV_GetTransmitStatus() returns the transmit status of the CAN peripheral, not for a single TX Message Buffer, right? How can I achieve the transmit status of a single TX Message Buffer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For frame reception I just have to start reception on a RX Message Buffer calling FLEXCAN_DRV_RxMessageBuffer(). But the FLEXCAN_DRV_GetReceiveStatus() driver function returns the receive status of the CAN peripheral, right?. How can I check the reception on a single RX Message Buffer? Should I use the CAN Message Buffer interrupt handler to read what type of interrupt (TX or RX) was generated on which Message Buffer? If yes, how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I need to wake up my task on its CAN reception. How can I achieve this with the available CAN driver functions? Should I use instead some of the HAL functions for the FlexCAN peripheral in some way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the past I developed on a K60 cpu another CAN application with MQX and the CAN_LDD components provided by Processor Expert. The CAN_LDD component provides call-back functions for success event on a TX Message Buffer and for a receive event on a RX Message Buffer, the buffer ID being a parameter of the call-back function. Is there a way to get the same with KSDK FlexCAN driver functions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 15:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431032#M2559</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2015-10-26T15:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using FlexCAN with KSDK and MQX RTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431033#M2560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I understand the KSDK FlexCAN driver is made to work on a single CAN peripheral (instance) with only one receive Message Buffer at time and only one transmission Message Buffer at Time, because only one flexcan_state_t state structure is available for each instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in order to have more RTOS tasks working on the same CAN peripheral each with a different couple of Rx/Tx Message Buffers I cannot use the KSDK FlexCAN driver and I need to make by myself a FlexCAN driver working like the PEx CAN_LDD component does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any better idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 15:30:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431033#M2560</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2015-12-03T15:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using FlexCAN with KSDK and MQX RTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431034#M2561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Alessandro Vagniluca:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can configure more than one mailboxes , have you tried to configure different mailbox for one can device?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FLEXCAN_DRV_SetRxIndividualMask(instance, kFlexCanMsgIdStd, rxMailboxNum, 0x7FF);&lt;/P&gt;&lt;P&gt;FLEXCAN_DRV_ConfigRxMb(instance, rxMailboxNum, &amp;amp;rxInfo,rxIdentifier);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 14:12:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431034#M2561</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-01-07T14:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using FlexCAN with KSDK and MQX RTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431035#M2562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I can choose any couple of Rx/Tx Message Buffers for one CAN device, but the KSDK FlexCAN driver can work with only one couple at time, not more as I would like and as I used with the PEx CAN_LDD component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 14:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431035#M2562</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2016-01-07T14:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using FlexCAN with KSDK and MQX RTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431036#M2563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alessandro,&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have same problem. I agree you saying that "I&amp;nbsp; can choose any couple of Rx/Tx Message Buffers for one CAN device, but the KSDK 1.3 FlexCAN driver can work with only one couple at time, not more as I would like and as I used with the PEx CAN_LDD component."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you solve this problem. This should be a bug right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 19:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431036#M2563</guid>
      <dc:creator>okaner</dc:creator>
      <dc:date>2016-09-16T19:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using FlexCAN with KSDK and MQX RTOS</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431037#M2564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Okan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn’t solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fortunately, I could adapt my application using the only one couple of Rx/Tx Message Buffers available in the KSDK 1.3 FlexCAN driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with you: the FlexCAN driver should make available all the couples of Rx/Tx Message Buffers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Da: okaner  &lt;/P&gt;&lt;P&gt;Inviato: venerdì 16 settembre 2016 21:04&lt;/P&gt;&lt;P&gt;A: Alessandro Vagniluca &amp;lt;alessandro.vagniluca@vaber-hs.it&amp;gt;&lt;/P&gt;&lt;P&gt;Oggetto: Re:  - Re: Using FlexCAN with KSDK and MQX RTOS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Using FlexCAN with KSDK and MQX RTOS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Okan ERCAN &amp;lt;https://community.nxp.com/people/okaner?et=watches.email.thread&amp;gt;  in Kinetis Software Development Kit - View the full discussion &amp;lt;https://community.nxp.com/message/832538?commentID=832538&amp;amp;et=watches.email.thread#comment-832538&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 07:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Using-FlexCAN-with-KSDK-and-MQX-RTOS/m-p/431037#M2564</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2016-09-21T07:31:25Z</dc:date>
    </item>
  </channel>
</rss>

