STMicroelectronics AN3102 IwIP TCP/IP Stack Application Note for STM32F107xx

This document introduces the features of the STM32F107xx connectivity line microcontrollers, including a high-quality 10/100 Ethernet peripheral and hardware checksum generation, insertion, and verification for IP, UDP, TCP, and ICMP protocols. The document also provides a demonstration application built on top of the lwIP TCP/IP stack, including a DHCP client, a Hello example based on the Telnet protocol, a TFTP server, a web server, and a Server/Clients example.


STMicroelectronics AN3102 IwIP TCP/IP Stack Application Note for STM32F107xx - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
18
File format
PDF
File size
249 KB
Published
07 August, 2012
Updated
29 September, 2023
MD5 checksum
680440B0A76DD50B59ADFA31DC26D653

About this manual

The document describes an application note demonstrating how to port the lightweight IwIP (TCP/IP) stack to the STM32F107xx connectivity line microcontrollers. It details the integration of the stack with the device's Ethernet peripheral, which supports both MII and RMII interfaces.

What's inside

  • Porting IwIP to the STM32F107xx
  • IwIP stack overview
  • Ethernet controller interface
  • Periodic IwIP tasks
  • IwIP configuration
  • STM32F107xx hardware checksum
  • Description of the demonstration package
  • PHY interface configuration

Specifications

Supported ProtocolsIPv4, IPv6, UDP, TCP, ICMP, IGMP, SNMP, ARP and PPP
Target Microcontroller SeriesSTM32F107xx connectivity line

Frequently asked questions

What is the IwIP stack?

The IwIP is a free TCP/IP stack developed by Adam Dunkels at the Swedish institute of computer science (SICS) and licensed under the BSD license.

Which API was used to build the demonstration?

The raw API was used because it achieves the highest performance and does not require the use of an operating system.

How can checksum calculation be enabled?

Checksums for IP, UDP, TCP, and ICMP protocols can be generated and verified by hardware by uncommenting #define CHECKSUM_BY_HARDWARE in the lwipopts.h file.

Download PDF (249 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →