??? 03/04/07 02:32 Modified: 03/04/07 02:34 Read: times |
#134230 - You\\\'re allowed to do whatever you want, Responding to: ???'s previous message |
... with the caveat, that you must first read and understand the datasheet for each and every component you use, including the PC parallel port.
You'll be disappointed to find that the '51 doesn't really have a tristate mode, per se, but go ahead and read the datasheet (AKA "the bible") anyway. If you're interested in reducing your workload, you might want to read the numerous pages on the www that focus on the PC parallel port in EPP mode. Since the very early '90's, that mode has been supported via BIOS provisions in nearly every new PC. The PC hardware provides you with the ability to write code on your PC that writes to the parallel port in LONG WORDS, yet multiplexes the data out for you in bytes. It provides steering logic for you, by means of which you can easily detect whether the information is data or control. EPP provides you with a nWAIT/RDY signal that tells you when the transaction is complete, which simplifies timing issues. EPP mode is bidirectional. It works essentially the same, regardless of the direction in which use it. Don't confuse the very simple EPP with the much more laborious, and therefore, necessarily very slow, SPP or incredibly complex ECP, the latter being intended for complex printers. There's nothing, BTW, to prevent you from using presettable counters rather than latches to store the data you intend to use as addresses. That will save you some time and effort in the code as well. RE |
Topic | Author | Date |
the RESET pin | 01/01/70 00:00 | |
Reset and Inputs | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
No, that's not true. | 01/01/70 00:00 | |
Picky, Picky, Picky | 01/01/70 00:00 | |
not picky Lynn, you need to read | 01/01/70 00:00 | |
I stand corrected | 01/01/70 00:00 | |
after reading the link | 01/01/70 00:00 | |
not entirely | 01/01/70 00:00 | |
I got the point | 01/01/70 00:00 | |
That's funny... | 01/01/70 00:00 | |
not exactly | 01/01/70 00:00 | |
Please read again... | 01/01/70 00:00 | |
Missing the point | 01/01/70 00:00 | |
It looks quite simple to me | 01/01/70 00:00 | |
but it is also an output | 01/01/70 00:00 | |
There's no excuse! | 01/01/70 00:00 | |
of course not!![]() | 01/01/70 00:00 | |
I agree | 01/01/70 00:00 | |
She? | 01/01/70 00:00 | |
haha | 01/01/70 00:00 | |
You\\\'re allowed to do whatever you want, | 01/01/70 00:00 | |
Depends... | 01/01/70 00:00 | |
so now what has been presented several | 01/01/70 00:00 | |
I did read | 01/01/70 00:00 |