components
Hardware Components
STM32F4Disc
X 1
W5500 Module
X 1
Software Apps and online services
Micropythondetails
Original : https://www.letsmakerobot.ru/2379/ethernet-modul-stm32f4disc-micropython/
Everything with this module works. Ethernet module Wiznet 5500
import network
nic = network.WIZNET5K(SPI(1,SPI.MASTER), pyb.Pin.board.PA4, pyb.Pin.board.PA3)
nic.active(True)
nic.ifconfig( ‘dhcp’ )
print(nic .ifconfig())
(‘10.10.10.113’, ‘255.255.255.0’, ‘10.10.10.1’, ‘10.10.10.1’)
MicroPython compiled with parameters.
MICROPY_PY_WIZNET5K = 5500
MICROPY_PY_LWIP = 1
COMMENTS