We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there a driver for LAN8740A Ethernet PHY? If not, is there any How-to for creating new driver for Network Component Ethernet PHY? I would like to use this driver with STM32F207
Hi Georg.
I'm using LAN8740A transceiver with STM32F417 uC and I've some problem with 100Base-TX mode. (10Base-T work fine...).
Do you have some suggestions? You have also a driver for this transceiver ? Thanks a lot.
Paolo
Try to change code for 100M register setting in following way:
/* Check the link status. */ for (tout = 0; tout < 0x10000; tout++) { regv = read_PHY (PHY_REG_BSR); if (regv & 0x0004) { /* Link is on, get connection info */ regv = read_PHY (PHY_REG_PSCSR); if (regv & 0x0010) { /* Full-duplex connection */ conn |= PHY_CON_SET_FULLD; } if ((regv & 0x0004) == 0) { /* 100Mb/s mode */ conn |= PHY_CON_SET_100M; } break; } }
Georg
Hi Georg, Could you send me the drive, please. Would safe some time. Much appreciated. saxt at iafrica dot com Stefan