|
SH7709S Datasheet, PDF (304/807 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series | |||
|
◁ |
10.3 BSC Operation
10.3.1 Endian/Access Size and Data Alignment
The SH7709S supports both big endian, in which the 0 address is the most significant byte in the
byte data, and little endian, in which the 0 address is the least significant byte. Switching between
the two is designated by an external pin (MD5 pin) at the time of a power-on reset. After a power-
on reset, big endian is engaged when MD5 is low; little endian is engaged when MD5 is high.
Three data bus widths are available for ordinary memory (byte, word, longword) and two data bus
widths (word and longword) for synchronous DRAM. For the PCMCIA interface, choose from
byte and word. This means data alignment is done by matching the deviceâs data width and
endian. The access unit must also be matched to the deviceâs bus width. This also means that when
longword data is read from a byte-width device, four read operations must be performed. In the
SH7709S, data alignment and conversion of data length is performed automatically between the
respective interfaces.
Tables 10.7 to 10.12 show the relationship between endian, device data width, and access unit.
Table 10.7 32-Bit External Device/Big-Endian Access and Data Alignment
Data Bus
Operation D31âD24 D23âD16 D15âD8 D7âD0
Byte access Data
â
at 0
7â0
â
â
Byte access â
at 1
Data
â
â
7â0
Byte access â
â
Data
â
at 2
7â0
Byte access â
â
â
Data
at 3
7â0
Word access Data
Data
â
â
at 0
15â8
7â0
Word access â
â
Data
Data
at 2
15â8
7â0
Longword
access at 0
Data
31â24
Data
23â16
Data
15â8
Data
7â0
WE3,
DQMUU
Asserted
Strobe Signals
WE2,
WE1,
DQMUL DQMLU
WE0,
DQMLL
Asserted
Asserted
Asserted
Asserted Asserted
Asserted Asserted
Asserted Asserted Asserted Asserted
Rev. 5.00, 09/03, page 260 of 760
|
▷ |