beautypg.com

Table 3, Atmega8515(l) – Rainbow Electronics ATmega8515L User Manual

Page 28

background image

28

ATmega8515(L)

2512A–AVR–04/02

SRAM address space is configured as one sector, the wait states are configured by the
SRW11 and SRW10 bits.

• Bit 1 and Bit 6 MCUCR – SRW11, SRW10: Wait State Select Bits for Upper

Sector

The SRW11 and SRW10 bits control the number of wait states for the upper sector of
the External Memory address space, see Table 3.

• Bit 3..2 – SRW01, SRW00: Wait State Select Bits for Lower Sector

The SRW01 and SRW00 bits control the number of wait states for the lower sector of
the External Memory address space, see Table 3.

Note:

1. n = 0 or 1 (lower/upper sector).

For further details of the timing and wait states of the External Memory Interface, see
Figure 13 to Figure 16 how the setting of the SRW bits affects the timing.

Table 2. Sector Limits with Different Settings of SRL2..0

SRL2

SRL1

SRL0

Sector Limits

0

0

0

Lower sector = N/A

Upper sector = 0x0260 - 0xFFFF

0

0

1

Lower sector = 0x0260 - 0x1FFF

Upper sector = 0x2000 - 0xFFFF

0

1

0

Lower sector = 0x0260 - 0x3FFF

Upper sector = 0x4000 - 0xFFFF

0

1

1

Lower sector = 0x0260 - 0x5FFF

Upper sector = 0x6000 - 0xFFFF

1

0

0

Lower sector = 0x0260 - 0x7FFF

Upper sector = 0x8000 - 0xFFFF

1

0

1

Lower sector = 0x0260 - 0x9FFF

Upper sector = 0xA000 - 0xFFFF

1

1

0

Lower sector = 0x0260 - 0xBFFF

Upper sector = 0xC000 - 0xFFFF

1

1

1

Lower sector = 0x0260 - 0xDFFF

Upper sector = 0xE000 - 0xFFFF

Table 3. Wait States

(1)

SRWn1

SRWn0

Wait States

0

0

No wait states.

0

1

Wait one cycle during read/write strobe.

1

0

Wait two cycles during read/write strobe.

1

1

Wait two cycles during read/write and wait one cycle before driving out
new address.