LAN8720 RXER pin

morphal
Posts: 3
Joined: Mon Jun 06, 2022 10:40 am

LAN8720 RXER pin

Postby morphal » Mon Jun 06, 2022 3:07 pm

Hi!
Please help me to figure out the ethernet interface implementation of LAN8720 PHY in the ESP-IDF. Specifically my question is about the RXER pin of LAN8720.
I have the WT32-ETH01 board. And the ESP32-S1 module's IO13 pin is attached to the RXER pin on LAN8720 with a 10K pull-up resistor.
At the same time Waveshare's LAN8720 module have just pulled-up this RXER pin and it is not exposed to the connector.

I was not able to find the usage of the RXER pin in ESP-IDF ethernet implementation. Did I miss its usage somewhere?

The reason this RXER pin got my attention is the JTAG interface. At the WT32-ETH01 board the IO13 pin is occupied by RXER signal and it blocks JTAG debugging (which I miss a lot :)). JTAG pins can not be remapped. So I wonder if I cut the IO13 pin of ESP32 module from PHY chip and will use it for JTAG, will the the ethernet functionality remain working correctly.
Also this knowledge will be useful for custom board designs. It seems that RMII interface does not require RXER pin, but if so why LAN8720 exposes it and WT32-ETH01 has connected RXER to ESP32? :?
Attachments
image_2022-06-06_180403812.png
WT32-ETH01
image_2022-06-06_180403812.png (116.57 KiB) Viewed 2578 times
image_2022-06-06_175648659.png
Waveshare module
image_2022-06-06_175648659.png (88.32 KiB) Viewed 2578 times

ESP_ondrej
Posts: 207
Joined: Fri May 07, 2021 10:35 am

Re: LAN8720 RXER pin

Postby ESP_ondrej » Tue Jun 07, 2022 8:09 am

RXER signal is not used by current ESP-IDF Ethernet drivers.

momentous
Posts: 2
Joined: Mon Mar 11, 2024 2:15 pm

Re: LAN8720 RXER pin

Postby momentous » Mon Mar 11, 2024 2:19 pm

Hi morphal, thanks for the interesting post, were you successfull in cutting the IO13 pin of ESP32 module from PHY chip and using it for JTAG?
Thanks!

morphal
Posts: 3
Joined: Mon Jun 06, 2022 10:40 am

Re: LAN8720 RXER pin

Postby morphal » Wed Jun 19, 2024 11:07 am

momentous wrote:
Mon Mar 11, 2024 2:19 pm
Hi morphal, thanks for the interesting post, were you successfull in cutting the IO13 pin of ESP32 module from PHY chip and using it for JTAG?
Thanks!
Hi! Sorry for late reply but better late than never)
Yes, this connection is not used by LAN8720. You can cut it and use IO13 for JTAG. It worked for me

momentous
Posts: 2
Joined: Mon Mar 11, 2024 2:15 pm

Re: LAN8720 RXER pin

Postby momentous » Fri Jun 21, 2024 7:09 am

Great, thank you very much! This is excellent :)

Who is online

Users browsing this forum: No registered users and 129 guests