MOTOROLA
MC68HC16Y1
64
MC68HC16Y1TS/D
Internal chip select logic is inhibited when discrete output or alternate function are assigned.
Port size is determined when a pin is assigned as a chip select. When a pin is assigned to an 8-bit port,
the chip select is asserted at all addresses within the block range. If a pin is assigned to a 16-bit port,
the upper/lower byte eld of the option register selects the byte with which the chip select is associated.
3.10.3 Base Address Registers
A base address is the starting address for the block enabled by a given chip select. Block size deter-
mines the extent of the block above the base address. Each chip select has an associated base register,
so that an efcient address map can be constructed for each application. If a chip select is assigned an
address used by a microcontroller module, the module has priority — the chip select does not respond
to an access.
ADDR[23:20] will be at the same logic level as ADDR19 during internal CPU master operation. AD-
DR[23:20] must match ADDR19 for the chip select to be active.
BLKSZ — Block Size Field
This field determines the size of the block above the base address that must be enabled by the chip
select. The table below shows bit encoding for the base address registers block size field.
ADDR[23:20] will be at the same logic level as ADDR19 during normal operation.
ADDR[15:3] — Base Address Field
This field sets the starting address of a particular address space. The address compare logic uses only
the most significant bits to match an address within a block — the value of the base address must be a
multiple of block size. Base address register diagrams show how base register bits correspond to ad-
dress lines.
CSBARBT — Chip Select Base Address Register Boot ROM
$YFFA48
15
14
13
12
11
10
9876543210
ADDR
23
ADDR
22
ADDR
21
ADDR
20
ADDR
19
ADDR
18
ADDR
17
ADDR
16
ADDR
15
ADDR
14
ADDR
13
ADDR
12
ADDR
11
BLKSZ
RESET:
0000000000000111
CSBAR0 – CSBAR10 — Chip Select Base Address Registers
$YFFA4C–$YFFA74
15
14
13
12
11
10
9876543210
ADDR
23
ADDR
22
ADDR
21
ADDR
20
ADDR
19
ADDR
18
ADDR
17
ADDR
16
ADDR
15
ADDR
14
ADDR
13
ADDR
12
ADDR
11
BLKSZ
RESET:
0
000000000000000
Block Size Field
Block Size
Address Lines Compared
000
2 K
ADDR[23:11]
001
8 K
ADDR[23:13]
010
16 K
ADDR[23:14]
011
64 K
ADDR[23:16]
100
128 K
ADDR[23:17]
101
256 K
ADDR[23:18]
110
512 K
ADDR[23:19]
111
512 K
ADDR[23:20]