Hello. I had a problem with LAN8710 and SD card on ESP32 -POE
I use libraries
- origin: https://github.com/nliviu/sdlib
- origin: https://github.com/nliviu/rpc-service-sd
- origin: https://github.com/mongoose-os-libs/ethernet
and config
- ["sd_spi", "o", {title: "SD SPI settings"}]
- ["sd_spi.pin_miso", "i", 2, {title: "SD SPI miso"}]
- ["sd_spi.pin_mosi", "i", 15, {title: "SD SPI mosi"}]
- ["sd_spi.pin_clk", "i", 14, {title: "SD SPI clk"}]
- ["eth", "o", {title: "Ethernet settings"}]
- ["eth.phy_pwr_gpio",12]
- ["eth.enable", "b", true, {title: "Enable Ethernet interface"}]
- ["eth.clk_mode", 3]
When I use only ethernet library network work ok. But if I use sd card library ethernet LEDs blinking one and stop work at all. How to make this two libraries working together?
This is log wit sd car library
esp32_eth.c:110 ETH: MAC 24:0a:c4:26:76:27; PHY: LAN87x0 @ 0; IP: DHCP
I (721) emac: emac reset done
This is without
esp32_eth.c:110 ETH: MAC 24:0a:c4:26:76:27; PHY: LAN87x0 @ 0; IP: DHCP
I (721) emac: emac reset done
I (6721) event: eth ip: 192.168.0.100, mask: 255.255.255.0, gw: 192.168.0.1
mgos_net.c:101 ETH: ready, IP 192.168.0.100, GW 192.168.0.1, DNS 192.168.0.1