Problem:
I run the ethernet example code with a Lan8720 chip and everything appears to be working correctly, there are no errors, the lights on the ethernet port are flashing, and the example executes successfully. The problem is that the ESP32 is not assigned an IP address.
Observations:
- This behavior is consistent across multiple build platforms, DHCP servers, and firmware versions
- I connected an oscilloscope to the EMAC clock and the 50 MHz clock seems to be working correctly
- I see data coming over the EMAC RX0 and EMAC RX1 pins
- I see no signal over the EMAC TX0 and TX1 pins
- When powered on the EMAC TX0 and TX1 pins are shorted, but when powered off they are not. This behavior is unique to the TX pins.
Configuration:
EMAC TX0 - GPIO 19
EMAC TX1 - GPIO 22
EMAC RX0 - GPIO 25
EMAX RX1 - GPIO 26
Comments:
From what I have observed and what I have read, I think there is some sort of dual pin assignment or flow control happening on the EMAC TX pins. The result is that not information is sent over these pins, the DHCP receives no response, and thus no IP address is assigned. This could be the case, but it is only a guess, and I am a little hazy on the specifics of this guess.
Any insight on this problem would be greatly appreciated.
Ethernet Lan8720 Pin Issues
-
- Posts: 5
- Joined: Wed Oct 25, 2017 9:32 pm
Return to “General Discussion”
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 84 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.