Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutRoadmapCareersInternshipsFAQContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • Protocol Metrics Reference
  • Protocols Glossary
  • Reading Path
  • Protocol Fundamentals25
  • AMBA Family (APB / AHB / AXI)17
  • Coherence Fabrics (ACE / CHI)17
  • Memory Interfaces (DDR / LPDDR / HBM)17
  • PCIe & CXL17
    • PCIe Layering & TLPs
    • Enumeration & Link Training
      • Enumeration & Link Training: Concepts
      • Enumeration & Link Training: Integration
      • Enumeration & Link Training: Debug
      • Enumeration & Link Training: Interview
    • CXL Attach Modes
    • PCIe / CXL Debug
    • PCIe & CXL: Tricky Q&A
  • Embedded Peripherals (I2C / SPI / UART)17
  • High-Speed I/O (USB / Ethernet / MIPI)17
  • Protocol Verification & Compliance17
  • Protocols Interview Prep5
  • Interface Protocols Cheatsheet
Loading lesson

←Enumeration & Link Training
  1. Topics
  2. Bus Protocols
  3. PCIe & CXL
  4. Enumeration & Link Training
  5. Enumeration & Link Training: Concepts
On this page

    Interface ProtocolsAll levels

    Enumeration & Link Training: Concepts

    Concepts for Enumeration & Link Training.

    Core concepts

    LTSSM and link training

    Link Training and Status State Machine: starts at Detect (check for receiver), moves through Polling (bit lock), Configuration (lane width negotiation), then L0 (active). Each transition has timeout — failure lands in a recovery or disabled state.

    For PCIe Gen3 link equalisation, the relevant LTSSM substate is Recovery.Equalization, not simply Configuration. Training exchanges and transmitter/receiver adjustments follow the selected generation's rules; they are not a universal blind BER sweep. Check the actual state history, configured capability and lane evidence before explaining a reduced width or speed.

    Diagram
    LTSSM SIMPLIFIED
    
    Detect -> Polling -> Config -> L0 (active)
                      |              |
                      v              v
                  Recovery <---- link error

    Enumeration

    Platform firmware and/or the operating system enumerate the PCIe hierarchy according to platform policy: discover functions, assign bus/resource windows, size and assign BARs, and configure enables. Configuration transactions are themselves communication before normal driver use; the device driver generally depends on completed discovery and resource setup for its operational paths.

    BAR assignment maps device memory/IO regions into host address space. Wrong BAR size or alignment causes driver mapping failures.

    • LTSSM state history is the first debug artifact for link issues.

    • Width downgrade: one lane failing EQ → link trains at reduced width.

    • L0 alone does not prove configuration accesses work; check requests, completions, reset, resource assignment and endpoint behaviour.

    Key takeaways

    • LTSSM state history is the first debug artifact for link issues.

    • Width downgrade: one lane failing EQ → link trains at reduced width.

    • L0 alone does not prove configuration accesses work; check requests, completions, reset, resource assignment and endpoint behaviour.

    Previous

    85 / 154

    Next: Enumeration & Link Training: Integration

    Up next

    Up nextEnumeration & Link Training: Integration

    Sign in to save progress

    Practice this lessonPrevious lessonReport an error

    See also

    • Enumeration & Link Training: Debug
    • Enumeration & Link Training: Interview