i am trying to inteface between stm32f429 nulceo board with lan8742A. If any clue you have then please tell me. Using HAL library in CUBEMxIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 1:28 AM
Please any one done this project please give me.I am trying too many times.
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 9:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 2:57 AM
So what, exactly, have you tried? Where are you stuck?
Did you try a Google search?
When searching for code, GitHub is a good place to search ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 3:46 AM
I have a stm32f429 nucleo board.and in that board already attached lan8742a chip and ethernet port also.I cant hardware configure.I searched google and github also no clue i have found. whenever I write in cmd prompt "ipconfig" that time default ip shows every time. I want to show my static ip like 192.168.001.111.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 8:43 AM
OK, so you have the NUCLEO-F429ZI. Hardware should be OK then.
> "whenever I write in cmd prompt 'ipconfog'"
A command prompt on your PC? Or do you have a command prompt running on your NUCLEO board?
> "default IP shows every time"
What "default IP"? How are you expecting your NUCLEO board to get the 192.168.... IP address? Did you edit the STM32 source code? If so, show the code. Or are you trying to get your PC to use that address (as implied by mentioning IPCONFIG)? That is unclear to me from your posts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 9:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 10:06 PM
What are the IP settings on your PC (IP add, netmask and gateway). Is there a router/gateway between your PC and the NUCLEO board? Or just an Ethernet switch?
Check the CubeMX Ethernet "Advanced Parameters" tab. In my experience (using CubeMX 6.3, can't recall if I've tested with later versions), CubeMX defaults to some incorrect register addresses and bit field values. You will need to double-check those values with the LAN8742 data sheet. Specially the "Extended External PHY Config" registers, but double-check all those settings.
Which version of CubeMX and the CubeF4 library are you using to generate this code?
Is the Ethernet cable plugged into the Nucleo board when it is powered on (or the firmware started from the debugger)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 10:11 PM
sir this is my PC(IP,net mask,gateway) configured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 10:13 PM
this is advance parameter options that i have set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 10:32 PM
STM32Cube FW_F4 v1.25.1
version 1.9.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-26 1:36 AM
Thanks sir..all of you guys.
Its perfectly working now. Thanks once again
