2019-07-01 11:11 PM
Hi,
I have a ready-made hardware and the hardware has dp83848 chip on it.I made ethernet communication with udp on stm32h7 .I can not choose a chip out of lan8742 on cubemx.
is there anyone who can guide on this?
2019-07-02 02:46 AM
Compare the two PHY chips' datasheets and modify the code accordingly.
JW
2023-12-06 12:14 PM
Im having somewhat of a similar problem. I have the STM32F769I-EVAL board with the DP83848 PHY. I need to get this working with NetXDuo (Azure RTOS). The nice examples I found in https://github.com/STMicroelectronics/x-cube-azrtos-f7 are for the STM32F769I-Discovery board which has the lan8742.
2023-12-06 01:28 PM - edited 2023-12-06 01:33 PM
2023-12-06 01:48 PM
Is NetXDuo (Azure RTOS) sufficiently open source so that you can modify the PHY-relevant portion of it? (I don't know, I don't use it).
If yes, my first post applies (i.e. you look at the sources to ascertain, which registers/bits of PHY are used, and then look at the datasheets to find out whether those registers/bits match or not, if not, modify accordingly. IIRC, I was able to migrate *my* code by making only one such change, faintly recollect that it was something around indication of autonegotiated link speed/mode, but it's years away...).
If not, you have to pester ST/Microsoft.
JW
PS. Had a quick look at the link you've given, and under BSP/Components I see both PHYs, so I'd say it should be sufficient to find all references to one PHY in the sources and bend them to refer to the other. Don't intend to delve deeper.
2023-12-06 01:53 PM
Yes, i will have to 'bend' the driver to work with the HAL layer (generic ethernet API). :beaming_face_with_smiling_eyes:
I was really just asking if someone has gone through this exercise already.
I wont be hiring anyone from upwork :face_with_tears_of_joy:
2023-12-06 02:03 PM - edited 2023-12-06 02:12 PM
Like Jan, did this couple of times, with different PHYs (Microchip, Marvel...) and already forgot the details. Luckily the hardware was made well, the board folks were very good. So as Jan wrote, it was mainly comparing the datasheets.
Re. "pester ST/Microsoft" - Microsoft already decided to dump ThreadX to the Eclipse Foundation. LTS versions are supported for 5 years. The latest, 6.0 (?) will be in support until 2026. But they will only fix critical and security bugs. The opensource level of support is... basically, like upwork :)
2023-12-06 02:23 PM
> Microsoft already decided to dump ThreadX to the Eclipse Foundation
Interesting, thanks @Pavel A. !
So, @jerry_sandc is out of luck, basically nobody to pester... ;)
JW
2023-12-06 04:39 PM - edited 2023-12-06 04:40 PM
Microsoft rarely is happy with their acquisitions, even less with their own developments. Who remembers AllJoyn? Dot.net micro? Windows CE? Now they've abandoned ThreadX in favor of what? Zephyr?