Embedded Ethernet Programming with HAL
Bring up STM32F7 Ethernet with HAL and LwIP, then serve live data and controls from the device.
About this course
This course develops the low-level Ethernet routines that connect the STM32F7 MAC to LwIP. It covers GPIO configuration, DMA-backed frame movement, and the interface functions needed by the stack.
You’ll implement the HAL-based driver routines, initialise LwIP, and host web pages on the target. The application labs use SSI and CGI to publish device data and accept commands.
Read moreShow less
This course is the intermediate level course of a learning path teaching you how to write/configure drivers for the Ethernet peripheral as well as write embedded Ethernet firmware for different networking protocols such as http, dhcp etc.
What make this course different from the beginner course ?
First Section
Second Section
Third Section
In the third section we write all the drivers required to fully configure the Ethernet module. We will implement a driver for configuring the Ethernet gpio pins to operate in RMII mode, we will implement a driver for transmitting packets, another one for receiving packets etc.
It is in this section that we decide on the Ethernet parameters such the speed, the duplex, whether to use auto-negotiation or not etc. After configuring the Ethernet module we conclude this section by implementing a function that interfaces our Ethernet module to the Light Weight IP (LwIP) library. LwIP is a small independent open-source implementation of the TCP/IP protocol stack designed for embedded systems.
Last Section
- Checking if the cable is connected
- Getting an IP address from DHCP
- Hosting Webpages with httpd
- Displaying Realtime Data on Webpages with SSI
- Working with Multiple SSI Tags
- Controlling Hardware from WebServers using CGI
- Injecting HTML code into a Webpage using SSI and CGI
You Will Be Able To :
- Understand the Fundamentals of Networking.
- Understand the fundamentals of the Light Weight IP (LwIP) stack.
- Write Drivers for the STM32F7 Ethernet Peripheral using HAL APIs.
- Write Embedded Ethernet Applications for Hosting Web pages.
- Write Embedded Ethernet Applications for Controlling Hardware through Web pages.
- Write Embedded Ethernet Applications for Sending Sensor Data to Web pages.
What you’ll be able to do
Explain HAL-based Ethernet integration
- Describe what the STM32F7 Ethernet MAC does in the data path.
- Explain how GPIO setup and low-level initialisation enable the Ethernet interface.
- Describe how DMA moves transmit and receive data between memory and the MAC.
- Explain how the LwIP network interface hands data between the stack and driver.
- Describe the purpose of updating network settings after configuration changes.
- Explain how SSI and CGI let a browser read data and send controls.
Build and verify Ethernet firmware with HAL
- Configure the Ethernet pins and implement the low-level initialisation routine.
- Implement the Ethernet DMA transmit and receive functions.
- Write the LwIP interface input, initialisation, and configuration functions.
- Initialise LwIP and obtain a network address with DHCP.
- Host pages that display data from multiple modules using SSI.
- Implement CGI controls and verify requests from a browser reach the target.
Course curriculum
Embedded Ethernet Programming with HAL
Build Embedded Ethernet Firmware : HTTP, SSI, CGI etc
Watch Promo
This course is the intermediate level course of a learning path teaching you how to write/configure drivers for the Ethernet peripheral as well as write embedded Ethernet firmware for different networking protocols such as http, dhcp etc.
What make this course different from the beginner course ?
First Section
Second Section
Third Section
In the third section we write all the drivers required to fully configure the Ethernet module. We will implement a driver for configuring the Ethernet gpio pins to operate in RMII mode, we will implement a driver for transmitting packets, another one for receiving packets etc.
It is in this section that we decide on the Ethernet parameters such the speed, the duplex, whether to use auto-negotiation or not etc. After configuring the Ethernet module we conclude this section by implementing a function that interfaces our Ethernet module to the Light Weight IP (LwIP) library. LwIP is a small independent open-source implementation of the TCP/IP protocol stack designed for embedded systems.
Last Section
- Checking if the cable is connected
- Getting an IP address from DHCP
- Hosting Webpages with httpd
- Displaying Realtime Data on Webpages with SSI
- Working with Multiple SSI Tags
- Controlling Hardware from WebServers using CGI
- Injecting HTML code into a Webpage using SSI and CGI
You Will Be Able To :
- Understand the Fundamentals of Networking.
- Understand the fundamentals of the Light Weight IP (LwIP) stack.
- Write Drivers for the STM32F7 Ethernet Peripheral using HAL APIs.
- Write Embedded Ethernet Applications for Hosting Web pages.
- Write Embedded Ethernet Applications for Controlling Hardware through Web pages.
- Write Embedded Ethernet Applications for Sending Sensor Data to Web pages.
Frequently Asked Questions
Course Curriculum
-
StartProgramming : Configuring the System Clock (Pt.1) (11:07)
-
StartProgramming : Configuring the System Clock (Pt.2) (22:41)
-
StartProgramming : Developing the GPIO Output Driver (Pt.1) (13:14)
-
StartProgramming : Developing the GPIO Output Driver (Pt.2) (8:30)
-
StartProgramming : Developing the UART Driver (Pt.1) (14:52)
-
StartProgramming : Developing the UART Driver (Pt.2) (21:24)
-
StartProgramming : Developing the ADC Driver (Pt.1) (22:52)
-
StartProgramming : Developing the ADC Driver (Pt.2) (11:34)
Your Instructor
EmbeddedExpertIO represents a vibrant collective dedicated to the mastery of sophisticated embedded systems software development for professionals.
Our core objective is to equip individuals and organizations with the indispensable skills to thrive in the swiftly evolving embedded systems sector. We achieve this by providing immersive, hands-on education under the guidance of seasoned industry specialists. Our ambition is to emerge as the favored learning platform for embedded systems development professionals across the globe.