Page 1 of 1

DP83848 Ethernet

Posted: Wed Nov 02, 2016 3:31 pm
by ralienpp
Hi,

I am attempting to understand what is necessary to provide compatibility with the DP83848 Ethernet module.

A search on Github reveals that such a driver is not available in https://github.com/micropython/micropyt ... er/drivers

However, there is a reference to the model here https://github.com/micropython/micropyt ... onf.h#L183, though I don't know what to make of it.


Texas Instruments provides the driver here, it is GPL licensed and distributed as a single file: https://git.kernel.org/cgit/linux/kerne ... /dp83848.c It doesn't look like it is doing much, but this is all they provide.


My questions are:

1. what steps are necessary to use uPython with this Ethernet module?
2. is the source code provided by TI sufficient to start working on it?


If there are any guides I can rely on, please let me know.

Re: DP83848 Ethernet

Posted: Fri Aug 11, 2017 9:24 am
by raijovj
Any update or help on this[DP83848]?

Re: DP83848 Ethernet

Posted: Sat Aug 12, 2017 9:05 am
by pythoncoder
There is no official support for it as far as I know. The chip only supports the physical layer so the rest of the TCP stack would need to be integrated to actually use it. There is an official driver for WIZnet5x00 Ethernet controllers.

Re: DP83848 Ethernet

Posted: Tue Feb 02, 2021 8:52 am
by samn
Hello,

First of all thanks for the great work of this python port on uC! I see that there is another person who is interested in this component :)

I also use this component on my own cards with freertos + Lwip and works. I saw that the PHY lan8742 is officially supported on stm32 boards and I tried to port to the DP83848. I block on component activation (lan.active (1)) and I have a timeout after 10 seconds. After some debugging research, in the port / stm32 / eth.c file, it would seem that after a soft reset, the register read (BCR) by the eth_phy_read function only returns 0xff and blocks the rest of the initialization.

Does someone have an idea ?

Best regards and have a good day everyone :)