<?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: Super beginner: S32K144 48MHz GPIO performance? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2038279#M45629</link>
    <description>&lt;P&gt;The signal is very clean with 6ns rise and fall times, so I don't believe it's related to loading or drive strength.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2025 06:21:05 GMT</pubDate>
    <dc:creator>bananium</dc:creator>
    <dc:date>2025-02-05T06:21:05Z</dc:date>
    <item>
      <title>Super beginner: S32K144 48MHz GPIO performance?</title>
      <link>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2037948#M45616</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;A super beginner here, just starting with S32K1 series, and ARM to be honest.&lt;/P&gt;&lt;P&gt;I am trying to make a simple proof of concept, producing a square wave with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;for (;;) {
  PINS_DRV_SetPins(PTD, 1 &amp;lt;&amp;lt; 15U);
  PINS_DRV_ClearPins(PTD, 1 &amp;lt;&amp;lt; 15U);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works but the "problem" I have is that it's only 1.80MHz, which seems oddly slow when I read that with a 16MHz AVR I should be expecting over 2MHz.&lt;/P&gt;&lt;P&gt;What might I be doing wrong? Or is this the performance to be expected?&lt;/P&gt;&lt;P&gt;If I check CORE_CLK, BUS_CLK and PORTD_CLK with &lt;SPAN class=""&gt;CLOCK_DRV_GetFreq&lt;/SPAN&gt; I get 48MHz for all of them. Also the clocks to best of my beginner understanding are configured likewise.&lt;/P&gt;&lt;P&gt;I'm using the internal 48MHz FIRC.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 19:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2037948#M45616</guid>
      <dc:creator>bananium</dc:creator>
      <dc:date>2025-02-04T19:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Super beginner: S32K144 48MHz GPIO performance?</title>
      <link>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2038032#M45618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246389"&gt;@bananium&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The speed of GPIOs depends on the type of pad used. The rise and fall times of the output, for different drive strength settings and capacitive loads, are shown in Table 21 (AC electrical specifications at 3.3V for the S32K1xx series) and Table 23 (AC electrical specifications at 5V for the S32K1xx series) of the S32K1xx Data Sheet, Rev. 14.&lt;/P&gt;
&lt;P&gt;The following are the available pad types for GPIOs:&lt;BR /&gt;- GPIO: Standard General Purpose I/O Pad&lt;BR /&gt;- GPIO-HD: General Purpose I/O Pad with high drive capability (Strong drive)&lt;BR /&gt;- GPIO-FAST: General Purpose I/O Pad supporting high-speed operation (applicable only for S32K148)&lt;/P&gt;
&lt;P&gt;These specifications detail the rise and fall times based on the drive strength and capacitive load of the respective pad types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 21:10:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2038032#M45618</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-02-04T21:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Super beginner: S32K144 48MHz GPIO performance?</title>
      <link>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2038279#M45629</link>
      <description>&lt;P&gt;The signal is very clean with 6ns rise and fall times, so I don't believe it's related to loading or drive strength.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 06:21:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2038279#M45629</guid>
      <dc:creator>bananium</dc:creator>
      <dc:date>2025-02-05T06:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Super beginner: S32K144 48MHz GPIO performance?</title>
      <link>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2038331#M45632</link>
      <description>&lt;P&gt;With more direct register manipulation I am able to get 4.8MHz, which is more in line with the supposed AVR performance, so perhaps it is working as it is supposed to work.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;PORTD-&amp;gt;PCR[15] = 256;
PTD-&amp;gt;PDDR = (1 &amp;lt;&amp;lt; 15);

for (;;) {
  PTD-&amp;gt;PCOR |= 1 &amp;lt;&amp;lt; 15;
  PTD-&amp;gt;PSOR |= 1 &amp;lt;&amp;lt; 15;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 07:18:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Super-beginner-S32K144-48MHz-GPIO-performance/m-p/2038331#M45632</guid>
      <dc:creator>bananium</dc:creator>
      <dc:date>2025-02-05T07:18:53Z</dc:date>
    </item>
  </channel>
</rss>

