The Parallel Port: Termination of a 1284 Mode
Byte and Nibble Mode Termination |
※ |
A 1284 compliant peripheral device must implement this sequence.
For EPP mode termination and ECP mode termination are different. The following diagram shows the standard termination sequence for byte and nibble modes.
/Select | /AutoFeed | /Ack | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1284Active | HostBusy | PtrClk | |||||||||||||||
|
|
|
|||||||||||||||
1 |
|
|
|
H signals begin of termination sequence | |||||||||||||
2 |
|
|
|
P signals acknowlegdement | |||||||||||||
3 |
|
|
|
H signals end of termination sequence | |||||||||||||
4 |
|
|
|
P signals acknowlegdement | |||||||||||||
5 |
|
|
|
H sets /AutoFeed to desired value | |||||||||||||
|
|
|
H and P are now in compatibilily mode again |
EPP Termination |
※ |
This termination sequence is quite trivial and can probably terminate byte and nibble modes, too, because it uses the /Init line, which should reset the printer. Only in ECP mode, this does not work, since ECP uses the /Init line as a normal signal.
/Init | /Select | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
1284Active | ||||||||||||
|
|
|||||||||||
1 |
|
|
H signals begin of termination sequence | |||||||||
2 |
|
|
H waits for >=50us | |||||||||
3 |
|
|
H selects device | |||||||||
|
|
H and P are now in compatibilily mode again |