<?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>i.MX ProcessorsのトピックMaximum IMX7D GPIO toggle frequency - A7 versus M4</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Maximum-IMX7D-GPIO-toggle-frequency-A7-versus-M4/m-p/652945#M99956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On an iMX7D, using Linux /dev/mem and mmap, I am able to achieve a maximum GPIO toggle rate of 10 Mhz from the (master) A7 core running at 1GHz (i.e. each GPIO transition requires ~ 50 ns).&amp;nbsp; However, when using direct (ASM) access from the Cortex-M4 (running at 238 MHz), the maximum achievable toggle rate drops to ~ 3.3 Mhz - the actual STR instruction writing the bit toggle to the GPIO4 data register requires a full 150 ns to complete (as measured by SYST_CVR reads before and after).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have enabled Cortex-M4 LMEM caching and programmed the Cortex-M4 MPU to treat the GPIO4 memory space as NON-SHAREABLE, DEVICE MEMORY without any improvement in the toggle rate.&amp;nbsp; Is there any way to improve the GPIO access speed from the Cortex-M4 core , or is this a fundamental limitation of the architecture ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Scott.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 03:47:07 GMT</pubDate>
    <dc:creator>jsm09a</dc:creator>
    <dc:date>2017-04-06T03:47:07Z</dc:date>
    <item>
      <title>Maximum IMX7D GPIO toggle frequency - A7 versus M4</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Maximum-IMX7D-GPIO-toggle-frequency-A7-versus-M4/m-p/652945#M99956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On an iMX7D, using Linux /dev/mem and mmap, I am able to achieve a maximum GPIO toggle rate of 10 Mhz from the (master) A7 core running at 1GHz (i.e. each GPIO transition requires ~ 50 ns).&amp;nbsp; However, when using direct (ASM) access from the Cortex-M4 (running at 238 MHz), the maximum achievable toggle rate drops to ~ 3.3 Mhz - the actual STR instruction writing the bit toggle to the GPIO4 data register requires a full 150 ns to complete (as measured by SYST_CVR reads before and after).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have enabled Cortex-M4 LMEM caching and programmed the Cortex-M4 MPU to treat the GPIO4 memory space as NON-SHAREABLE, DEVICE MEMORY without any improvement in the toggle rate.&amp;nbsp; Is there any way to improve the GPIO access speed from the Cortex-M4 core , or is this a fundamental limitation of the architecture ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Scott.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 03:47:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Maximum-IMX7D-GPIO-toggle-frequency-A7-versus-M4/m-p/652945#M99956</guid>
      <dc:creator>jsm09a</dc:creator>
      <dc:date>2017-04-06T03:47:07Z</dc:date>
    </item>
  </channel>
</rss>

