2024-09-21 03:39 AM - edited 2024-09-21 08:24 AM
Hi All,
I'm having a terrible (fun) time trying to get the DP83848 to work with the STM32H743 (RMII).
No packets, no interrupts, nothing. - it's just dead to the world.
I can get things working with the LAN7842 and I can get the DP83848 working with the F7 series no problems.
I have tried everything I can think of
I read the excellent post " How to create a project for STM32H7 with Ethernet and LwIP stack working" by
from @Adam BERLINGER where he states the following
unfortunately when LAN8720 is used in REF_CLK_OUT mode (RMII clocks generated by PHY), the timing is not compatible with STM32H7. In that case the RXD output hold is 1.4ns minimum on PHY side, while STM32H7 requires at least 2ns.
And I'm wondering if this the case for the DP83848. I've looked at the spec sheet and can't be sure.
There are no DP83848 in the H7 HAL libraries, and maybe they are not there because its not compatible!?
Can some one tell me if they have got this combo working (H7 and the DP83848), and if so, could you share some working code, please - I really dont want to have to use the WizNet stuff!!
many thanks,
Mark
Update....
Out of derperation, I removed the solder bridges from the NucleoH743ZI nucleo board and wired in a LAN8720 and a DP83848 and guess what....
The LAN8720 looses the odd packet and then gives up. (as expected, see @Adam BERLINGER) post.
The DP83848 seems robust, as far as I can tell from wireshark (ping and HTTP server)
It would seem to me then that the board or port to the H743VIT6 dev board I have might be the problem.
Solved! Go to Solution.
2024-10-17 03:40 AM
Hello @MS.9 ,
there is no compatibility issue with DP83848 and stm32H7 as this PHY.
you can get source file for the PHY component from here and you can as well base you implementation and inspire form example in STM32CubeF4 firmware as the Eval board support this PHY.
Regards
2024-10-17 03:40 AM
Hello @MS.9 ,
there is no compatibility issue with DP83848 and stm32H7 as this PHY.
you can get source file for the PHY component from here and you can as well base you implementation and inspire form example in STM32CubeF4 firmware as the Eval board support this PHY.
Regards
2024-11-13 07:11 AM
Thanks for the link.
It all seems to be working now - It might have been down to bad wiring between the microcontroller board and breakout board, rather than the my code.
I will incorporate the code you referenced into mine.
Mark