518
Chapter 31 External Bus
2.External Bus Interface Registers
If an area for which write operations are disabled is accessed for a write operation from the internal bus, the
access is ignored and no external access at all is performed. Set the WREN bit of areas for which write
operations are not required, such as data areas, to 0.
[Bit 4] LEND (Little ENDian select)
This bit sets the order of bytes of each chip select area as indicated in the following table.
Be sure to set the LEND bit of ACR0 to 0. CS0 supports only the big endian method.
[Bits 3-0] TYP3-0 (TYPe select)
These bits set the access type of each chip select area as indicated in Table 2-4 "Access Type Settings for
Each Chip Select Area".
1 Enable write
LEND Order of bytes
0 Big endian
1 Little endian
Table 2-4 Access Type Settings for Each Chip Select Area
TYP3 TYP2 TYP1 TYP0 Access type
00xx
Normal access (asynchronous SRAM, I/O,
and single/page/burst-ROM/FLASH)
01xx
Address data multiplex access (8/16-bit bus
width only)
0 x x 0 Disable WAIT insertion by the RDY pin.
0xx1
Enable WAIT insertion by the RDY pin
(disabled during bursts).
0x0x
Use the WR0-WR3 pins as write strobes
(WEn is always H).
0x1xUse the WEn pin as the write strobe.
*1
1000Memory type A: SDRAM/FCRAM
*2
1001Memory type B: FCRAM
*2
1010Setting disabled
1011Setting disabled
1100Setting disabled
1101Setting disabled
1110Setting disabled
WREN Write enable/disable