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
    • APB & AHB Basics
      • APB & AHB Basics: Concepts
      • APB & AHB Basics: Integration
      • APB & AHB Basics: Debug
      • APB & AHB Basics: Interview
    • AXI Channels & Transfers
    • AXI-Lite & AXI-Stream
    • AMBA Integration Debug
    • AMBA Family (APB / AHB / AXI): Tricky Q&A
  • Coherence Fabrics (ACE / CHI)17
  • Memory Interfaces (DDR / LPDDR / HBM)17
  • PCIe & CXL17
  • 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

←APB & AHB Basics
  1. Topics
  2. Bus Protocols
  3. AMBA Family (APB / AHB / AXI)
  4. APB & AHB Basics
  5. APB & AHB Basics: Concepts
On this page

    Interface ProtocolsAll levels

    APB & AHB Basics: Concepts

    Concepts for APB & AHB Basics.

    Core concepts

    APB: simple, slow, correct for control

    APB (Advanced Peripheral Bus) is a non-pipelined, low-complexity bus for register access. Every transfer takes minimum 2 cycles: SETUP (PSEL=1, PENABLE=0) then ACCESS (PSEL=1, PENABLE=1). The slave stretches with PREADY=0.

    APB has no bursts, no outstanding transactions, no separate read/write channels. This simplicity makes it ideal for GPIO, timers, and config registers where latency doesn't matter but area and power do.

    Diagram
    APB STATE MACHINE
    
    IDLE --(transfer)--> SETUP --(always)--> ACCESS
     ^                                          |
     +--------(pready=1, no more)----------------+
                        |
                  (pready=1, more) --> SETUP

    AHB variants: pipelining without AXI channels

    AHB overlaps address and data phases: while data for transfer N is on the bus, address for transfer N+1 is presented. HREADY=0 stalls the entire pipeline.

    Keep the variant explicit. AHB-Lite supports pipelined transfers and bursts, with OKAY/ERROR responses; it does not support SPLIT or RETRY. Those responses belong to the older full AHB protocol. An AHB-Lite target needing more time extends the data phase using HREADY. Both simple new subsystems and existing IP can use AHB-Lite; decide from latency, bandwidth, area and integration requirements.

    • AHB default slave responds with ERROR if address not decoded.

    • HTRANS: IDLE, BUSY, NONSEQ, SEQ encodes burst position.

    • AHB-to-AXI bridges are common integration points — review burst conversion.

    Key takeaways

    • AHB default slave responds with ERROR if address not decoded.

    • HTRANS: IDLE, BUSY, NONSEQ, SEQ encodes burst position.

    • AHB-to-AXI bridges are common integration points — review burst conversion.

    Previous

    30 / 154

    Next: APB & AHB Basics: Integration

    Up next

    Up nextAPB & AHB Basics: Integration

    Sign in to save progress

    Practice this lessonPrevious lessonReport an error

    See also

    • APB & AHB Basics: Debug
    • APB & AHB Basics: Interview