<?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>S32KのトピックRe: GPIO control quickly for S32K341</title>
    <link>https://community.nxp.com/t5/S32K/GPIO-control-quickly-for-S32K341/m-p/1828320#M32981</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225934"&gt;@Masaki_Mori&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It is not recommended to use the core for precise timing.&lt;/P&gt;
&lt;P&gt;The execution time depends on many factors like cache hit/miss, crossbar switch arbitration, etc. and ARM does not even specify instruction cycles for CM7. &lt;/P&gt;
&lt;P&gt;Use a HW module e.g. FlexIO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2024 09:40:49 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-03-14T09:40:49Z</dc:date>
    <item>
      <title>GPIO control quickly for S32K341</title>
      <link>https://community.nxp.com/t5/S32K/GPIO-control-quickly-for-S32K341/m-p/1826629#M32868</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I'm using the S32DS3.4 sample "Port_Example_S32K342." I want to measure multiple SPI-specification sensors at the same time, so I want to control GPIO at high speed.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I controlled the port output using an inline assembler, but the frequency was 2MHz.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Please let me know if there are any conditions for faster control.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;while (count++ &amp;lt; 4)&lt;BR /&gt;{&lt;BR /&gt;/* Get input level of channels */&lt;BR /&gt;&lt;BR /&gt;__asm__ __volatile__ ("ldr r0, =0x40291302");&lt;BR /&gt;__asm__ __volatile__ ("ldr r1, =0x1");&lt;BR /&gt;__asm__ __volatile__ ("strb r1, [r0, #0]");&lt;BR /&gt;__asm__ __volatile__ ("nop");&lt;BR /&gt;__asm__ __volatile__ ("nop");&lt;BR /&gt;__asm__ __volatile__ ("ldr r1, =0x0");&lt;BR /&gt;__asm__ __volatile__ ("strb r1, [r0, #0]");&lt;BR /&gt;__asm__ __volatile__ ("nop");&lt;BR /&gt;__asm__ __volatile__ ("nop");&lt;BR /&gt;__asm__ __volatile__ ("ldr r1, =0x1");&lt;BR /&gt;__asm__ __volatile__ ("strb r1, [r0, #0]");&lt;BR /&gt;__asm__ __volatile__ ("nop");&lt;BR /&gt;__asm__ __volatile__ ("nop");&lt;BR /&gt;__asm__ __volatile__ ("ldr r1, =0x0");&lt;BR /&gt;__asm__ __volatile__ ("strb r1, [r0, #0]");&lt;/P&gt;&lt;P&gt;TestDelay(1000000);&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 00:06:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/GPIO-control-quickly-for-S32K341/m-p/1826629#M32868</guid>
      <dc:creator>Masaki_Mori</dc:creator>
      <dc:date>2024-03-13T00:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO control quickly for S32K341</title>
      <link>https://community.nxp.com/t5/S32K/GPIO-control-quickly-for-S32K341/m-p/1828320#M32981</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225934"&gt;@Masaki_Mori&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It is not recommended to use the core for precise timing.&lt;/P&gt;
&lt;P&gt;The execution time depends on many factors like cache hit/miss, crossbar switch arbitration, etc. and ARM does not even specify instruction cycles for CM7. &lt;/P&gt;
&lt;P&gt;Use a HW module e.g. FlexIO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 09:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/GPIO-control-quickly-for-S32K341/m-p/1828320#M32981</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-03-14T09:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO control quickly for S32K341</title>
      <link>https://community.nxp.com/t5/S32K/GPIO-control-quickly-for-S32K341/m-p/1828877#M33015</link>
      <description>&lt;P&gt;Hello Daniel-san&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Your information is very helpful. I checked "Siul2_Port_Ip_Example_S32K342" and it was 140kHz. This matter is closed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks,&amp;nbsp; Masaki&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 23:54:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/GPIO-control-quickly-for-S32K341/m-p/1828877#M33015</guid>
      <dc:creator>Masaki_Mori</dc:creator>
      <dc:date>2024-03-14T23:54:42Z</dc:date>
    </item>
  </channel>
</rss>

