Skip to content

knock-off LAN8270 board on STM32F407VET6 black board #6795

@LouDnl

Description

@LouDnl

I've been trying to get a knock-off LAN8270 board to work on my STM32F407VET6 black board.
I have this board https://os.mbed.com/users/hudakz/code/STM32F407VET6_Hello/
Which I have compiled MicroPython for using this config https://github.com/mcauser/BLACK_F407VE

MicroPython works just fine but I cannot get the LAN8270 board to enable.
The network.LAN module doesn't take an arguments on STM32 and when I try to enable the network this is what I get:

>>> import network
>>> l = network.LAN()
>>> l.active(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 110] ETIMEDOUT

I checked if the LAN8270 board isn't faulty by connecting it to an ESP32 MicroPython board and it works like it should.

>>> import network
>>> from machine import Pin
>>> lan = network.LAN(mdc=Pin(16), mdio=Pin(17), power=None, id=None, phy_addr=1, phy_type=network.PHY_LAN8720)
>>> lan.active(True)
True
>>> lan.ifconfig()
('192.168.0.107', '255.255.255.0', '192.168.0.1', '192.168.0.1')

Checked config files, pin definitions and everything else I could find. Can't seem to find an answer on how to fix it.
Any tips on what I could be doing wrong?

Reference: mcauser/BLACK_F407VE#6 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy