4System Architecture
1353C–CASIC–02/02
Functional
Description
This section introduces the AMBA system hierarchy, defining the high-performance ASB
and the low-power APB.
The ASB transfer mechanism is described, starting with a basic outline and then a more
detailed explanation of the transfer types and transfer responses. This is followed by
details of the arbitration and reset processes. Finally, APB transfers are also described.
AMBA Hierarchy A typical AMBA-based microcontroller is shown in Figure 2. The processor, on-chip
memory and external bus interface all reside on the high-performance system bus. This
bus provides a high bandwidth interface between the elements that are involved in the
majority of transfers. Also located on the high-performance ASB is a bridge to the lower
bandwidth APB, where most of peripherals in the system reside.
The APB provides the basic peripheral macrocell communications infrastructure as a
secondary bus from the higher bandwidth pipelined main system bus. Such peripherals
typically have interfaces that are memory-mapped registers, but have no high bandwidth
interfaces and are accessed under programmed control.
BSIZE[1:0] Transfer Size. The transfer size signals indicate the size of the transfer, which may be byte, half-word or
word. The signals are driven by the active bus master and have the same timing as the address bus.
BTRAN[1:0] Transfer Type. These signals indicate the type of the next transaction, which may be address-only, non-
sequential or sequential. These signals are driven by a bus master when the appropriate AGNTx signal is
asserted.
BWAIT Wait Response. This signal is driven by the selected bus slave to indicate if the current transfer may
complete. If BWAIT is high, a further bus cycle is required; if BWAIT is low, then the transfer may complete
in the current bus cycle.
When no slave is selected, this signal is driven by the bus decoder.
BWRITE Transfer Direction. When high, this signal indicates a write transfer and when low, a read transfer.
This signal is driven by the active bus master and has the same timing as the address bus.
DSELx Slave Select. A signal from the bus decoder to a bus slave “x”, which indicates that the slave device is
selected and a data transfer is required. There is a DSELx signal for each ASB bus slave.
PA[31:0] APB Address Bus. This is the APB address bus, which may be up to 32 bits wide and is driven by the
peripheral bus bridge unit.
PRDATA[31:0] APB Read Data Bus. The peripheral read data bus is driven by the selected peripheral bus slave during
read cycles (when PWRITE is low). This data bus may be up to 32 bits wide.
PWDATA[31:0] APB Write Data Bus. The peripheral write data bus is driven by the peripheral bus bridge unit during write
cycles (when PWRITE is high).
PSELx APB Select. A signal from the secondary decoder, within the peripheral bus bridge unit, to each peripheral
bus slave “x”. This signal indicates that the slave device is selected and a data transfer is required. There is
a PSELx signal for each bus slave.
PSTB APB Strobe. This strobe signal is used to time all accesses on the peripheral bus. The falling edge of
PSTB is coincident with the falling edge of BCLK.
PSTB_RISING This signal can be used as a clock signal to time all write transfers into peripherals. PSTB_RISING is
derived from the rising edge of BCLK. PSTB_RISING changes only when a peripheral is accessed.
PWRITE APB Transfer Direction. When high, this signal indicates an APB write access and when low, a read
access.
Table 1. Signal List (Continued)
Name Description