134
SAM9G45 [DATASHEET]
6438K–ATARM–12-Feb-13
This allows the Bus Matrix to remove the one latency cycle for the last master that accessed the slave. Other non
privileged masters still get one latency clock cycle if they want to access the same slave. This technique is useful
for masters that mainly perform single accesses or short bursts with some Idle cycles in between.
This configuration provides no benefit on access latency or bandwidth when reaching maximum slave bus through-
put whatever is the number of requesting masters.
19.4.3
Fixed Default Master
After the end of the current access, if no other request is pending, the slave connects to its fixed default master.
Unlike last access master, the fixed master does not change unless the user modifies it by a software action (field
FIXED_DEFMSTR of the related MATRIX_SCFG).
This allows the Bus Matrix arbiters to remove the one latency clock cycle for the fixed default master of the slave.
Every request attempted by this fixed default master will not cause any arbitration latency whereas other non privi-
leged masters will still get one latency cycle. This technique is useful for a master that mainly perform single
accesses or short bursts with some Idle cycles in between.
This configuration provides no benefit on access latency or bandwidth when reaching maximum slave bus through-
put whatever is the number of requesting masters.
19.5
Arbitration
The Bus Matrix provides an arbitration mechanism that reduces latency when conflict cases occur, i.e. when two or
more masters try to access the same slave at the same time. One arbiter per AHB slave is provided, thus arbitrat-
ing each slave differently.
The Bus Matrix provides the user with the possibility of choosing between 2 arbitration types or mixing them for
each slave:
1.
Round-Robin Arbitration (default)
2.
Fixed Priority Arbitration
The resulting algorithm may be complemented by selecting a default master configuration for each slave.
19.5.1
Arbitration Scheduling
Each arbiter has the ability to arbitrate between two or more different master requests. In order to avoid burst
breaking and also to provide the maximum throughput for slave interfaces, arbitration may only take place during
the following cycles:
1.
Idle Cycles: When a slave is not connected to any master or is connected to a master which is not cur-
rently accessing it.
2.
Single Cycles: When a slave is currently doing a single access.
3.
End of Burst Cycles: When the current cycle is the last cycle of a burst transfer. For defined length burst,
predicted end of burst matches the size of the transfer but is managed differently for undefined length
4.
Slot Cycle Limit: When the slot cycle counter has reached the limit value indicating that the current master