Maker Pro
Maker Pro

Parallel Port EPP Interface

  • Thread starter Sebastian Meuren
  • Start date
S

Sebastian Meuren

Jan 1, 1970
0
Hello!

I`m developing an EPP-Interface for a Microcontroller (AVR) and I have a
problem: Some Bytes are lost (randomly) and I don`t know why this happens.
Does anybody know why or how this can be fixed?

Thx for help, Sebastian....
 
A

Aaron Hughes

Jan 1, 1970
0
You may be experiencing BOUNCING. The parallel port is typically open
collector and in my experience, very noisy. You may solve this by putting a
Schmitt trigger (7414) on the parallel
port outputs (and then have your software correct the bits ie invert them
before sending)
OR
Have your microcontroller detect the change on the parallel port, wait about
3us, and then read the bus again.

Most parallel ports run at top speed of 5us to 10us.

Hope this helps.
 
Top