Parallel port communication trouble - help !

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
i m using PC's parallel port to communicate with a 8052
when sending a byte to 8052 eveything is ok
the byte data is sent without error
but when i try to receive a byte from 8052
i.e when reading data pins of parallel port it makes very much error
(i set control port bit5 to read data pins )
(cable is 5 m)
(i have 74hc245 driver between PC and 8052)

my question ;
has anyone experience with parallel port communication
have u come up with similar results ?
what can u suggest to me ?

Re: Parallel port communication trouble - help !

Quoted text here. Click to load it

Did you make sure your parallel port is setup in a mode that actually
allows bidirectional operation, like EPP or full IEC 1284?

Quoted text here. Click to load it

5 meters is generally too long for PC parallel ports.  Keep it below
about 2 meters if possible.

--
Hans-Bernhard Broeker ( snipped-for-privacy@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

Re: Parallel port communication trouble - help !
Quoted text here. Click to load it
yes - i use ECP+EPP selection on bios setup

Quoted text here. Click to load it

my data rate is very slow right now
maybe 1000 bytes / second
i dont think the signals are degraded at this low speed

thanks

Re: Parallel port communication trouble - help !
Quoted text here. Click to load it
i need high speed comm.
i have very much data to transfer between PC and 8052

i tried rs232 and rs485
they make much error at high speeds - 115k for example

thanks

Re: Parallel port communication trouble - help !
Quoted text here. Click to load it

See this site:

    http://www.lvr.com/jansfaq.htm

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Rod Nussbaumer, Programmer/Technologist   email: snipped-for-privacy@trmail.triumf.ca
We've slightly trimmed the long signature. Click to see the full one.

Site Timeline