Open bgiovanni opened 2 months ago
i need this too
I experience the following:
using the Demo of
https://github.com/espressif/esp-bsp/tree/master/examples/display
this runs when ONLY the USB is plugged.
as soon as i plug in the Power from the W5500 the Demo stops and the Screen turns dark.
there is one way to keep the Demo Running:
then it runs.
I think to make this fully stable, AXP2101 Chip must be used to comunicate with i2c with the ESP32.
@diplfranzhoepfinger it's the correct way to work. Check the Power Management Section.
The bsp driver does not fully control the AXP2101 and set BUS_OUT and USB_OTG to 0.
As you can see, in the power schema, the USB Power it's not sent to the bus.
We need to wait the fully support of the AXP2101 to be able to change BUS_OUT or USB_OTG.
i tested:
i get different Errors:
code:
https://gist.github.com/diplfranzhoepfinger/66b0cfa120cbc7f03e7be73b096e081c
log:
https://gist.github.com/diplfranzhoepfinger/5605114bb738d2bd23052ab21f150981
E (5175) w5500.mac: emac_w5500_transmit(578): free size (0) < send length (42)
I am one step forward:
Board
M5Stack CoreS3
Hardware Description
M5Stack CoreS3 with W5500 PoE Base
IDE Name
VSCode with PlatFormIO 6.1.16b1
Operating System
Linux
Description
W5500 share the the same SPI bus with the ILI9342C display controller and fails to initialize with the following log messages
Error occurs while allocation the driver
s_mac = esp_eth_mac_new_w5500(&w5500_config, &mac_config);
.When the program starts without
bsp_display_start();
the network interface is working fine.It could be a SPI bus sharing conflict but I can't find any solution to fix the problem.
Link to the devices used.
M5Stack Core-S3
Network Interface
Sketch
Other Steps to Reproduce
No response
I have checked existing issues, README.md and ESP32 Forum