I/O Ports Overview; Internal Structure For Ports 1, 2, 5, And 6 (Bidirectional Ports); Microcontroller Ports - Intel 87C196CA Supplement To User’s Manual

Microcontroller
Table of Contents

Advertisement

The I/O ports of the 8XC196Lx are functionally identical to those of the 8XC196Jx. However, on
the 87C196LA and LB, the reset state level of all 41 general-purpose I/O pins has changed from
a weak logic "1" (wk1) to a weak logic "0" (wk0). This chapter outlines the differences between
the 87C196LA, LB and the 8XC196Kx controllers.
5.1

I/O PORTS OVERVIEW

Table 5-1 provides an overview of the 8XC196Lx and 8XC196Kx I/O ports.
Port
8 (K x )
Port 0
6 (CA, J x, L x )
8 (K x )
Port 1
4 (CA, J x, L x )
8 (K x )
Port 2
6 (CA, J x, L x )
Port 3
8
Port 4
8
8 (K x )
Port 5
3 (CA, J x, L x )
8 (K x )
Port 6
6 (CA, J x, L x )
5.2
INTERNAL STRUCTURE FOR PORTS 1, 2, 5, AND 6 (BIDIRECTIONAL
PORTS)
Figure 5-1 shows the logic for driving the output transistors, Q1 and Q2. Consult the datasheet
for specifications on the amount of current that each port can source or sink.
In I/O mode (selected by clearing a port mode register bit), the port data output and the port di-
rection registers are input to the multiplexers. These signals combine to drive the gates of Q1 and
Q2 so that the output is high, low, or high impedance.
In special-function mode (selected by setting a port mode register bit), SFDIR and SFDATA are
input to the multiplexers. These signals combine to drive the gates of Q1 and Q2 so that the output
is high, low, or high impedance. Special-function output signals clear SFDIR; special-function
Table 5-1. Microcontroller Ports
Pins
Type
Standard
Standard
Standard
Memory mapped
Memory mapped
Memory mapped
Standard
CHAPTER 5
Configuration
Associated Peripheral or
Options
System Function
A/D converter
Input-only
(not supported on LD)
Complementary
EPA and timers
Open-drain
J1850 (LB only), SIO,
Complementary
interrupts, bus control, clock
Open-drain
gen.
Complementary
Address/data bus
Open-drain
Complementary
Address/data bus
Open-drain
Complementary
Bus control, slave port
Open-drain
Complementary
EPA, SSIO
Open-drain
I/O PORTS
5-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196jx8xc196kx8xc196lxXc196kx

Table of Contents