Clock And Data Signals - IBM AT 5170 Technical Reference

Table of Contents

Advertisement

Clock and Data Signals
The keyboard and system communicate over the
I
clock
I
and
I
data
I
lines. The source of each of these lines is an
open-collector device on the keyboard that allows either the
r--....
keyboard or the system to force a line to a negative level. When
no communication is occurring, both the
I
clock
I
and
I
data
I
lines
are at a positive level.
Data transmissions to and from the keyboard consist of 11-bit
data streams that are sent serially over the
I
data
I
line. The
following figure shows the structure of the data stream.
Bit
Function
1
Start bit (always 1)
2
Data b t 0 (least-significant)
3
Data b t 1
4
Data b t 2
5
Data b t 3
6
Data b t 4
7
Data b t 5
8
Data b t 6
9
Data b t 7 (most-significant)
10
Parity bit (always odd)
11
Stop bit (always 1)
The parity bit is either 1 or 0, and the eight data bits plus the
parity bit always equals an odd number.
When the system sends data to the keyboard, it forces the
I
data
I
line to a negative level and allows the
I
clock
I
line to go to a
positive level.
When the keyboard sends data to, or receives data from the
system, it generates the
I
clock
I
signal to time the data. The
system can prevent the keyboard from sending data by forcing the
I
clock
I
line to a negative level; the
I
data
I
line may go high or low
during this time.
During the BAT, the keyboard allows the
I
clock
I
and
I
data
I
~
lines to go to a positive level.
4-12
Keyboard

Advertisement

Table of Contents
loading

Table of Contents