<?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 MDIO in flexio pins in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MDIO-in-flexio-pins/m-p/2115952#M49867</link>
    <description>&lt;P&gt;Hello, i am trying to use MDIO for s32k116, i know that the funtion is only built in s32k148, but can i make the whole routine my self for the 2 pins (clock and data) if yes could you advise me which pins i should use, i already thought that flexio is more compatible but do you advise some function like uart or ...&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jun 2025 07:49:09 GMT</pubDate>
    <dc:creator>elb1</dc:creator>
    <dc:date>2025-06-13T07:49:09Z</dc:date>
    <item>
      <title>MDIO in flexio pins</title>
      <link>https://community.nxp.com/t5/S32K/MDIO-in-flexio-pins/m-p/2115952#M49867</link>
      <description>&lt;P&gt;Hello, i am trying to use MDIO for s32k116, i know that the funtion is only built in s32k148, but can i make the whole routine my self for the 2 pins (clock and data) if yes could you advise me which pins i should use, i already thought that flexio is more compatible but do you advise some function like uart or ...&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 07:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MDIO-in-flexio-pins/m-p/2115952#M49867</guid>
      <dc:creator>elb1</dc:creator>
      <dc:date>2025-06-13T07:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: MDIO in flexio pins</title>
      <link>https://community.nxp.com/t5/S32K/MDIO-in-flexio-pins/m-p/2116793#M49907</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;simplest way to emulate the Serial Management Interface (SMI)&amp;nbsp;using the&amp;nbsp;MDC/MDIO lines&amp;nbsp;on the&amp;nbsp;NXP S32K118 microcontroller&amp;nbsp;is by manually implementing the protocol in software using&amp;nbsp;GPIOs—a technique known as&amp;nbsp;bit-banging. However, this approach may struggle to maintain the typical SMI clock rate of around&amp;nbsp;2.5 MHz, which can be challenging for software-based timing.&lt;/P&gt;
&lt;P&gt;To offload the CPU and potentially improve timing accuracy, you might consider using&amp;nbsp;DMA, though this introduces complexity—particularly in handling the&amp;nbsp;turnaround phase&amp;nbsp;(2 clock cycles) during SMI read operations, when the&amp;nbsp;MDIO line switches from output to input.&lt;/P&gt;
&lt;P&gt;An alternative is to use the&amp;nbsp;FlexIO module, which, while not natively supporting SMI, is flexible enough to emulate various protocols with a custom configuration. However, there is currently&amp;nbsp;no known official implementation or guidance&amp;nbsp;specifically for SMI emulation using FlexIO.&lt;/P&gt;
&lt;P&gt;For reference, consult&amp;nbsp;Application Note AN12174: Using FlexIO to Emulate Communications and Timing Peripherals&amp;nbsp;(link to PDF). This document provides detailed examples of FlexIO emulating different protocols and could serve as a valuable starting point for developing your own SMI emulation.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 09:06:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MDIO-in-flexio-pins/m-p/2116793#M49907</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-06-16T09:06:11Z</dc:date>
    </item>
  </channel>
</rss>

