cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to Initialise Ethernet in STM32H7

NOza.2
Associate II

Hello,

We are developing an industrial application based on STM32H7 (STM32H723ZGTx) and we are using NXP "TJA1101B" for PHY.

It is connected to STM32H7 using RMII interface. We took hardware reference from "TJA1100 Customer Evaluation Board" schematic. When we initialise PHY in STM32H7, it failed to initialise PHY (HAL_ETH_Init failed with HAL_ERROR). We are using STM32Cube version 1.9.1.

 

 

PC1 ETH_MDC PA7 ETH_CRS_DV PC4 ETH_RXD1 PC5 ETH_RXD0 PA1 ETH_REF_CLK PB11 ETH_TX_EN PB13 ETH_TXD1 PB12 ETH_TXD0 PA2 ETH_MDIO PA6 ETH_EN [Set O/P High]

 

 

Same Ethernet code is working in "NUCLEO-H723ZG" evaluation kit with LAN8747-A. Will you please guide us the debug the issue in hardware of firmware? 

 

Thanks & Regard

Neel 

10 REPLIES 10

@CRoch.2 we really don't have a solution. We use NuttX's native driver for interfacing with KSZ8081 and in that we have disabled the initialization of the PHY. It pretty much powers up in default and auto-negotiates into 100Mbps and full-duplex and we set that as default in driver as well.