2019-04-29 03:15 PM
Hi,
Can someone tell any other consideration on the modification to make my board run the example?
Thanks!
Kevin
2019-04-29 03:30 PM
Does the DISCO pull a 25 MHz for the PHY via PA8 MCO of HSE ?
Otherwise you'll need an alternate clock source, or not use the default routing the software is using, and clock the STM32 Ethernet peripheral with the same clock as the PHY.
>>i am sure my board has no hardware problem.
I don't see a schematic, so fix/understand the software, and probe the pins confirming you're seeing the clocks/signals where expected.
2019-05-01 11:33 AM
>> Does the DISCO pull a 25 MHz for the PHY via PA8 MCO of HSE ?
I checked the DISCO schematic it provides 25MHz exterrnal osc go through XTAL1/CLKI input pin on PHY LAN8742A chip. The below is the schematic of DISCO board.
>> clock the STM32 Ethernet peripheral with the same clock as the PHY.
suppose MAC and PHY share the same clock source, right?
>> I don't see a schematic, so fix/understand the software...
As the customized board can run an old lwip firmware and i can see the webpage, so i confirm the board hardware has no problem. The same weird problem is this firmware also cannot run on DISCO board. The below is the schematic of the customized board.
So i doubt the problem is still the clock setting... I even exchange the code SystemClock_Config() part each other, still no use...
Any suggestion? Thanks!
Kevin