<?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: i.MX6DL - Flexcan Transmission Interrupt random delay in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1172377#M163953</link>
    <description>&lt;P&gt;Hi igorpadykov,&lt;/P&gt;&lt;P&gt;Thank you for your answer but I'm totally new with what you are suggesting (NIC-301). I've check SDLRM chapter 46 but I don't understand what I'm supposed to do when you say "disable them" or "set lower priority". I've download also "AMBA® Network Interconnect (NIC-301) Technical&lt;BR /&gt;Reference Manual, version r2p3".&lt;/P&gt;&lt;P&gt;I can do a memory mapping via GPV port and access a master but then I don't see an interface register to manage priority or enable/disable state ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 09:25:40 GMT</pubDate>
    <dc:creator>adrien_sierra</dc:creator>
    <dc:date>2020-10-23T09:25:40Z</dc:date>
    <item>
      <title>i.MX6DL - Flexcan Transmission Interrupt random delay</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1171830#M163900</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using i.MX6DL processor with QNX RTOS. I've develop the Flexcan driver by myself. Everything seems to work correctly but I'm experiencing some performance problem.&lt;/P&gt;&lt;P&gt;In my system, I have to send each 5ms a CAN frame. The frame has the corresponding IMASK set to generate an interruption when transmission is done.&lt;/P&gt;&lt;P&gt;Most of the time, this transmission sequence is working well :&lt;/P&gt;&lt;P&gt;1. Application send data to driver&lt;/P&gt;&lt;P&gt;2. Driver checks if respective interruption bit is set and clear it&lt;/P&gt;&lt;P&gt;3. Driver checks if MB is Inactive&lt;/P&gt;&lt;P&gt;4. Driver writes id,data,dlc,CS word&lt;/P&gt;&lt;P&gt;5. MB is activated, CAN frame is transmitted&lt;/P&gt;&lt;P&gt;6. Interruption 0x8E (IRQ 142 - FLEXCAN1) is fired, driver catch it and handle it&lt;/P&gt;&lt;P&gt;7. Driver answers to application to say it's OK you can continue, frame is sent.&lt;/P&gt;&lt;P&gt;This transmission sequence is during around 200-300 microseconds. But randomly like 5 minutes after starting the application, it's taking 4-5ms...&lt;/P&gt;&lt;P&gt;After a lot of verification, it seems that the interruption is fired with a 4ms delay instead of 200us and I don't understand why ? Am I missing something here ? Is there a mecanism to add in order to protect the MB, for example check ESR1[TX] register to be sure transmission is finished ?&lt;/P&gt;&lt;P&gt;The question is why the interruption delay since activation of MB is taking randomly milliseconds instead of microseconds ?&lt;/P&gt;&lt;P&gt;If you have ideas, it will be a great help for me.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 09:26:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1171830#M163900</guid>
      <dc:creator>adrien_sierra</dc:creator>
      <dc:date>2020-10-23T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - Flexcan Transmission Interrupt random delay</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1172079#M163918</link>
      <description>&lt;P&gt;Hi adrien_sierra&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;random&amp;nbsp; interruption delay may happen due to&amp;nbsp;high internal&amp;nbsp; bus load&lt;/P&gt;
&lt;P&gt;produced by some masters, described in Chapter 46&lt;BR /&gt;Network Interconnect Bus System (NIC-301)&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_2" href="https://www.nxp.com/webapp/Download?colCode=IMX6SDLRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6Solo/6DualLite Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Just for test one can try to disable them (or set lower priority) one by one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 23:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1172079#M163918</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-22T23:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - Flexcan Transmission Interrupt random delay</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1172377#M163953</link>
      <description>&lt;P&gt;Hi igorpadykov,&lt;/P&gt;&lt;P&gt;Thank you for your answer but I'm totally new with what you are suggesting (NIC-301). I've check SDLRM chapter 46 but I don't understand what I'm supposed to do when you say "disable them" or "set lower priority". I've download also "AMBA® Network Interconnect (NIC-301) Technical&lt;BR /&gt;Reference Manual, version r2p3".&lt;/P&gt;&lt;P&gt;I can do a memory mapping via GPV port and access a master but then I don't see an interface register to manage priority or enable/disable state ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 09:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1172377#M163953</guid>
      <dc:creator>adrien_sierra</dc:creator>
      <dc:date>2020-10-23T09:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - Flexcan Transmission Interrupt random delay</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1172426#M163959</link>
      <description>&lt;DIV id="bodyDisplay_0" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Hi adrien_sierra&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&amp;gt; I don't understand what I'm supposed to do when you say "disable them"&lt;/DIV&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;remove them (these modules) from image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that nxp does not support qnx. For qnx support suggest to post on&lt;/P&gt;
&lt;P&gt;&lt;A href="http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/FreescaleImx6QSabreLite" target="_blank"&gt;http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/FreescaleImx6QSabreLite&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Oct 2020 10:50:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1172426#M163959</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-23T10:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - Flexcan Transmission Interrupt random delay</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1174503#M164182</link>
      <description>&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;I've check another point and it seems to work. I've check "Chip Errata for the i.MX 6Solo/6DualLite" rev6 and there is a chapter for Flexcan concerning a bug for transmission.&lt;/P&gt;&lt;P&gt;I've patch my code by adding three things inspired from chip errata document :&lt;/P&gt;&lt;P&gt;1) Start using Mailbox from index 1 and not 0. MB1...MX63&lt;/P&gt;&lt;P&gt;2) Write INACTIVE code to current mailbox for transmission before activation&lt;/P&gt;&lt;P&gt;3) Write INACTIVE code twice to MB0 just after activation of current mailbox for transmission&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The system is now running since 3 hours and I still don't have an error. Let's wait at least 10 hours.&lt;/P&gt;&lt;P&gt;I hope it will be fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, thanks for help Igor !&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 12:05:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1174503#M164182</guid>
      <dc:creator>adrien_sierra</dc:creator>
      <dc:date>2020-10-28T12:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6DL - Flexcan Transmission Interrupt random delay</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1175805#M164299</link>
      <description />
      <pubDate>Fri, 30 Oct 2020 09:12:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6DL-Flexcan-Transmission-Interrupt-random-delay/m-p/1175805#M164299</guid>
      <dc:creator>adrien_sierra</dc:creator>
      <dc:date>2020-10-30T09:12:55Z</dc:date>
    </item>
  </channel>
</rss>

