Datasheet

418
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-14
25. Bus Matrix (MATRIX)
25.1 Description
The Bus Matrix implements a multi-layer AHB that enables parallel access paths between multiple AHB masters and
slaves in a system, thus increasing overall bandwidth. The Bus Matrix interconnects AHB masters to AHB slaves. The
normal latency to connect a master to a slave is one cycle. The exception is the default master of the accessed slave
which is connected directly (zero cycle latency).
The Bus Matrix user interface also provides a System I/O Configuration user interface with registers that support
application-specific features.
25.2 Master/Slave Management
25.2.1 Matrix Masters
The Bus Matrix manages the masters listed in Table 25-1. Each master can perform an access to an available slave
concurrently with other masters.
Each master has its own specifically-defined decoder. To simplify addressing, all the masters have the same decoding.
25.2.2 Matrix Slaves
The Bus Matrix manages the slaves listed in Table 25-2. Each slave has its own arbiter providing a different arbitration
per slave.
25.2.3 Master to Slave Access
Table 25-3 gives valid paths for master to slave access on Matrix 0. The paths shown as “-” are forbidden or not wired,
e.g. access from the Cortex-M4 S Bus to the internal ROM.
Table 25-1. List of Bus Matrix Masters
Master 0 Cortex-M4 Instruction/Data
Master 1 Cortex-M4 System
Master 2 Peripheral DMA Controller (PDC)
Master 3 CRC Calculation Unit
Table 25-2. List of Bus Matrix Slaves
Slave 0 Internal SRAM
Slave 1 Internal ROM
Slave 2 Internal Flash
Slave 3 External Bus Interface
Slave 4 Peripheral Bridge
Table 25-3. Master to Slave Access
Slaves
Masters
0 1 2 3
Cortex-M4 I/D Bus Cortex-M4 S Bus PDC CRCCU
0 Internal SRAM X X X
1 Internal ROM X X X