# ESP-IDF Custom Ethernet PHY Driver Quick Guide

DevFeed: [ESP-IDF Custom Ethernet PHY Driver Quick Guide](<https://devfeed.tech/articles/esp-idf-custom-ethernet-phy-driver-quick-guide-13837.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/esp-idf-custom-ethernet-phy-driver-quick-guide/>)

Author: John Lee

Published: 2022-11-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [ESP-IDF](<https://devfeed.tech/topics/esp-idf.md>), [Ethernet](<https://devfeed.tech/topics/ethernet.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [article](<https://devfeed.tech/tags/article.md>), [blog](<https://devfeed.tech/tags/blog.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [diagnostics](<https://devfeed.tech/tags/diagnostics.md>), [driver](<https://devfeed.tech/tags/driver.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [espressif](<https://devfeed.tech/tags/espressif.md>), [ethernet](<https://devfeed.tech/tags/ethernet.md>), [guide](<https://devfeed.tech/tags/guide.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [programming](<https://devfeed.tech/tags/programming.md>)

## AI overview

A step-by-step guide to creating a custom Ethernet PHY driver for ESP-IDF, using the ADIN1200 as an example. It explains the Ethernet driver layers, the standardized MII management interface, and chip-specific implementation tasks such as link status, initialization, configuration, and diagnostics.

## Source excerpt

"I would like to start a new product design with my favorite chip but it's out of stock! Oh, no! I'll have to design a new layout and develop new drivers for it!" Every designer knows that feeling very well these days... The good news is you don't have to worry about a such thing anymore, at least in terms of ESP-IDF Ethernet PHY driver support. In this article, I'll demonstrate to you how simple it is to create a new Ethernet PHY driver.