<?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: Normal GPIO simulates I2C as slave communication</title>
    <link>https://community.nxp.com/t5/S32K/Normal-GPIO-simulates-I2C-as-slave-communication/m-p/1679495#M24624</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;pin interrupt and function is selected using PORT.PCRn register. The pin direction is then set by GPIO PDDR register. See more in chapters&amp;nbsp;12 Port Control and Interrupts (PORT) and&amp;nbsp;13&lt;BR /&gt;General-Purpose Input/Output (GPIO) of teh device Reference Manual.&lt;BR /&gt;Anyway I2C pins should be bidirectional with open-drain output, which is not possible to set on normal GPIO pins of this MCU.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2023 09:32:08 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2023-06-30T09:32:08Z</dc:date>
    <item>
      <title>Normal GPIO simulates I2C as slave communication</title>
      <link>https://community.nxp.com/t5/S32K/Normal-GPIO-simulates-I2C-as-slave-communication/m-p/1678868#M24585</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I used the PB9 and PB10 of the S32K146 as SCL and SDA to simulate the I2C.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; It involves the SDA pin needing to switch between the input edge interrupt mode and the output mode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; What API functions are needed?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt; What should I pay attention to when switching?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 16:59:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Normal-GPIO-simulates-I2C-as-slave-communication/m-p/1678868#M24585</guid>
      <dc:creator>Hrohn</dc:creator>
      <dc:date>2023-06-29T16:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Normal GPIO simulates I2C as slave communication</title>
      <link>https://community.nxp.com/t5/S32K/Normal-GPIO-simulates-I2C-as-slave-communication/m-p/1679495#M24624</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;pin interrupt and function is selected using PORT.PCRn register. The pin direction is then set by GPIO PDDR register. See more in chapters&amp;nbsp;12 Port Control and Interrupts (PORT) and&amp;nbsp;13&lt;BR /&gt;General-Purpose Input/Output (GPIO) of teh device Reference Manual.&lt;BR /&gt;Anyway I2C pins should be bidirectional with open-drain output, which is not possible to set on normal GPIO pins of this MCU.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 09:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Normal-GPIO-simulates-I2C-as-slave-communication/m-p/1679495#M24624</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-06-30T09:32:08Z</dc:date>
    </item>
  </channel>
</rss>

