STM32H7xx Webserver Demo

Based on the lwIP TCP/IP stack


Home page

 Led control

ADC status bar

STM32H7 Series

The STM32H7xx devices are based on the high performance ARM® Cortex®-M7 32-bit RISC core operating up to 400 MHz frequency

Taking advantage of an L1 cache, STM32H7 devices deliver the maximum  theoretical performance of the Cortex-M7 core, regardless if code is executed from embedded Flash or external memory: 2010 CoreMark /856 DMIPS at 400 MHz Fcpu.



The STM32H7 series unleashes the Cortex-M7 core:
  • AXI and multi-AHB bus matrixes for interconnecting core, peripherals and memories
  • 16 Kbytes +16 Kbytes of I-cache and D-cache
  • Up to 2 Mbytes of embedded dual-bank Flash memory, with ECC and Read-While-Write capability
  • A high-speed master direct memory access (MDMA) controller, two dual-port DMAs with FIFO and request router capabilities for optimal peripheral management, and one additional DMA
  • Chrom-ART acceleration for efficient 2D image copy and double-precision FPU are also part of the acceleration features available in the device
  • Peripheral speed independent from CPU speed (dual-clock support) allowing system clock changes without any impact on peripheral operations
  • Even more peripherals, such as four serial audio interfaces (SAI) with SPDIF output support, three full-duplex I˛S interfaces, a SPDIF input interface supporting four inputs, two USB OTG with dedicated power supply and Dual-mode Quad-SPI interface, two FD-CAN controllers, a high-resolution timer, a TFT-LCD controller, a JPEG codec, two SDIO interfaces and many other analog peripherals including three fast 14-bit ADCs, two comparators and two operational amplifiers.
  • 1 Mbyte of SRAM with a scattered architecture:
  • 192 Kbytes of TCM RAM (including 64 Kbytes of ITCM RAM and 128 Kbytes of DTCM RAM for time-critical routines and data), 512 Kbytes, 288 Kbytes and 64 Kbytes of user SRAM, and 4 Kbytes of SRAM in backup domain to keep data in the lowest power modes

 About this demonstration

 

This demonstration presents HTTP webserver developed on the top level of the lwIP TCP/IP stack, it provides the possibilty to control LEDs toggling on the SM32H743I-EVAL board, also it allows to get continuously the ADC converted value which is connected to the potentiometer.

This demonstration supports the following features:

  • DHCP client (dynamic IP address allocation)
  • Ethernet cable plug/unplug management
  • Ethernet Zero-Copy interface

 

 

 About LwIP

 

lwIP, pronounced lightweight IP, is an open source TCP/IP stack developed by Adam Dunkels at the Swedish Institute of Computer Science and is maintained now by a world wide community of developers.

lwIP main features:

  • Protocols: IP, ICMP, UDP, TCP, IGMP, ARP, PPPoS, PPPoE 
  • DHCP client, DNS client, AutoIP/APIPA (Zeroconf), SNMP agent (private MIB support) 
  • APIs: specialized APIs for enhanced performance, optional Berkeley-alike socket API 
  • Extended features: IP forwarding over multiple network interfaces, TCP congestion control, RTT estimation and fast recovery/fast retransmit 
  • Addon applications: HTTP server, MQTT client, SNTP client, SMTP client, ping, NetBIOS nameserver 

lwIP is licenced under a BSD-style license


For more informations you can refer to the website:  http://savannah.nongnu.org/projects/lwip/