Skip to content

Ethernet module + STM32F4Disc + MicroPython

Everything with this module works. Ethernet module Wiznet 5500

WIZnet

Published February 01, 2023

Original author: LetsMakeRobotOriginal source (new tab)

Ethernet module + STM32F4Disc + MicroPython

Components

Hardware components

WIZnet parts

Project description

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

Similar projects you might like

Comments