P
petrus bitbyter
Guest
"Peter Andersen" <peter@invalid.invalid> schreef in bericht
news:dla8rp$qin$1@news.net.uni-c.dk...
One place - amongst others - is:
http://www.beyondlogic.org/
It lacks hardware details. Some more can be found at:
http://www.epanorama.net/circuits/parallel_output.html
Although pin description and register usage are well defined, hardware
details of the inner port are not very common. One of the reasons may be
that since the times of the first PC manufacturers used a variation of
components to implement its funcion. An average printerports hardware was
build like this:
- The datalines were TTL-outputs like LS273 or LS374. Some had smal
seriesresistors in the outputlines like 22E or 33E (E for Ohm). A capacitor
of about 470pF to GND was common although I often saw its space on the board
left empty.
- The controllines used open collector outputs like LS06 or LS07. The had
pullup resistors of let's say 4k7 and also capacitors to GND.
- The statuslines had LS14 Schmidtriggered inverters for input and low
(150E) pullup resistors. Place for capacitors was often available but left
empty.
It did not take long before special I/O chips took over the role of the
common TTL-components but the function was assumed to remain the same. I did
not always fit. I remember a parallelport chip build in CMOS that was blown
whenever the PC was switched off before the printer was. Nevertheless a
common parallel printerport will still be able to provide (about) the same
performance the old things did.
petrus bitbyter
news:dla8rp$qin$1@news.net.uni-c.dk...
Guess you'd better enlarge your knowledge about the parallel port interface.Hi,
I am trying to capture an input with a status pin on the standard IBM
parallel port.
I looks like all the status pins are set high default when there's no
external voltage source connected.
If I measure the voltage drop across pin 13 (status 4) and pin 25 (ground)
I get 5,1 V. Shouldn't it be zero?
I am using FreeBSD and if I read the value of the status pins with nothing
connected I get
Status: 0x7f
Nothing happens if I connect a 5 V voltage source to pin 13 and pin 25.
If I short circuit pin 13 and pin 25 I get
Status: 0x6f
Isn't it supposed to be the other way around or am I doing something
wrong?
Best regards.
One place - amongst others - is:
http://www.beyondlogic.org/
It lacks hardware details. Some more can be found at:
http://www.epanorama.net/circuits/parallel_output.html
Although pin description and register usage are well defined, hardware
details of the inner port are not very common. One of the reasons may be
that since the times of the first PC manufacturers used a variation of
components to implement its funcion. An average printerports hardware was
build like this:
- The datalines were TTL-outputs like LS273 or LS374. Some had smal
seriesresistors in the outputlines like 22E or 33E (E for Ohm). A capacitor
of about 470pF to GND was common although I often saw its space on the board
left empty.
- The controllines used open collector outputs like LS06 or LS07. The had
pullup resistors of let's say 4k7 and also capacitors to GND.
- The statuslines had LS14 Schmidtriggered inverters for input and low
(150E) pullup resistors. Place for capacitors was often available but left
empty.
It did not take long before special I/O chips took over the role of the
common TTL-components but the function was assumed to remain the same. I did
not always fit. I remember a parallelport chip build in CMOS that was blown
whenever the PC was switched off before the printer was. Nevertheless a
common parallel printerport will still be able to provide (about) the same
performance the old things did.
petrus bitbyter