How to add a "LAN8720" driver?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-19 10:21 AM
I have a ethernet module "LAN8720" and I have STM32H743VIT8. But MCU has only "LAN8742" driver. Is it possible to add the "LAN8720" driver to the list of drivers?
- Labels:
-
Ethernet
-
STM32CubeMX
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-19 11:51 AM
You can take the driver from the ARM CMSIS collection, here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-19 11:59 AM
Thank you for answer, and in what folder I have to put it for appear it in the list of "Driver_PHY"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-19 2:08 PM
Put the .c and .h files in any place where you like.
Then add them to your project manually and call from your ethernetif.c.
Let the Cube/CubeIDE think that you use LAN8742.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 11:18 AM
The problem was solved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 12:03 PM
No
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-23 2:38 PM
> I have a ethernet module "LAN8720" and ... has only "LAN8742" driver.
For your code they are compatible. But there is a bug in CubeMX:
Also read this:
