<?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 Design StudioのトピックHow to Maximize FLEXCAN Throughput?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-Maximize-FLEXCAN-Throughput/m-p/910340#M9951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get the K20 series chip's CAN controller to have the highest throughput possible. I've&amp;nbsp;configured my CAN 1 port at 500 kbps and am transmitting an extended (J1939) frame every 1 millisecond using IXXAT's CanAnalyser3 Mini (shown in attachment). When transmitting, CanAnalyser3 Mini shows that the busload is at 26% which should be easy. When I export the incoming frames from the CAN1 TTY port to a file, only 80% of the them are captured compared to how many frames are sent by the CanAnalyser. These frames are received by the CAN transceiver, parsed by the&amp;nbsp;MCU,&lt;SPAN&gt;&amp;nbsp; and then sent to the OS which creates a virtual TTY port in /dev that allows me to echo/cat to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this could be a problem with any of the parts in this communication channel, but I was hoping someone&amp;nbsp;could help me maximize the throughput of the CAN controller on the&amp;nbsp;K20 series MCU chip&lt;SPAN&gt;. I'm new to JTAG debugging and have been using printf statements to go about it, but from what I've read in the Technical Reference Manual,&amp;nbsp;I think I can achieve this by&amp;nbsp;maximizing the RxFIFO setting and the message buffer size (MAX_MB). Maybe there is a way I can enable Loopback mode on the CAN controller to test the throughput? Let me know what more information I can provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2019 23:34:53 GMT</pubDate>
    <dc:creator>bradshelton</dc:creator>
    <dc:date>2019-09-10T23:34:53Z</dc:date>
    <item>
      <title>How to Maximize FLEXCAN Throughput?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-Maximize-FLEXCAN-Throughput/m-p/910340#M9951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get the K20 series chip's CAN controller to have the highest throughput possible. I've&amp;nbsp;configured my CAN 1 port at 500 kbps and am transmitting an extended (J1939) frame every 1 millisecond using IXXAT's CanAnalyser3 Mini (shown in attachment). When transmitting, CanAnalyser3 Mini shows that the busload is at 26% which should be easy. When I export the incoming frames from the CAN1 TTY port to a file, only 80% of the them are captured compared to how many frames are sent by the CanAnalyser. These frames are received by the CAN transceiver, parsed by the&amp;nbsp;MCU,&lt;SPAN&gt;&amp;nbsp; and then sent to the OS which creates a virtual TTY port in /dev that allows me to echo/cat to.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this could be a problem with any of the parts in this communication channel, but I was hoping someone&amp;nbsp;could help me maximize the throughput of the CAN controller on the&amp;nbsp;K20 series MCU chip&lt;SPAN&gt;. I'm new to JTAG debugging and have been using printf statements to go about it, but from what I've read in the Technical Reference Manual,&amp;nbsp;I think I can achieve this by&amp;nbsp;maximizing the RxFIFO setting and the message buffer size (MAX_MB). Maybe there is a way I can enable Loopback mode on the CAN controller to test the throughput? Let me know what more information I can provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Brad&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 23:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-Maximize-FLEXCAN-Throughput/m-p/910340#M9951</guid>
      <dc:creator>bradshelton</dc:creator>
      <dc:date>2019-09-10T23:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Maximize FLEXCAN Throughput?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-Maximize-FLEXCAN-Throughput/m-p/910341#M9952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com"&gt;link&lt;/A&gt;&amp;nbsp;you can find the SDK, this has some examples that can help you to develop your application. I will suggest to check the loopback/loopback_transfer example for what you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2019 23:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-Maximize-FLEXCAN-Throughput/m-p/910341#M9952</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-09-17T23:16:52Z</dc:date>
    </item>
  </channel>
</rss>

