使用STM32CUBE自动生成的工程的ETH工程,出现初始化超时 while (((heth->Instance)->DMABMR & ETH_DMABMR_SR) != (uint32_t)RESET) { /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > ETH_TIMEOUT_SWRESET) { heth->State= HAL_ETH_STATE_TIMEOUT; /* Process Unlocked */ __HAL_UNLOCK(heth); /* Note: The SWR is not performed if the ETH_RX_CLK or the ETH_TX_CLK are not available, please check your external PHY or the IO configuration */ return HAL_TIMEOUT; } 已测试phy芯片的输出RX_CLK TX_CLK时钟正常,均为2.5M。管脚分配由Cube自动生成(已检查多遍),还是出现该现象?哪位高手遇到过或者提供个思路 CPU:STM32F746 phy:88e1512p |
评分
查看全部评分