• Menu
  • Product
  • Email
  • PDF
  • Order now
  • Optimizing Network Switch Designs with Common Logic Use Cases

    • SCLA017A July   2019  – April 2021 SN74HC595

       

  • CONTENTS
  • SEARCH
  • Optimizing Network Switch Designs with Common Logic Use Cases
  1.   Trademarks
  2. 1Block Diagram
  3. 2Optimizing System Controller I/O Usage
  4. 3Logic and Translation Use Cases
    1. 3.1 Logic Use Cases
      1. 3.1.1 Combine Power Good Signals
      2. 3.1.2 Debounce Switches and Buttons
      3. 3.1.3 Increase Number of Controller Inputs
      4. 3.1.4 Increase Number of Controller Outputs
    2. 3.2 Voltage Translation Use Cases
      1. 3.2.1 SPI Communication
      2. 3.2.2 RMII Communication
  5. 4Recommended Logic and Translation Families for Network Switches
    1. 4.1 AXC: Advanced eXtremely Low-Voltage CMOS Translation
    2. 4.2 LVC: Low-Voltage CMOS Logic and Translation
    3. 4.3 HC: High-speed CMOS Logic
  6. 5Revision History
  7. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

Optimizing Network Switch Designs with Common Logic Use Cases

Trademarks

All trademarks are the property of their respective owners.

1 Block Diagram

GUID-6C7ED3FD-9DC4-44D9-8FF9-5A9024A52BF8-low.gifFigure 1-1 Simplified Block Diagram for Campus and Branch Switches

There are two primary types of Network switches, Campus and Branch as well as Data Center switches. Both of these types of switches have similar design architecture so the highlighted use cases apply to both. A simplified Campus and Branch system block diagram is used to illustrate the logic and translation use cases for the purpose of this report. See the interactive online End Equipment Reference Diagram Campus and Branch switches and Data Center switches for a more complete view.

2 Optimizing System Controller I/O Usage

A network switch with 24 channels typically will have 48 or more low-current LEDs to display channel status such as established connections and data transfer. The issue with this is the number of GPIOs required to control all these LEDs. To avoid increased costs of using FPGAs or ASICS containing more I/Os, a common solution is to offload the LED driving and control to 8-bit shift registers. This reduces the 48 required GPIOs to just 3 while also increasing drive strength in most cases. Shift-registers, such as the SN74HC595, can be cascaded together to provide as many outputs as needed in the system.

For network switches that contain optical interfaces, the benefits of using a shift register can be applied to the Small Form-factor Pluggable (SFP) or Quad Small Form-factor Pluggable (QSFP) interface. Many QSFP ports will have 4 system management pins, two for input signals and two for output signals. These signals include: a reset signal for module, a module selection/enable signal, a module present signal, and an interrupt signal. The number of GPIOs needed to manage these ports can quickly get cumbersome for more complex network switches containing several of these optical interfaces. Figure 2-1 illustrates the shift register use case for a system with four QSFP ports.

GUID-8FADCD09-93FC-47FC-B989-5A6CD70926C8-low.gifFigure 2-1 I/O Expansion for Network Switch Optical Interface

The SN74HC595, a serial-in parallel-out shift register, is cascaded together resulting in twenty-four outputs to control sixteen status LEDs and 8 QSFP module management signals. The SN74HC165, a parallel-in serial-out shift register, takes the 8 signals coming from the QSFP module and outputs the data serially to the system controller. Having all shift registers share a common clock signal will allow for the system controller to perform all of this while only using a total of five GPIOs.

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale