<?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: CAN issue in K60</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336496#M10851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We already integrated the patch mentioned in the above link. But the issue is still there.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 04:45:13 GMT</pubDate>
    <dc:creator>akhil</dc:creator>
    <dc:date>2015-03-10T04:45:13Z</dc:date>
    <item>
      <title>CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336494#M10849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;We have some issues in data transmission via CAN module. During long run, some data packets are missing. That is, sometimes the data reception/transmission is failing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Other details are given below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Controller: K60&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;OS: MQX 4.0.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Scheduling: FIFO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;CAN RX and TX task priority : 7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Main Task Priority: 9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Other tasks Priority: 8&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Same ISR for both TX and RX.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Note: We are transmitting large amount of data via CAN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;We have noticed, FLEXCAN_Tx_message function unlocks the message buffer( temp16 = can_reg_ptr-&amp;gt;TIMER ) . But in data sheet it is documented that "&lt;EM&gt;the locking mechanism only applies to Rx MBs&lt;/EM&gt;". Is there any issue with this implementation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Also we have noticed that the priority value of CAN RX/TX ISR(retrieved using the function _task_get_priority ) is same as that of the main task. So we would like to know the priority value, if there any, of the ISR. Is priority difference causing the CAN issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; font-family: Arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please share your comments on this random CAN issue. We would like to figure out the root cause of this CAN issue ASAP. Please help us.&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 07:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336494#M10849</guid>
      <dc:creator>akhil</dc:creator>
      <dc:date>2015-02-25T07:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336495#M10850</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;Could you please check the below thread?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/311421"&gt;Buffering CAN RX Messages - Missing Messages When TX Flow Control&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Mon, 09 Mar 2015 21:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336495#M10850</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-03-09T21:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336496#M10851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We already integrated the patch mentioned in the above link. But the issue is still there.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 04:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336496#M10851</guid>
      <dc:creator>akhil</dc:creator>
      <dc:date>2015-03-10T04:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336497#M10852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sol,&lt;/P&gt;&lt;P&gt;Please help us on this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 08:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336497#M10852</guid>
      <dc:creator>akhil</dc:creator>
      <dc:date>2015-03-26T08:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336498#M10853</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;Sorry for my delay.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;The MQX FlexCAN driver doesn't enable FlexCAN hardware module receive fifo.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Thus, software shall read each incoming message with a small latency, move it from the Rx Message Buffer into memory, otherwise new incoming message will be lost or overwritten.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;The FlexCAN hardware module supports features like Rx FIFO (for up to 8 incoming CAN messages) or Rx Queue, none of these features is enabled in the MQX FlexCAN driver.&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;If you wish to use MQX FlexCAN software driver, I recommend to keep Rx interrupts enabled, and move the received data from Message buffer to a memory as quickly as possible. You can buffer the data in memory and process them by a task once per 1 sec if you wish, but moving data between Message Buffer and memory should be active all the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Wed, 08 Apr 2015 15:38:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336498#M10853</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-04-08T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336499#M10854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sol,&lt;/P&gt;&lt;P&gt;We already enabled the receive interrupt and have a dedicated task to read data from the RX buffer. Here we are using events for the communication(to sync/signal) between interrupt handler and receive task. But the issue still exists.&lt;/P&gt;&lt;P&gt;It seems that sometimes receive/transmit interrupts are missing. Do the _int_disable()..._int_enable() function calls in other drivers cause any issue in the CAN interrupts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Akhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 05:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336499#M10854</guid>
      <dc:creator>akhil</dc:creator>
      <dc:date>2015-04-09T05:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336500#M10855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sol,&lt;/P&gt;&lt;P&gt;We have sniffed the CAN packets using CAN analyzer and observed that, the message identifier changed to 0(expected is 242) , which is unexpected.&lt;/P&gt;&lt;P&gt;Here transmitter is a device with K10(K20 BSP) controller and receiver is a K60 device. Seems the issue with the CAN driver or micro controller. Is there any workaround to fix this issue.?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="canissue.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2041i7D899EBFB68DB209/image-size/large?v=v2&amp;amp;px=999" role="button" title="canissue.jpg" alt="canissue.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 13:07:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336500#M10855</guid>
      <dc:creator>akhil</dc:creator>
      <dc:date>2015-06-05T13:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: CAN issue in K60</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336501#M10856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sol,&lt;/P&gt;&lt;P&gt;Is the Chip errata discussed in the below link applicable here?&lt;/P&gt;&lt;P&gt;&lt;A href="https://gitlab.com/amonthedeamon/linux-kernel-test/commit/a6cdbaecaa2575bd2f0dd290ff83cfe2dae06959" title="https://gitlab.com/amonthedeamon/linux-kernel-test/commit/a6cdbaecaa2575bd2f0dd290ff83cfe2dae06959"&gt;can: flexcan: implement workaround for errata ERR005829 (a6cdbaec) | Commits | Andrea Scian / linux-kernel-test | GitLab&lt;/A&gt; &lt;/P&gt;&lt;P&gt;MASK k60 :&amp;nbsp; 3N96b&lt;/P&gt;&lt;P&gt;MASK k10 :&amp;nbsp; 2N36b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 13:45:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/CAN-issue-in-K60/m-p/336501#M10856</guid>
      <dc:creator>akhil</dc:creator>
      <dc:date>2015-06-05T13:45:31Z</dc:date>
    </item>
  </channel>
</rss>

