Toit
#w5500
Thread channel in help
wahyudi124
07/31/2025 05:48 AM
help
How to use ethernet using w5500 custom spi GPIO ?
floitsch
07/31/2025 05:44 PM
Have a look at the genetic ethernet example as a starting point:
https://github.com/toitlang/toit/blob/master/examples/ethernet/simple/main.toit
You will need to use the
w5500
constructor instead of the
mac-esp32
one:
https://libs.toit.io/esp32/net/ethernet/class-EthernetServiceProvider#w5500(4%2C0%2C0%2Cbus%2Ccs%2Cfrequency%2Cinterrupt
)
That constructor takes an spi bus as argument, where you can specify the pins for your module.
toit/examples/ethernet/simple/main.toit at master · toitlang/toit
Program your microcontrollers in a fast and robust high-level language. - toitlang/toit
2 messages in total