![](http://datasheet.mmic.net.cn/30000/MC80C52TXXX-25P883D_datasheet_2371972/MC80C52TXXX-25P883D_140.png)
140
11028E–ATARM–22-Apr-13
SAM9G46
This configuration provides no benefit on access latency or bandwidth when reaching maximum
slave bus throughput 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 arbitrating 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, arbitra-
tion 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 currently 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 man-
4.
Slot Cycle Limit: When the slot cycle counter has reached the limit value indicating that
19.5.1.1
Undefined Length Burst Arbitration
In order to optimize AHB burst lengths and arbitration, it may be interesting to set a maximum for
undefined length bursts (INCR). The Bus Matrix provides specific logic in order to re-arbitrate
before the end of the INCR transfer. A predicted end of burst is used as a defined length burst
transfer and can be selected from among the following Undefined Length Burst Type (ULBT)
possibilities:
1.
Unlimited: No predicted end of burst is generated and therefore INCR burst transfer will
not be broken by this way, but will be able to complete unless broken at the Slot Cycle
Limit. This is normally the default and should be let as is in order to be able to allow full
1 Kilobyte AHB intra-boundary 256-beat word bursts performed by some ATMEL AHB
masters.
2.
1-beat bursts: Predicted end of burst is generated at each single transfer inside the
INCR transfer.
3.
4-beat bursts: Predicted end of burst is generated at the end of each 4-beat boundary
inside INCR transfer.