INTEL I/O Interface

4.6(5)
studied byStudied by 15 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/135

flashcard set

Earn XP

Description and Tags

Chapter 11: Basic I/O Interface

Last updated 3:02 AM on 5/21/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

136 Terms

1
New cards
OUT
One type of instruction transfers information to an I/O device.
2
New cards
IN
One type of instruction reads from an I/O device.
3
New cards
INS and OUTS
found except the 8086/8088, instructions are also provided to transfer strings of data between memory and I/O.
4
New cards
IN and OUT
Instructions that transfer data between an I/O device and the microprocessor’s accumulator (AL, AX, or EAX).
5
New cards
DX
The I/O address is stored in register \__ as a 16 bit address or in the byte (p8) immediately following the opcode as an 8 bit address.
6
New cards
fixed address
Intel calls the 8 bit form (p8) a \___because it is stored with the instruction, usually in a ROM.
7
New cards
variable address
The 16 bit address is called a \____ because it is stored in a DX, and then used to address the I/O device.
8
New cards
8 bits
I/O ports are \___ in width.
9
New cards
Two
a 16 bit port is actually \___consecutive 8 bit ports being addressed.
10
New cards
Four
a 32 bit I/O port is actually \__ 8 bit ports.
11
New cards
port number
When data are transferred using IN or OUT, the I/O address \___ appears on the address bus.
12
New cards
External I/O interface
decodes the port number in the same manner as a memory address.
13
New cards
p8
8 bit fixed port number appears on address bus connections Asub7 to Asub0 with bits Asub15 to Asub8 equal to 00000000sub2.
14
New cards
Asub15
connections above \__ are undefined for I/O instruction.
15
New cards
DX
The 16 bit variable port number appears on address connections A 15 A 0.
16
New cards
256
The first \__ I/O port addresses (00H FFH) are accessed by both fixed and variable I/O instructions.
17
New cards
variable I/O address
any I/O address from 0100H to FFFFH is only accessed by the \___.
18
New cards
Isolated and Memory Mapped I/O
Two different methods of interfacing I/O.
19
New cards
Isolated I/O
the IN, INS, OUT, and OUTS transfer data between the microprocessor’s accumulator or memory and the I/O device. Most common I/O transfer technique used in the Intel based system is isolated I/O.
20
New cards
Isolated
describes how I/O locations are isolated from memory in a separate I/O address space.
21
New cards
Memory mapped I/O
any instruction that references memory can accomplish the transfer.
22
New cards
Isolated I/O ports
are used to control peripheral devices.
23
New cards
8 bit port
address is used to access devices located on the system board, such as the timer and keyboard interface.
24
New cards
16 bit port
is used to access serial and parallel ports, video and disk drive Systems.
25
New cards
Memory mapped I/O
does not use the IN, INS, OUT, or OUTS instructions. It uses any instruction that transfers data between the microprocessor and memory.
26
New cards
ISA Bus
I/O space between ports 0000H and 03FFH is normally reserved for the system and __.
27
New cards
PCI Bus
ports at 0400H FFFFH are generally available for user applications, main board functions, and the PCI bus.
28
New cards
80287 coprocessor
uses 00F8H 00FFH, so Intel reserves I/O ports 00F0H 00FFH.
29
New cards
Buffers
The basic input device is a set of three state \___ and three state \___ are used to construct the 8 bit input port.
30
New cards
Latches
The basic output device is a set of data \___.
31
New cards
IN
The term \__ refers to moving data from the I/O device into the microprocessor.
32
New cards
OUT
The term \___ refers to moving data out of the microprocessor to the I/O device.
33
New cards
LOGIC 0
The circuit of allows the processor to read the contents of the eight switches that connect to any 8 bit section of the data bus when the select signal becomes a \___.
34
New cards
74ALS244
is a three state buffer that controls the application of the switch data to the data bus.
35
New cards
Latches
hold the data because when the processor executes an OUT, data are only present on the data bus for less than 1.0 µ s.
36
New cards
Handshaking or polling
synchronizes the I/O device with the microprocessor or the process of interrogating the printer, or any asynchronous device like a printer.
37
New cards
STB
is a clock pulse used to send data to printer.
38
New cards
Input devices
are already TTL and compatible, and can be connected to the microprocessor and its interfacing components.
39
New cards
Pull up resistor
ensures when the switch is open, the output signal is a logic 1.
40
New cards
Output devices
are more diverse than input devices, but many are interfaced in a uniform manner.
41
New cards
Logic 0 – 0.0V to 0.4V.
42
New cards
Logic 1 – 2.4V to 5.0V.
43
New cards
Darlington Pair
the diode must be present to prevent the \___ from being destroyed by inductive kickback.
44
New cards
PLD
is a better decoder circuit because the number of integrated circuits has been reduced to one device.
45
New cards
heat sink
The Darlington pair must use a \___ because of the amount of current.
46
New cards
I/O PORT ADDRESS DECODING
Very similar to memory address decoding especially for memory mapped I/O devices.
47
New cards
personal computer system
In the \___, we always decode all 16 bits of the I/O port address, never uses or decodes an 8 bit address.
48
New cards
GAL22V10
(a low-cost device) for decoder
49
New cards
80386SX
Data transferred to an 8 bit I/O device exist in one of the I/O banks in a 16 bit processor such as \____.
50
New cards
8 and 16 Bit Wide I/O Ports
Data transferred to an 8 bit I/O device exist in one of the I/O banks in a 16 bit processor such as 80386SX.
51
New cards
32 Bit Wide I/O Ports
May eventually become common because of newer buses found in computer systems.
52
New cards
82C55 PPI
is a popular, low cost interface component found in many applications.
53
New cards
24
The PPI has \__ pins for I/O, programmable in groups of 12 pins and groups that operate in three distinct modes of operation.
54
New cards
82C55
is used for interface to the keyboard and parallel printer port in many PCs.
55
New cards
Note
C0H (port A), C2H (port B), C4H (port C), and C6H (command register).
56
New cards
RESET
A \____ to 82C55 sets up all ports as simple input ports using mode 0 operation.
57
New cards
Mode 0 Operation
causes 82C55 to function as a buffered input device or as a latched output device.
58
New cards
LCDs
have replaced LED displays in many applications.
59
New cards
DMC 20481
is a 4 line by 20 characters per line display that accepts ASCII code as input data.
60
New cards
BUSY
procedure tests the LCD display and only returns when the display has completed a prior instruction.
61
New cards
WRITE
Once the BUSY procedure is available, data can be sent to the display by writing another procedure called \___.
62
New cards
CLS
The only other procedure needed for a basic display is the clear & home cursor procedure, called \___.
63
New cards
stepper motor
a digital motor because it is moved in discrete steps as it traverses through 360*.
64
New cards
full stepping
The motor is shown with the armature rotated to four discrete places, called \___.
65
New cards
Key Matrix
the switches are formed into a 4X4 matrix, but any matrix could be used, such as a 2X8.
66
New cards
Mode 1 Strobed Input
Causes port A and/or port B to function as latching input devices which allows external data to be stored to the port until the microprocessor is ready to retrieve it.
67
New cards
Strobe
The \___ input loads data to the port latch, which holds the information until it is input to the microprocessor via the IN instruction.
68
New cards
Input buffer full
is an output indicating that the input latch contains information.
69
New cards
Interrupt request
is an output that requests an interrupt.
70
New cards
PC7 , PC 6
The port C pins _ and _ are general purpose I/O pins that are available for any purpose.
71
New cards
Mode 1 Strobed Output
Strobed output operation is similar to mode 0 except control signals are included to provide handshaking.
72
New cards
Output buffer full
goes low whenever data are output (OUT) to the port A or B latch, is an output indicating the output buffer contains data.
73
New cards
Acknowledge signal
causes the OBF pin to return to logic 1 and is a response from an external device, indicating that it has received data from the 82C55 port.
74
New cards
Interrupt request
often interrupts the processor when the external device receives the data via the ACK signal.
75
New cards
Interrupt enable
is neither input nor output; it is an internal bit programmed to enable or disable the INTR pin.
76
New cards
PC4 , PC 5
Port C pins _ and _ are general purpose I/O pins.
77
New cards
Mode 2 Bidirectional Operation
Port A becomes bidirectional, allowing data transmit/receive over the same eight wires, useful when interfacing two computers.
78
New cards
Acknowledge
is an input that enables the three state buffers so that data can appear on port A.
79
New cards
strobe
input loads the port A input latch with external data from the bidirectional port A bus.
80
New cards
PC0, PC1, PC 2
These pins are general purpose I/O pins in mode 2 controlled by the bit set and reset command.\
81
New cards
Input buffer full
is an output used to signal that the input buffer contains data for the external bidirectional bus.
82
New cards
The Bidirectional Bus
is used by referencing port A with the IN and OUT instructions.
83
New cards
8254
consists of three independent 16 bit programmable counters ( timers ).
84
New cards
A0, A1
The address inputs select one of four internal registers within the 8254.
85
New cards
clock
input is the timing source for each of the internal counters.
86
New cards
Chip select
enables 8254 for programming and reading or writing a counter.
87
New cards
gate input
controls the operation of the counter in some modes of operation.
88
New cards
Ground
connects to the system ground bus.
89
New cards
Counter output
is where the waveform generated by the timer is available.
90
New cards
Read
causes data to be read from the 8254 and often connects to the IORC signal.
91
New cards
Power
connects to the +5.0 V power supply.
92
New cards
Write
causes data to be written to the 8254 and often connects to write strobe IOWC.
93
New cards
Mode 0
Allows 8254 to be used as an events counter.
94
New cards
Mode 1
Causes function as a retriggerable, monostable multivibrator (one shot).
95
New cards
Mode 2
Allows the counter to generate a series of continuous pulses one clock pulse wide.
96
New cards
Mode 3
Generates a continuous square wave at the OUT connection, provided the G pin is logic 1.
97
New cards
Mode 4
Allows a single pulse at the output.
98
New cards
Mode 5
A hardware triggered one shot that functions as mode 4.
99
New cards
Pulse Width Modulation
Each counter generates pulses at different positions to vary the duty cycle at the Q output of the flip flop and this output is also called.
100
New cards
PC16550D
is a programmable communications interface designed to connect to virtually any type of serial interface.