Professional Documents
Culture Documents
Lesson - 1: IO Port Types - Serial and Parallel IO Ports
Lesson - 1: IO Port Types - Serial and Parallel IO Ports
2008
1. IO Port
2008
Port
A port is a device
to receive the bytes from external
peripheral(s) [or device(s) or processor(s) or
controllers] for reading them later using
instructions executed on the processor or
to send the bytes to external peripheral or
device or processor using instructions
executed on processor
2008
Port
2008
Example
2008
2. IO Port Types
2008
2008
2008
2008
2008
10
The sender along with the serial bits also sends the
clock pulses SCLK (serial clock) to the receiver
port pin. The port synchronizes the serial datainput bits with clock bits. Each bit in each byte as
well as each byte in synchronization
Synchronization means separation by a constant
interval or phase difference. If clock period = T,
then each byte at the port is received at input in
period = 8T.
The bytes are received at constant rates. Each byte
at input port separates by 8T and data transfer rate
for the serial line bits is (1/T) bps. [1bps = 1 bit
per s]
2008
11
2008
12
2008
13
2008
14
2008
15
2008
16
2008
17
2008
18
2008
19
2008
20
2008
21
2008
22
2008
23
2008
24
2008
25
2008
26
TxD
2008
27
TxD
2008
28
2008
29
Half Duplex
2008
30
Full Duplex
2008
31
2008
32
2008
33
2008
34
2008
35
PPI 8255
Touch screen in mobile phone
2008
36
Summary
2008
37
We learnt
Port definition
Port examples
Ports in embedded system connects to
external processors, controllers or devices
like keypad, multi-line display unit, printer
or modem
A serial or parallel I/O port connects and
accessed from and to the system-processor
through the system buses and address
decoder.
2008
38
We learnt
Synchronous serial inputs and outputs
Synchronization Clock, MOSI, MISO
Clock on separate line or encoded or
clock signal modulated or encoded
with I/O bits.
2008
39
We learnt
Asynchronous serial inputs and outputs
RxD and TxD and UART protocol
format asynchronous IOs
full duplex or half-duplex
Examples of serial and parallel IOs
Examples of single bit and multi-bit
IOs at parallel ports
2008
40
2008
41