Chapter 21 External Bus Interface (S12XEBIV2)
MC9S12XDP512 Data Sheet, Rev. 2.17
798
Freescale Semiconductor
21.4.2.2.3
Read-Write-Read Access Timing
21.4.2.3
Internal Visibility Data
Dependingontheaccesssizeandalignment,eitherawordofreaddataismadevisibleontheaddresslines
or only the related data byte will be presented in the ECLK low phase. For details refer to
Table 21-16
.
21.4.3
Accesses to Port Replacement Registers
AllreadandwriteaccessestoPRRaddressestaketwobusclockcyclesindependentoftheoperatingmode.
If writing to these addresses in emulation modes, the access is directed to both, the internal register and
the external resource while reads will be treated external.
The XEBI control registers also belong to this category.
21.4.4
Stretched External Bus Accesses
In order to allow fast internal bus cycles to coexist in a system with slower external resources, the XEBI
supports stretched external bus accesses (wait states).
This feature is available in normal expanded mode and emulation expanded mode for accesses to all
external addresses except emulation memory and PRR. In these cases the fixed access times are 1 or 2
cycles, respectively.
Table 21-15. Interleaved Read-Write-Read Accesses (1 Cycle)
Access #0
1
high
Access #1
2
high
Access #2
3
high
Bus cycle ->
ECLK phase
ADDR[22:20] / ACC[2:0]
ADDR[19:16] / IQSTAT[3:0] ...
ADDR[15:0] / IVD[15:0]
DATA[15:0] (internal read)
DATA[15:0] (external read)
R/W
...
...
...
...
low
acc 0
iqstat -1
z
z
1
low
acc 1
iqstat 0
ivd 0
(write) data 1
(write) data 1
0
low
acc 2
iqstat 1
x
z
z
1
...
...
...
...
...
...
...
addr 0
addr 1
addr 2
...
...
...
...
1
z
data 0
0
1
Table 21-16. IVD Read Data Output
Access
IVD[15:8]
IVD[7:0]
Word read of data at an even and even+1 address
Word read of data at an odd and odd+1 internal RAM address (misaligned)
Byte read of data at an even address
Byte read of data at an odd address
ivd(even)
ivd(odd+1)
ivd(even)
addr[15:8] (rep.)
ivd(even+1)
ivd(odd)
addr[7:0] (rep.)
ivd(odd)