Skip to main content
Graduate
September 21, 2024
Solved

Does DP83848 PHY work with the stm32H7(43)

  • September 21, 2024
  • 1 reply
  • 1837 views

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

  • Played around with different SRAM  and MPU configs - all set up correctly I  think (as per LAN7842 etc)
  • I've tried importing the DP83848 stuff from the F7 HAL libraries
  • I've modified the LAN7842 headers to 'work' with the DP83848
  • tried countless examples and ideas from this forum
  • spent nearly all week on it!

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.

 

    This topic has been closed for replies.
    Best answer by STea

    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 
     

    1 reply

    STeaAnswer
    ST Employee
    October 17, 2024

    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 
     

    MS.9Author
    Graduate
    November 13, 2024

    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