
MC68HC16R1/916R1
USER’S MANUAL
SINGLE-CHIP INTEGRATION MODULE 2
MOTOROLA
5-43
BERR, BKPT, and MODCLK do not have internal pull-ups and must be driven to the
desired state during reset.
When BERR is high during reset, the MCU is configured for partially or fully expanded
operation. DATA2 is then decoded to select 8- or 16-bit data bus operation, DATA8 is
decoded to configure pins for bus control or port E operation, and DATA9 is decoded
to configure pins for interrupt requests or port F operation. If DATA1 is held low at re-
set, selecting 16-bit data bus operation, DATA11, DATA[7:2] and DATA0 are also de-
coded. The following subsections explain the process in greater detail.
5.7.3.1 Address and Data Bus Pin Functions
External bus configuration determines whether certain address and data pins are used
for those functions or for general-purpose I/O. ADDR[18:3] serve as pins for ports A
and B when the MCU is operating in single-chip mode. DATA[7:0] serve as port H pins
in partially expanded and single-chip modes, and DATA[15:8] serve as port G pins
during single-chip operation.
Table 5-16
summarizes bus and port configuration op-
tions.
ADDR[2:0] are normally placed in a high-impedance state in single-chip mode and
function as normal address bus pins in the expanded modes. Refer to
D.2.1 SCIM
Configuration Register
for information on the address bus disable (ABD) bit.
The ADDR[23:19] pins can also be used as chip selects or discrete output pins, de-
pending on the external bus configuration selected at reset. The following paragraphs
contain a summary of pin configuration options for each external bus configuration.
Table 5-15 Basic Configuration Options
Select Pin
Default Function
(Pin Left High)
Synthesized system clock
Background mode disabled
Expanded mode
8-Bit expanded mode
Alternate Function
(Pin Pulled Low)
External system clock
Background mode enabled
Single-chip mode
16-Bit expanded mode
MODCLK
BKPT
BERR
DATA1 (if BERR = 1)
Table 5-16 Bus and Port Configuration Options
Mode
Address Bus
ADDR[18:3]
ADDR[18:3]
Data Bus
DATA[15:0]
DATA[15:8]
I/O Ports
—
16-Bit Expanded
8-Bit Expanded
DATA[7:0] = Port H
ADDR[18:11] = Port A
ADDR[10:3] = Port B
DATA[15:8] = Port G
DATA[7:0] = Port H
Single Chip
None
None