- if HADA[20:19] = 0 and HADA[18:13] = 0:
iADDR[27:0] = (0<<19) or HADA[18:0] (Host-I/F registers or APB)
- if HADA[20:19] = 0 and HADA[18:13] ≠ 0:
iADDR[27:0] = (BASEADDR0<<19) or HADA[18:0] (AHB)
- if HADA[20:19] ≠ 0:
iADDR[27:0] = (BASEADDRn<<19) or HADA[18:0] (AHB, n = 1 to 3)
The table below summarizes the behaviour of the offset addressing function.
Table 5-5 Generation of the internal address iADDR[27:0]
ADBus-I/F address
HADA
Selected
base address
Internal address
iADDR[27:0]
[20:19]
[20:13]
00
B
≠
00000000
B
HOSTBASE0.
BASEADDR[8:0]
(HOSTADBASE0.BASEADDR[8:0]<<19) or HADA[18:0]
01
B
= xxxx xxxx
B
HOSTBASE1.
BASEADDR[8:0]
(HOSTADBASE1.BASEADDR[8:0]<<19) or HADA[18:0]
10
B
HOSTBASE2.
BASEADDR[8:0]
(HOSTADBASE2.BASEADDR[8:0]<<19) or HADA[18:0]
11
B
HOSTBASE3.
BASEADDR[8:0]
(HOSTADBASE3.BASEADDR[8:0]<<19) or HADA[18:0]
00
B
=
00000000
B
000000000
B
(0<<19) or HADA[18:0]
Caution
Since all ADBus-I/F addresses with HADA[20:13] = 0 are assumed to access the
Host-I/F or APB registers , no HOSTADBASEn register is used to compose iADDR
[27:0], though HADA[20:19] = 00
B
specifies the HOSTADBASE0.BASEADDR[8:0]
base address. Instead the offset 0 is used and the resulting address has iADDR
[27:13] = 0, though HOSTBASE0.BASEADDR[8:0] may define an address ≠ 0.
Thus define HOSTBASE0.BASEADDR[8:0] = 0 and do not change this setting.
5.3.3 ADBus-I/F data access
Data read/write accesses on the ADBus-I/F can be performed as byte and
halfword accesses. The size is derived from the ADBus-I/F byte enable signals
HADBEN[1:0].
The word combining function allows to combine two consecutive 16-bit data
transfers on the ADBus to a 32-bit data word, thus enabling also data transfers in
word size.
Word combining
For minimizing the data transfer time on the ADBus and load on the internal
busses, the data of two half-word accesses to consecutive addresses can be
combined to one word, if the word combining feature is enabled by
HOSTADBASEn.WC = 1.
For each of the four 512 KB pages, selected by HADA[20:19], the word combining
feature can be enabled separately by setting the WC bit to 1 in the corresponding
HOSTADBASEn register.
Word combining is only performed under following conditions:
•
word combining is enabled for the concerned 512 KB page:
HOSTADBASEn.WC = 1
Chapter 5
Host CPU Interface
134
Preliminary User's Manual S19203EE1V3UM00
Содержание uPD72257
Страница 39: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 39...
Страница 44: ...Chapter 2 Pin Functions 44 Preliminary User s Manual S19203EE1V3UM00...
Страница 46: ...Chapter 2 Pin Functions 46 Preliminary User s Manual S19203EE1V3UM00...
Страница 49: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 49...
Страница 52: ...Chapter 2 Pin Functions 52 Preliminary User s Manual S19203EE1V3UM00...
Страница 54: ...Chapter 2 Pin Functions 54 Preliminary User s Manual S19203EE1V3UM00...
Страница 331: ...External Memory Interface Controller Chapter 9 Preliminary User s Manual S19203EE1V3UM00 331...
Страница 343: ......