Parallel port communication trouble - help !

Aug 29, 2003 4 Replies

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 ?


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

5 meters is generally too long for PC parallel ports. Keep it below about 2 meters if possible.
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de) Even if all the snow were burnt, ashes would remain.

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

yes - i use ECP+EPP selection on bios setup

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

thanks

See this site:

formatting link

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rod Nussbaumer, Programmer/Technologist email: bomr@trmail.triumf.ca TRIUMF, Canada's National MESON Research Facility Vancouver, BC, Canada ph: (604) 222-7449 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required