DP83848 Ethernet

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
ralienpp
Posts: 3
Joined: Wed Oct 26, 2016 2:05 pm
Contact:

DP83848 Ethernet

Post by ralienpp » Wed Nov 02, 2016 3:31 pm

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.

raijovj
Posts: 2
Joined: Fri Jul 07, 2017 11:30 am

Re: DP83848 Ethernet

Post by raijovj » Fri Aug 11, 2017 9:24 am

Any update or help on this[DP83848]?

User avatar
pythoncoder
Posts: 4940
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: DP83848 Ethernet

Post by pythoncoder » Sat Aug 12, 2017 9:05 am

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.
Peter Hinch

samn
Posts: 1
Joined: Tue Feb 02, 2021 8:30 am

Re: DP83848 Ethernet

Post by samn » Tue Feb 02, 2021 8:52 am

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 :)

Post Reply