19.4.2 Bus Matrix Client Configuration Registers
For Clients 2 and 3 (x = 2,3) the default value is 0x0002_01FF, making the default value of DEFMSTR_TYPE = 2 (FIXED).
This register can only be written if the WPEN bit is cleared in the Write Protection Mode Register.
Name: | MATRIX_SCFGx |
Offset: | 0x40 + x*0x04 [x=0..8] |
Reset: | 0x000201FE |
Property: | Read/Write |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
FIXED_DEFMSTR[3:0] | DEFMSTR_TYPE[1:0] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 1 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
SLOT_CYCLE[8:7] | |||||||||
Access | R/W | R/W | |||||||
Reset | 0 | 1 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
SLOT_CYCLE[6:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Bits 21:18 – FIXED_DEFMSTR[3:0] Fixed Default Host
Number of the Default Host for this Client. Only used if DEFMSTR_TYPE is 2. Specifying the number of a Host which is not connected to the selected Client is equivalent to setting DEFMSTR_TYPE to 0.
Bits 17:16 – DEFMSTR_TYPE[1:0] Default Host Type
Value | Name | Description |
---|---|---|
0 | NONE | No Default Host — At the end of the current Client access, if no other Host request is pending, the Client is disconnected from all Hosts. This results in a one clock cycle latency for the first access of a burst transfer or for a single access. |
1 | LAST | Last Default Host — At the end of the current Client access, if no other Host request is pending, the Client stays connected to the last Host having accessed it. This results in not having one clock cycle latency when the last Host tries to access the Client again. |
2 | FIXED | Fixed Default Host — At the end of the current Client access, if no other Host request is pending, the Client connects to the fixed Host the number that has been written in the FIXED_DEFMSTR field. This results in not having one clock cycle latency when the fixed Host tries to access the Client again. |
Bits 9:1 – SLOT_CYCLE[8:0] Maximum Bus Grant Duration for Hosts
When SLOT_CYCLE AHB clock cycles have elapsed since the last arbitration, a new arbitration takes place to let another Host access this Client. If another Host is requesting the Client bus, then the current Host 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 Hosts waiting for Client access.
This limit must not be too small. Unreasonably small values break every burst and the 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 must be disabled for power saving, for additional information, refer to “Slot Cycle Limit Arbitration” .