AHB multilayer

AHB multilayer enables parallel access paths between multiple masters and slaves in a system. Access is resolved using priorities.

Each bus master is connected to the slave devices using an interconnection matrix. The bus masters are assigned priorities. Priorities are used to resolve access when two (or more) bus masters request access to the same slave device. The following applies:

  • If two (or more) bus masters request access to the same slave device, the master with the highest priority is granted the access first.
  • Bus masters with lower priority are stalled until the higher priority master has completed its transaction.
  • If the higher priority master pauses at any point during its transaction, the lower priority master in queue is temporarily granted access to the slave device until the higher priority master resumes its activity.
  • Bus masters that have the same priority are mutually exclusive, thus cannot be used concurrently.

Below is a list of bus masters in the system and their priorities.

Table 1. AHB bus masters (listed in priority order, highest to lowest)
Bus master nameDescription
CPU 
SPIM0/SPIS0Same priority and mutually exclusive
RADIO 
CCM/ECB/AARSame priority and mutually exclusive
SAADC 
UARTE0 
TWIM0/TWIS0Same priority and mutually exclusive
PDM 
PWM 

Defined bus masters are the CPU and the peripherals with implemented EasyDMA, and the available slaves are RAM AHB slaves. How the bus masters and slaves are connected using the interconnection matrix is illustrated in Memory.