home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!lll-winken!taurus.cs.nps.navy.mil!stockel
- From: stockel@taupo.oc.nps.navy.mil (Jim Stockel)
- Newsgroups: comp.sys.hp
- Subject: Centronics on 730. Help!
- Message-ID: <C1FqF4.HGq@taurus.cs.nps.navy.mil>
- Date: 26 Jan 93 00:23:26 GMT
- Sender: news@taurus.cs.nps.navy.mil
- Organization: Naval Postgraduate School,Monterey CA
- Lines: 77
-
-
- Hi,
-
- Some time back in August, I followed a thread on comp.sys.hp about using
- the Centronics port of a 9000/730 for data input. According to the
- discussion, input on the centronics is possible. The last message I
- caught was from rose@hpfcmgw.FC.HP.COM (Rose Palombo):
-
- >> "man cent" on my 9000/730 (HPUX 8.07) tell me that the Centronics parallel
- >> port only supports writes. Is this a hardware or a software limitation?
- >>
- >> If it's a software limitation, does anyone know if/when reads from the
- >> Centronics port might be supported?
-
- >> It's a manual page limitation. The 700 parallel port can do bidirection
- >> I/O. If only you know the mode bits in the minor number...
-
- > Changes were made to the Centronics driver in HP-UX 8.07 to support
- > additional modes. The mode is set via the lower 3 bits of the device
- > file's minor number. We are supporting modes 1, 2, 3, 4, 5, and 6.
- > Information about this did not made it into HP-UX 8.07 documentation.
- >
- > Here are the mode descriptions I am aware of for the Centronics driver.
-
- > mode 1,2: NACK with NOT BUSY automatic handshake;
- > BUSY only automatic handshake
- >
- > mode 3: Scanjet bidirectional NSTB only
- >
- > mode 4: tektronix stream mode 1 usec delay
- >
- > mode 5: PULSED NACK with NOT BUSY automatic handshake
- >
- > mode 6: PULSED BUSY only automatic handshake
- >
-
-
- We are considering using the centronics port on our 7000/730 (HPUX 8.07)
- to bring in a 16 bit parallel data stream from an instrument, and I would
- like to get more information on how to do this.
-
- First, what we have is a 176 Kb/s data rate, that is FIFO'ed in hardware so
- that it can tolerate up to 80 mS of latency. In the past we have used a
- GPIO interface on a 300 series computer, but we are now migrating to a 700
- where drivers for a GPIO are not yet available (hint, hint. Anybody know
- anything about HP plans to support an EISA/ISA GPIO card?).
-
- If using the centronics for input is feasible we will build the necessary
- hardware to make our instrument talk centronics. Questions we have include:
-
- - can the centronics port do better than 176 Kb/s.
-
- - is mode 3 (of the 6 modes mentioned above) the only
- bi-directional mode, and can anyone give more details of the modes, ie
- timing diagrams of hand shake lines, logic levels, what is NSTB etc.
-
- - the HPUX 8.07 documentation on centronics does not discuss input, is there
- more information on programming for input, and can this be done with the DIL
- library delivered with our system.
-
- - can we use open collector outputs on our device with 2k2 pullups to 5v
- to connect to the 8 data lines of the centronics port. If not, what
- would be appropriate.
-
- Thanks in advance for any help, hints etc. Post here or respond to me at:
-
- stockel@arola.oc.nps.navy.mil or
- stockel@taupo.oc.nps.navy.mil
-
- If there is interest, I will summarize.
-
-
-
- --
- Jim Stockel |
- stockel@taupo.oc.nps.navy.mil |
- (408) 656-3256 |
-