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 a slave device through one or more interconnection matrixes. The bus masters are assigned priorities that are used to resolve access when two (or more) bus masters request access to the same slave device. The following applies when assigning priorities:

Some peripherals, like I2S, do not have a safe stalling mechanism (not able to pause incoming data and no internal data buffering). Being a low priority bus master might cause loss of data for such peripherals upon bus contention. To avoid AHB bus contention when using multiple bus masters, apply one of the following guidelines:

AHB multilayer priorities

Each master connected to the AHB multilayer is assigned a default natural priority.

Table 1. AHB bus masters
Bus master nameNatural relative priorityIn/Out
CPUHighest priorityI/O
Network coreI/O
I2SI/O
PDMI
UARTE0, SPIM0, SPIS0, TWIM0, TWIS0I/O
UARTE1, SPIM1, SPIS1, TWIM1, TWIS1I/O
UARTE2, SPIM2, SPIS2, TWIM2, TWIS2I/O
UARTE3, SPIM3, SPIS3, TWIM3, TWIS3I/O
SAADCI
PWM0O
PWM1O
PWM2O
PWM3O
SPIM4I/O
NFCTI/O
CC312I/O
USBDI/O
QSPILowest priorityI/O