4.9.4. AHB Slave Control Register

Note

This register is optional and might not be available in your implementation.

The AHBSCR is used by software to control the priority of AHB slave traffic. The bit assignments are:

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.

Table 4.72. AHBSCR bit assignments

BitsNameTypeFunction
[31:16]--Reserved.
[15:11]INITCOUNTRW

Fairness counter initialization value. Use to demote access priority of the requestor selected by the AHBSCR.CTL field. The reset value is 0b01.

Note

  • For round-robin mode set INITCOUNT to 0b01 and AHBSCR.CTL to 0b00 or 0b01.

  • INITCOUNT must not be set to 0b00 because the demoted requestor always takes priority when contention occurs, which can lead to livelock.

  • INITCOUNT is not used when AHBSCR.CTL is 0b11.

[10:2]TPRIRW

Threshold execution priority for AHBS traffic demotion.

0b0xxxxxxx

Priority is TPRI[7:0]. This is the same as the NVIC register encodings.

0b11111111

Priority of -1. This is the priority of the HardFault exception.

0b11111110

Priority of -2. This is the priority of the NMI exception.

[1:0]CTLRW

AHBS prioritization control:

0b00

AHBS access priority demoted. This is the reset value.

0b01

Software access priority demoted.

0b10

AHBS access priority demoted by initializing the fairness counter to the AHBSCR.INITCOUNT value when the software execution priority is higher than or equal to the threshold level programmed in AHBSCR.TPRI. When the software execution priority is below this value, the fairness counter is initialized with 1 (round-robin).

Note

The threshold level encoding matches the NVIC encoding and uses arithmetically larger numbers to represent lower priority.

0b11

AHBSPRI signal has control of access priority.


Copyright © 2015, 2018 Arm. All rights reserved.ARM DUI 0646C
Non-ConfidentialID121118