Giao ti p song songế1
GIAO TIP SONG SONG
là hình thc truyn thông
dng thưng s dng giao
tiếp: printer, plotter,…
D liu được truyn song
song, h tr duplex
Các chun giao tiếp song
song (IEEE 1284)
SPP: standard parallel port
EPP: enhanced parallel port
ECP: extended capabilities
port
Giao ti p song songế2
So sánh gia truyn song song
và ni tiếp
Giao ti p song songế3
Parallel Port
D25- Pin Centronics 36 Pin Function
1 1 Strobe
2 to 9 2 to 9 Data Lines
10 10 Acknowledgement
11 11 Busy
12 12 Out of Paper
13 13 Select
14 14 Auto feed
15 15, 32 Error
16 16, 31 Init
17 17, 36 Select In
18 to 25 18 to 30, 33 GND
- 34, 35 N/C
Các ngõ tín hiu cng LPT chun SPP
Pin SPP Signal Direction Register.bit
1* nStrobe In/Out Control.0
2 Data 0 In/Out Data.0
3 Data 1 In/Out Data.1
4 Data 2 In/Out Data.2
5 Data 3 In/Out Data.3
6 Data 4 In/Out Data.4
7 Data 5 In/Out Data.5
8 Data 6 In/Out Data.6
9 Data 7 In/Out Data.7
10 nAck In Status.7
11* Busy In Status.6
12 Paper-Out / Paper-End In Status.5
13 Select In Status.4
14* nAuto-Linefeed In/Out Control.1
15 nError / nFault In Status.3
16 nInitialize In/Out Control.2
17* nSelect-Printer / nSelect-
In In/Out Control.3
18 - 25 Ground Gnd
*pin: là nhng ngõ tín hiu b đảo bi phn cng
Giao ti p song songế5
Các ngõ tín hiu cng LPT chun
EPP