CycloneSTP
Spanning Tree Protocol Library (STP and RSTP)

CycloneSTP is an implementation of STP (Spanning Tree Protocol) and RSTP (Rapid Spanning Tree Protocol) algorithms suitable for resource-constrained microcontrollers. STP and RSTP are network protocols that can be implemented on Ethernet bridges to ensure loop-free LAN topologies. Spanning Tree Protocol allows a network design with multiple physical paths and backup links for redunduncy purpose. If a link fails, STP or RSTP automatically reconfigures the network to establish a new loop-free tree topology.

CycloneSTP is available either as open source (GPLv2 license) or under a royalty-free commercial license (non-GPL license). We also propose an evaluation license (90-day license in source form) with technical support for an easier onboarding and effective evaluation of our software.

Spanning Tree Protocol (STP)

Main Features

  • STP (Spanning Tree Protocol) implementation
  • RSTP (Rapid Spanning Tree Protocol) implementation for faster convergence
  • Prevents creation of loops
  • Automatic reconfiguration of the tree in case of topology changes
  • RSTP is designated to be backward compatible with STP
  • Comprehensive user API to configure Spanning Tree Protocol parameters
  • Supports BRIDGE-MIB (RFC 4188) to remotely manage and monitor STP operation
  • Support RSTP-MIB (RFC 4318) to remotely manage RSTP-specific parameters
  • Flexible memory footprint. Built-time configuration to embed only the necessary features
  • Portable architecture (no processor dependencies)
  • The library is distributed as a full ANSI C and highly maintainable source code
Future Product: MSTP (Multiple Spanning Tree Protocol) implementation

Supported Ethernet Switches

CycloneSTP supports 100Base-TX and Gigabit Ethernet switches from IC+, Marvell and Microchip.

ManufacturerPart NumberP/NPortsSpeed
IC+
IP175C5100Base-TX
Marvell
88E60606100Base-TX
Microchip
KSZ84633100Base-TX
KSZ85633100Base-TX
KSZ85655100Base-TX
KSZ85677100Base-TX
KSZ88633100Base-TX
KSZ88644100Base-TX
KSZ88733100Base-TX
KSZ88955100Base-TX
KSZ947771000Base-T
KSZ956331000Base-T
KSZ989331000Base-T
KSZ989661000Base-T
KSZ989771000Base-T
LAN93033100Base-TX
  • ARM Cortex-M3
  • ARM Cortex-M4
  • ARM Cortex-M7
  • ARM Cortex-R4
  • ARM Cortex-A5
  • ARM Cortex-A8
  • ARM Cortex-A9
  • Legacy ARM7TDMI / ARM926EJ-S
  • RISC-V
  • MIPS M4K
  • MIPS microAptiv
  • Infineon TriCore AURIX
  • PowerPC e200
  • Coldfire V2
  • RX600
  • AVR32
  • Xtensa LX6
  • Amazon FreeRTOS
  • ChibiOS/RT
  • CMSIS-RTOS
  • CMSIS-RTOS2 (RTXv5 and FreeRTOS)
  • Keil RTX
  • Micrium µC/OS-II and µC/OS-III
  • Microsoft Azure RTOS (ThreadX)
  • Segger embOS
  • SYS/BIOS (TI-RTOS)
  • Bare Metal programming (without RTOS)
  • GNU GCC / Makefile
  • AC6 System Workbench for STM32 (SW4STM32)
  • HighTec Toolset for TriCore
  • IAR Embedded Workbench
  • Infineon DAVE
  • Keil MDK-ARM
  • Microchip Studio (Atmel Studio) & MPLAB X
  • Microsoft Visual Studio
  • NXP MCUXpresso
  • Renesas e2Studio
  • Segger Embedded Studio
  • ST STM32CubeIDE & TrueSTUDIO
  • TI Code Composer Studio (CSS)

IEEE

  • IEEE Std 802.1D-1998: IEEE Standard for Local Area Network MAC (Media Access Control) Bridges
  • IEEE Std 802.1D-2004: IEEE Standard for Local and metropolitan area networks: Media Access Control (MAC) Bridges

RFC

  • RFC 4188: Definitions of Managed Objects for Bridges
  • RFC 4318: Definitions of Managed Objects for Bridges with Rapid Spanning Tree Protocol