Parallel I/O: 8 or more lines are used to transfer data simultaneously. Serial I/O: 1 line is used. Data is sent one it at a time.
2
!eatures of Parallel Communications 1. Parallel I/O uses many si"nal pins PO#$% & 8 its $#IS% & 8 its for data transfer direction direction 'C( has limited numer of pins. ). (sually used for very short distances* due to $imin" s+e,: $he si"nals arrive at different times. Crosstal+: Si"nal transmitted in one channel creates an undesired effect in another channel. –
–
–
–
–
-. Cale for parallel transfer is more e%pensive 3
Serial Communications •
•
$he transfer of di"ital data over over a sin"le data transmission line one it at a time. hy –
–
–
#educe the cost of IC pac+a"e y reducin" the numer of pins used for communication. $imin" s+e, et,een different channels is not an issue. 0 serial connect reuires fe,er interconnectin" cales and hence occupies less space.
4
$,o ma2or dra,ac+s of Parallel I/O $imin" S+e,
Crosstal+
5
Duple% 'ode Simplex:
Half duplex:
Full duplex:
Synchronous vs 0synchronous 1. Synchronous Synchronous 0 synchroni3in" cloc+ si"nal is transmitted for synchroni3ation. 2. Asynchronous 4o cloc+ si"nal is transmitted from the transmitter transmitter to receiver. On each end* the internal cloc+ must e the same. #ely on e%tra its that are ,rapped around the yte to e sent 5start it* stop it6. –
–
–
–
7
PIC18 Serial 'odule •
PIC18 family microcontrollers have several uiltin modules for serial communication: –
–
(0#$/(S0#$/(S0#$ for for asynchronous communication I)C port for synchronous communication communication ,ith other I)C peripherals.
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.