Search found 181 matches
- Thu Apr 25, 2024 8:17 am
- Forum: ESP-IDF
- Topic: ESP32 EMAC receive not working
- Replies: 9
- Views: 1466
Re: ESP32 EMAC receive not working
It's pretty straight forward, just register your callback function to the Ethernet handler. See examples: https://github.com/espressif/esp-idf/blob/master/examples/network/simple_sniffer/main/cmd_sniffer.c#L300 https://github.com/espressif/esp-idf/blob/master/components/esp_eth/test_apps/main/esp_et...
- Wed Apr 24, 2024 1:01 pm
- Forum: ESP-IDF
- Topic: Not getting an ip address using the basic ethernet example
- Replies: 7
- Views: 1117
Re: Not getting an ip address using the basic ethernet example
Do you have your custom board or how did you connect IP101 to ESP32?
- Wed Apr 24, 2024 12:57 pm
- Forum: ESP-IDF
- Topic: ESP32 EMAC receive not working
- Replies: 9
- Views: 1466
Re: ESP32 EMAC receive not working
Hi, you are using the driver incorrectly. If your goal is to have your "custom" function to process received Ethernet frames, you need to register a call back function using `esp_eth_update_input_path`.
- Fri Apr 05, 2024 7:08 am
- Forum: Hardware
- Topic: Hardware advice for Ethernet socket
- Replies: 7
- Views: 4121
Re: Hardware advice for Ethernet socket
@DrMickeyLauer, here's the example of SPI Ethernet switch I found: https://www.microchip.com/en-us/product/LAN9352
- Tue Apr 02, 2024 7:32 am
- Forum: Hardware
- Topic: Hardware advice for Ethernet socket
- Replies: 7
- Views: 4121
Re: Hardware advice for Ethernet socket
Speaking of supported multiple Ethernet port ICs, we support KSZ8863. However, you've already figured it out by yourself as I've seen on Github
- Wed Mar 27, 2024 2:48 pm
- Forum: ESP-IDF
- Topic: ESP32-WROOM and KSZ8863RLL device questions on IP and sending packets
- Replies: 8
- Views: 1729
Re: ESP32-WROOM and KSZ8863RLL device questions on IP and sending packets
Great to hear you found the issue. One point regarding I would like to be able to disable the ability for the PC to connect to my LAN unless the packets are allowed by the ESP32 code. I'm not sure if "two port mode" is feasible for this use case. This mode is intended to provide your device two inde...
- Wed Mar 27, 2024 11:20 am
- Forum: ESP-IDF
- Topic: ESP32-WROOM and KSZ8863RLL device questions on IP and sending packets
- Replies: 8
- Views: 1729
Re: ESP32-WROOM and KSZ8863RLL device questions on IP and sending packets
I tried it on my test board and "two_ports_mode" example works as expected. I got IP address at both ports. Do you use exact version of "two_ports_mode"? Or do you use some modified version of yours?
- Mon Mar 25, 2024 9:32 am
- Forum: Hardware
- Topic: GPIO4 can't be used for UART when Ethernet is enabled
- Replies: 6
- Views: 2790
Re: GPIO4 can't be used for UART when Ethernet is enabled
That's strange... The only thing which crossed my mind is the GPIO4 can be IO MUXed to EMAC_TX_ER function (see section 4.10 IO_MUX Pad List in TRM). Therefore make sure the GPIO4 is properly configured.
- Mon Mar 25, 2024 9:14 am
- Forum: ESP-IDF
- Topic: ESP32-WROOM and KSZ8863RLL device questions on IP and sending packets
- Replies: 8
- Views: 1729
Re: ESP32-WROOM and KSZ8863RLL device questions on IP and sending packets
IP traffic at each port should work see https://github.com/espressif/esp-eth-dr ... ports_mode
Could you please provide more information about your setup? What IDF version do you use? What's your network setup?
Could you please provide more information about your setup? What IDF version do you use? What's your network setup?
- Wed Mar 13, 2024 8:01 am
- Forum: Report Bugs
- Topic: ethernet example is not working
- Replies: 30
- Views: 26021
Re: ethernet example is not working
It's strange. Is it custom board or just LAN8720 module connected over wires? Could you please send logs? What IDF version do you use?
You could try to comment out the chip ID check in code and observe if the initialization moves further.
You could try to comment out the chip ID check in code and observe if the initialization moves further.