AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 31

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
External Memory Control
Register B – XMCRB
4250C–CAN–03/04
Note:
• Bit 7– XMBK: External Memory Bus-keeper Enable
Writing XMBK to one enables the bus keeper on the AD7:0 lines. When the bus keeper
is enabled, AD7:0 will keep the last driven value on the lines even if the XMEM interface
has tri-stated the lines. Writing XMBK to zero disables the bus keeper. XMBK is not
qualified with SRE, so even if the XMEM interface is disabled, the bus keepers are still
activated as long as XMBK is one.
• Bit 6..4 – Reserved Bits
These are reserved bits and will always read as zero. When writing to this address loca-
tion, write these bits to zero for compatibility with future devices.
• Bit 2..0 – XMM2, XMM1, XMM0: External Memory High Mask
When the External Memory is enabled, all Port C pins are default used for the high
address byte. If the full 60KB address space is not required to access the External Mem-
ory, some, or all, Port C pins can be released for normal Port Pin function as described
in Table 4. As described in “Using all 64KB Locations of External Memory” on page 32,
it is possible to use the XMMn bits to access all 64KB locations of the External Memory.
Table 4. Port C Pins Released as Normal Port Pins when the External Memory is
Enabled
Bit
Read/Write
Initial Value
XMM2
0
0
0
0
1
1
1
1
1. n = 0 or 1 (lower/upper sector).
XMM1
For further details of the timing and wait-states of the External Memory Interface, see
Figures 14 through Figures 17 for how the setting of the SRW bits affects the timing.
0
0
1
1
0
0
1
1
XMBK
R/W
7
0
XMM0
0
1
0
1
0
1
0
1
R
6
0
# Bits for External Memory Address
8 (Full 60 KB space)
7
6
5
4
3
2
No Address high bits
R
5
0
4
R
0
R
3
0
XMM2
R/W
2
0
AT90CAN128
XMM1
R/W
1
0
Released Port Pins
None
PC7
PC7 .. PC6
PC7 .. PC5
PC7 .. PC4
PC7 .. PC3
PC7 .. PC2
Full Port C
XMM0
R/W
0
0
XMCRB
31

Related parts for AT90CAN128-16AE