From: Don Y <dgy at dakotacom.net>
Reply-To: "General Discussion: On-Topic and Off-Topic
Posts"<cctalk at classiccmp.org>
To: Classic Computers <cctalk at classiccmp.org>
Subject: Parallel port bandwidth
Date: Sun, 23 Jul 2006 16:39:33 -0700
Hi,
Does anyone know what the available bandwidth of "standard"
parallel ports might be? E.g., on PC's I believe bus speed
is emulated at 8MHz (?) for I/O instructions (legacy). But,
what about other machines with parallel (printer) ports?
Thx,
--don
Hi Don,
I seem to remember the following.
in SPP (Standard Parallel Port) mode the max transfer rate is 150 kbytes/sec
mostly because
the handshake is done in software. It is a "forward" only protocol (data
from computer to a
peripheral).
in ECP/EPP mode the transfer rate can go up to 2Mbyte/sec, and that depends
among others
on the cable quality you use (IEEE-1284 IIRC), and both are bi-directional.
Tha handshake is
done in *hardware*.
The last mode is called nibble mode, and is SPP, but with a data channel
from the peripheral
back to the computer. In the
beginning the parallel port had uni-directional
databus drivers,
so a return channel was not possible over the data lines. But SPP has a few
(5) wires that
are *input* on the computer side (like ERROR*, PAPER_EMPTY*, BUSY). 4 of
these wires
were used to transfer 4-bit (nibble) data back to the computer. In nibble
mode, the forward
transfer rate is identical to SPP, the reverse comm channel can do 50
kbytes/sec.
- Henk, PA8PDP.
_________________________________________________________________
Iets leuks meegemaakt? Zet het op je Space!
www.spacemomentje.nl/start.aspx