Ethernet connectivity issue STM32H7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-17 9:21 PM
Hello everyone,
I have been working with stm32h747xih6 MCU for a while now.
I'm trying to establish ethernet communication with the MCU.
if (netif_is_link_up(&gnetif))
{
/* When the netif is fully configured this function must be called */
netif_set_up(&gnetif);
}
else
{
/* When the netif link is down this function must be called */
netif_set_down(&gnetif);
}
My code always goes to the else condition in the above snippet of the code.
I have attached my .IOC file below for reference.
At times when i do arp -a from command terminal my device IP comes on the command prompt but when I try to ping the connection is lost.
Kindly help me out with this issue
Solved! Go to Solution.
- Labels:
-
Ethernet
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-19 11:33 PM
Hello @Aarra.1​ ,
I advise you, when you configurated the ethernet project, to get inspired form the steps described in this FAQ: How to create project for STM32H7 with Ethernet and LwIP stack working. This FAQ will help you to configure your project in STM32CubeMX .
Also, you can get started with the example provided here STM32H7-LwIP-Examples.
I hope this help you!
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-19 11:33 PM
Hello @Aarra.1​ ,
I advise you, when you configurated the ethernet project, to get inspired form the steps described in this FAQ: How to create project for STM32H7 with Ethernet and LwIP stack working. This FAQ will help you to configure your project in STM32CubeMX .
Also, you can get started with the example provided here STM32H7-LwIP-Examples.
I hope this help you!
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
