Bidirectional Ports 3 And 4 (Address/Data Bus) Operation - Intel 8XC196MC User Manual

Table of Contents

Advertisement

6.4.1

Bidirectional Ports 3 and 4 (Address/Data Bus) Operation

Figure 6-3 shows the ports 3 and 4 logic. During reset, the active-low level of RESET# turns off
Q1 and Q2 and turns on transistor Q3, which weakly pulls the pin high. (Q1 can source at least –
3 mA at V
–0.7 volts; Q2 can sink at least 3 mA at 0.45 volts; and Q3 can source approximately
CC
–10 µΑ at V
–1.0 volts. Consult the datasheet for exact specifications.) During normal opera-
CC
tion, an internal control signal, BUS CONTROL SELECT, controls the port.
When the microcontroller needs to access external memory, it clears BUS CONTROL SELECT,
which selects address/data as the input to the multiplexer. Address/data then drives Q1 and Q2 as
complementary outputs.
When external memory access is not required, the microcontroller sets BUS CONTROL SE-
LECT, which selects Px_REG as the input to the multiplexer. Px_REG then drives Q1 and Q2 as
open-drain outputs. (Open-drain outputs require external pull-up resistors.) In this configuration,
a port pin can be used as an input. The signal on the pin is latched in the Px_PIN register. The pins
can be read, making it easy to see which pins are driven low by the microcontroller and which are
driven high by external drivers. Table 6-13 is a logic table for ports 3 and 4 as I/O.
Internal Bus
Px_REG
Address/Data
Figure 6-3. Address/Data Bus (Ports 3 and 4) Structure
1
0
BUS CONTROL SELECT
0 = Address/Data
1 = I/O
Get other manuals https://www.bkmanuals.com
V
CC
Q1
Q2
RESET#
Px_PIN
I/O PORTS
V
CC
Q3
I/O Pin
A3116-01
6-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents