Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pin Assignment for any ESP32 and LAN8720 #7739

Unanswered
martinmmi asked this question in Q&A
Discussion options

Hello, i am Martin from Germany and i have one basic question to this part of the repository:

https://github.com/espressif/arduino-esp32/blob/f1b06d2a74acdef190ac16e83d48ab619f557e73/libraries/Ethernet/examples/ETH_LAN8720/ETH_LAN8720.ino

Since few weeks I try to connect an LAN8720 to an LILYOGO ESP32. Its not so easy because the LAN8720 Board needs much external signals from the esp.

For Example:

  • MDC / MDIO (I2C Bus)
  • CRS
  • RX1
  • RX0
  • nINT (CLOCK)
  • etc.

Now my question: Where can i do the pin assignments in the [WebServer_WT32_ETH01] Lib? Because every pinout is different on microcontrollers. Maybe for the example: AdvancedWebServer.ino

I have that controller concrete:
http://www.lilygo.cn/prod_view.aspx?TypeId=50003&Id=1271&FId=t3:50003:3

Thank you so much for reply in advance. I'll show my appreciation if this works.

You must be logged in to vote

Replies: 1 comment

Comment options

Hello, #ifndef ETH_PHY_ADDR #define ETH_PHY_ADDR 0 #endif #ifndef ETH_PHY_TYPE #define ETH_PHY_TYPE ETH_PHY_LAN8720 #endif #ifndef ETH_PHY_POWER #define ETH_PHY_POWER -1 #endif #ifndef ETH_PHY_MDC #define ETH_PHY_MDC 23 #endif #ifndef ETH_PHY_MDIO #define ETH_PHY_MDIO 18 #endif https://github.com/espressif/arduino-esp32/blob/f1b06d2a74acdef190ac16e83d48ab619f557e73/libraries/Ethernet/src/ETH.h Em sex., 20 de jan. de 2023 às 12:22, martinmmi ***@***.***> escreveu:
...
Hello, i am Martin from Germany and i have one basic question to this part of the repository: https://github.com/espressif/arduino-esp32/blob/f1b06d2a74acdef190ac16e83d48ab619f557e73/libraries/Ethernet/examples/ETH_LAN8720/ETH_LAN8720.ino Since few weeks I try to connect an *LAN8720* to an *LILYOGO ESP32*. Its not so easy because the LAN8720 Board needs much external signals from the esp. *For Example:* - MDC / MDIO (I2C Bus) - CRS - RX1 - RX0 - nINT (CLOCK) - etc. *Now my question:* Where can i do the pin assignments in the [WebServer_WT32_ETH01] Lib? Because every pinout is different on microcontrollers. Maybe for the example: AdvancedWebServer.ino I have that controller concrete: http://www.lilygo.cn/prod_view.aspx?TypeId=50003&Id=1271&FId=t3:50003:3 Thank you so much for reply in advance. I'll show my appreciation if this works. — Reply to this email directly, view it on GitHub <#7739>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A5FRGW725EOZKH76S4MD23DWTKURTANCNFSM6AAAAAAUBUS5JI> . You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /