413
SAM4CP [DATASHEET]
43051E–ATPL–08/14
26.9.2 Bus Matrix Slave Configuration Registers
Name:
MATRIX_SCFGx [x=0..7]
Address:
0x400E0240 (0), 0x48010040 (1)
Access:
Read/Write
This register can only be written if the WPEN bit is cleared in the
“Write Protection Mode Register”
.
SLOT_CYCLE: Maximum Bus Grant Duration for Masters
When SLOT_CYCLE AHB clock cycles have elapsed since the last arbitration, a new arbitration takes place to let another master
access this slave. If another master is requesting the slave bus, then the current master burst is broken.
If SLOT_CYCLE = 0, the Slot Cycle Limit feature is disabled and bursts always complete unless broken according to the ULBT.
This limit has been placed in order to enforce arbitration so as to meet potential latency constraints of masters waiting for slave
access.
This limit must not be too small. Unreasonably small values break every burst and the Bus Matrix arbitrates without performing
any data transfer. The default maximum value is usually an optimal conservative choice.
In most cases, this feature is not needed and should be disabled for power saving.
See
Section 26.7.1.2 “Slot Cycle Limit Arbitration”
for details.
DEFMSTR_TYPE: Default Master Type
0: No Default Master
At the end of the current slave access, if no other master request is pending, the slave is disconnected from all masters.
This results in a one clock cycle latency for the first access of a burst transfer or for a single access.
1: Last Default Master
At the end of the current slave access, if no other master request is pending, the slave stays connected to the last master having
accessed it.
This results in not having one clock cycle latency when the last master tries to access the slave again.
2: Fixed Default Master
At the end of the current slave access, if no other master request is pending, the slave connects to the fixed master the number
that has been written in the FIXED_DEFMSTR field.
This results in not having one clock cycle latency when the fixed master tries to access the slave again.
FIXED_DEFMSTR: Fixed Default Master
This is the number of the Default Master for this slave. Only used if DEFMSTR_TYPE is 2. Specifying the number of a master
which is not connected to the selected slave is equivalent to setting DEFMSTR_TYPE to 0.
31
–
30
–
29
–
28
–
27
–
26
–
25
–
24
–
23
–
22
–
21
20
FIXED_DEFMSTR
19
18
17
DEFMSTR_TYPE
16
15
–
14
–
13
–
12
–
11
–
10
–
9
–
8
SLOT_CYCLE
7
6
5
4
3
2
1
0
SLOT_CYCLE