83
ATmega161(L)
1228B–09/01
• Bits 3..2 EMCUCR – SRW01, SRW00: Wait State Select Bits for Lower Page
The SRW01 and SRW00 bits control the number of wait states for the lower page of the
external memory address space (see Table 27).
Note:
1. n = 0 or 1 (lower/upper page)
For further details of the timing and wait states of the external memory interface, see
Figure 51 through Figure 54 for how the setting of the SRW bits affects the timing.
Table 27.
Wait States
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
Table 28.
Page Limits with Different Settings of SRL2..0
SRL2
SRL1
SRL0
Page Limits
0
0
0
Lower page = N/A
Upper page = $0460-$FFFF
0
0
1
Lower page = $0460-$1FFF
Upper page = $2000-$FFFF
0
1
0
Lower page = $0460-$4FFF
Upper page = $4000-$FFFF
0
1
1
Lower page = $0460-$5FFF
Upper page = $6000-$FFFF
1
0
0
Lower page = $0460-$7FFF
Upper page = $8000-$FFFF
1
0
1
Lower page = $0460-$9FFF
Upper page = $A000-$FFFF
1
1
0
Lower page = $0460-$BFFF
Upper page = $C000-$FFFF
1
1
1
Lower page = $0460-$DFFF
Upper page = $E000-$FFFF